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 2013-04-06 03:09

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
So after a very long break (followed by my laptop's charger breaking, so no access to the source code for a while), I've decided to do an update to MT-Toggles.

The update should hit tomorrow (I haven't uploaded it yet, testing some minor UI stuff), but here's a changelog of what's to expect
  • New NFC Toggle.
  • New Wi-Fi Toggle.
  • Long pressing toggles now takes user to expected settings page.
  • Toggles are now scrollable in case user has more than 5 installed.
  • Bluetooth toggle now uses icon-only toggle.
  • Power saving mode toggle now explains why it doesn't do anything while charging.
  • Toggles should now be correctly aligned regardless of top/bottom widget.

Mandatory screenshot:
http://i.imgur.com/vY9dZTk.png

(Again, it's scrollable, can't show that in a screenshot and that's why I have two chopped toggles)

You may have noticed I dumped the bar under the toggle for the bluetooth toggle, I'm aiming to do the same for all the toggles, if anyone's good at doing icons, could you please help out?
And please, follow the Harmattan look, I'm thinking the the bluetooth toggle is actually a good example, white/grey for off and blue for on.

Anyway, I'll upload version 0.4 tomorrow.

coderus 2013-04-06 04:32

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
you can use icons from https://github.com/CODeRUS/system-ui-tools and https://github.com/CODeRUS/system-ui-widgets

Schturman 2013-04-06 08:28

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Hi MAG
You will release new unrestricted system-ui too or new toggles will work with your latest one ?

MohammadAG 2013-04-06 13:05

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Version 0.4.1 out!
Changelog:
  • New NFC Toggle.
  • New Wi-Fi Toggle.
  • Long pressing toggles now takes user to expected settings page.
  • Toggles are now scrollable in case user has more than 5 installed.
  • Toggles are now icon-only, thanks coderus!.
  • Power saving mode toggle now explains why it doesn't do anything while charging.
  • Toggles should now be correctly aligned regardless of top/bottom widget.
  • Added Samsung-like animations when showing toggles (configurable).
  • 0.4-1: Added new icons for PSM toggle.

http://i.imgur.com/pCVtAlo.png

Upgrade all toggles!
Sources on github updated.

Quote:

Originally Posted by Schturman (Post 1334424)
Hi MAG
You will release new unrestricted system-ui too or new toggles will work with your latest one ?

No, same unrestricted-system-ui :)

Quote:

Originally Posted by coderus (Post 1334404)

Thanks!

kodematem 2013-04-06 13:25

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
How do I download .deb files?

Akkumaru 2013-04-06 13:28

Haha my dream for mt-toggles to be icon only has come true :)

MohammadAG 2013-04-06 13:32

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

Originally Posted by kodematem (Post 1334456)
How do I download .deb files?

Use my repository for packages that need inception http://talk.maemo.org/showthread.php?t=85438

colin.stephane 2013-04-06 14:08

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

Originally Posted by MohammadAG (Post 1334450)
Version 0.4.1 out!
Changelog:
  • New NFC Toggle.
  • New Wi-Fi Toggle.
  • Long pressing toggles now takes user to expected settings page.
  • Toggles are now scrollable in case user has more than 5 installed.
  • Toggles are now icon-only, thanks coderus!.
  • Power saving mode toggle now explains why it doesn't do anything while charging.
  • Toggles should now be correctly aligned regardless of top/bottom widget.
  • Added Samsung-like animations when showing toggles (configurable).
  • 0.4-1: Added new icons for PSM toggle.

http://i.imgur.com/pCVtAlo.png

Upgrade all toggles!
Sources on github updated.



No, same unrestricted-system-ui :)



Thanks!

Hi MohammadAG,

- Is there a way to configure the order of toggle icons horizontally ?
- Is there a way to choose to keep the old icons with the bar under (I really like better the old one) ?

A++

kodematem 2013-04-06 14:15

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
ok done. thanks you.

linuxovod 2013-04-06 14:56

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Updated, PSM icon is always bright disregard of PSM state.

MohammadAG 2013-04-06 15:07

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

Originally Posted by linuxovod (Post 1334468)
Updated, PSM icon is always bright disregard of PSM state.

The tip turns green though, I'm no designer so I used it as it is from coderus's repo.

linuxovod 2013-04-06 16:27

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

Originally Posted by MohammadAG (Post 1334469)
The tip turns green though, I'm no designer so I used it as it is from coderus's repo.

Thank you for the answer, will try to fix an icon. Mohammad, do you have an idea why bluetooth-toggle doesn't work for me on both n950 and n9 (PR1.3)? If I try to install bluetooth-toggle I have red icon with bang saying that faulty plugin caused system-ui to crash. I had this problem with previous version and it still exists with 0.4.1, had to uninstall bluetooth-toggle again. Other toggles are ok.

dex87 2013-04-06 16:35

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
THANK U! :D

Added Samsung-like animations when showing toggles (configurable). ANY GUIDE HOW TO MAKE ANIMATION FROM BOTTOM or STATIC (NON ANIMATED) ???

MohammadAG 2013-04-06 19:17

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

Originally Posted by colin.stephane (Post 1334464)
Hi MohammadAG,

- Is there a way to configure the order of toggle icons horizontally ?
- Is there a way to choose to keep the old icons with the bar under (I really like better the old one) ?

A++

Configuring the order is planned, with a GUI in the default Settings app.
Keeping the old icons is not possible right now, unless I add theming support, which I haven't started doing yet.

Quote:

Originally Posted by linuxovod (Post 1334474)
Thank you for the answer, will try to fix an icon. Mohammad, do you have an idea why bluetooth-toggle doesn't work for me on both n950 and n9 (PR1.3)? If I try to install bluetooth-toggle I have red icon with bang saying that faulty plugin caused system-ui to crash. I had this problem with previous version and it still exists with 0.4.1, had to uninstall bluetooth-toggle again. Other toggles are ok.

Thanks! No, I'm not sure why the bluetooth-toggle crashes for some of you, but I found that mce could turn on/off the bluetooth radio, so I'll switch to using that. (mce is not documented, I had to dig through a lot of stuff to make the NFC toggle, even though someone made a patch on github that I didn't notice with both a blanking toggle and Dual/2G/3G toggle, which will be in the next update).

Anyway, what happens if you exit safe mode?

Quote:

Originally Posted by dex87 (Post 1334476)
THANK U! :D

Added Samsung-like animations when showing toggles (configurable). ANY GUIDE HOW TO MAKE ANIMATION FROM BOTTOM or STATIC (NON ANIMATED) ???

No, the animation simply does a manual scroll from right to left, it's not configurable, but you can disable it by making a config file (in ~/.config/MohammadAG/mt-toggles.conf)

Code:

[main]
reset-position=false

This can be easily done with
Code:

echo -e "[main]\nreset-position=false" > .config/MohammadAG/mt-toggles.conf
Only do this as user, not root, otherwise nothing will happen. To apply the changes reboot, or killall sysuid (as user!)

praveenchand 2013-04-06 21:17

How to install 3g2g-toggle from repo?

MohammadAG 2013-04-06 21:25

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
It'll be in the next update.

linuxovod 2013-04-06 22:08

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

Originally Posted by MohammadAG (Post 1334496)

Anyway, what happens if you exit safe mode?

If I exit safe mode I see system-ui restart then safe mode again, only uninstall of bluetooth-toggle and phone reboot make other toggles work.

praveenchand 2013-04-06 22:20

My mobile restarts sometimes and after that i can see 'safemode' in statusbar. Is that related with some toggles?

asys3 2013-04-07 05:11

AW: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Hi Mohammad,

I'm a long term user of your toggles and really like them. Happy to see any update-even in quiet times...
Thanks for your great achievements in our beloved ecosystem until now. Hope you continue your work on sailfish once we have a device...

I saw you introduced a new repo on your website 'n9inceptedrepo'.
I come from three previous mt-toggles version on my n950 (not open mode) and my apt-get fails because of a missing public key of your repo.
I found the obviously correct key in the n9inceptedrepo directory.

But looking everywhere in the net with a hint how to import it.

Could you please help or give a hint?

Thanks in advance for every hint
asys3

nieldk 2013-04-07 05:20

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

Originally Posted by asys3 (Post 1334552)
Hi Mohammad,

I'm a long term user of your toggles and really like them. Happy to see any update-even in quiet times...
Thanks for your great achievements in our beloved ecosystem until now. Hope you continue your work on sailfish once we have a device...

I saw you introduced a new repo on your website 'n9inceptedrepo'.
I come from three previous mt-toggles version on my n950 (not open mode) and my apt-get fails because of a missing public key of your repo.
I found the obviously correct key in the n9inceptedrepo directory.

But looking everywhere in the net with a hint how to import it.

Could you please help or give a hint?

Thanks in advance for every hint
asys3

http://man.he.net/man8/apt-key

n0x 2013-04-07 12:21

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Any news with the safe mode issue? :(


Anyway, this is the first time I delved into Toggles, even though having the N9 for quite a while. Thanks for making the N9 experience a bit more enjoyable.

I lost the stock bluetooth toggle once I installed your bluetooth toggle. It works, though.

willi6868 2013-04-07 15:12

Quote:

Originally Posted by asys3 (Post 1334552)
But looking everywhere in the net with a hint how to import it.

Check my little How To :)
http://talk.maemo.org/showpost.php?p...mp;postcount=7

Edit:
MohammadAg updated his repo and you just have to incept a deb :D search in the System-ui (i think it is the correct thread) thread He posted it there :)

Edit 2:
Here you go http://talk.maemo.org/showthread.php?t=85438

asys3 2013-04-07 18:04

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Many thanks, Nieldk.

A simple
Code:

apt-key add gpg.key
did the job.
After that I simply re-incepted the deb file from Mohammad's website which adds his repo(standard installation procedure as described), did a apt-get update and voila!

asys3

dex87 2013-04-08 08:05

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
1 Attachment(s)
I need help... How to remove stock BT shortcut??? Thank u :)

willi6868 2013-04-08 08:10

@dex87: just go to settings panel and disable it :D

dex87 2013-04-08 09:11

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
1 Attachment(s)
Willi how to remove this shortcut???

In settings??? ... Where?

willi6868 2013-04-08 09:15

Go to settings > Bluetooth and disable it

dex87 2013-04-08 09:21

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
IM sooo stupid!!! LOL

Thank u Willi!

gaiosgf 2013-04-09 05:10

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Hi MAG
It would be easy to make a toggle for activate/deactivate auto answer calls?We have one ready by Iktwo.It would be useful to many of us.
Thanks.

praveenchand 2013-04-10 20:09

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
it seems some issue with "http://mohammadag.xceleo.org", so cannot install toggles....please check

eccenux 2013-04-25 19:57

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Hi. Firstly I want to say I love the wifi-toggle! My bluetooth headphones finally work flawlessly without any WiFi interference - even on the cable and outdoors :-).

But - would be possible to make a proximity sensor toggle? That way I would be able to put my N9 in a sock with a window and be able to have the clock visible all times.

dicksonleong8 2013-06-21 10:04

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
How about making the orientation-lock-toggle to on/off instead of on/lock-potrait/lock-landscape? If the phone is at landscape and orientation-lock change to off, it will automatically lock at landscape. Same goes for portrait.

vestes123 2013-08-03 16:43

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
qtweak There is a problem with the installation. Is there that can help?

eccenux 2013-09-06 12:57

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
@MohammadAG Could you add proximity sensor toggle?

The script to do that is:
Code:

#
# Disable/enable proximity sensor
#
# To enable use: proximity_disable.sh 0
#
prox_enable_path=`find /sys/devices/ -name 'prox_enable'`

if [ -z "$1" ]; then
    echo "0" > $prox_enable_path
else
    echo "1" > $prox_enable_path
fi

Only problem is that it needs to be run as root, but I guess you have that covered in other toggles.

chemist 2013-10-17 14:42

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Hey,
I finally managed to update to latest versions (yes I am lazy)

So upgrading wasn't possible afterall.
Aegis denied the new .debs to be installed as they have no origin and the previous /local/mohammadAG at least was one instead of '<blank>'
So I uninstalled everything and reinstalled. Installation went through with all toggles but was moaning with all previously being incepted toggles denying some mce states/changes - all but PSM doing so refused to work until I incepted them manually.

(sorry, cannot provide detailed console output as I already closed the terminal)

Apart of that installation hassle, AWESOME work as expected! ;)

jeswinsimon 2013-12-19 15:52

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
I recently acquired an N9. I am able to install the packages but an error at the stop command. I have activated developer mode and also installed inception.https://dl.dropboxusercontent.com/u/...3_21-19-54.png

djcrash1981 2014-01-15 21:37

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
Does anyone knows where I can find mt-toggles_0.0.2_armel.deb?

Regards,
Djcrash

Eminem 2014-01-15 21:52

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

Originally Posted by djcrash1981 (Post 1406714)
Does anyone knows where I can find mt-toggles_0.0.2_armel.deb?

Regards,
Djcrash

Will mt-toggles_0.4.1_armel.deb do the trick?

djcrash1981 2014-01-15 22:11

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

Originally Posted by Eminem (Post 1406719)
Will mt-toggles_0.4.1_armel.deb do the trick?

I think so, where I can find it?

Eminem 2014-01-15 22:13

Re: [Announce] MT-Toggles | Toggle platform for Harmatatn's status menu
 
https://www.dropbox.com/s/u158po03he....4.1_armel.deb


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

vBulletin® Version 3.8.8