Posts: 215
macondo
Joined: 14 Sep 2007
#1

Code: Select all

macondo@foo:~$ cat /usr/share/icewm/toolbar
# This is an example for IceWM's toolbar definition file.
#
# Place your variants in /etc/X11/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
prog XTerm xterm x-terminal-emulator
#prog FTE fte fte
#prog Netscape netscape netscape
prog   "gvim" /usr/X11R6/include/X11/pixmaps/vim.xpm /usr/bin/gvim -f
prog   "Iceweasel" /usr/share/pixmaps/iceweasel.xpm iceweasel
It doesn't show the entries for the icons:
Quit
Control Center
Volume (abs)
Text editor
Show Desktop

I only want to leave the ones for the absvolume and iceweasel, did the devs forget to enter them in the /icewm/toolbar file? It looks like it was never touched. It shows fte, netscape, gvim, etc.
Posts: 251
JawsThemeSwimming428
Joined: 16 Mar 2008
#2
macondo wrote:

Code: Select all

macondo@foo:~$ cat /usr/share/icewm/toolbar
# This is an example for IceWM's toolbar definition file.
#
# Place your variants in /etc/X11/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
prog XTerm xterm x-terminal-emulator
#prog FTE fte fte
#prog Netscape netscape netscape
prog   "gvim" /usr/X11R6/include/X11/pixmaps/vim.xpm /usr/bin/gvim -f
prog   "Iceweasel" /usr/share/pixmaps/iceweasel.xpm iceweasel
It doesn't show the entries for the icons:
Quit
Control Center
Volume (abs)
Text editor
Show Desktop

I only want to leave the ones for the absvolume and iceweasel, did the devs forget to enter them in the /icewm/toolbar file? It looks like it was never touched. It shows fte, netscape, gvim, etc.

This thread may be of some help...


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/editing-toolbar-t1228.html#p7772"
linktext was:"antix.freeforu ms.org/editing-too ... html#p7772"
====================================
" onclick="window.open(this.href);return false
Posts: 215
macondo
Joined: 14 Sep 2007
#3
Thanks bud, but it has very little to do with .icewm/preferences, i already got:
TaskBarShowShowDesktopButton=0

here's the rest of them:
OpaqueMove=0
OpaqueResize=0
SmartPlacement=1
MenuMouseTracking=1
ModSuperIsCtrlAlt=1
UseMouseWheel=1
QuickSwitch=1
AutoReloadMenus=1
ShowProgramsMenu=1
ShowThemesMenu=1
ShowHelp=1
TerminalCommand="urxvt"
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
WorkspaceNames=" 1"," 2"
LockCommand="xlock -mode blank"


ShowTaskBar=1
TaskBarAutoHide=0
TaskBarShowClock=1
TaskBarShowAPMStatus=0
TaskBarAtTop=1
TaskBarShowAPMStatus=0
TaskBarShowAPMTime=0
TaskBarShowMailboxStatus=1
TaskBarShowWindows=1
TaskBarShowShowDesktopButton=0
TaskBarShowTray=1
TaskBarShowWindowIcons=0
TaskBarShowCPUStatus=0
TaskBarShowNetStatus=0
TaskBarShowCollapseButton=0
TaskBarWorkspacesLeft=1
TimeFormat="%a %d %b %R"
TaskBarShowShowDesktopButton=1
TaskBarShowWindowListMenu=0
TaskBarShowMailboxStatus=0
TaskBarMailboxStatusBeepOnNewMail=0
NormalTaskBarFontName="-*-sans-medium-r-*-*-*-100-*-*-*-*-*- *"
NormalTaskBarFontNameXft="sans-serif:size=10"
ActiveTaskBarFontName="-*-sans-r-*-*-*-100-*-*-*-*-*-*"
ActiveTaskBarFontNameXft="sans-serif:size=10"

the icons i'm talking about are antiX's.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#4
This is what the default antix file should like:

Code: Select all

# This is a default toolbar definition file for IceWM
#
# Place your personal variant in $HOME/.icewm directory.

#prog"Home Folder" folder rox
prog"Home Folder" folder pcmanfm
#prog"Terminal" xterm rxvt-unicode -tr -sh 65 -fg white
prog"Terminal" xterm roxterm
prog"Text Editor" /usr/share/icons/OxygenRefit2-black-version/32x32/apps/accessories-text-editor.png leafpad
prog"Browser" iceweasel.png /usr/bin/iceweasel
prog"Volume" /usr/share/icons/OxygenRefit2-black-version/32x32/apps/multimedia-volume-control.png absvolume
prog"Control Center" //usr/share/icons/OxygenRefit2-black-version/32x32/categories/applications-system.png antixcc.sh
prog"Quit" /usr/share/icons/OxygenRefit2-black-version/32x32/apps-extra/gnome-panel-force-quit.png exitantix.sh

Well, I changed the icons a bit, but otherwise it's the default layout. So maybe yours didn't get copied properly during installation? Maybe anti could explain why the default file didn't get copied to ~/.icewm/toolbar.

john
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
It is in the ~/.icewm/toolbar file not /usr/share/icewm folder
Posts: 215
macondo
Joined: 14 Sep 2007
#6
anti: you're right, my bad, my apologies __{{emoticon}}__
Thanks for the clarification.

PD: I commented the ones i didn't want on the toolbar, but the 'Show Desktop' icon is not there (which i wanted to comment), so i had to leave it on the toolbar.
Thanks again.
Posts: 319
impuwat
Joined: 13 Sep 2007
#7
For many/most icewm themes the"show desktop" icon is a breed of it's own....not sure why...another one of those strange little icewm idiosyncracies. In many themes you can find it in the particular theme in the taskbar folder...e.g. /usr/share/icewm/themes/bluecrystal/taskbar/showdesktop.xpm

You can change it to something else or even eliminate it. I've noticed a small artifact in the toolbar when eliminating it with light colored toolbars.
Posts: 215
macondo
Joined: 14 Sep 2007
#8
Thanks impuwat
Posts: 1,081
OU812
Joined: 29 Sep 2007
#9
If you don't want to display the"show desktop" icon, you need to edit ~/.icewm/preferences. Around line 235.

Code: Select all

#  Show 'show desktop' button on taskbar
# TaskBarShowShowDesktopButton=1 # 0/1
john
Posts: 215
macondo
Joined: 14 Sep 2007
#10
Thanks John: the thing is that i already have it disabled:

Code: Select all

TaskBarShowShowDesktopButton=0
In Debian, this icon does not appear once you have it disabled, is this an antiX thing?
Posts: 1,081
OU812
Joined: 29 Sep 2007
#11
Check your icewm theme's default.theme file. Sometimes the author has icewm preferences within the file and if so, they will override your ~/.icewm/preferences file. For example, the icegil grey theme has these preferences within the default.theme file:

Code: Select all

MenuMouseTracking=1 
ShowMenuButtonIcon=1
john
Posts: 215
macondo
Joined: 14 Sep 2007
#12
Nope. Thanks anyway __{{emoticon}}__