Active Topics

 



Notices


Reply
Thread Tools
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#1
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
 

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
ibrakalifa's Avatar
Posts: 1,583 | Thanked: 1,203 times | Joined on Dec 2011 @ Everywhere
#2
This is amaziiiiing,
__________________
~$
~#
 

The Following User Says Thank You to ibrakalifa For This Useful Post:
lkravovicz's Avatar
Posts: 132 | Thanked: 148 times | Joined on Mar 2007 @ Tallinn, Estonia
#3
Awesomes. Possible to get a known wifi hotspot and/or 3G access point toggle?
 
Posts: 198 | Thanked: 82 times | Joined on Oct 2011 @ Dubrovnik, Croatia
#4
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
 
Iryus's Avatar
Posts: 80 | Thanked: 56 times | Joined on Mar 2012 @ France
#5
Thanks MAG
 
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#6
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
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#7
Arie, you missed a 'b' at last command line?
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#8
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:
 

The Following User Says Thank You to thedead1440 For This Useful Post:
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#9
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
 
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#10
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
 

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

Tags
harmattan, toggles


 
Forum Jump


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