Active Topics

 


Reply
Thread Tools
Posts: 377 | Thanked: 68 times | Joined on Dec 2009
#1
I would like to have a button on my desktop, which i can press and that will switch between General and Silent mode (No need to change the vibration settings)

This would avoid me taking the 5 click way to switch profiles.

I just want a button which I can press, and turns the phone into silent, and if I press it again, it turns it into General.

Is this possible?
 
tuminoid's Avatar
Posts: 188 | Thanked: 185 times | Joined on Dec 2009 @ Finland
#2
5 clicks? Try via Power key menu? Its one HW key + 1 tap to toggle between General/Silent...
__________________
My wiki: User:Tuminoid
cpumem-applet: home | packages - status: 0.0.3 in Extras

cell-modem-ui: home | packages - status: 0.5.1-1 in Extras
nowplayingd: home | packages - status: 0.1-2 in extras-devel
custom-pwkmenu: home - no packages yet.
 

The Following User Says Thank You to tuminoid For This Useful Post:
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#3
Beat me to it Tuminoid, good call.....
 
Posts: 489 | Thanked: 404 times | Joined on Dec 2009
#4
Originally Posted by Snaps View Post
I would like to have a button on my desktop, which i can press and that will switch between General and Silent mode (No need to change the vibration settings)

This would avoid me taking the 5 click way to switch profiles.

I just want a button which I can press, and turns the phone into silent, and if I press it again, it turns it into General.

Is this possible?
Yes, it's possible. And it's pretty easy to do with a simple script and Queen Beecon Widget

Just use this script as a QBW command:

Code:
if [ `dbus-send --type=method_call --print-reply --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_profile | awk 'NR==2 {print $2}'` = '"silent"' ] ; then dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"general" ; else dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent" ; fi
 
Posts: 377 | Thanked: 68 times | Joined on Dec 2009
#5
Thanks torpedo,

But how do I use this script?
 
Posts: 489 | Thanked: 404 times | Joined on Dec 2009
#6
Originally Posted by Snaps View Post
Thanks torpedo,

But how do I use this script?
You should install Queen Beecon Widget, then add the widget to your desktop, then copy my script inside the command field.

Last edited by torpedo48; 2010-09-04 at 11:39.
 

The Following User Says Thank You to torpedo48 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:36.