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

Re: How to start an application automatically after X is started up?



On 2/15/06, Deephay <tudoxxx@gmail.com> wrote:
> I heard that the ~/.xinitrc is not for start some application after X is started up,
> so I think it is totally wrong to modify the .xinitrc file, that's the reason why I
> didn't mention the error message...is there another way to do this thing?
> I am currently using XFCE desktop environment.

I'm using FVWM, which has its own configuration file that can include
an initialization routine.    That lets me do things like:

AddToFunc InitFunction    "I" Module FvwmButtons
+                         "I" exec xsetroot -solid slategrey
+                         "I" exec xclock -update 5 -digital -fn 12x24
-geometry -0+0
+                         "I" exec xterm -ls -sb -sl 1000 -geometry
80x40+100+100
+                         "I" exec xset -dpms
+                         "I" exec xset s off
+                         "I" exec xset b 40 300 100

I could easily stick xscreensaver in there. I don't know if XFCE has
something similar -- check the docs.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com



Reply to: