Pypanel problems.
Hi all!
My first entry in this community. Love everything about archlinux so far (former ubuntu user).
I've encountered a problem with pypanel. I'd like to have it run in the background so I can fully maximize my windows.
I tried to configure my .pypanelrc with "ABOVE = 0" but no success.
Any ideas?
+1, no panel.
I never know that I am so much happier when using NO panel.
Right Click to launch app,
Left Click is my "taskbar" (I use openbox)
Use conky only to display time.
clean and comfortable.
Man, using panel only slow you donw.
Last edited by yingwuzhao (2009-03-07 22:40:41)
Similar Messages
-
Pypanel problem with Python2.5
Ok I have updated to Python 2.5 now Pypanel does not work
Checked forums reloaded python2.4 and can start Pypanel with python2.4 /usr/bin/pypanel
Not the best solution ... does pypanel need rebuilding against 2.5?http://forums.gentoo.org/viewtopic.php? … l+protocol
no ieda why but it works something very strange -
Hy
Can someone help me with this problem for me
Pypanel won't load
I'm using Xorg 7.01 and pekwm
The message in console is:
$ pypanel
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character 'xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
import protocol.display
Traceback (most recent call last):
File "/usr/bin/pypanel", line 641, in ?
PyPanel(display.Display())
File "/usr/bin/pypanel", line 74, in __init__
self.setBackground()
File "/usr/bin/pypanel", line 350, in setBackground
if not TRANSPARENCY:
NameError: global name 'TRANSPARENCY' is not defined
I noticed that I had a directory python2.3 and another python2.4 in /usr/lib/ ???
Is this normal ???
Edit: Do you know if exist another kind of panel to use with pekwm while this problem with pypanel be resolved ??emmmm ..... ther was a way of running pypanel using 2.4????
/me goes and looks
http://bbs.archlinux.org/viewtopic.php?id=31461
there you go.....
Last edited by Mr Green (2007-04-06 18:38:49) -
Openbox + Pypanel focus problem
Hi,
I recently tried openbox + pypanel combo, and I must I'm really impressed. However, the focusing of windows is annoying: When I click on one of pypanel's tasks, it only raises, and doesn't have focus. I must click again for that. I checked ~/pypanelrc, and it clearly specifies that it should:
if button == 1:
pp.taskFocus(task)
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
Anyone has an idea?
Thanks in advance.
TYou can also set your focus model in openbox to "Focus windows when the mouse pointer moves over them" which is what I do. I never noticed the problem you mentioned because my windows get focus as soon as the mouse touches them anyway. Even though your problem is solved, you might like this focus model.
-
Hi all,
Been running OpenBox with pypanel for a while and everything has been running smooth, but then I updated and had to comment the rgb in xorg.conf. Now pypanel doesn't display any text or the clock, just the icons.
What can I do in order to get the text and clock back?I'm using the nvidia-96xx. Below's my complete .pypanelrc. Using the bitstream-vera font and it has work before the update of X.
# PyPanel v2.4 Configuration
# This configuration file is a Python script that will be executed when
# PyPanel is started. In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
VERSION = 2.4 # Config file version
# Colors: Format is hex triplet - 0xrrggbb
BG_COLOR = "0x000000" # Panel background and tinting color
TASK_COLOR = "0x333333" # Normal task name color
FOCUSED_COLOR = "0x999999" # Focused task name color
SHADED_COLOR = "0x333333" # Shaded task name color
MINIMIZED_COLOR = "0x333333" # Minimized task name color
DESKTOP_COLOR = "0x000000" # Desktop name color
CLOCK_COLOR = "0x666666" # Clock text color
LINE_COLOR = "0x333333" # Vertical line color
# Text Shadow Colors
TASK_SHADOW_COLOR = "0xffffff"
FOCUSED_SHADOW_COLOR = "0xffffff"
SHADED_SHADOW_COLOR = "0xffffff"
MINIMIZED_SHADOW_COLOR = "0xffffff"
DESKTOP_SHADOW_COLOR = "0xffffff"
CLOCK_SHADOW_COLOR = "0xffffff"
# Panel Spacing and Location Options: Measured in pixels
P_LOCATION = 1 # Panel placement: 0 = top, 1 = bottom
P_WIDTH = 700 # Panel width: 0 = Use full screen width
P_START = 500 # Starting X coordinate of the panel
P_SPACER = 6 # Spacing between panel objects
P_HEIGHT = 16 # Panel height
# Icon Size Options: Measured in pixels
I_HEIGHT = 12 # Panel application icon height
I_WIDTH = 12 # Panel application icon Width
APPL_I_HEIGHT = 16 # Application launcher icon height
APPL_I_WIDTH = 16 # Application launcher icon width
TRAY_I_HEIGHT = 16 # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH = 16 # System tray icon width (usually 16 or 24)
# If TRAY_I_WIDTH is set to 0, then the
# width specified by the tray app will be used
# Panel Clock Format: 'man strftime' for detailed formatting options and help
CLOCK_FORMAT = "%d/%m %H:%M:%S" # Ex: 2004-09-25 17:45
# Clock Delay: Seconds between each clock update during periods of inactivity
CLOCK_DELAY = 20
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
HIDE_LIST = []
# Hidden Panel Size: Size of the panel when it's hidden/minimized
HIDDEN_SIZE = 2
# Panel Text Font: This option takes either a traditional or Xft font string
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
# "aquafont-8"
FONT = "bitstream vera sans-8"
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled - Selected apps are moved to the current desktop
# 2: Enabled - Current desktop is changed to the selected apps desktop
SHOWALL = 0 # 0, 1 or 2 - see descriptions above
# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled - Show only minimized apps on the panel
SHOWMINIMIZED = 0
# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# The "default" entry is used for applications with no icon. If left "",
# PyPanel will use the default icon distributed with the source.
# Add entries using the following format -
# "<application name>" : "<full path to icon>",
ICON_LIST = {
"default" : "",
"example" : "/usr/share/imlib2/data/images/audio.png",
# Application Launch List: Ordered list of icons and applications for the
# application launcher.
# Add entries using the following format -
# ("<executable>", "<full path to icon>")
LAUNCH_LIST = [
("gimp-2.2", "/usr/share/imlib2/data/images/paper.png"),
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
SHADE = 50
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
ABOVE = 1 # Panel is always above other apps
APPICONS = 1 # Show application icons
AUTOHIDE = 0 # Autohide uses the CLOCK_DELAY timer above
SHADOWS = 0 # Show text shadows
SHOWLINES = 0 # Show object seperation lines
SHOWBORDER = 1 # Show a border around the panel
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
DESKTOP_NAMES = []
# Panel Layout: -----------------------------------
# [ 1 ][ 2 ][ 3 ][ 4 ][ 5 ]
# The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
# in the diagram above. Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
DESKTOP = 0 # Desktop name section
TASKS = 2 # Task names section
TRAY = 3 # System tray section
CLOCK = 4 # Clock section
LAUNCHER = 0 # Application launcher section
# Button Event Function Definitions
# Left click - button 1
# Middle click - button 2
# Right click - button 3
# Wheel up - button 4
# Wheel down - button 5
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
# toggleShade(task)
# - Shade or Unshade an application
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
def desktopButtonEvent(pp, button):
""" Button event handler for the panel's desktop object """
if button == 1:
pp.changeDesktop(-1)
elif button == 2:
pp.changeDesktop(2)
elif button == 3:
pp.changeDesktop(1)
elif button == 4:
pp.changeDesktop(1)
elif button == 5:
pp.changeDesktop(-1)
def clockButtonEvent(pp, button):
""" Button event handler for the panel's clock object """
if button == 1:
os.system("xclock &")
elif button == 2:
pass
elif button == 3:
pp.toggleHidden()
elif button == 4:
pp.showDesktop()
elif button == 5:
pp.showDesktop()
def panelButtonEvent(pp, button):
""" Button event handler for the panel with no active tasks """
if button == 1:
pass
elif button == 2:
pass
elif button == 3:
pass
elif button == 4:
pass
elif button == 5:
pass
def taskButtonEvent(pp, button, task):
""" Button event handler for the panel's tasks """
if button == 1:
pp.taskFocus(task)
elif button == 2:
# Destroy the application
task.obj.destroy()
elif button == 3:
# Ex. - XMMS doesn't shade, so we want to minimize it instead and
# still use button 3 to shade other applications
# task.tclass is the tasks class name (WM_CLASS)
if "xmms" in task.tclass:
pp.toggleMinimize(task)
else:
pp.toggleShade(task)
elif button == 4:
pp.taskRaise(task, focus=1)
elif button == 5:
pp.taskLower(task, focus=0) -
[solved] Problem adding menu icon to pypanel
Hello, I'm moving into a new place and I'm putting my desktop in the living room as a community media center since neither me or my roommates own a TV, and I'm the only one with a working desktop. They're used to Windows and a start menu. I'm running Openbox + pypanel and thought I'd make their transition a little easier by adding a start menu icon to pypanel. I followed the instructions here: https://bbs.archlinux.org/viewtopic.php?id=68177 but it isn't working. Everytime I click on the arch icon I just get this in my terminal:
Error: Invalid key sequence 'C-m'
Failure converting key sequence 'C-m' to keycodes
Error: Invalid key sequence 'C-m'
Failure converting key sequence 'C-m' to keycodes
xdo_keysequence reported an error for string 'C-m'
here is the important part of my pypanelrc config:
("xdotool key C-m", "/home/neruson/.icons/archlinux/icons/archllinuxiconcrystal128.png"),
In obkey my key is Ctrl+M and the key text is C-m, anyone know what I'm doing wrong?
EDIT:
I should also add I've tried this with the key as SUPER+Space too with the same error.
EDIT 2:
Nevermind, solved. I'm just stupid and can't follow directions well... ctrl+m instead of C-m... duh
Last edited by Mr_ED-horsey (2011-07-15 22:16:47)Thanks for the heads up on the scripts.
~/.bash_profile has me annoyed though. It's as if it is not being executed. Will have to try adding something with a visible effect to confirm.
My ~/.bash_profile is owned by me and is executable but it simply will not add the path to the variable.
Could it be something to do with the way my session is handled?
I am currently launching my session through GDM via inittab. I know when a session is launched this way, for example, ~/.xinitrc is ignored. Perhaps this is the same for ~/.bash_profile?
Regarding ~/.bashrc, it does work this way, but it only adds the path when a terminal is launched. I need the path added regardless of a terminal being opened or not.
Cheers. -
HOWTO: Openbox Menu Icon in PyPanel
Using Openbox and PyPanel (or similar) and are tired of either having to minimize windows or adjust maximum window size to leave space for right-clicking on the desktop? Do you have a keyboard shortcut set up to open the menu, but also want to be able to use the mouse to open the menu easier? I have a solution!
Create an icon to launch the Openbox application menu on PyPanel.
This will allow you to click on an icon on PyPanel which opens the OpenBox menu, similar to Gnome's application menu.
Example:
Requirements:
Openbox Window Manager
PyPanel (dock/panel application)
xdotool
obkey - to edit key shortcuts to OpenBox's rc.xml (not required, but used in this howto)
Recommendations:
archlinux-artwork
Procedure:
1) If you don't already have PyPanel installed, install it now (as root).
pacman -S pypanel
2) Launch pypanel in an application launcher, or the terminal (as normal user):
pypanel &&
3) Install xdotool (allows for launching keyboard shortcuts via command line) (as root)
pacman -S xdotool
4) If you do not have obkey installed, install it with yaourt (recommended) or download the tar.gz and run the python script:
yaourt -S obkey-git
OR
Go to the obkey site or download the .tar.gz by clicking here
Extract the .tar.gz:
tar -xvf ./obkey-dev-abf0bb12.tar.gz
Enter the obkey-dev directory:
cd ./obkey-dev
Run obkey and point it to the openbox rc.xml (as normal user!):
./obkey ~/.config/openbox/rc.xml
5) In obkey, find an existing key or create a new key binding by clicking "Insert sibling key" at the top. Note: Ctrl+alt combinations did not seem to work for me to create this menu launcher.
- If it's an existing key, select it, then click on the action in the bottom right-hand pane. A window should pop up. Find and select "ShowMenu"
- If it's a new key, select it, enter in the key combination you want to use in the key (text) box (for example, C-M for Ctrl+M), then click the green "Insert Action" button at the bottom. Click on the new "Focus" action. A window should pop up. Find and select "ShowMenu"
In the ShowMenu action, at the top there should be a box for "menu:" Enter in "root-menu" in this box.
Now save by clicking the green arrow + hard drive in the top left corner of obkey. Now you should be able to use that key combination to open the root-menu. If not, try restarting the X Server.
Example:
6) This is optional, but if you want a nice Arch icon for your new menu launcher, you can grab mine. If you want to use your own image, it cannot be .svg, so I converted a .svg icon to .png from the the official Arch Artwork package (archlinux-artwork in the repos). If you want to just use mine:
Enter the following commands to get the image and set it up for the next step:
mkdir ~/.icons/archlinux/icons/
wget -P ~/.icons/archlinux/icons/ http://img297.imageshack.us/img297/1378/archlinuxiconcrystal128.png
7) Open up your ~/.pypanelrc with your favorite text editor (e.g. nano or gedit).
Scroll down to a line starting with "LAUNCH_LIST" Most likely it will have a line like this by default:
("gimp-2.2", "/usr/share/imlib2/data/images/paper.png")
Change the line to the following to use xdotool and the key you assigned in step 5, as well as the icon image we just downloaded (Note: make sure to change /home/user to your specific home directory!):
("xdotool key ctrl+m", "/home/user/.icons/archlinux/icons/archlinuxiconcrystal128.png")
Next, locate a line about 15 more down starting with "APPICONS." Change this value from 0 to 1.
APPICONS = 1 # Show application icons
Finally, about 20 lines down, you will see a section for Panel Layout.
There are 5 sections for the panel: Desktop, Tasks, Tray, Clock, and Launcher. They can be assigned, in order of left to right on the panel, with numbers 1-5 and 0 for disabled. Choose a location you want your Launcher to be and set the value from 1-5. You can play around with this by setting the values, then restarting pypanel.
Here is how I have set mine (I disabled Desktop since I only use one desktop/workspace and do not need it to say which one I am on):
DESKTOP = 0 # Desktop name section
TASKS = 2 # Task names section
TRAY = 3 # System tray section
CLOCK = 4 # Clock section
LAUNCHER = 1 # Application launcher section
8) Finally, kill and restart PyPanel and enjoy!
killall pypanel && pypanel
9) Tell me how it went, what you think, what I could improve on, etc!
Last edited by CheesyBeef (2009-03-24 22:22:39)Vighi wrote:
Very nice guide got it working almost straight away :-)
Had to restart X in order to get key-binding to work though. And I put /home/username/.icons/archlinux/icons/archlinuxiconcrystal128.png instead of ~/ because somehow I got couldn't find logo error when pypanel started.
BTW sexy pypanel look you have. All the info in your .dotfiles link? will get to it tomorrow I guess. Thanks!
Thanks very much for using my guide and responding!
I will fix that ~/ directory problem and say to use the home directory.
And yes, that configuration is in my .dotfiles at the moment You can follow that link or just grab it here: http://dotfiles.org/~CheesyBeef/.pypanelrc
Thanks again! -
Minimizing Sylpheed to tray in PyPanel
I've checked "minimize to tray icon" under Configuration->Common Preferences->Details->Interface and the Sylpheed icon is in the tray.
Minimizing the window (by clicking on the window, by using an Openbox shortcut, by clicking on the PyPanel task bar, or by clicking on the Sylpheed tray icon) minimizes Sylpheed to the task bar instead (or rather, as applications normally do).
It does remove the window from Openbox's alt-tab dialogue, but I just can't get remove it from the task bar ([email protected] - Sylpheed 2.5.0).
Has anyone else come across this problem? Can this be fixed through configuration or is it a Sylpheed/PyPanel/Openbox bug?
The mentioned apps are all the latest versions in the extra and community repos, architecture is x86_64.
Any help or suggestions would be appreciated.I didn't have to change anything in .pypanelrc... xchat just worked, which is why I suspect that this may be a bug.
Thanks for the reply nonetheless. -
hi there! having a little problem with my pypanel installation.
I've instaled a fresh installation following the beginners guide and when i launch pypanel it comes with two date references, one on the right size, which is fine and one on the left. The left one is frozen and is behind the other stuff.
i leave an image of this of this issue.
Any suggest is welcome, ty!Ok now if I run python2.5 /usr/bin/pypanel it works ;-S
Can I remove 2.4 now or do I have a paths problem?
Now getting it running from .xinitrc is another story even made a script to call it but will not start from log on ;-(
Last edited by Mr Green (2007-04-15 19:26:15) -
Openbox-svn6175 wired problem [solved]
I have a wired problem with the new openbox-svn revision.
I use pypanel and e.g i open urxvt and firefox, and will switch from firefox to urxvt I can't get urxvt in the foreground, only when I start first firefox , then urxvt, switch to firefox and then to urxvt.
I hope you understand what I mean..
Last edited by fk (2007-05-11 18:32:31)Mikko777 wrote:So are you saying they still develop Openbox? /end sarcasm Love OB3 tho <3
Yeah, quite recently the original developer came back and started doing _a lot_ of work on ob. Quite some bugs got fixed and if you look closely, we got some nice new features... Also be prepared for a lot of fancy new stuff to come.
Edit: I kinda mean that OB seems ready and always stable so what are they doing to break things? Is obconf2 just so much different than obconf1 that it always breaks?
It is not obconf2 that breaks, it is ob that makes obconf2 break. Openbox has some libraries (for rendering themes, parsing config files, etc.) and obconf2 makes use of that and every time some api changes happen (quite often recently) obconf2 breaks. -
PyPanel: Clicking task doesn't restore focus
When I click a task in the PyPanel bar, it doesn't have focus restored to it. It gets brought to the front of all my windows, but without focus.
My .pypanelrc has
def taskButtonEvent(pp, button, task):
""" Button event handler for the panel's tasks """
if button == 1:
pp.taskFocus(task)
which seems to indicate that the window should be getting focus, but alas it is not.
Is this normal? Does perhaps the problem lie with Openbox (which I'm running with pypanel).Much appreciated, was playing around with the functions provided but is impossible to create that beaviour with only those , this should be default i guess or is it just openbox ? Wherever range(2) comes from its goooood
-
Just started using openbox and loving it so far, have nearly everything setup but having a problem with pypanel and sonata, neither will start.
When I try and start them from terminal I get the following message
[benji@myhost ~]$ pypanel
Traceback (most recent call last):
File "/usr/bin/pypanel", line 948, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[benji@myhost ~]$
[benji@myhost ~]$ sonata
(sonata:3755): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
/usr/lib/python2.5/site-packages/sonata/tray.py:12: GtkWarning: Unable to locate theme engine in module_path: "mist",
gtk.Window.__init__(self, gtk.WINDOW_POPUP)
Locale cannot be found; please set your system's locale. Aborting...
[benji@myhost ~]$
Both of them are saying something about locale, I have checked rc.conf and the locale settings are:
LOCALE="en_GB.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
and locale.gen is
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
Does anyone know why neither of these programs will open?Did you manage to solve your problem?
I'm having exactly the same problem. (Did not try sonata though)
[kiepmad@myhost ~]$ pypanel
Traceback (most recent call last):
File "/usr/bin/pypanel", line 948, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[kiepmad@myhost ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
C
POSIX
de_CH
de_CH.iso88591
de_CH.utf8
de_LU
de_LU.iso88591
de_LU.iso885915@euro
de_LU.utf8
de_LU@euro
en_GB
en_GB.iso88591
en_GB.utf8
en_IE.iso885915@euro
en_IE@euro
en_US.utf8
fr_LU
fr_LU.iso88591
fr_LU.iso885915@euro
fr_LU.utf8
fr_LU@euro
I regenrated locales now quite often, but it doesn't fix the problem.
Lots of poeple were having these errors, but they could fix it by generating locales.
btw, my /etc/rc.conf
LOCALE="de_CH.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Luxembourg"
KEYMAP="de_CH-latin1"
Edit:
GTK programms complain as well:
[kiepmad@myhost ~]$ pidgin
(process:4150): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Last edited by kiepmad (2008-10-28 20:55:53) -
Problem regarding application rendering
I've only had this problem with pypanel and wbar. The problem is where any time the information shown changes (i.e. I close a window in wbar and it removes it from its taskbar), the rendering becomes glitchy and shows multiple versions of the bar. Attached is a picture of pypanel in basic config and that'll sum this up better than words can. I just can't seem to get these apps to render right!
http://i.imgur.com/3GTZ0.pngWould help if you explained a bit more such as the composition manager your using. Also make sure you launch wbar / pypanel after your comp manager and not before it.
Seems like an issue with gtk.
Last edited by xs (2012-03-15 19:59:14) -
Gdm and pypanel???
Ok, so I tried to run gnome/openbox with pypanel from the gdm login manager, but I could never seem to get the pypanel to start using the .xsession code below, but if I ran just openbox with the following code below in .xsession it worked flawlessly, what is the problem? Its imperative that I use graphical login since I am not the only user of this computer.
pypanel &jacko wrote:
Ok, so I tried to run gnome/openbox with pypanel from the gdm login manager, but I could never seem to get the pypanel to start using the .xsession code below, but if I ran just openbox with the following code below in .xsession it worked flawlessly, what is the problem? Its imperative that I use graphical login since I am not the only user of this computer.
pypanel &
You'd have to check your ~/.xsession-errors for the exception (which GDM redirects stderr to by default), but I'd bet a fair bit the error is "PyPanel is trying to draw but your window manager isn't there and it poops out instead."
If you're not using a typical window manager (like XMonad, for instance), pypanel won't work and you should try trayer instead.
If you ARE using a typical window manager (like openbox), you'll need to write a handler for pypanel so it doesn't try to start before your WM does.
pypanel-handler.sh:
#!/bin/sh
sleep 3 && pypanel &
Stick that in whatever startup file you like and hopefully your WM will get there first. Unfortunately there really isn't a more elegant solution to this; the fact is pypanel simply can't be started before your WM. -
[solved] pypanel does not start
HI,
I installed pypanel with pacman. When I try to start it I get this
[michael@acer01 ~]$ pypanel
/usr/bin/pypanel:892: RuntimeWarning: Python C API version mismatch for module ppmodule: This Python has API version 1013, module ppmodule has version 1012.
from ppmodule import ppinit, ppshade, ppicon, ppfont, ppfontsize, ppclear
Failed to open ~/.pypanelrc -
[Errno 2] No such file or directory: '/usr/lib/python2.5/site-packages/pypanel/pypanelrc'
[michael@acer01 ~]$ pacman -Ql pypanel
pypanel /usr/bin/pypanel
pypanel /usr/lib/python2.4/site-packages/ppmodule.so
pypanel /usr/lib/python2.4/site-packages/pypanel/COPYING
pypanel /usr/lib/python2.4/site-packages/pypanel/README
pypanel /usr/lib/python2.4/site-packages/pypanel/ppicon.png
pypanel /usr/lib/python2.4/site-packages/pypanel/pypanelrc
[michael@acer01 ~]$
Seems that pypanel searches in /usr/lib/python2.5 but it's installed in /usr/lib/python2.5.
How can I solve this?
Last edited by SiD (2007-12-10 14:44:19)SiD wrote:And what's about the RuntimeWarning?
It can be safely ignored. I get them all the time in many different arch python packages, without problems.
Recompiling it won't fix the warning either, so don't bother trying.
Maybe you are looking for
-
My itunes won't open up.. someone please help?
"Apple application support was not found. Apple application support is required to run itunes. Please uninstall itunes and reinstall again. Error 2. (windows error 2)" that error comes up everytime i try to open up itunes. I've un-installed itunes se
-
HFM 9.3.1 Extract Data - adjustments?
If I run an "extract task">extract data, will it extract adjustments I've entered as well? thanks! Edited by: user9213000 on 05-Sep-2011 08:42
-
Relocate database in a vmware folder
Hi, I have allocated the mdf and ldf of one of my sql server 2012 databases in a different unit, in my windows server 2012. The problem is that I'm getting the error 17204 (Access denied) and I think this is because the account/service mssql$wsus use
-
Unable to create communication channel - RFC
Hi , I am trying to create communication channel automatically , when adding business systems from SLD to integration repository. I get the following error only for RFC all other communication channel gets generated correctly.. Is there any thing i a
-
Hi. I've got a MacBook Pro, which I want to take to France next year. Thing is, I'm going to be in the middle of nowhere - nothing for miles, so my question is, is there anyway I can connect my mac to the internet? As a 'silver surfer' I'm not very g