Quote:
Originally Posted by Belikewater
Hmm not sure if I am doing it incorrectly, I have tried both methods, but still not working.
Based on the second method ill show you some output.
bash-4.3$ cat .xinitrc.sh
xscreensaver -no-splash &
bash-4.3$ ls -l .xinitrc.sh
-rwxr-xr-x 1 root root 27 Jul 16 01:36 .xinitrc.sh
In system settings> configure energy settings> i have deselected Screen_energy saving
Xscreensaver will work if I do xscreensaver & its just when rebooting and logging in it will not automatically start.
|
Well first thing its not .xinitrc.sh. Did you make that file manually? Log out of X and at the terminal type "xwmconfig" this will bring up your windows manager/desktop environment choices. After you choose the one you want you should now have the .xinitrc file in your home directory. From there you can add the "xscreensaver -no-splash &" line. For instance I use Mate desktop and here is my .xinitrc file
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
xscreensaver -no-splash &
# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
export DESKTOP_SESSION="mate"
exec ck-launch-session dbus-launch --exit-with-session mate-session
else
export DESKTOP_SESSION="mate"
exec mate-session
fi