Author Topic: Adding SSB's to Cairo Dock  (Read 2183 times)

0 Members and 1 Guest are viewing this topic.

Emegra

  • Guest
Adding SSB's to Cairo Dock
« on: September 11, 2014, 06:10:07 am »
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
« Last Edit: September 11, 2014, 06:26:18 am by Emegra »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Adding SSB's to Cairo Dock
« Reply #1 on: September 11, 2014, 12:40:26 pm »
Can you give me the .desktop  file name and contents of say two of them .. so I can test it.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: Adding SSB's to Cairo Dock
« Reply #1 on: September 11, 2014, 12:40:26 pm »

Emegra

  • Guest
Re: Adding SSB's to Cairo Dock
« Reply #2 on: September 11, 2014, 01:49:39 pm »
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
« Last Edit: September 11, 2014, 01:54:22 pm by Emegra »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Adding SSB's to Cairo Dock
« Reply #3 on: September 11, 2014, 04:33:24 pm »
I'd rather have the exact .desktop file names (not the name displayed) and their contents, so I can check the contents too
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: Adding SSB's to Cairo Dock
« Reply #4 on: September 11, 2014, 06:18:31 pm »
Code: [Select]
[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

Code: [Select]
[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

The Linux Community Forum

Re: Adding SSB's to Cairo Dock
« Reply #4 on: September 11, 2014, 06:18:31 pm »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Adding SSB's to Cairo Dock
« Reply #5 on: September 11, 2014, 08:15:42 pm »
And the names of the .desktop files ?
Code: [Select]
ls ~/.local/share/applications
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: Adding SSB's to Cairo Dock
« Reply #6 on: September 11, 2014, 09:28:54 pm »
Sorry I thought the names were included in the files

Code: [Select]
[email protected] ~ $ 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
[email protected] ~ $



Graeme


Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Adding SSB's to Cairo Dock
« Reply #7 on: September 12, 2014, 12:38:51 pm »
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
Code: [Select]
Exec=chromium-browser --app=https://www.istorybooks.co/
to
Code: [Select]
Exec=bash -c "chromium-browser --app=https://www.istorybooks.co/"
and/or comment out the "StartupWMClass=Chromium" line so it now reads:
Code: [Select]
# StartupWMClass=Chromium
« Last Edit: September 12, 2014, 12:52:28 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal