Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Missing String in Dconf-editor

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
G-Known
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Missing String in Dconf-editor

#1 Post by G-Known »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Missing String in Dconf-editor

#2 Post by Head_on_a_Stick »

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
deadbang

User avatar
G-Known
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Re: Missing String in Dconf-editor

#3 Post by G-Known »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Missing String in Dconf-editor

#4 Post by Head_on_a_Stick »

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

User avatar
G-Known
Posts: 178
Joined: 2012-10-26 04:59
Location: Brooklyn, New York

Re: Missing String in Dconf-editor

#5 Post by G-Known »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Missing String in Dconf-editor

#6 Post by Head_on_a_Stick »

Yup.

Unless you can find a shell extension to do what you want here:
https://extensions.gnome.org/
deadbang

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2062
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 221 times

Re: Missing String in Dconf-editor

#7 Post by FreewheelinFrank »

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

Post Reply