Creating a Shorcut Icon on Desktop or Starup Item


Forum: Other Help Topics
Topic: Creating a Shorcut Icon on Desktop or Starup Item
started by: sunack

Posted by sunack on Sep. 18 2006,14:05
I know this is a extremely newbie type question to ask, but here it goes.

Can someone tell me how to create a Icon or shorcut to a program on the desktop.  I tried playing with that Icon Manager thingy, but I am not having much luck.  I want to create an Icon to my Citrix client in /usr/lib/ICAClien/wfcmgr.

I also am trying to get it to startup automatically.  I added it to my /.Xinitrc file thingy with a /usr/lib/ICAClient/wfcmgr & but when I do this it tries to load at starup and says it can't find wfclient.ini file.  It runs fine it I run it from a shell prompt.

I feel a little like a dweeb for asking such a simple question, but the best way to learn is to ask.


Thanks

Posted by u2musicmike on Sep. 18 2006,14:55
It is a little strange but it seems like console programs run in the background and it looks like they are not running.  I created an icon to dial the internet and I never see anything but I hear the modem dial.  You might need to have your command line start with xterm and then your program name.  Try right clicking on existing icons and take look at properties.  You might see what you are looking for.

The most trouble I had was resizing an icon until I found imagemagic.

Posted by mikshaw on Sep. 18 2006,17:33
It's not strange at all, if you understand what is actually happening.  All applications run from a shell of some sort.  When you are in an xterm or console the console holds your shell (bash). If you start an application from an icon, the application can have no interaction unless it is a graphical application, and the program's output gets spit out to the only shell available, which is the console that started X.  The widgets used by a graphical application provide the necessary interaction, but an interactive program with no graphical interface must run from a terminal in order to accept events from the user.  So rather than running "in the background" they are merely running within Fluxbox's shell, which as far as i know cannot pass interactive events to the application.

Anyway, if your application does not have a user interface, you should start it like so:
Code Sample
aterm -e /path/to/program

Posted by sunack on Sep. 20 2006,01:14
Okay, I fingured it out!

Here is what the problem was.  The line was working but I installed the ICA client as root, so I had to do a chmod to give all users rights to the ini files and it worked beutiful.

I also figured out how to use the Icon tool and make that desktop shorcut.

Thanks All!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.