Opera & Seamonkey Issues-Can't Launch From K Menu Or Panel Icon But Only Can From CLI

NoOp glgxg at sbcglobal.net
Mon Aug 18 17:14:27 UTC 2008


On 08/17/2008 08:36 PM, Leonard Chatagnier wrote:
> --- NoOp <glgxg at sbcglobal.net> wrote:

[snip]
> 
> These were identical to mine. OK.
> 
>> $ cat seamonkey.desktop
> No output for cat seamonkey.desktop, perhaps you have
> modified your path variable. I haven't, but found 3
> seamonkey.desktop files with locate:
> /home/lchata/.local/share/applications/seamonkey.desktop
> /usr/share/app-install/desktop/seamonkey.desktop  

Sorry, yes it was supposed to be:
cat /usr/share/app-install/desktop/seamonkey.desktop

>  
> /usr/share/applications/seamonkey.desktop
> The second two had entries identical to yours but
> didn;t have all the entries your file had. The
> /home/lchata/.local/share/applications/ entry was most
> close to yours but had the diffs shown below:
>> [Desktop Entry]
>> Categories=GTK;Network;
>> Comment=
>> Exec=seamonkey %u -mail -browser

Note: I modified my command to open the mail window first and the brower
second, on a non-modified version it will simply be:
Exec=seamonkey %u
Also, other than that, this is on a test system with a new, fresh
8.04.1, new kde 4.1, and synaptics installed SM.

> 
> I had:  Exec=ksystraycmd\s

And that probably is your problem:
http://www.digipedia.pl/man/ksystraycmd.1.html

> 
>> GenericName=Internet Suite
>> Icon=seamonkey
> I had this after the icon=seamonkey entry:
> MimeType=text/html;message/x-gnu-rmail;message/rfc822;message/news;message/disposition-notification;message/delivery-status;application/xhtml+xml;
> 
>> Name=Seamonkey
>> NoDisplay=false
>> StartupNotify=true
>> Terminal=0
>> TerminalOptions=
>> Type=Application
>> X-KDE-SubstituteUID=false
>> X-KDE-Username=
>>
> I also had a few more title entries than you but all
> had no entries after the = sign. 
> I have no idea what "Exec=ksystraycmd\s" means or
> does.  Or, if I should change it.  Suggestions? Don't
> think anything else that differed has any consequence.

http://www.digipedia.pl/man/ksystraycmd.1.html
Yes. Change it to Exec=seamonkey %u
You see, "Exec=" means "run this as a command". Now, if you try to run
'ksystraycmd\s' or 'ksystraycmd' from the terminal what happens?
Right... but if you run 'seamonkey' from the terminal SeaMonkey starts
up. Note: 'seamonkey %u' from the terminal will open up SM and try to
use %u as a url, so leave the %u off in terminal mode, %u only applies
to the menu application.
In fact, I'd recommend that you rename the entire file to
x-seamonkey.desktop-x and just take mine and plug it in and see what
happens. It certainly won't hurt anything.





More information about the ubuntu-users mailing list