Re: Sawfish thinks ~/.galeon is $HOME?



On Tue, 20 Apr 2004 16:25:27 +1000, Rebecca Dridan <rdrid dridan com>
posted to gmane.comp.window-managers.sawfish:
 > when I run Eterm or mlterm in this way, the terminal opens and I am
 > in ~/.galeon, rather than ~. If I run Eterm or mlterm normally
 > either from the Gnome menu, or from another term, it works as
 > expected. It is almost like sawfish thinks $HOME is ~/.galeon, but
 > I don't know where this would be set.

What is the current working directory of your Sawfish process?

If you're on Linux, you can check this in the /proc filesystem's entry
whose name is the PID of the process. On many other systems, if you
have lsof(1), you can use that to find out.

 $ ps | grep '[s]awfish$'
   815 ?        00:00:41 sawfish

 $ ls -l /proc/815/cwd
 lrwxrwxrwx   1  era     era        0 Apr 20 10:03 /proc/815/cwd -> /home/era

Alternatively:

 $ lsof -c sawfish -a -d cwd
 COMMAND PID USER   FD   TYPE DEVICE  SIZE  NODE NAME
 sawfish 815  era  cwd    DIR    3,8 40960 30145 /home/era

Just a stab in the dark; still, hope this helps,

/* era */

-- 
formail -s procmail <http://www.iki.fi/era/spam/ >http://www.euro.cauce.org/
cat | more | cat<http://www.iki.fi/era/unix/award.html>http://www.debian.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]