Monday, May 20, 2013

PyPanel, lightweight panel for WM on Archlinux

PyPanel is lightweight panel written in Python and C for X11 windowmanagers. It can be easily customized to match any desktop theme or taste. PyPanel works with EWMH compliant WMs (Openbox, PekWM, FVWM, etc.) and is distributed under the GNU General Public License v2.

Official Sites:
http://pypanel.sourceforge.net/

Installation on Archlinux:
$pacman -S pypanel

And make it autostart on WM (openbox, pekwm, etc).

Configuring Py Panel.

Add Launcher
$nano ~/.pypanelrc
Find these line, and set the position like these. or that you like. And changa Launcher from 0 to any number of position that you like.


Then add launcher, find line below.



Add start menu (OpenBOX).

$sudo pacman -S xdotool

Create Keybind like this, on rc.xml
$nano ~/.config/openbox/rc.xml

<keybind key="C-A-space">
     <action name="ShowMenu"><menu>root-menu</menu></action>
</keybind>

Add between <keyboard> and </keyboard>

Then save.

Modify .pypanelrc
$nano ~/.pypanelrc
Find these line.
add comand "xdotool key ctrl+alt+space" and set icon.

Save & restart pypanel.

Change Position on panel
find these line.

Change P_LOCATION 1 to 0 to set on top.

Modify Text Colour on Panel
find these line:


Change colour that you want, you can use gimp to set the color.

Modify Icons , clocks & Panel size
Find these line:


And edit or change size that you want, restart pypanel to take effects.

Change Fonts:

Find these line:

For example your font file is UbuntuMono-R.ttf, just change to ubuntu-mono-x
where x is size of fonts. DejavuSerif.ttf, you can write Dejavu Serif-x, DejavuSerif-x,Dejavu-Serif, etc.

Ok that's it, here's my snapshot of my desktop using openbox.


 Enjoy. ^_^
Share on Facebook
Share on Twitter
Share on Google+

Related : PyPanel, lightweight panel for WM on Archlinux