Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets Screensaver_inhibitor doesn't work when dock loads only when reinstalled
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] Screensaver_inhibitor doesn't work when dock loads only when reinstalled
am4c130d English 3 am4c130d [Read]
15 September 2012 à 00:53

am4c130d, Wednesday 12 September 2012 à 04:31


Subscription date : 10 October 2011
Messages : 10
Debian Wheezy (up to date with all updates)
XFCE 4.8
Cairo-dock 3.0.2 from the cairo-dock repository.

When I log in to my session, or cairo-dock is newly loaded, Screensaver_inhibitor doesn't work - the icon bounces when clicked, but doesn't change to indicate that the screensaver is disabled - nor is the screensaver disabled. To fix this, I "reinstall" Screensaver_inhibitor by download it from the Extras page, and it then works perfectly/as expected.

From the command line I get

$ cairo-dock -o


    Cairo-Dock version : 3.0.2
    Compiled date : Jun 15 2012 21:05:47
    Built with GTK : 3.4
    Running with OpenGL: 1

cairo_dock_create_surface_from_image_simple: assertion `cImageFile != NULL' failed
CairoKeyBinding '<Control>F12' failed!
warning : (/tmp/buildd/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
Couldn't bind '<Control>F12' (Log out: Show the log-out menu)
This shortkey is probably already used by another applet or another application
on_name_owner_changed:
>>> applet 'Screensaver_inhibitor' terminated.
sh: 1: ./Screensaver_inhibitor: Permission denied

Once "reinstalled" from the website it works fine

we'll stop inhibiting in 120mn

Any clues? This worked fine for some time, and at some point - either from a Debian or Cairo-Dock upgrade it appears to have broken.

Thanks for any help - as you can tell, it's not critical as I have a workaround

Alan

fabounet, Friday 14 September 2012 à 23:19


Subscription date : 30 November 2007
Messages : 17118
sh: 1: ./Screensaver_inhibitor: Permission denied

it seems there is a problem of permission
you can try this:
chmod -R 777 ~/.config/cairo-dock

and restart the dock.

am4c130d, Saturday 15 September 2012 à 00:45


Subscription date : 10 October 2011
Messages : 10
I used chmod -R 777 ~/.config/cairo-dock/third-party/Screensaver_inhibitor and that "fixed" the problem - as everything else was working I didn't want to change the other applets.

Previously the directory was 755 and all the files below were 644 and all owned by my user and default group - so unless execution was needed at a file level, there is no logical reason (to me) why this addressed the problem.

I'll continue to experiment and see if I can uncover the exact file/directory that was failing.

Thanks for the workaround.

am4c130d, Saturday 15 September 2012 à 00:53


Subscription date : 10 October 2011
Messages : 10
OK - it proved to be trivial to find the actual problem - once I knew what to look for. The Screensaver_inhibitor executable was not executable... duh.

Applets | Applets

Subjects Author Language Messages Last message
[Locked] Screensaver_inhibitor doesn't work when dock loads only when reinstalled
am4c130d English 3 am4c130d [Read]
15 September 2012 à 00:53


Glx-Dock / Cairo-Dock List of forums Applets | Applets Screensaver_inhibitor doesn't work when dock loads only when reinstalled Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.