maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu (https://talk.maemo.org/showthread.php?t=84725)

MohammadAG 2012-06-06 15:37

[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.

http://i48.tinypic.com/30203d0.jpg

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

https://www.paypalobjects.com/en_US/..._donate_SM.gif

ibrakalifa 2012-06-06 15:39

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
This is amaziiiiing, :D

lkravovicz 2012-06-06 15:40

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?

Zelig 2012-06-06 15:42

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?

Iryus 2012-06-06 15:45

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Thanks MAG ;)

Arie 2012-06-06 16:04

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.
~ #

TMavica 2012-06-06 16:11

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Arie, you missed a 'b' at last command line?

thedead1440 2012-06-06 16:15

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:
http://db.tt/WEjSU3dj

TMavica 2012-06-06 16:21

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Quote:

Originally Posted by thedead1440 (Post 1218476)
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:
http://db.tt/WEjSU3dj

i dont have the switch below the icon..but is work

Arie 2012-06-06 16:38

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Quote:

Originally Posted by TMavica (Post 1218472)
Arie, you missed a 'b' at last command line?

for some reason it got cut off, but it's there.


All times are GMT. The time now is 10:31.

vBulletin® Version 3.8.8