Where are the start menu entries pointing to?

Booting, installing, newbie
Post Reply
Message
Author
RevX
Posts: 13
Joined: Mon 12 Jun 2006, 09:23

Where are the start menu entries pointing to?

#1 Post by RevX »

I'm using PuppyLinux 2.00 and want to modify the Connect icon's program call reference. Instead of calling the Gk Dialer (or whatever it is) I want it to call the XEZNet interface. OK, would be no problem to fix that. BUT: I don't know where the XEZNet or any other program in the start menu is located in the file system. In Windows you would right-click on a program and then Properties to see where it's located, but this does not work for PuppyLinux. So, how can I find the file location of the programs/items in the start menu?
Thanks for helping!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

you can edit the startmenu in a texteditor, it is /root/.jwmrc

To find out the full path of a program, type in a console:

which XEZNet

But this will not work, if your program is called slightly different, like xeznet (lower case).
So you could use the bash-completition to find the correct name:
x[tab]
will list all programs, that begin with x.

Programs usually are located in
/usr/bin
/usr/local/bin
/usr/X11R6/bin
/root/my-applications/bin

Some ones in /usr/local/......

Mark

PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#3 Post by PaulBx1 »

Just use grep to get the real filename! :)

Code: Select all

sh-3.00# grep Gkdial .jwmrc
<Program label="Gkdial analog modem dialup" icon="mini-connect.xpm">gkdial</Program> 
sh-3.00# which gkdial
/usr/local/bin/gkdial
<later>
Oops, I see he is not looking for something in the menu, but something not in it. Oh, well, I sometimes wanted to find something in the menu anyway. :oops:

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#4 Post by Nathan F »

Most of the time it is not necessary to know the full path to the binary, so long as it is in the system PATH (/bin,/usr/bin,etc.) so just use 'xeznet' for the command. But Mark's advice is very good, to use 'which'.

Nathan
Bring on the locusts ...

Post Reply