Re: [dwm] autostart

From: Yoshi Rokuko <yoshi.rokuko_AT_yokuts.org>
Date: Mon, 8 Sep 2008 11:33:18 +0200 (CEST)

> On Mon, 08 Sep 2008, =?ISO-8859-1?Q?Richard_P=F6ttler_ wrote:
>
>> On Mon, Sep 8, 2008 at 10:44 AM, bill lam <cbill.lam_AT_gmail.com> wrote:
>> > I use slim to start dwm or other wm. I want to know to autostart a
>> > particular script for dwn only.
>> >
>> > Thanks in advance.
>>
>> Just place the command in front of the dwm command in the dwm branch
>> of your case block in the .xinitrc.
>>
>> You also want to have a look at:
>> http://www.google.at/search?q=.xinitrc+dwm+slim&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a
>>
>
> Did you use slim login manager?
> 1. slim does not need ~/.xinitrc

from my experiences (I'm not using slim at the moment) slim uses ~/.xinitrc
I was not using the session variable (exec /bin/sh -login ~/.xinitrc
%session) because I preferred xwmconfig on slackware, but if you want to
use the session variable you need a custom ~/.xinitrc (see xinitrc.sample
from the slim source).

in this custom ~/.xinitrc you have your custom while loop etc.

> 2. how to ensure the script is only run for dwn session but not other
> wm?
>
> Put it in the other way, does dwm have any autostart script?
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>
Received on Mon Sep 08 2008 - 09:33:18 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 08 2008 - 10:00:13 UTC