Difference between revisions of "Stalonetray"

From ArchWiki
Jump to: navigation, search
m (move to Eye candy category)
(Added a troubleshooting section; added notes on how to force a specific icon size using icon_size and kludges force_icons_size)
Line 56: Line 56:
  
 
See also [http://stalonetray.sourceforge.net/wmhints.html#ion3 Stalonetray WM hints for ion3]
 
See also [http://stalonetray.sourceforge.net/wmhints.html#ion3 Stalonetray WM hints for ion3]
 +
 +
==Troubleshooting==
 +
===Icons don't have the desired size===
 +
 +
To force the size of the icons to be equal to icon_size, launch stalonetray with the following arguments:
 +
 +
  stalonetray --icon-size=16 --kludges=force_icons_size
 +
 +
This will force the size of all icons to 16×16 pixels.
 +
 +
Alternatively, one could add the following to the configuration file:
 +
 +
  icon_size 16
 +
  kludges force_icons_size
  
 
==Other resources==
 
==Other resources==
 
* [http://stalonetray.sourceforge.net/manpage.html stalonetray man page]
 
* [http://stalonetray.sourceforge.net/manpage.html stalonetray man page]

Revision as of 23:56, 6 November 2013

Stalonetray is a stand-alone freedesktop.org and KDE system tray for the X Window System. It has full XEMBED support, minimal dependencies and works with virtually any EWMH-compliant window manager. Window managers that are reported to work well with stalonetray are: FVWM, Openbox, Enlightenment, Ion3, Compiz, Xmonad and awesome.

Installation

Stalonetray is available from the community repository:

# pacman -S stalonetray

Once installed, copy the stalonetrayrc file to your home directory. Note that you should do this as a regular user.

$ cp /etc/stalonetrayrc ~/.stalonetrayrc

Configuration

Openbox

To run stalonetray in Openbox, you need to run:

# stalonetray --dockapp-mode simple

Alternatively, you can change the line:

# dockapp-mode none 

to

# dockapp-mode simple 

in your .stalonetrayrc file. Openbox now treats the tray as the dock, and you can adjust its position by using the Openbox Configuration Tool.

To run Stalonetray on start up, add the following to ~/.config/openbox/autostart:

stalonetray &

If the dockapp-mode is not specified in ~/.stalonetrayrc, add the following instead:

stalonetray --dockapp-mode simple &

See also Stalonetray WM hints for OpenBox

Ion3

To run stalonetray in Ion3:

 stalonetray --kludges=force_icons_size,fix_window_pos

To include stalonetray in the statusbar, add the following to your configuration file in ~/.ion3/ :

-- Create a statusbar
mod_statusbar.create{
    screen=0,
    pos='bl',
    fullsize=true,
    systray=true,
    template="[ %date || %load || ... ] %systray%filler%systray_stalone",
}

defwinprop{class="stalonetray",instance="stalonetray",statusbar="systray_stalone"}
defwinprop{instance="stalonetray",statusbar="systray_stalone"}
defwinprop{class="stalonetray",statusbar="systray_stalone"}

See also Stalonetray WM hints for ion3

Troubleshooting

Icons don't have the desired size

To force the size of the icons to be equal to icon_size, launch stalonetray with the following arguments:

 stalonetray --icon-size=16 --kludges=force_icons_size

This will force the size of all icons to 16×16 pixels.

Alternatively, one could add the following to the configuration file:

 icon_size 16
 kludges force_icons_size

Other resources