maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Odds and ends (https://talk.maemo.org/showthread.php?t=74915)

Addison 2011-10-16 03:10

Re: Odds and ends
 
Thanks!

I didn't even catch that the settings menu had a scroll bar for this extra option.

Addison 2011-10-17 01:33

Re: Odds and ends
 
Is there a way around not having the "Systems sound" always enabled for this noise notification?

I doubt it but thought to ask anyway. :)

Addison 2011-10-20 01:59

Re: Odds and ends
 
I keep losing my Home and Escape keys, they simply stop functioning.

I'm beginning to think that perhaps it's because in one of my scripts, I stop and start MCE too quickly.

/etc/init.d/mce stop
sudo /etc/init.d/mce start

Could this be the cause?

If so, how long of a delay should there be between these two commands?

Cheers. :)

tsoliman 2011-10-20 02:21

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1111157)
/etc/init.d/mce stop
sudo /etc/init.d/mce start

Not sure what mce is but init scripts to start and stop services are supposed to be run as root. I see you use sudo in the second one so you should probably use sudo for the first one as well. Unless you're already running as root, in which case sudo is pointless.

Addison 2011-10-20 02:25

Re: Odds and ends
 
I forgot why I do sudo to restart MCE, it's been at least a year now of me doing this.

I just remember that this was the only way to get it started again.

Addison 2011-10-25 03:23

Re: Odds and ends
 
Okay. I finally got it. Joy

Here's the script for receiving 1 minute notifications on emails and text messages for those who are impatient like me. :)


Turning it on:

blank=`gconftool-2 -g /system/osso/dsm/display/display_blank_timeout`
gconftool-2 --type int --set /apps/modest/update_interval 1
gconftool-2 --type boolean --set /apps/modest/auto_update True
sudo /etc/init.d/mce restart
/usr/bin/set-backlight `gconftool-2 --get /apps/adv-backlight/brightness`
restore_value()
{
gconftool-2 --type $1 --set $2 `gconftool-2 --get $2`
}
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout 120
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout $blank
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


Turning it off:

blank=`gconftool-2 -g /system/osso/dsm/display/display_blank_timeout`
gconftool-2 --type boolean --set /apps/modest/auto_update False
sudo /etc/init.d/mce restart
/usr/bin/set-backlight `gconftool-2 --get /apps/adv-backlight/brightness`
restore_value()
{
gconftool-2 --type $1 --set $2 `gconftool-2 --get $2`
}
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout 120
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout $blank
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


The set-brightness script if you're using Advanced-Backlight in the status bar.
http://asui.garage.maemo.org/download.html

The trick was simply to restart MCE after changing the settings.

Happy. :)

Addison 2011-10-26 02:27

Re: Odds and ends
 
I have a nice, portable, speaker system that I sometimes attach to my tablet.

This of course mutes the N800's sound when playing.

Is there a way to have them both on or is it a hardware thing that's doing this?

auouymous 2011-10-26 03:10

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1113710)
I have a nice, portable, speaker system that I sometimes attach to my tablet.

This of course mutes the N800's sound when playing.

Is there a way to have them both on or is it a hardware thing that's doing this?

I think the n8x0 actually uses software to switch off speakers when the headphones are attached. Good luck overriding it! ;)

Addison 2011-10-26 04:32

Re: Odds and ends
 
^ *lol*

I wouldn't have the first clue where to look if this is a software feature.

auouymous 2011-10-26 05:20

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1113738)
I wouldn't have the first clue where to look if this is a software feature.

It isn't a feature. There is a feature request for ASUI to toggle between headphones and speakers while headphones are attached. Therefore it is possible to use the speakers without removing headphones. I highly doubt both could be used together.


All times are GMT. The time now is 17:18.

vBulletin® Version 3.8.8