Difference between revisions of "Stalonetray"

From ArchWiki
Jump to: navigation, search
(awesome recommends Stalonetray, so it works well with that WM.)
(improve install link as recommended in Help:Style#Package management instructions)
 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:X Server]]
+
[[Category:Eye candy]]
Stalonetray is a stand-alone freedesktop.org and KDE system tray for the [[Xorg|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]].
+
[[ja:Stalonetray]]
 +
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]], [[dwm]], and [[awesome]].
  
 
== Installation ==
 
== Installation ==
Stalonetray is available from the community repository:
 
  
# pacman -S stalonetray
+
[[Install]] {{Pkg|stalonetray}} from the [[official repositories]]. Once installed, copy the {{ic|stalonetrayrc}} file to your home directory. Note that you should do this as a regular user.
 
+
Once installed, copy the {{ic|stalonetrayrc}} file to your home directory. Note that you should do this as a regular user.
+
  
 
  $ cp /etc/stalonetrayrc ~/.stalonetrayrc
 
  $ cp /etc/stalonetrayrc ~/.stalonetrayrc
  
 
== Configuration ==
 
== Configuration ==
 +
 
=== Openbox ===
 
=== Openbox ===
  
To run stalonetray in Openbox, you need to run:
+
To run Stalonetray in Openbox, {{ic|dockapp-mode}} must be set to {{ic|simple}}. This can be accomplished with either the command-line argument {{ic|--dockapp-mode simple}} or by modifying {{ic|~/.stalonetrayrc}}.
# stalonetray --dockapp-mode simple
+
  
Alternatively, you can change the line:
+
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 {{ic|~/.config/openbox/autostart}}:
 
+
# dockapp-mode none
+
 
+
to
+
 
+
# dockapp-mode simple
+
 
+
in  your {{ic|.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 {{ic|~/.config/openbox/autostart}}:
+
stalonetray &
+
 
+
If the dockapp-mode is not specified in {{ic|~/.stalonetrayrc}}, add the following instead:
+
 
  stalonetray --dockapp-mode simple &
 
  stalonetray --dockapp-mode simple &
  
Line 37: Line 22:
 
=== Ion3 ===
 
=== Ion3 ===
  
To run stalonetray in Ion3:
+
To run Stalonetray in Ion3:
  stalonetray --kludges=force_icons_size,fix_window_pos
+
$ stalonetray --kludges=force_icons_size,fix_window_pos
To include stalonetray in the statusbar, add the following to your configuration file in {{ic|~/.ion3/}} :
+
To include stalonetray in the statusbar, add the following to your configuration file in {{ic|~/.ion3/}}:
<pre>
+
 
 +
{{bc|<nowiki>
 
-- Create a statusbar
 
-- Create a statusbar
 
mod_statusbar.create{
 
mod_statusbar.create{
Line 53: Line 39:
 
defwinprop{instance="stalonetray",statusbar="systray_stalone"}
 
defwinprop{instance="stalonetray",statusbar="systray_stalone"}
 
defwinprop{class="stalonetray",statusbar="systray_stalone"}
 
defwinprop{class="stalonetray",statusbar="systray_stalone"}
</pre>
+
</nowiki>}}
  
 
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]
  
==Other resources==
+
== Troubleshooting ==
* [http://stalonetray.sourceforge.net/manpage.html stalonetray man page]
+
 
 +
=== Icons do not 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
 +
 
 +
== See also ==
 +
 
 +
* http://stalonetray.sourceforge.net/manpage.html - Stalonetray manual page

Latest revision as of 21:21, 13 December 2015

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, dwm, and awesome.

Installation

Install stalonetray from the official repositories. 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, dockapp-mode must be set to simple. This can be accomplished with either the command-line argument --dockapp-mode simple or by modifying ~/.stalonetrayrc.

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 --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 do not 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

See also