Adding SSB's to Cairo Dock

Hi Guys

On my Grand-Daughters PC I have removed all references to a web browser from her Menu and created SSB’s for the websites she uses which is fine, however she uses Cairo Dock and it will only allow me to add 1 SSB to the dock

ie she has 4 SSB’s and I can select any one of them and add it to the dock but any subsequent one I try to add after that will only give me a duplicate of the first one added

I tried copying all 4 SSB .desktop files to /usr/share/applications but that didn’t work

Any help would be much appreciated

Graeme

Can you give me the .desktop file name and contents of say two of them … so I can test it.

Ok I’m not home at the moment but I can give your the URL’s and the names I gave them

(1) http://www.uptoten.com/ which is named "Boowa and Kwala,

(2) https://www.istorybooks.co/ which is named Storybook

if that’s not any good to you let me know and I’ll sort it out when I get home

Many thanks

Graeme

I’d rather have the exact .desktop file names (not the name displayed) and their contents, so I can check the contents too

[Desktop Entry]
Version=1.0
Name=Storybook
Exec=chromium-browser --app=https://www.istorybooks.co/
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/chloe/.local/share/ice/storybook.png
Categories=GTK;Network;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupWMClass=Chromium
StartupNotify=true
[Desktop Entry]
Version=1.0
Name=Boowa-Kwala
Exec=chromium-browser --app=http://www.uptoten.com/
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/chloe/.local/share/ice/boowakwala.ico
Categories=GTK;Game;
MimeType=text/html;text/xml;application/xhtml_xml;
StartupWMClass=Chromium
StartupNotify=true

And the names of the .desktop files ?

ls ~/.local/share/applications

Sorry I thought the names were included in the files

chloe@Chloe-Linux ~ $ ls ~/.local/share/applications
boowakwala.desktop        expressbypixlr.desktop     mimeapps.list
chromium-browser.desktop  firstpersontetris.desktop  onlineuserguide.desktop
ddchess.desktop           gmail.desktop              peppermintforum.desktop
editorbypixlr.desktop     googlecalendar.desktop     solitr.desktop
email.desktop             googledrive.desktop        storybook.desktop
entanglement.desktop      mahjong.desktop
chloe@Chloe-Linux ~ $ 

Graeme

I take it this works on your other boxes with Cairo Dock ?

I know we had problems a while back with getting them to work with docky … but is this the first time you’ve tried adding SSB’s to Cairo ?

[EDIT]

Just a thought, but I wonder what would happen if you changed their “Exec=” line from say

Exec=chromium-browser --app=https://www.istorybooks.co/

to

Exec=bash -c "chromium-browser --app=https://www.istorybooks.co/"

and/or comment out the “StartupWMClass=Chromium” line so it now reads:

# StartupWMClass=Chromium