Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2012-06-06, 15:37
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

unrestricted-system-ui required!

MT-Toggles is a toggles platform for Harmattan. After installing it, you can install extra toggles (the base package comes with no toggles) that'll show up in it.

Developers can implement their own toggles by subclassing MTAbstractToggle, a class provided by the -dev package, https://github.com/harmattan/mt-togg...stracttoggle.h

Example plugins (for developers) https://github.com/harmattan/mt-togg...master/plugins

Please be cautious with MT-Toggles, the toggles I've provided below have been tested for a week, and they haven't caused any problems, a faulty toggle can segfault the status menu, 3 quick segfaults in a row and you'll get a MALF that you'll have to fix manually, so please, keep backups.



To install MT-Toggles (platform)
Code:
devel-su # enter root pass
wget http://mohammadag.xceleo.org/public/Harmattan/mt-toggles/mt-toggles_0.0.1_armel.deb
dpkg -i mt-toggles_0.0.1_armel.deb
You'll need to install actual toggles, some of which require inception/open mode.

Toggles that require inception/open mode:
Flight mode toggle (requires inception/open mode): http://mohammadag.xceleo.org/public/....0.1_armel.deb
Power Saving Mode toggle: http://mohammadag.xceleo.org/public/....0.1_armel.deb

Toggles that are to be installed with normal dpkg -i mech:
Flashlight toggle: http://mohammadag.xceleo.org/public/....0.1_armel.deb
Bluetooth toggle: http://mohammadag.xceleo.org/public/....0.1_armel.deb

To install a toggle that needs inception:
Code:
wget LINK_HERE
/usr/sbin/incept package_name_here # for example /usr/sbin/incept psm-toggle_0.0.1_armel.deb
killall sysuid
To install a toggle that doesn't require inception/open mode:
Code:
devel-su #enter root pass
wget LINK_HERE
dpkg -i package_name # for example dpkg -i bluetooth-toggle_0.0.1_armel.deb
stop xsession/sysuid
start xsession/sysuid
Reply With Quote
The Following 92 Users Say Thank You to MohammadAG For This Useful Post:
achilles333, afaq, Arie, baem90, banong, BlackMamba24, Boemien, Boxeri, Brew, brkn, caio2k, celebrant, ceroberts75, Ch.Saqib, ck2nb, clovis86, Dousan, Dr.Heyde, Dragoss91, Drekkie, eccenux, Eminem, ersanpermana, et3rnal, F2thaK, fw190, godofwar424, guija45, guillermorojaz, Hacker, HtheB, Hurrian, ibrakalifa, Iryus, jalyst, jaymzzz, jcharpak, jhwan, Kenny.Vo, kfahoo, khan.orak, kiiwii, krogulec, late88, LavaCroft, lebanez, lkravovicz, localhost, Loginin, longcat, LouisDK, Lucazz990, MaKenZi, Manatus, Mark Twain, MartinK, mike_shenoda, mikhail_ramalho, minipac, MINKIN2, mrsellout, Nosph3ratu, optimaxxx, Ossession, OVK, p0pa, Patola, Rogatti, Rusnak-COBRA, Salmi, Schturman, shanttu, slarti, smoothc, sprawl11, TeHeR, The Wizard of Huz, thedead1440, thp, ThraxZzz, TMavica, Transcend, ttt0600, turbovomit, vds, whayong, Wikiwide, wow23, yves_s, zamorph, ZogG
  #2  
Old 2012-06-06, 15:39
ibrakalifa's Avatar
ibrakalifa ibrakalifa is offline
 
Join Date: Dec 2011
Location: Everywhere
Posts: 1,583
Thanks!: 2,501
Thanked 1,203 Times in 608 Posts
Send a message via Skype™ to ibrakalifa
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

This is amaziiiiing,
__________________
~$
~#
Reply With Quote
The Following User Says Thank You to ibrakalifa For This Useful Post:
  #3  
Old 2012-06-06, 15:40
lkravovicz's Avatar
lkravovicz lkravovicz is offline
 
Join Date: Mar 2007
Location: Tallinn, Estonia
Posts: 132
Thanks!: 308
Thanked 148 Times in 49 Posts
Send a message via Skype™ to lkravovicz
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

Awesomes. Possible to get a known wifi hotspot and/or 3G access point toggle?
Reply With Quote
  #4  
Old 2012-06-06, 15:42
Zelig Zelig is offline
 
Join Date: Oct 2011
Location: Dubrovnik, Croatia
Posts: 198
Thanks!: 111
Thanked 82 Times in 41 Posts
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

nice!!... going to wait for PR1.3, and then start with all of this, Inception included... any chance of 2g/dual/3g toggle?
__________________
BlackBerry Q10 SQN100-3 10.2.1.3175
N9 ex-owner, now Jolla curious

[tw] @kegnatz
Reply With Quote
  #5  
Old 2012-06-06, 15:45
Iryus's Avatar
Iryus Iryus is offline
 
Join Date: Mar 2012
Location: France
Posts: 80
Thanks!: 682
Thanked 56 Times in 23 Posts
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

Thanks MAG
Reply With Quote
  #6  
Old 2012-06-06, 16:04
Arie Arie is offline
 
Join Date: Oct 2011
Location: With my N9
Posts: 1,539
Thanks!: 314
Thanked 1,604 Times in 655 Posts
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

When trying to install mt-toggles this is what I get:
# wget http://mohammadag.xceleo.org/public/...tan/mt-toggles
/mt-toggles_0.0.1_armel.deb
--09:01:13-- http://mohammadag.xceleo.org/public/....0.1_armel.deb
=> `mt-toggles_0.0.1_armel.deb'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ghwoosetatg.ru/wqtga?8 [following]
--09:01:18-- http://ghwoosetatg.ru/wqtga?8
=> `wqtga?8.1'
Resolving ghwoosetatg.ru... 85.192.44.129
Connecting to ghwoosetatg.ru|85.192.44.129|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.google.com/ [following]
--09:01:21-- http://www.google.com/
=> `index.html'
Resolving www.google.com... 74.125.227.144, 74.125.227.145, 74.125.227.146, ...
Connecting to www.google.com|74.125.227.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

[ <=> ] 14,623 --.--K/s

09:01:21 (246.28 KB/s) - `index.html' saved [14623]

~ # dpkg -i mt-toggles_0.0.1_armel.d
Aegis rejecting mt-toggles_0.0.1_arm archive
aegis aborting dpkg -- all listed pa
Compilation failed in require.
~ #
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
Reply With Quote
  #7  
Old 2012-06-06, 16:11
TMavica's Avatar
TMavica TMavica is offline
 
Join Date: Apr 2010
Location: Hong Kong
Posts: 2,021
Thanks!: 794
Thanked 1,060 Times in 502 Posts
Send a message via ICQ to TMavica Send a message via MSN to TMavica
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

Arie, you missed a 'b' at last command line?
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
Reply With Quote
  #8  
Old 2012-06-06, 16:15
thedead1440 thedead1440 is offline
Moderator
 
Join Date: Nov 2011
Posts: 6,215
Thanks!: 4,459
Thanked 6,400 Times in 3,153 Posts
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

thanks MAG.
After installing i've the toggles however, while the toggles are highlighted in blue when toggled, the switches below just don't appear.
any idea what may have gone wrong:
Reply With Quote
The Following User Says Thank You to thedead1440 For This Useful Post:
  #9  
Old 2012-06-06, 16:21
TMavica's Avatar
TMavica TMavica is offline
 
Join Date: Apr 2010
Location: Hong Kong
Posts: 2,021
Thanks!: 794
Thanked 1,060 Times in 502 Posts
Send a message via ICQ to TMavica Send a message via MSN to TMavica
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

Quote:
Originally Posted by thedead1440 View Post
thanks MAG.
After installing i've the toggles however, while the toggles are highlighted in blue when toggled, the switches below just don't appear.
any idea what may have gone wrong:
i dont have the switch below the icon..but is work
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
Reply With Quote
  #10  
Old 2012-06-06, 16:38
Arie Arie is offline
 
Join Date: Oct 2011
Location: With my N9
Posts: 1,539
Thanks!: 314
Thanked 1,604 Times in 655 Posts
Default Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu

Quote:
Originally Posted by TMavica View Post
Arie, you missed a 'b' at last command line?
for some reason it got cut off, but it's there.
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
Reply With Quote
The Following User Says Thank You to Arie For This Useful Post:
Reply

Tags
harmattan, toggles


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:40.