<#secure method=pgpmime mode=sign> On 13 jui 2003, Johannes Graumann outgrape:
> Hello, > > I inherited this piece of code called "workspace_indicator" from a > friend - I hope it's supposed to show the workspace name in the upper > corner. > > I can't however get it to work ... > > I'm using the debian testing package ion-devel 20030327 and the > relevant part of my .xinitrc looks as follows: > > exec /usr/bin/ion-devel exec /home/ME/bin/workspace_indicator --ion > > \\ -f -*-utopia-*-*-*-*-33-*-*-*-*-*-*-*- -t 28 -r 12 I personnaly use it diferently. Currently I am logging using the Session stuff from the couple XDM/Gdm. So I have wrote a Session script to launch Ion through GDM. The only difference I can see so far is my call to the workspace_indicator script. I make an explicit call to the python interpreter (cause it is a python script) so my command line looks like that : ,---- | python2.2 /usr/bin/workspace_indicator --ion -f -*-verdana-*-*-*-*-33-*-*-*-*-*-*-* -t 28 -r 12 & `---- Note that apparently it works right with python 2.2 Now as you don't provide the exact problem, there are few things to check before you can use that. First, do you have python libraries and interpreter installed ? I know this is foolfish but who knows ? :) The second step is (if you try to exec the script) to be sure that the script has its executable bit set (chmode +x workspace_indicator). Last but not least, make sure you have all the needed python modules in order to display OSD text. Check that part in the script ,---- | import getopt, sys, select, types, os, signal | from Xlib import * | from Xlib.ext import shape | from Xlib.protocol import event, request, rq `---- But AFAIK, the only problem I can see with your command is the call to the script. Wowwwww ! Last update, it seems you call the workspace script after you have started ion-devel ! IT IS BAD BAD BAD and wouldn't work. Hint: when you start your X session using the xinitrc stuff, you need to make all the external call to tools _BEFORE_ you start the windowmanager. So invert your command call orders and all will work. > Does somebody have an inkling what I'm missing? I think I have already answered to that :) If you need more informations do not hesitate. > > Thanks, Joh zeDek -- "Windows and DOS - a turtle and it's shell."
pgp00000.pgp
Description: PGP signature
