![]() |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
Quote:
thank you |
Re: [Announce] ProfilesX (more profiles)
No, not yet, but I think I know how to solve this.
Nicolai |
Re: [Announce] ProfilesX (more profiles)
ah ok, thank you I'll wait your news ;-)
|
Re: [Announce] ProfilesX (more profiles)
I realized that the profile switcher from power button won't work when not in default profiles, but when I look at /etc/systemui/systemui.xml I found those entries/menuitem ie. powerup_memainmenu_silent have attributes visible="general", which means it only shows up on general profile. vv with powerup_memainmenu_general have visible="silent"
can we tweak these values to always visibile in all profiles ie. visible="all"? so we can make another new menuitems for each profiles created by profilex and show them on the power menu (though this would make the power menu fully occupied with all those profiles, since it would make 1 button for each profile) or better, get rid the original profile menuitem from systemui.xml and replace it with a new one. the one that would trigger a dialog with profile choices? BTW is messing with systemui.xml safe? unlike mce.ini where if you screw up, you'd render your device unbootable? |
Re: [Announce] ProfilesX (more profiles)
it could be a beautiful idea
|
Re: [Announce] ProfilesX (more profiles)
hello nicolai, any news about these last post?
|
Re: [Announce] ProfilesX (more profiles)
new update 1.3
|
Re: [Announce] ProfilesX (more profiles)
Yes, the custom statusarea icons are working even after reboot.
But sadly I introduced a new bug, you cannot change the icon to one of the builtin icons :-) Work in progress! nicolai |
Re: [Announce] ProfilesX (more profiles)
sorry but I don't understand, could you explain the bug and I'll test it? thanks
|
Re: [Announce] ProfilesX (more profiles)
Wait for the next version.
|
Re: [Announce] ProfilesX (more profiles)
ah ok, thanks
|
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
@iscio
Version 1.4 should work now. @x61 What do you mean with "auto-profile"? Nicolai |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
ok nicolai I'll test it. thank you very much
|
Re: [Announce] ProfilesX (more profiles)
nicolai I have the same problem...I use a custom icon with a profile. reboot my phone and there is no icon :-(
edit: I solved, I choose again the icons and now seems to work correctly I see also that if I open profilesx settings my icon is not proposal like choosen... and now a last request: is it possible to implement also custom profile in power menu? thank you |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
i cant seem to set my own ringtone since i changed to this from Tweakr............ always plays nokia default tone
|
Re: [Announce] ProfilesX (more profiles)
Quote:
dbus-send --session --dest=com.nokia.profiled --type=method_call --print-reply /com/nokia/profiled com.nokia.profiled.get_value string:"general" string:"ringing.alert.tone" happened to me once, and apparently caused by profilex not saving my assigned tone properly or you can manually assign it using dbus-send --session --dest=com.nokia.profiled --type=method_call --print-reply /com/nokia/profiled com.nokia.profiled.set_value string:"general" string:"ringing.alert.tone" string:"/home/user/MyDocs/.sounds/myringtone.mp3" |
Re: [Announce] ProfilesX (more profiles)
App seems to work very well for me. One request however. Would you be able to add the ability to turn on bluetooth and perhaps turn off/on wifi.
When I jump in my car I like to have BT switch on when I change my profile in order to sync up with the handsfree etc but there is no need for wifi. |
Re: [Announce] ProfilesX (more profiles)
5 Attachment(s)
Thanks nicolai for such a great program! I modified some icons I found online for use with different profile settings. There are two icons for a "Vibration" profile and two for an "Outdoor" profile (trees and a picnic table). I thought I'd share them here if anyone wanted to use them.
|
Re: [Announce] ProfilesX (more profiles)
Quote:
id made 3 custom profiles. just tested them and one worked. deleted the 2 that didnt work, re-created them, now they seem to work. |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
No, and the power menu is a totally different thing.
The profile buttons are controlled by the /etc/systemui/systemui.xml file and it works as follows. This entry controls the "silent" profile button: <menuitem priority="300" name="powerup_memainmenu_silent" visible="general"> <keyfile>/home/user/.profiled/current</keyfile> <icon>statusarea_silent</icon> <return>8</return> <po>osso-powerup-shutdown</po> <callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true"> <argument type="string">silent</argument> </callback> </menuitem> This button is visible, when the "visible" condition holds. The value for this visible condition is read from the keyfile /home/user/.profiled/current. When you change your profile, the name of the new profile is written in this file. The action for this button is the dbus call which changes to silent profile. So, that means, the "silent" profile button is visible when the contents of your /home/user/.profiled/current is: general And the dbus-command is send when you press this button. A similiar entry exists for the general profile button. You can add extra entries for your own profiles, but this is impractical if you use many profiles. For example, you have a third profile "home" and you want to have this in your power menu when the current profile is "silent", then you need to add this entry: <menuitem priority="200" name="home" visible="silent"> <keyfile>/home/user/.profiled/current</keyfile> <icon>general_profile</icon> <return>9</return> <po>osso-powerup-shutdown</po> <callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true"> <argument type="string">home</argument> </callback> </menuitem> And if you want to have a button for your home profile when the current profile is "general", you need to add another one: <menuitem priority="200" name="home" visible="general"> <keyfile>/home/user/.profiled/current</keyfile> <icon>general_profile</icon> <return>9</return> <po>osso-powerup-shutdown</po> <callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true"> <argument type="string">home</argument> </callback> </menuitem> And if you want to have the "silent" profile button when the current one is "home": <menuitem priority="200" name="powerup_memainmenu_silent" visible="home"> <keyfile>/home/user/.profiled/current</keyfile> <icon>statusarea_silent</icon> <return>9</return> <po>osso-powerup-shutdown</po> <callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true"> <argument type="string">silent</argument> </callback> </menuitem> And for the "general" profile button. <menuitem priority="200" name="powerup_memainmenu_general" visible="home"> <keyfile>/home/user/.profiled/current</keyfile> <icon>general_profile</icon> <return>9</return> <po>osso-powerup-shutdown</po> <callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true"> <argument type="string">general</argument> </callback> </menuitem> And of course for every additional profile you have to even more entries, this grows quadratic. n*(n-1) entries, where n is the number of profiles :-) Nicolai |
Re: [Announce] ProfilesX (more profiles)
Oh one more request and. Would it be possible perhaps to make a profiles widget which would show say 4 selected profiles. My dropdown is very crowded and its sometimes a pain to try find the profiles entry. Having something I could put on my desktop and quick change between profiles would be awesome.
|
Re: [Announce] ProfilesX (more profiles)
Maybe there are already "queen beecon" or "desktop execution command"
scripts. |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
Quote:
But if you want to control the profiles settings from your app or widget, you can use dbus-commands to control profiled (the systems profile daemon): get the list of available profiles: dbus-send --session --dest=com.nokia.profiled --type=method_call --print-reply /com/nokia/profiled com.nokia.profiled.get_profiles get the current active profile: dbus-send --session --dest=com.nokia.profiled --type=method_call --print-reply /com/nokia/profiled com.nokia.profiled.get_profile activate the "general" profile: dbus-send --session --dest=com.nokia.profiled --type=method_call --print-reply /com/nokia/profiled com.nokia.profiled.set_profile string:"general" |
Re: [Announce] ProfilesX (more profiles)
Hi Nicolai
Would it be possible to add a feature to auto change the profile based on the location (either from GPS or GSM cell tower id)? Another request is to be able to switch wifi and bluetooth on/off for profiles. Thanks. |
Re: [Announce] ProfilesX (more profiles)
I think it would be better to have another application for
this. ProfilesX is already quite complex. Nicolai |
Re: [Announce] ProfilesX (more profiles)
Quote:
|
Re: [Announce] ProfilesX (more profiles)
Hi Nicolai, any chance ProfilesX will be promoted to testing? I noted that MAG is wanting to do something similar in CSSU, would be nice to have ProfilesX functionality as not part of the system (i.e. Keep it in Extras and let user decide).
Anyway, just thought I'd ask for an update. |
Re: [Announce] ProfilesX (more profiles)
been thinking about another way to activate a profile which relies on the 3.5mm jack detecting the difference between a headset (earphones with a microphone) and headphones (no microphone).
So if the phones 3.5mm jack is able to recognise a headset when its inserted (or possibly bluetooth), could this action call profilesx and then profilesx change to a predetermined profile? |
Re: [Announce] ProfilesX (more profiles)
Quote:
thanks |
Re: [Announce] ProfilesX (more profiles)
Hi Nicolai, Thanks for the great app.
Problem is I also lost the "volume" in the statusmenu and pressing the volume button does not invoke the yellow volume slider onscreen. Any idea how to solve this? |
Re: [Announce] ProfilesX (more profiles)
Quote:
Would it be possible to replace the General/Silent power key menu button with one that calls the profile selector instead? somewhat like when you hit profiles in the status menu |
Re: [Announce] ProfilesX (more profiles)
yes, a single button launcher that opens profile selection dialogue seems like the right way to go on that vs. monkeying with a multitude of entries.
a sister application to be deployed alongside profilesx. also, seconding the call to get this in extras-testing. and what about a facility to run an arbitrary command + 'run as root' checkbox? doesnt address the people who want to change profile off cell ID/gps (they can use their own daemon to listen for that/change with dbus).. but ability to run a script would offload some of the implementation details responsibility to other people that want to eg: turn wifi/BT on/off, etc. for different profiles. just my 2cent |
All times are GMT. The time now is 08:11. |
vBulletin® Version 3.8.8