PDA

View Full Version : [ubuntu] lid-close-ac-action settings via terminal



zeezam
January 19th, 2012, 07:22 PM
Trying to set this via ssh on my laptop:



sudo gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blanc


Got this response



** (process:9082): WARNING **: Command line `dbus-launch --autolaunch=7a82398b48ae7ae563de66580000000a --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

** (process:9082): WARNING **: Command line `dbus-launch --autolaunch=7a82398b48ae7ae563de66580000000a --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n


Isn't possible to set close-ac-action via terminal?

jonguitud
April 13th, 2012, 06:25 AM
Try it without "sudo", and obviously without logging in as root. That did the trick for me ;)

Cheers !