Stop Microsoft

Miscellaneous => Technical Support => Topic started by: Annorax on 20 April 2006, 12:59

Title: Minor gripes: Debian xscreensaver, et al.
Post by: Annorax on 20 April 2006, 12:59
On my Debian Sarge box, xscreensaver doesn't start automatically on login or startup. I want it to do this. How can I make it start with KDE/the system.

Also, does anyone have a line on a relatively inexpensive adapter that'll let me use an old Apple ADB extended keyboard with said Debian box?
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: piratePenguin on 20 April 2006, 19:39
Add "xscreensaver &" to the end of your ~/.xinitrc file (if it doesn't exist, create it).
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: Pathos on 22 April 2006, 07:03
is there any difference with :

xscreensaver &> /dev/null &

?

prehaps only knoppix based systems really need that because of how the terminal is setup.
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: piratePenguin on 23 April 2006, 00:34
Quote from: Pathos
is there any difference with :

xscreensaver &> /dev/null &

?

prehaps only knoppix based systems really need that because of how the terminal is setup.
Same enough, you just won't get messages printed to the terminal (you don't really need them. Only one I know of is "xscreensaver: 00:36:22: already running on display :0.0 (window 0xe00001)
 from process 530 (piratepenguin@localhost).").

BTW I don't think the last '&' would ever have any effect (but I'm not sure).
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: H_TeXMeX_H on 23 April 2006, 02:50
The & is there if you want to keep processes running ... that's what it says in the fluxbox startup script ... like if I ran "gkrellm" instead of "gkrellm &" the process would start and then quit as soon as the script exited :) So yeah, it should probably be in there ;)
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: piratePenguin on 23 April 2006, 20:38
Quote from: H_TeXMeX_H
The & is there if you want to keep processes running ... that's what it says in the fluxbox startup script ... like if I ran "gkrellm" instead of "gkrellm &" the process would start and then quit as soon as the script exited :) So yeah, it should probably be in there ;)
Yea but he's using 2 &'s.

xscreensaver &> /dev/null &
Title: Re: Minor gripes: Debian xscreensaver, et al.
Post by: H_TeXMeX_H on 24 April 2006, 00:48
Oh ... then it gets more complicated ... then I wouldn't really know ... uhhh, since /dev/null is not a process it should not make a difference, but I don't know the exact format for that. I say just forget the /dev/null part ... you might want it print errors anyway.