Missing String in Dconf-editor

Everything about X, Gnome, KDE, ... and everything running on it

Missing String in Dconf-editor

Postby G-Known » 2015-05-26 02:50

The dconf-editor is missing 'percentage-action', 'percentage-low', 'percentage-critical' strings that's responsible for notifying the user of the battery levels. How can I add them?
Debian Jessie
Asus Zenbook UX305FA-ASM1
Intel Core M 5Y10; Intel HD Graphics 5300
User avatar
G-Known
 
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Re: Missing String in Dconf-editor

Postby Head_on_a_Stick » 2015-05-26 10:51

I can't be bothered slogging through all the options -- please share the location of this string.

Please also state which version of Debian you are using.

I am presuming you are using GNOME; correct me if I am wrong.

http://www.catb.org/esr/faqs/smart-questions.html
“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6491
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Missing String in Dconf-editor

Postby G-Known » 2015-05-27 02:30

Head_on_a_Stick wrote:I can't be bothered slogging through all the options -- please share the location of this string.

Please also state which version of Debian you are using.

I am presuming you are using GNOME; correct me if I am wrong.

http://www.catb.org/esr/faqs/smart-questions.html


The location of the string should be in org.gnome.settings-daemon.plugins.power. I'm using Debian Stable with Gnome.
Debian Jessie
Asus Zenbook UX305FA-ASM1
Intel Core M 5Y10; Intel HD Graphics 5300
User avatar
G-Known
 
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Re: Missing String in Dconf-editor

Postby Head_on_a_Stick » 2015-05-27 07:06

Looks like it's hard coded -- `apt-get source gnome-shell` and get hacking...
“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6491
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Missing String in Dconf-editor

Postby G-Known » 2015-05-27 23:57

Head_on_a_Stick wrote:Looks like it's hard coded -- `apt-get source gnome-shell` and get hacking...


So I'll need to modify the source code to get the strings?
Debian Jessie
Asus Zenbook UX305FA-ASM1
Intel Core M 5Y10; Intel HD Graphics 5300
User avatar
G-Known
 
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Re: Missing String in Dconf-editor

Postby Head_on_a_Stick » 2015-05-28 08:15

Yup.

Unless you can find a shell extension to do what you want here:
https://extensions.gnome.org/
“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6491
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Missing String in Dconf-editor

Postby FreewheelinFrank » 2017-04-11 09:55

Sorry to raise an old thread, but came across this looking for critical battery action settings in Gnome. For anybody arriving at the same place, this may be useful:

Looks like Gnome moved the settings. Critically low battery is now handled by UPower. Instead of using gsettings, you should now edit the file /etc/UPower/UPower.conf


http://askubuntu.com/questions/92794/ho ... tery-value
User avatar
FreewheelinFrank
 
Posts: 229
Joined: 2010-06-07 16:59


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable