Choosing icon in systray

Asked by rogue_ronin on 2010-03-27

How can you set the icon that appears in the systray? Used to be the "-i" switch -- what is it now? Or has it been removed from the command line? Why?

Thanks for a great app,

m a r

Question information

Language:
English Edit question
Status:
Solved
For:
Inactive kdocker (moved to https://github.com/user-none/KDocker) Edit question
Assignee:
No assignee Edit question
Solved by:
John Schember
Solved:
2010-03-28
Last query:
2010-03-28
Last reply:
2010-03-27
Best John Schember (user-none) said : #1

The -i switch to set the icon on the command line is still there and works. It seems it never made it back into the help text... You can also set it by right clicking on the tray icon and selecting set tray icon under options.

rogue_ronin (rogue-ronin) said : #2

Hmmm. I did find the option from the systray, but I'm setting a startup option and would prefer to automate it.

You are, of course, correct. The reason I thought it didn't work any longer was due to changes in the "-d" switch -- I had something like the following originally, before upgrading to the latest version:

kdocker -d -i /usr/share/pixmaps/jpilot.xpm jpilot

At the moment, I don't remember what "-d" used to do, but "-i" became the parameter for that switch, causing me to get an error about "/usr/share/pixmaps/jpilot.xpm" not being executable. Along with the loss of info in the help file, I erroneously concluded that the option was gone.

Changing the line to:

kdocker -d 10 -i /usr/share/pixmaps/jpilot.xpm jpilot

works perfectly.

Thanks for the quick response.

m a r