You are not logged in.
I followed instruction on wiki about xscreensaver, installed and added this line to .xinitrc file:
/usr/bin/xscreensaver -no-splash &and i tried with this also:
exec /usr/bin/xscreensaver -no-splash &but niether not working.
I also checked clock settings, and my hardware and system clock are sync.
Does anyone have some other sugestion?
Last edited by djomla (2013-06-01 21:08:32)
Offline
Post your .xinitrc.
Offline
Here it is:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec gnome-session-cinnamon
exec /usr/bin/xscreensaver -no-splash &Offline
Move the xscreensaver line before 'exec gnome-session-cinnamon'.
Offline
All right. I`ll try this, and then I will restart to see if service is going to start.
Offline
You can have just one line starting with 'exec': https://wiki.archlinux.org/index.php/Xinitrc (the second note)
Make sure to uncomment only one exec line, since that will be the last command run from the script; all the following lines will just be ignored. Do NOT attempt to background your WM by appending a `&` to the line.
Offline
I restarted and there is /usr/bin/xscreensaver -no-splash startet, but now when I start xscreensaver-demo it says:
The GNOME screensaver daemon appears to be running.
But in process list i see /usr/bin/xscreensaver -no-splash
How come that?
I`ll try to delete exec before xscreensaver line.
Last edited by djomla (2013-06-01 19:15:22)
Offline
I removed exec before mentioned line, service is started after restart, xscreensaver-demo is starting ok. I set it up to start screensaver after 2 min., just to test, but after 5 min. nothing is happening.
Correction. NOW IS WORKING. How and why, I don`t know, but is working.
Arch is very strange, sometimes things don`t work, and U try to solve problem, and when you can nohing else to do, it just start working by himself.
Last edited by djomla (2013-06-01 19:29:31)
Offline
What's the output of 'xset q'?
Offline
Here it is:
[djomla@localhost ~]$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 8
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
Standby: 7200 Suspend: 7200 Off: 14400
DPMS is DisabledOffline
Those errors alse also displayed when I start xscreensaver-gnome:
xscreensaver-demo: 21:35:07: Gtk-warning: Unable to locate theme engine in module_path: "murrine",and
(xscreensaver-demo:704): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directoryOffline
DPMS is disabled, but it seem https://wiki.archlinux.org/index.php/Xs … S_settings not to matter anyway.
Can you post your ~/.xscreensaver config?
Edit:
These are warnings, not errors ;P
$ pkgfile libgnome.so
extra/libgnomeuiIf you install libgnomeui, that warning should go away, but I have no idea if it's worth it.
Last edited by karol (2013-06-01 19:42:15)
Offline
# XScreenSaver Preferences File
# Written by xscreensaver-demo 5.21 for djomla on Sat Jun 1 21:36:51 2013.
# http://www.jwz.org/xscreensaver/
timeout: 0:05:00
cycle: 0:10:00
lock: False
lockTimeout: 0:00:00
passwdTimeout: 0:00:30
visualID: default
installColormap: True
verbose: False
timestamp: True
splash: True
splashDuration: 0:00:05
demoCommand: xscreensaver-demo
prefsCommand: xscreensaver-demo -prefs
nice: 10
memoryLimit: 0
fade: True
unfade: False
fadeSeconds: 0:00:03
fadeTicks: 20
captureStderr: True
ignoreUninstalledPrograms:False
font: *-medium-r-*-140-*-m-*
dpmsEnabled: False
dpmsQuickOff: False
dpmsStandby: 2:00:00
dpmsSuspend: 2:00:00
dpmsOff: 4:00:00
grabDesktopImages: True
grabVideoFrames: False
chooseRandomImages: False
imageDirectory:
mode: one
selected: 142
textMode: file
textLiteral: XScreenSaver
textFile:
textProgram: fortune
pointerPollTime: 0:00:05
pointerHysteresis: 10
windowCreationTimeout:0:00:30
initialDelay: 0:00:00
GetViewPortIsFullOfLies:False
procInterrupts: True
xinputExtensionDev: False
overlayStderr: TrueOffline
libgnomeui says it is User Interface library for GNOME, but I use Cinnamon. Is it maybe reason why I can not start xscreensaver-demo vith some icon?
Offline
You said you've set it to 2 minutes, but I think
timeout: 0:05:00means 5 minutes.
I'm not familiar with xscreensaver, so please correct me if I'm wrong.
You said you're running xscreensaver-gnome, but I couldn't find it, so I looked around a bit and http://www.jwz.org/xscreensaver/faq.htm … creensaver
Are you using the gnome-screensaver package?
Last edited by karol (2013-06-01 19:58:23)
Offline
I changed from 2min to 5min., so 5min is correct ![]()
I disabled gnome-screensaver service, and wanted to start xscreensaver, so I`m using xscreensaver-arch-logo, to be precise.
Now xscreensaver works ok, and I hope it will stay so. My first wrong move was that I putet exec before /usr/bin/xscreensaver -no-splash & line in .xinitrc file. Second step for solution was to move that line before line exec gnome-session-cinnamon. Everything thanks to you, karol ![]()
Now, just for curiosity, I tought it need to be first gnome-session-cinnamon and then xscreensaver in .xinitrc file. Why is no metter is it going to start first gnome or screensaver?
Offline
Now, just for curiosity, I tought it need to be first gnome-session-cinnamon and then xscreensaver in .xinitrc file. Why is no metter is it going to start first gnome or screensaver?
I don't know how exactly it works ;P
Offline
I don't know how exactly it works ;P
It is imporant that is working.
Thanks a lot for help, there will be more problems, I`m sure. Now I have to search solutions for others issues, and if I fail to do alone, I`ll ask here, on this forum, for help ![]()
Offline
Thanks a lot for help, there will be more problems, I`m sure.
Not sure what the proper etiquette is, should I say "I'm looking forward to" or berate you for being too pessimistic?
;-)
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline