![]() |
Re: MCE stop and start
^ Thanks but that didn't work even though it didn't give me any errors.
|
Re: MCE stop and start
I have the blank timeout set at 30 seconds.
After restarting mce and running this... gconftool -s /system/osso/dsm/display/display_blank_timeout \ `gconftool -g /system/osso/dsm/display/display_blank_timeout` -t int It doesn't reset. It blanks after 2 minutes now. Should there be quotes or something in that command line? |
Re: MCE stop and start
Quote:
Quote:
If you scroll back to my second post you will see that I wrote a nice little function that automates this for you. You just have to pass it the key and type and it handles getting and setting. @ jonww, that key is for the default brightness, he is using adv-backlight which has its own key. |
Re: MCE stop and start
I wasn't trying to be a punk. *lol*
I was simply pointing out that /usr/bin/set-backlight `gconftool-2 --get /apps/adv-backlight/brightness` and not /FULL/PATH/set-brightness `gconftool-2 --get /apps/adv-backlight/brightness` the way you wrote it was correct. :) Anyway, I'll look over your post one more time and see if I can't get your other junk to work as well. Cheers buddy. :) |
Re: MCE stop and start
Sorry.
What am I doing wrong here? #! /bin/sh gconftool-2 --set -t bool /system/osso/af/keyboard-attached true /etc/init.d/mce stop killall xbindkeys xbindkeys -f /home/user/.xbindkeysrc_adom xmodmap ~/.Xmodmap_adom xkbd -geometry +65536+65992 -k /media/mmc2/N800/Keyboards/Flat2.xkbd & xkbd -geometry +725+360 -k /media/mmc2/N800/Keyboards/Keypad.xkbd & filterm ascii-ascii cp437-utf8 telnet becksbbs.synchro.net gconftool-2 --set -t bool /system/osso/af/keyboard-attached false killall xbindkeys killall xkbd setxkbmap sudo /etc/init.d/mce start /usr/bin/set-backlight `gconftool-2 --get /apps/adv-backlight/brightness` restore_value() { gconftool-2 --type $1 --set $2 `gconftool-2 --get $2` } restore_value int /system/osso/dsm/display/display_blank_timeout restore_value int /system/osso/dsm/display/display_dim_timeout restore_value bool /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled restore_value bool /system/osso/dsm/display/display_on_with_charger xbindkeys killall roxterm |
Re: MCE stop and start
Quote:
|
Re: MCE stop and start
It appears that there is no error to anything you wrote.
Everything seems to go back to their original settings (brightness, brightness period). The one that doesn't restore is the switch off display timer. Other than that, it looks like I'm all good. :) |
Re: MCE stop and start
Look at turn_off_display and brightness_period in /apps/osso/applet/osso-applet-display.
|
Re: MCE stop and start
Are you referring to
/usr/share/osso-applet-display/RX-34.schemas ? That's all I'm really finding that's close to what you wrote. |
Re: MCE stop and start
The gconf keys /apps/osso/applet/osso-applet-display/turn_off_display and /apps/osso/applet/osso-applet-display/brightness_period, add restore_value lines for them and see if that works.
|
All times are GMT. The time now is 20:13. |
vBulletin® Version 3.8.8