[lug] Ubuntu 14.04 Unity Desktop Config Files?

stimits at comcast.net stimits at comcast.net
Tue Jul 15 22:46:16 MDT 2014


Excellent...I never thought to look for the manual script then strace. I'll just set it up once and then save that user file. Thanks!

----- Original Message -----From: Jeffrey S. Haemer <jeffrey.haemer at gmail.com>To: Boulder (Colorado) Linux Users Group -- General Mailing List <lug at lug.boulder.co.us>Sent: Wed, 16 Jul 2014 00:02:04 -0000 (UTC)Subject: Re: [lug] Ubuntu 14.04 Unity Desktop Config Files?

Howdy,

I don't even pretend to know anything about GUIs and Desktops, so -- in case it's helpful to anyone -- here's what I did:


I found System Settings -> Brightness and Lock to see what it was supposed to do.
I googled "Unity screen lock", because, well, I hoped it would tell me something. Here's one thing that popped up:



gsettings set org.gnome.desktop.screensaver lock-enabled false



That flipped the switch in the little GUI "Settings" popup (and "true" flipped the switch back), so I ran this:




strace gsettings set org.gnome.desktop.screensaver lock-enabled false



           hoping it would tell me what file it was writing. Looked like it might be ~/.config/dconf/user
 

open("/home/jhaemer/.config/dconf/user", O_RDONLY) = 4




I flipped the switch back and forth and saw the modification time on that file change.
I captured the file in each state, ran od -c on the two versions, and diffed the results. Here's what I see:





834c834




< 0032020   n   a   b   l   e   d  \0  \0 001  \0   b   s   t   a   t   e




---




> 0032020   n   a   b   l   e   d  \0  \0  \0  \0   b   s   t   a   t   e








 
Other files may need to change too, like /run/user/1000/dconf/user, but maybe changing ~/.config/dconf/user by hand is enough. I haven't gone the last mile because ... well, because this was actually fun, and you shouldn't miss out on all of it.
 
HTH!
 
 










On Tue, Jul 15, 2014 at 4:51 PM, <stimits at comcast.net> wrote:

Hi,
 
I have a small system with Ubuntu 14.04 and Unity desktop. I'm trying to configure the desktop through file edits rather than the GUI tool. Specifically, I'm looking for the files which are listed in the GUI as "Brightness & Lock". Is anyone here familiar with the location of this config file?
 
Thanks!
_______________________________________________

Web Page:  http://lug.boulder.co.us

Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety



-- 
Jeffrey Haemer <jeffrey.haemer at gmail.com>

720-837-8908 [cell], http://seejeffrun.blogspot.com[blog],
http://www.youtube.com/user/goyishekop [vlog]


פרייהייט? דאס איז יאַנג דינען וואָרט.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20140716/28df3f08/attachment.html>


More information about the LUG mailing list