VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Add App Launcher Icons To VL Light 6.0 Panel. [Solved]  (Read 1115 times)

vlinco

  • Member
  • *
  • Posts: 12
Add App Launcher Icons To VL Light 6.0 Panel. [Solved]
« on: October 16, 2010, 03:18:41 am »

I just installed VL Light 6.0 on an old IBM Aptiva (AMD 266MHz, 256Mb mem, 15Gb HD). It uses the default window manager (IceWM, I think). I'd like to add a few launcher icons for often used apps (browser, file manager, etc.) to the panel. I don't see an obvious way to do it, so may require editing a file somewhere. (A) Can it be done?, and (B) if so, how?
« Last Edit: October 16, 2010, 08:06:16 am by vlinco »
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4140
Re: Add App Launcher Icons To VL Light 6.0 Panel.
« Reply #1 on: October 16, 2010, 05:02:33 am »

Open the file ~/.icewm/toolbar in a text editor.
You should see these lines:
Code: [Select]
prog Xterm xterm xterm
prog FTE fte fte
prog Netscape netscape netscape
Of these three, only the top one creates an icon on the panel, named "Xterm", the icon used is named "xterm" (actually /usr/share/icewm/themes/IceGil Grey/taskbar/xterm.xpm), and the launch command is "xterm". The other two don't show up, because those programs are not installed.

Experiment with your own entries in this location. More info found here: http://www.linuxquestions.org/questions/linux-software-2/icewm-toolbar-383209/
Logged

Lyn

  • Vectorian
  • ****
  • Posts: 674
Re: Add App Launcher Icons To VL Light 6.0 Panel.
« Reply #2 on: October 16, 2010, 07:53:49 am »

Open the file ~/.icewm/toolbar in a text editor.
You should see these lines:
Code: [Select]
prog Xterm xterm xterm
prog FTE fte fte
prog Netscape netscape netscape
Of these three, only the top one creates an icon on the panel, named "Xterm", the icon used is named "xterm" (actually /usr/share/icewm/themes/IceGil Grey/taskbar/xterm.xpm), and the launch command is "xterm". The other two don't show up, because those programs are not installed.

Experiment with your own entries in this location. More info found here: http://www.linuxquestions.org/questions/linux-software-2/icewm-toolbar-383209/

Here is my toolbar entry...

# This is an example for IceWM's toolbar definition file.
#
# Place your variants in /etc/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
prog XTerm xterm xterm
prog FTE fte fte
prog Firefox /home/lyn/icons/firefox_32x32.png firefox
prog Mail /home/lyn/icons/email_32x32.xpm claws-mail
prog Files /home/lyn/icons/disks_32x32.xpm thunar
prog Music /home/lyn/icons/audacity_16x16.xpm xmms
prog Notes /home/lyn/icons/nedit_32x32.xpm mousepad

As you can see this has been done just locally, including a local icon file
Logged

vlinco

  • Member
  • *
  • Posts: 12
Re: Add App Launcher Icons To VL Light 6.0 Panel.
« Reply #3 on: October 16, 2010, 08:04:49 am »

nightflier:

Ah, Ha!!!! I was actually in that file, saw the entries for FTE and Netscape, and thought that VL must not be using this file.

After looking at the page using the link that you provided (excellent examples), I followed your instructions.

I added the following two lines to add launcher icons for the file manager (pcmanfm) and the browser (seamonkey):

prog  "File Manager"  /usr/share/pixmaps/pcmanfm.png  pcmanfm
prog  Browser  /usr/share/pixmaps/seamonkey.png  seamonkey


After log out and back in, Voila!!!, new launcher icons in the panel.

Lyn:

Thanks for the complete example.

Thanks to both for all the help.
Logged

Lyn

  • Vectorian
  • ****
  • Posts: 674
Re: Add App Launcher Icons To VL Light 6.0 Panel. [Solved]
« Reply #4 on: October 16, 2010, 03:23:27 pm »

My pleasure, I like IceWM, it hits the sweet spot for me, configurable with reasonably easy syntax, light yet flexible and extensible.  I don't bother with desktop icons and just use the icons on the tool bar for quick starts, and the very easy to modify (especially with the script that runs to update it) menu.  Its also quite easy to make your own theme too. 
Logged