maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] ProfilesX (more profiles) (https://talk.maemo.org/showthread.php?t=50266)

ffarber 2010-04-20 18:27

Re: [Announce] ProfilesX (more profiles)
 
Quote:

Originally Posted by tzsm98 (Post 619725)
I can create a new profile and save it but I do not see the method for activating it. When I click the task bar and use Profile utility the newly saved profile is not listed. When I access profiles from settings I again do not see the newly saved profile. I've rebooted since saving the new profile, which does show in profilesx.

So, how do I make the new profile the active profile?

There should be second profiles button on your task bar (you may have to scroll down to see it). The new profile should be there, I have not tried this yet but this is how I understand the program to work.

What I want to know is where the profiles are stored.

Fred

nicolai 2010-04-20 20:20

Re: [Announce] ProfilesX (more profiles)
 
Quote:

Originally Posted by ffarber (Post 619797)
What I want to know is where the profiles are stored.

Fred

There are default values, defined in one of those files in
/etc/profiled/

The user defined settings (or those values which differ from the default) are stored in
/home/user/.profiled/custom.ini

nicolai 2010-04-21 07:27

Re: [Announce] ProfilesX (more profiles)
 
Thank you qwerty12 for this most valuable post
Quote:

Originally Posted by qwerty12 (Post 615336)
What are the properties? Well...

Event.id: http://0pointer.de/lennart/projects/...c10c01426a4fec

The reason why this one is special is because the Policy system will react to the event.id being set to "ringtone-preview":


So it sets the group to player:


The player group is special because it lets you play sounds in the Silent profile. The Media Player also uses this group (search "mafw-dbus-wrapper" in the policy conf).

The media-stream-restore one? NFI. It's not needed to play sounds in Silent mode as is evidenced by the policy config. I also suspect it's rather useless without pa_ext_stream_restore2_write ()

How did I find out about the playbin2 stuff?

It was libcanberra that introduced me to properties. I found out that hildon_play_system_sound () (http://maemo.org/api_refs/5.0/5.0-fi...y-system-sound) would play sounds in Silent mode. Grabbed the libhildon source and the libcanberra source and looked at libcanberra's set of Maemo patches.

Heh, all that said, it finally came down to: strings, IDA Pro, http://meego.gitorious.org/maemo-mul...ode=sidebyside and /usr/lib/hildon-control-panel/libcpprofiles.so

nifty


Quote:

https://bugs.maemo.org/show_bug.cgi?id=6694 is a fun read with me adding some entertainment by getting pissed off at Nokia's lack of communication :)
funny :-)


New Version 0.4.

Can now play sound preview while active profile is "silent"

@Foxer: now you should be able to select aac files as well.
AFAIK mid files aren't supported at all.

@saxen: If you still want to :-), you can name your profile
"new profile". Whitespaces in profile names do work now.
Thank you for finding this bug.

For those who do not know, you can customize the statusbar icon for every single profile.
In the profile editor, push the button beneath the "statusbar icon" label. There, you can choose between
leftmost button -> no icon
next filve buttons show some predefined icons
rightmost button with the folder icon (in the previous version,
this looks like a "image not found" icon), lets you select your own icon.

nicolai

viraptor 2010-04-23 20:18

Re: [Announce] ProfilesX (more profiles)
 
Is there a way to activate vibration only for a specific event? If you added that option to profilex, I would love you forever :D

I want to have the general profile with sound and vibration on everything apart from emails.

Soap77 2010-04-25 11:36

Re: [Announce] ProfilesX (more profiles)
 
[bumb!]
Already thanked you in the first post, but I cannot thank you enough!
This makes other profile tools obsolete.
I used powatools to hide the original profiles icon in the status bar.

I think this was mentioned in the thread; will coming releases have ability to select order of the profiles?


Now I only miss one major thing, and my N900 would be more or less complete:
ability to set ringtones to individual contacts ( or group would do just fine)

Thanx for a GREAT job!

Foxer 2010-04-25 11:42

Re: [Announce] ProfilesX (more profiles)
 
Quote:

Originally Posted by nicolai (Post 620549)
@foxer: Now you should be able to select aac files as well.
Afaik mid files aren't supported at all.

thank you!!!!!!! :D :D :D

Foxer 2010-04-25 11:48

Re: [Announce] ProfilesX (more profiles)
 
P.S. is there any way (at least in the future) that we could have support for .mid ringtones on the N900?

Foxer 2010-04-25 12:20

Re: [Announce] ProfilesX (more profiles)
 
Quote:

Originally Posted by Soap77 (Post 626883)
Now I only miss one major thing, and my N900 would be more or less complete:
ability to set ringtones to individual contacts ( or group would do just fine)

that would be totally sweet!
(that; and the ability to save SMS as "Draft" (+ a propper inbox & outbox) :rolleyes: ) dreaming.. dreaming..

rajil.s 2010-05-12 18:03

Re: [Announce] ProfilesX (more profiles)
 
I have the 0.4 version installed but the status icon do not show up in the status area. This probably because I am able to select the icon in the control panel, but the icon settings are not saved. The profiles reverts back to blank icon.

any idea what could be wrong:

bainsidhe 2010-05-13 06:18

Re: [Announce] ProfilesX (more profiles)
 
Quote:

Originally Posted by rajil.s (Post 655539)
I have the 0.4 version installed but the status icon do not show up in the status area. This probably because I am able to select the icon in the control panel, but the icon settings are not saved. The profiles reverts back to blank icon.

any idea what could be wrong:


I have the same problem as well... at first I thought I was just forgetting to hit Save but I've tried numerous times and all the icons are still blank. Would love an answer to this issue...

But overall, good job on the software!


All times are GMT. The time now is 12:03.

vBulletin® Version 3.8.8