On Tue, Dec 04, 2007 at 12:19:30AM +0100, Vegard Vesterheim wrote: > On Mon, 3 Dec 2007 15:28:59 +0000 (UTC) Gary <[EMAIL PROTECTED]> wrote: > > A somewhat primitive method is to add the following in your X-session > startup (.xinitrc or equivalent):
Sawfish executes ~/.sawfish/rc on a startup and you can put there any sawfish code you desire. So .xinitrc hacks are not required. Various windows geometry will end up in ~/.sawfish/custom if you will use "match" GUI and put specifications there. So, for example, this was written "automatically" in 'custom'; (custom-set-typed-variable (quote match-window-profile) (quote ((((WM_CLASS . "^Clock/rclock$")) (position 160 . 55) (dimensions 75 . 75) (ignored . #t) (sticky . #t) (window-list-skip . #t)) (((WM_NAME . "^panel$")) (sticky-viewport . #t) (cycle-skip . #t) (window-list-skip . #t) (task-list-skip . #t)))) (quote match-window) (quote sawfish.wm.ext.match-window)) and this starts that application in 'rc' (system "maybe-restart rclock -mailspawn launchmail -mail 30 -bg lightgray &") 'maybe-restart' is simple shell script which checks if a given program is already running so you will not launch multiple instances by hitting "Restart" on a sawfish menu. Michal
