Pinegrow Community Support Forum

Place PineGrow icon in Ubuntu Launcher

#1

After installing PG Pro in Ubuntu, The Launcher’s icon shows as a question mark. How do I get PineGrow’s icon to display?

#2

Hi Randy, I’m not sure if you ever use the Search function of this forum, the Magnifying glass/Loupe symbol top right of the menu bar, next to your Avatar and the burger menu, but a lot of your questions may be answered that way. Give that a go too, as well as asking on here, or maybe before.

Its always worth a look and check out different ways of asking the question. I just tried a few ways and came up with these.

and this one, this is the one I used before when I installed mine on Linux.

now this link leads you too:


and the bit of this you want is here

Its part 6

and goes like this


6:) Type in terminal:

cd ~  
cd /opt  
sudo mkdir Pinegrow  
cd Pinegrow  
mv ~/Downloads/3.0 .  
Cd 3.0  
sudo nano Pinegrow.desktop  
Copy and paste code in the example file ( Same location shared on Google drive link ) into the Pinegrow.desktop file

[Desktop Entry]  
Name=Pinegrow  
GenericName=HTML Editor  
Comment=Create Awesome Websites with Pinegrow  
Exec=sh -c "/opt/Pinegrow/3.0/PinegrowLibrary"  
Icon=/opt/Pinegrow/3.0/pinegrow.png  
Terminal=false  
Type=Application  
*Make sure to not add it, but let it be the only lines in the file

press CTRL+o to save file.

press Enter to save as default listed name (Pinegrow.desktop)

press CTRL+x on keyboard to exit and go back to command prompt

sudo mv Pinegrow.desktop /usr/share/applications    

Make sure you just do that in relation to what you have already done, the stuff before point 6 might well not be relevant to you, and change version numbers and location of your installed Pinegrow etc.

And, there didn’t USED to be an actual icon.svg file in the ubuntu installer.
IT might well be worth the Pinegrow Devs putting up some instruction for installing PineGrow on Linux and getting the quick launch icon to work. Or maybe I too have missed those docs :smiley:

I hope that helps and check out the search function, I check it out every now and again, I find some good stuff.

Also, our current docs don’t really show up A LOT of stuff.
SO ALWAYS check out the older docs.

#3

Yes, you need to modify/create a launcher that references an icon saved on your system. However, I’d love to see a full installation from the developers that takes care of these things. I pay for other software tools on the Linux platform, such as PHPStorm, Sublime, Prepros, etc., and I don’t have to worry about this with the installer. It was a pain to initially setup, but the instructions that have been posted are good starting points.

1 Like
#4

Hey @randyrie, did you get this sorted after?

I have just had to do it now on my Ubuntu 16.04 machine.
its slightly different and the ICON IS STILL MISSING (yes, I’m looking at you, Pinegrow Devs :slight_smile: It would make life a BIT EASIER if it was there already.)

ok
here is the icon
gah! I cant upload it on here, tried cheating and changing its file extension. no dice,
but basically, it needs to be a .xpm file extension for it to work here with Ubuntu - unless I am mistaken, I’m all ears for correction, this is Linux after all… always someone smarter (and with a bigger neckBeard) to point things out

and the lines a slightly different you type, they are here

[Desktop Entry]
Name[en_GB]=Pinegrow5.2
GenericName[en_GB]=visual web editor
Comment[en_GB]=Create Awesome Websites with Pinegrow
Exec=sh -c "/opt/Pinegrow/5.2/PinegrowLibrary"
Icon=/opt/Pinegrow/5.2/pinegrow_icon.xpm
Terminal=false
Type=Application

I have the name as Pinegrow5.2 as I have other versions installed too (of course! :slight_smile:
and HEY! who knows what the future will bring :slight_smile:

I may actually have to go to the utter nuts ache of uploading the tiniest file in the history of computing…just so you can have the icon for the quick launcher.

I will try that now. But, it’s done , this still works in Ubuntu and I’ve just done it.
I have also seen the new PineGrow Docs on installing it on Ubuntu, will have a look at that again now too. but as usual, its now 01.15… sigh and I’m just warming up! :slight_smile:

ok , so here is the little jpeg image , I used for the launcher in
/usr/share/applications

pinegrow.jpeg

pinegrow

and you need to create a pinegrow.xpm file from that… as I can’t be a*sed to go through the upload rigmarole on un unfamiliar Linux box at nearly 2am.

so if you havent made one by tmrw I’ll create one and stick the download link on here for you. unless anyone else beats me to it. No worries if you do! :slight_smile:
Everyone will love you forever then (well, in linux land)

Linux version not working - Solved
Web Design on a budget
Install Pinegrow on Linux (+ Atom)
#5

I’ve made a PineGrow.xpm icon but this forum does not allow the upload of a xpm extension. So if anyone wants/needs one, leave your email address here and I’ll forward it to you via email.

#6

excellent! I was gong to do that and …forgot!
you might very well stick it up on a download site or google drive if you have one to share.

#7

I am new to linux - devuan. I have extracted the files into opt/PineGrow. I followed the instructions **sudo apt -y install libgconf2-4 and it seemed to install correctly. Looking at the files in the PineGrow folder, I am unsure of which is the installer. There is no Pinegrow.desktop icon. Help would be appreciated.

#8

Hi @sharonsnowdon, I know, still no desktop icon, that really is a bit retarded for the Linux install really.
Luckily for you, I was also installing on Linux last night and had the same fail.

I am trying it on Lubuntu atm, and I have just followed my own instructions above and it worked!

However, I too, couldn’t find/make a launcher icon, as it is on my other Linux laptop that isn’t very well.
SO, I just made another one now.

This is the link

Pinegrow .XPM Launcher Icon

I will try this out myself now too as I just had to create the file on my Mac from its Pinegrow Install icon.
So I will check if the link works.

As for the installer? - well you dont actually Install anything, in the windows sense of the word.
I guess you man launcher to start the program?

for that. you need to edit the Pinegrow.desktop file as I showed above at

you

  1. Unzip the Pinegrow download
  2. copy it all to your chosen destination (for me /opt/pinegrow - until some Guru tells me better.)
  3. ADD THE missing Pinegrow .XPM Launcher Icon to this directory.
  4. Edit the pinegrow.desktop file (which may just say pinegrow if the extensions aren’t shown.
    SO THAT IT JUST POINTS AT THE pinegrowLibrary item.

That seems to be the it that starts the Program.

Ok, I’m now going to see if this icon works for me too on the other Linux Laptop.
I will update with a yay or nay.

Ok it all works!
I just had about 12 billion typos and want I have now done is stored the icon in a common folder so that I dont have to keep doing this rediculous icon creation/copying thing all the time.

so I have /opt/pinegrow - icon.xpm is in here
and in here I also have pinegrow2_951 and pinegrow_5.3_directories and both have their pinegrow.desktop file point to the icon.xpm file in the above directory.

what a faff! This has taken hours

during which point I broke the 2.951 launcher :frowning: meh!
ok that’s now fixed too.

if you are still running Pinegrow 2.951 and want a quick launch on Lubuntu
then you have to ESCAPE THE SPACES… in the executable… what does this even mean?

ok
for the above example of the latest 5.3 version of pinegrow the executable target is

my pinegrow.desktop

however for 2.951and MY DIRECTORY structure it would be

Exec=sh -c “/opt/Pinegrow/pinegrow2_951/Pinegrow Web Designer”

so I must add escape charecters to the final part so that the operating system ignores the spaces.
Sweet Jesus!..

so it would have to be this

Exec=sh -c “/opt/Pinegrow/pinegrow2_951/Pinegrow\ Web\ Designer”

see? I have adde 2 x ** \** to escape each space in the executable name…

Gah! I even have to type two of them in here for ONE of them to appear…enough! im gone!

#9

Here is my attempt to get the PG icon to show on the desktop:

But the icon does not display regardless if I use a xpm or a png format. :frowning_face:

UPDATE
I got it to work thanks to @schpengle and this link:

1.) Open Terminal and type: gnome-desktop-item-edit --create-new ~/Desktop (disregard the “…GtkDialog mapped…” note)
2.) The Create Launcher window will appear
3.) click on the boxed icon in the upper left of the Launcher’s window and navigate to where you have the PineGrow icon (png or xmp works - I don’t have a cloud account to offer for download… post your email and I’ll send you the images)
4.) make sure the Command is the path to the PinegrowLibrary file in the directory to where you unzipped the Pinegrow install file.
5.) Click on the OK button

The Pinegow desktop icon should change to the Pinegrow icon. See my screen capture.

#10

Forgot to add this screenshot of how the launcher updated the Pinegrow.desktop file:

#11

Thanks schpengle. All working!!

1 Like
#12

I really hope the devs are paying attention to this… despite it being a Linux install, they need to rectify this. There’s really no excuse not to, it’s part of a normal installation.