PDA

View Full Version : Use Profile presets in the N900 with Tweakr


siovene
12-21-2009, 02:31 PM
A new feature in Tweakr (https://garage.maemo.org/projects/tweakr/) allows you to extend the sound Profiles to more than just General and Silent.

Tweakr introduces the concept of Profile preset. Presets are Profile settings which can be saved, deleted and assigned to the General profile. This allows you to practically use as many profiles as you want on the N900.

The normal use-case is to first tune the General profile for the new preset you want to save, then open Tweakr and choose the Save current General profile to new preset button. This will allow you to save the settings of the General profile with a new name.

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-2109451.png

After that, you will find a new button in your Status Menu, as shown in the following screenshot:

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-211001.png

You can now select whatever preset you have created before, and its settings will be applied to the General profile.

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-211006.png

If you're not using Tweakr yet, go get it from its download page (https://garage.maemo.org/frs/?group_id=1160)!

That One Guy
12-21-2009, 02:33 PM
I like it!

Is it in the Repos?

siovene
12-21-2009, 02:35 PM
I like it!

Is it in the Repos?

Thanks. Not yet, I submitted it to extras-devl today but it didn't build because of some problems with the builder (from what I can tell from the log). Hopefully it's reprocessed soon and will be available.

Random
12-21-2009, 02:43 PM
Looks nice, would it be possible to set timed profiiles like silent exp. 06.30 etc.
Also integrate network connections like roaming whre you can set all 3G connections to manual?

Kajko
12-21-2009, 02:45 PM
Sounds promising. Thanks.

siovene
12-21-2009, 02:46 PM
Looks nice, would it be possible to set timed profiiles like silent exp. 06.30 etc.

I'll have a look at that, sounds like a good idea.

Also integrate network connections like roaming whre you can set all 3G connections to manual?

Network connection presets? Can you elaborate?

schettj
12-21-2009, 02:49 PM
Looks nice, would it be possible to set timed profiiles like silent exp. 06.30 etc.

2nd that!

All I want for xmas is for my n900 to go to vibe after work, and back on again in the morning ;)

Tapping twice is just... killing... meeee ;)

Random
12-21-2009, 02:55 PM
I'll have a look at that, sounds like a good idea.



Network connection presets? Can you elaborate?

Alter all connections to manual etc. while roaming, you see some places regardless your unlimited dataplan in home networks international roaming they charge upt $10 per MB of data transfer.

mehdiE
12-21-2009, 02:57 PM
Also integrate network connections like roaming whre you can set all 3G connections to manual?

There's a similar functionality already built-in Maemo 5. Whenever you roam for the first time, you'll be asked whether or not you want to enable automatic data roaming. If you decline, the phone will never establish a 3G connection while roaming unless you've explicitly requested it.

To the OP: Tweakr looks nice in the screenshots. Will try now, cheers.

siovene
12-21-2009, 02:59 PM
Random, as mehdiE says, you can already disable automatic connections. Just go to Settings -> Internet Connection -> Connect automatically and choose "Always ask".

gesperon
12-21-2009, 03:03 PM
I think a good extension to the profiles would be to link a set of VoIP/IM accounts to profiles. What do you think?

Random
12-21-2009, 03:05 PM
Sure there is the roaming settings but if that could be integrated to profiles as inside EU the cahrges are now reglulated but outside it's much more. Roaming profile EU,Global etc. ( just had $2000 DATA roaming travelling in Asia )

Random
12-21-2009, 03:12 PM
Well I know that but would be better to manage ot from profiles, timed allowing connections based how user want's. With allways ask needs attention but turning preferred roaming profile like data on certain time for 1 min- XXX etc.

siovene
12-21-2009, 03:24 PM
I think a good extension to the profiles would be to link a set of VoIP/IM accounts to profiles. What do you think?

You can do that already: Status menu, Availability -> New status. It will let you create personalized statuses and set the presence of each IM account for the status. I.e. create a Work status where your personal GMail is set as Busy and your work Jabber is set on Online, and another one called Home where it's the other way around.

Random
12-21-2009, 03:29 PM
There some utilities for Symbian even reads calendar and can turn to meeting profile automatically, location based profiile settings.( The SmartProfile )

gesperon
12-21-2009, 03:42 PM
You can do that already: Status menu, Availability -> New status. It will let you create personalized statuses and set the presence of each IM account for the status. I.e. create a Work status where your personal GMail is set as Busy and your work Jabber is set on Online, and another one called Home where it's the other way around.

LOL.. I didn't knew that... THANKS A LOT!!!!

Bratag
12-21-2009, 04:14 PM
Just grabbed this and have to say its great - however the icons associated with the app appear to be missing - just getting an X where the image should be. Thoughts?

siovene
12-21-2009, 04:32 PM
Just grabbed this and have to say its great - however the icons associated with the app appear to be missing - just getting an X where the image should be. Thoughts?

Thanks! :)
You need to reboot the device. It's a gtk icon cache bug: many apps suffer from missing icons as soon as installed.

asidana
12-21-2009, 04:51 PM
when i downloaded https://garage.maemo.org/frs/download.php/7094/tweakr_0.0.11-1_armel.deb i get incomatibility eror on app manger with red pill mode.

Bratag
12-21-2009, 04:54 PM
when i downloaded https://garage.maemo.org/frs/download.php/7094/tweakr_0.0.11-1_armel.deb i get incomatibility eror on app manger with red pill mode.

First - thanks for the heads up on the GTK bug poster- second - you need to install via command line dpkg -i

At least thats what I found - had the same issue,

siovene
12-21-2009, 04:57 PM
when i downloaded https://garage.maemo.org/frs/download.php/7094/tweakr_0.0.11-1_armel.deb i get incomatibility eror on app manger with red pill mode.

Try using X-Terminal or SSH'ing to the device and install the file with dpkg -i filename.deb.

It should be in extras-devel soon, anyway :)

Apoc
12-21-2009, 04:58 PM
I second having timed event based profile switching. Ideally an option would be placed under the calendar so that events trigger the switch. However just having to enter a time in that has to option to repeat every day or every one of that day in the week would work beautifully.

2nd thing I'd like to see is personalized ring tones based on who's calling/texting. Something I think should have been in there from the start, but of course I'd hold off on that one as Nokia may be sending out a fix for that in a patch.

3rd GPS based profile switching(believe it was mentioned) would be awesome, however time consuming to build, I'm sure.

Lastly, I'd like to say this is a great start, and happy to see a fix to Nokia's obvious lack of imagination so soon. ;) ^_^

kopte3
12-21-2009, 05:32 PM
Cool, thanks! I hope you'll keep updating it with nice features. :)

inzimam
12-21-2009, 05:42 PM
You sure that Nokia are not going to add multiple profiles in the next firmware?

HugoSon
12-30-2009, 07:41 AM
You sure that Nokia are not going to add multiple profiles in the next firmware?

Does not look like; this bug https://bugs.maemo.org/show_bug.cgi?id=5793 (Provide a way to save custom profiles) has been moved to Maemo Brainstorm from Quim Gil (Nokia) after Andre Kappler (maemo.org) did ask the reporter for more details regarding the profiles the reporter is missing - strange some how.

I think the solution "siovene" is offering with "Tweakr" is something we probably could not expect from Nokia it self...

We will see - time will tell us.

jerryfreak
01-03-2010, 04:10 PM
he i tried installing the deb using
sudo dpkg -i tweakr_0.0.12-13_armel.deb

xterm didnt give me an error or any feedback at all. cant find the app anywhere in the menu. how do i know if it installed? do i need to install libtweakr-section-dev as well?

realitygaps
01-03-2010, 05:10 PM
No feedback in xterm usually means no errors :)

Tweakr installs an icon in the settings application (control panel) if you scroll to the bottom you should see a new category called extras with an icon for Tweakr.

alexbitzu
01-03-2010, 05:41 PM
hi everyone. this is my first post. i can tell you that i really don't know anything about linux OS but i have a N900. i really like this app but i really can not install it. i tried typing "dpkg -i tweakr_0.0.12-13_armel.deb" in xterminal but it asked me for me to be a superuser???????? what's that, and how can i install this application?
thank you very much...

ssjtoma
01-03-2010, 07:07 PM
hi everyone. this is my first post. i can tell you that i really don't know anything about linux OS but i have a N900. i really like this app but i really can not install it. i tried typing "dpkg -i tweakr_0.0.12-13_armel.deb" in xterminal but it asked me for me to be a superuser???????? what's that, and how can i install this application?
thank you very much...

you first need to install a program called gainroot and then you can become super user.

I personally prefer installing openssh-server so I can remotely ssh into the phone from my computer. I find it easier to type in commands to the terminal from my laptop then on the phone keyboard. you just need an ssh client like putty if you are using windows and the IP address of your phone. you also have to be on wifi, for some reason gprs didn't let me ssh into the phone.

cheers!

and btw tweakr works great, thanks! =)

joppu
01-03-2010, 09:03 PM
I created a quick icon for the profile presets in the simple white style of the WLAN and BT status indicators:

http://dl.dropbox.com/u/805039/maemo/preset.png

I'll post the PNG with the correct transparency if you could tell me the correct dimensions for the icon.

alexbitzu
01-04-2010, 04:15 AM
ok, thaks a lot for the infos. i'm quite close but not quite. where should i put the file to access it because when i want to install it it tells me that "cannot access the archive: no such file or directory".
thanks again...

LE: i think i did something ok. i wrote the path where the file is located. it installed, but nowhere to find not even up there near the clock ( i really can not remember now how that area is callled). any ideas further.
thanks a lot
LE2: ok, i find it. the menu from tweakr is in setting menu.
it works great.

jukey
01-05-2010, 03:10 AM
I unchecked the "camera lens" option and did a reboot and since this moment the device is in a boot cycle.

Be careful if you try out this tool! :)

Xizor
01-07-2010, 08:48 AM
I unchecked the "camera lens" option and did a reboot and since this moment the device is in a boot cycle.

Be careful if you try out this tool! :)

Same thing here. I didn't even change the "camera lens"- option...

Just installed it and booted the device and now the N900 is in a boot cycle. :(

jukey
01-07-2010, 08:56 AM
Same thing here. I didn't even change the "camera lens"- option...

Just installed it and booted the device and now the N900 is in a boot cycle. :(

Did you have also installed "mymenu (http://talk.maemo.org/showthread.php?t=39141&highlight=mymenu)"? Maybe both applications are in conflict?

Is there somebody who have working tweaker and mymenu at the same time?

Xizor
01-07-2010, 09:05 AM
Did you have also installed "mymenu (http://talk.maemo.org/showthread.php?t=39141&highlight=mymenu)"? Maybe both applications are in conflict?

Is there somebody who have working tweaker and mymenu at the same time?

No, I haven't (yet) installed MyMenu...

F2thaK
01-07-2010, 09:19 AM
download from https://garage.maemo.org/frs/?group_...elease_id=3032
ensure disconnected from PC
open xterm, type "dpkg -i filename.deb" to install (need to be in file dir)

F2thaK
01-07-2010, 09:20 AM
Did you have also installed "mymenu (http://talk.maemo.org/showthread.php?t=39141&highlight=mymenu)"? Maybe both applications are in conflict?

Is there somebody who have working tweaker and mymenu at the same time?

i had both of these working at the same time, but think mymenu isnt that great atm,, tweakr is AWESOME

jukey
01-07-2010, 09:30 AM
download from https://garage.maemo.org/frs/?group_...elease_id=3032
ensure disconnected from PC
open xterm, type "dpkg -i filename.deb" to install (need to be in file dir)

This Links shows only a page without anything to download.
I got the reboot loop after using tweakr 0.0.12-3. This I got from here:
https://garage.maemo.org/frs/?group_id=1160

F2thaK
01-07-2010, 09:41 AM
This Links shows only a page without anything to download.
I got the reboot loop after using tweakr 0.0.12-3. This I got from here:
https://garage.maemo.org/frs/?group_id=1160

yes my link was bad, urs is right sorry.. i used the same tweakr 0012-3, was ur phone connected to pc??

jukey
01-07-2010, 09:57 AM
yes my link was bad, urs is right sorry.. i used the same tweakr 0012-3, was ur phone connected to pc??
I can't remember 100% correctly but I think it was connected via USB (cahrging only - no mass storage mode and no PC Suit mode).

F2thaK
01-07-2010, 10:02 AM
I can't remember 100% correctly but I think it was connected via USB (cahrging only - no mass storage mode and no PC Suit mode).

okay...... worked perfect 4me

dread123
01-07-2010, 10:42 AM
installed fine but not showing up anywhere? tried lookin in settings..nothing in my extras either. reboot and still same?

F2thaK
01-07-2010, 10:45 AM
comes up in settings right down the bottom.....

dread123
01-07-2010, 10:53 AM
how do i manually try and uninstall, will then try again. have mymenu installed if that could cause probs?

dread123
01-07-2010, 10:54 AM
only thing in my xtras is my lastfm prog

MrGrim
01-07-2010, 10:56 AM
One question: how did you compile the program? I had this idea (http://talk.maemo.org/showthread.php?t=35237) too (no, i don't want to decrease your merits for making this app), but couldn't find libprofile on the emulator. And i still don't have a device
Anyway, keep up the good work!

F2thaK
01-07-2010, 11:03 AM
how do i manually try and uninstall, will then try again. have mymenu installed if that could cause probs?


uninstall mymenu

open x-term, type

dpkg -r mymenu



i used the 2 apps at the same time no probs

dread123
01-07-2010, 11:14 AM
thought that was command but can uninstall tweakr? whats the full filename please??whats the command to list all installed apps?

F2thaK
01-07-2010, 11:20 AM
uninstall tweakr:

dpkg -r tweakr

unsure of command to list all installed apps

dread123
01-07-2010, 11:28 AM
no such file name??? must be listed as something else cheers for help though

dread123
01-07-2010, 11:55 AM
sorted..was installing dev ...lol oh well thanks and workking now

Madian
01-08-2010, 05:21 AM
Hi, this is my first post so please be kind to me :)

I have downloaded the tweakr 0.0.12-3 file to my phone Nokia N900, is there a specific place to as to where this should be stored?

Currently it is stored in - file manager - Nokia N900 - docs

No previous history of Linux or maemo before so my posting will be those of one who could take a bit of time to get used to things so any help is greatly appreciated.

choubbi
01-08-2010, 07:03 AM
Hi, this is my first post so please be kind to me :)

I have downloaded the tweakr 0.0.12-3 file to my phone Nokia N900, is there a specific place to as to where this should be stored?

Currently it is stored in - file manager - Nokia N900 - docs

No previous history of Linux or maemo before so my posting will be those of one who could take a bit of time to get used to things so any help is greatly appreciated.

the file needs to be installed, you will have to :
- put the tweakr file under "Nokia N900"
- install "rootsh" in the application manager (if you can't find it in the list, click on the top bar of the application manager, "application catalogs", "maemo extras", and untick the "disabled" box. Should allow you to find and install rootsh).
- launch "X Terminal", type "cd MyDocs", enter, "sudo gainroot", enter, "dpkg -i tweakr_0.0.12-3_armel.deb", enter.

that should be enough to install, now to use Tweakr, go to the settings, the Tweakr icon should be at the bottom.

And welcome in the Linux world and in the Maemo world

Madian
01-08-2010, 10:16 AM
Many thanks for this.

it has now worked :)

Madian
01-08-2010, 01:54 PM
Hello again -

I think I must be doing something wrong somewhere but for the life of me I cannot figure it out so I must be the most simple person ever to grace these forums.

The tweakr icon (which comes up as a ?) is listed and these are the steps that I have been doing.

Settings - personalisation - profiles

I then amend / tweak the profile accordingly and then save it,which brings me back to the main personalisation screen.

I then open tweakr and click on "save current profile as new profile" and then give it a new name "Night" and then I click save again.

However when I look in the status menu i do not get the spanner and screw driver icon and when i check in profile presets nothing is listed including the night profile I thought I had just created.

Obviously I am doing something wrong somewhere but where lol.......if I had half a brain cell then I would indeed be dangerous

I am determined not to let this beat me, so any help or assistance is very welcome indeed.

vaibhavsharma
01-09-2010, 05:19 AM
Here is a walkthrough on how to install Tweakr if you are facing problems - http://maemocentral.com/2010/01/09/tweakr-helps-you-add-custom-profiles-to-your-n900/

Also, you can use an application called 'Powatool' to remove the 'Profiles' menu from the status bar and have even more seamless integration. Details in the post above.

Thanks for this killer app! :)

One things though, icons for the application don't seem to be showing up on my device. I've tried re-booting and have even switched a theme. Any ideas?

DaSilva
01-09-2010, 06:00 AM
Why is it listed here (http://maemo.org/packages/view/tweakr/) but not available in HAM?

F2thaK
01-10-2010, 03:37 AM
............

One things though, icons for the application don't seem to be showing up on my device. I've tried re-booting and have even switched a theme. Any ideas?



the first time i installed tweakr i had no probs, the 2nd time the icons didnt work like u mention.. the difference was the 2nd time i was using the global version firmware, the 1st time US firmware..........

just re-flashed my n900 to US firmware, will update when i know if this fixes icon problem..

qwerty12
01-10-2010, 03:38 AM
Why is it listed here (http://maemo.org/packages/view/tweakr/) but not available in HAM?

Because its category is not user/*...

F2thaK
01-10-2010, 04:12 AM
the first time i installed tweakr i had no probs, the 2nd time the icons didnt work like u mention.. the difference was the 2nd time i was using the global version firmware, the 1st time US firmware..........

just re-flashed my n900 to US firmware, will update when i know if this fixes icon problem..

okay so its nothing to do with firmware.. i think ive lost the icons when i flashed my device...........

F2thaK
01-10-2010, 04:24 AM
okay opening xterm and typing the following fixed the missing icons

sudo gainroot
gtk-update-icon-cache -f /usr/share/icons/hicolor

anapospastos
01-10-2010, 07:22 AM
okay opening xterm and typing the following fixed the missing icons

sudo gainroot
gtk-update-icon-cache -f /usr/share/icons/hicolor

It says "No theme index file./home/user"

F2thaK
01-10-2010, 07:40 AM
worked for me... make sure u type it exactly

Watergate
01-10-2010, 07:57 AM
HI all,

I have tried to add custom profiles at my N900 but somehow I can`t proceed after entering the filename in the terminal. I used fully your guide (maemocentral.com ) renaming file + commands ( dpkg -i tweakr1.deb )

I receive this messegage: cannot access archive:no such file or directory. I use Danish as language on my N900 and the name of MyDocs is Dokumenter. I have also tried to cd Dokumenter but sudo doesnt recognize this folder name only cd MyDocs.

Is there something you think I am doing wrong?

thanks for helping me on advance.

Good day

Watergate

siovene
01-10-2010, 08:03 AM
I receive this messegage: cannot access archive:no such file or directory.

That means that you're not in the same directory (or folder, if you prefer), where the .deb file was saved.

The command "pwd" will tell you what is the current folder (it stands for Print Working Directory), using that, the command "cd" (Change Directory" and the command "ls" (LiSt content of the current directory), you should be able to find the place where you saved the .deb file.

Watergate
01-10-2010, 08:42 AM
HI Sjovene,

Thanks for the prompt answer however I beleive that the folder I am trying to get my file is the same:

Nokia900/Dokumenter/tweakr1 is the same as:
/home/user/MyDocs

or am I wrong?

Rgds,
Watergate

siovene
01-10-2010, 08:48 AM
Just try this:

1) Open X-Terminal
2) sudo gainroot
3) cd /home/user
4) find . -name *.deb

After 4), it should find the tweakr deb file.
You can then cd to that directory and "dpkg -i *tweakr*.deb"

Watergate
01-10-2010, 09:15 AM
Hi Siovene,

I get this:

/home/user # find -tweakr1.deb
find: unrecognized: -tweakr1.deb

Usage find path.... expression

oh good.. what am I doing wrong?

siovene
01-10-2010, 09:26 AM
I said "find . -name *.deb", you wrote find -tweakr1.deb...
Please write exactly as I said :) No word substitutions needed.

Watergate
01-10-2010, 09:33 AM
sorry Siovene,

Now I get:

./MyDocs/.documents/tweakr1.deb

So I guess I can now continue with cd command from here right?

siovene
01-10-2010, 09:35 AM
Yes, or you can do the following:

dpkg -i ./MyDocs/.documents/tweakr1.deb

Btw, I just released version 0.0.13, you can find it here: https://garage.maemo.org/frs/?group_id=1160

It should also soon be in extras-devel, so you can use the App. Manager.

Watergate
01-10-2010, 09:40 AM
Its done..
THANKS Siovene ;)

siovene
01-10-2010, 09:40 AM
You're welcome :)

anapospastos
01-10-2010, 09:45 AM
worked for me... make sure u type it exactly

No its not working. I typed it right.


Yes, or you can do the following:

dpkg -i ./MyDocs/.documents/tweakr1.deb

Btw, I just released version 0.0.13, you can find it here: https://garage.maemo.org/frs/?group_id=1160

It should also soon be in extras-devel, so you can use the App. Manager.

I 've got the version 0.0.12-3. I ll just install the new version right?

siovene
01-10-2010, 09:54 AM
I 've got the version 0.0.12-3. I ll just install the new version right?

Yes, just get the .deb and do "dpkg -i filename.deb". It will overwrite the old installation.

jgbreezer
01-10-2010, 09:55 AM
A link has been added to the thread for "Shepherd" (or whatever it ends up being called) that is on its way to a release; this app is aimed at altering settings/profiles based on location, time and other sensors.

Apoc mentioned in an earlier post about a request for:

"GPS based profile switching(believe it was mentioned) "

Perhaps 'shepherd' will be a closer fit to the functionality there, and it sounds like he's making it customisable enough that it wouldn't be hard to make tweakr do something as part of it. So it just depends on tweakr being controllable programmatically. Hence...


Request: tweakr to be able to be controlled by a script, so we can programmatically switch profiles without needing the manual UI effort / distracting the screen (apart from indication of settings changes of course).

(then, any other scheduling thing could do it too, eg. a cron equivalent (for those familiar with linux system daemons)).

This other 'shepherd' app talk thread is at:
http://talk.maemo.org/showthread.php?t=31524

mu_mind
01-10-2010, 10:35 AM
I unchecked the "camera lens" option and did a reboot and since this moment the device is in a boot cycle.

Does that mean it was bricked, or did you manage to fix it somehow?

siovene
01-10-2010, 10:46 AM
Request: tweakr to be able to be controlled by a script, so we can programmatically switch profiles without needing the manual UI effort / distracting the screen (apart from indication of settings changes of course).

Thanks to gconf and dbus this be already achieved. Let's pretend the preset you want to activate is called "foobar".

First you need to switch tweakr profile:

gconftool-2 --set /system/tweakr/current-preset foobar --type=string

Then you could use a quick and dirty bash/perl/python to loop all the settings in the gconf key /system/tweakr/foobar and for each of them use dbus to set them for profiled, e.g.:

dbus-send --print-reply --dest='com.nokia.profiled' /com/nokia/profiled com.nokia.profiled.set_value string:general string:email.alert.volume string:100

Then you need to tell profiled to switch to the General profile (that will then use the tweakr preset):

dbus-send --print-reply --dest='com.nokia.profiled' /com/nokia/profiled com.nokia.profiled.set_profile string:general

If you want to do this with C code, you can use the gconfclient APIs and the libprofile APIs (apt-get install libprofile-doc and check in /usr/share/doc/libprofile-doc).

Hope this helps.

DaSilva
01-11-2010, 04:36 AM
I have installed tweakr 0-13.1 from extras-devel and it works as it should but I miss the option to "Snap icons to grid":
http://maemocentral.com/wp-content/uploads/2010/01/N900-Custom-Profiles-Tweakr-04.jpg
Is it not included in this version? I would really like to have some support when arranging icons.

siovene
01-11-2010, 04:53 AM
Hi, if that button was ever present for you, it's an odd bug. The button is not there because it won't work until a later Maemo software update will come out. It looks like the folks from maemocentral leaked stuff. Not their fault though, the button will appear immediately without any update to tweakr necessary when the underlying libraries will support the functionaliy that tweakr allows you to tweak.

jukey
01-11-2010, 06:42 AM
This application now are working fine for me but there are some things to know:

1. It deletes the both standard profiles in my n900. Now I can make new profiles using tweakr but if I turn off all sounds I can't see the mute icon in the status bar. Is there a way to bring this back?

2. Is there a place for bug tracking issues related to tweakr?

siovene
01-11-2010, 06:46 AM
This application now are working fine for me but there are some things to know:

1. It deletes the both standard profiles in my n900. Now I can make new profiles using tweakr but if I turn off all sounds I can't see the mute icon in the status bar. Is there a way to bring this back?

It doesn't delete them, it just hides them. You can still use the real Silent profile using the menu that pops down when you click the Power Key on top of the device.

In the next release of Tweakr I'll hard code the Silent profile so it'll be the real one.

2. Is there a place for bug tracking issues related to tweakr?

Yes, check this page: https://garage.maemo.org/projects/tweakr/

jukey
01-11-2010, 07:14 AM
Thank you for the fast and very positive answers. :-) This sounds great!

Btw. do you have any plan to create your own little icons for the status bar to use them together with user created profiles? :)

b666m
01-11-2010, 12:39 PM
hi, first of all: great app!

BUT: the function "snap icons to grid" doesn't seem to do anything. i changed the size from small to large to huge but it's still the 1pixel-grid when i move the icons around.
i also rebootet the device. nothing changed.
is this feature still to come or is it supposed to work and it's only refusing on my n900? :(

siovene
01-11-2010, 01:20 PM
b666m, can you please show me the output of "tail /usr/share/hildon-desktop/transitions.ini" and "set | grep OSSO_PRODUCT_RELEASE_VERSION"?
You can use X-Terminal to get those.

b666m
01-11-2010, 01:32 PM
load_average_factor=7.5

[edit_mode]
snap_grid_size=32

and

OSSO_PRODUCT_RELEASE_VERSION='1.2009.42-11'

edit:
i'm going to install the new maemo update right now.
(posted this info because maybe it's relevant for the problem)

edit2:
installed update, rebooted, changed size, rebooted. doesn't work.

snap_grid_size=16

and

OSSO_PRODUCT_RELEASE_VERSION='1.2009.44-1'

siovene
01-11-2010, 02:14 PM
What's the version of hildon-desktop? dpkg -l | grep hildon-desktop

b666m
01-11-2010, 02:36 PM
it says:

hildon-desktop 1:2.2.100-31+0m5

denix
01-11-2010, 10:41 PM
Do you have ETA on when Tweakr comes to extras-devel?

F2thaK
01-11-2010, 10:50 PM
i found it in there today!!

denix
01-11-2010, 10:56 PM
Yeah, your are right! My bad I haven't checked it since last night :) And it's version 0.14 now...

siovene
01-12-2010, 03:58 AM
it says:

hildon-desktop 1:2.2.100-31+0m5

The change in hildon-desktop that allows that to work happens in 1:2.2.105, as seen here:

http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/debian/changelog#line292

Just wait until the next software update.

b666m
01-12-2010, 07:13 AM
The change in hildon-desktop that allows that to work happens in 1:2.2.105, as seen here:

http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/debian/changelog#line292

Just wait until the next software update.

thanks for this info.
can't wait for the next software update. ;)

b666m
01-14-2010, 12:18 PM
Now the grid size works perfectly since the new PR1.1!

Just GREAT! :D

Soap77
01-15-2010, 02:55 AM
after installation of tweakr my phone went into reboot loop.
I´m downloading tools to reflash it atm.
(installed on PR1.1)

siovene
01-15-2010, 03:05 AM
after installation of tweakr my phone went into reboot loop.
I´m downloading tools to reflash it atm.
(installed on PR1.1)

Do you remember what settings you changed with tweakr? That would be very useful. Thanks.

F2thaK
01-15-2010, 03:36 AM
works 4 me with pr1.1

weymouthstan
01-15-2010, 03:54 AM
I had the reboot loop, too.

I'd set the granularity to 'Small' and arranged everything nicely, then gone back and set it to 'none'.
The next drag I did sent the display into chaos, and it rebooted after about 10 seconds. Rinse and repeat.
I think all the icons were trying to occupy the same space. That's what it looked like.
After much panic I realised I could stop the rebooting by plugging in the USB in mass storage mode. Then I SSH'd in and modified the file that Tweakr modifies, and set the two settings back from 0 and 1. (sorry, can't check the filename or settings - in a hurry).
Anyway, that sorted it.

WS

b666m
01-15-2010, 04:02 AM
Then I SSH'd in and modified the file that Tweakr modifies, and set the two settings back from 0 and 1. (sorry, can't check the filename or settings - in a hurry).

sounds like the program sets the grid size to 0 (NULL) when "none" is selected?! puh... luckily i only set the sizes from small to huge and back ^^

Soap77
01-15-2010, 11:56 AM
siovene
I added 2 profiles. They did not show up in profile manager. I thought maybe a reboot would make them show up.

I reflashed the phone and it is now working again, allthough I havn´t got time to install any SW at all.
I hope I can get some time tonight ;)

dmcconachie
01-15-2010, 01:00 PM
I had the reboot loop, too.

I'd set the granularity to 'Small' and arranged everything nicely, then gone back and set it to 'none'.
The next drag I did sent the display into chaos, and it rebooted after about 10 seconds. Rinse and repeat.
I think all the icons were trying to occupy the same space. That's what it looked like.
After much panic I realised I could stop the rebooting by plugging in the USB in mass storage mode. Then I SSH'd in and modified the file that Tweakr modifies, and set the two settings back from 0 and 1. (sorry, can't check the filename or settings - in a hurry).
Anyway, that sorted it.

WS

I have this same problem. Any chance somebody could talk me through SSH'ing in??

Bratag
01-15-2010, 01:08 PM
I have this same problem. Any chance somebody could talk me through SSH'ing in??

DM, the problem here could be the lack of an ssh server on your N900. You would need to install one if not (which may or may not be possible owing to your current situation). Once installed then you can ssh in using a pc program called putty (anything else is a waste :)).

dmcconachie
01-15-2010, 01:14 PM
DM, the problem here could be the lack of an ssh server on your N900. You would need to install one if not (which may or may not be possible owing to your current situation). Once installed then you can ssh in using a pc program called putty (anything else is a waste :)).

I'd say it's not possible given I can't even reach the desktop! :(

Looks like it's Maemo Flasher!

Bratag
01-15-2010, 01:21 PM
Lol just after I posted this my N900 went into reboot loop (I added a widget) I can ssh in but am not sure of the files that tweakr changes. Ahh well been looking for an excuse to flash anyway :)

For those that dont want to flash the file is /usr/share/hildon-desktop/transitions.ini

Edit the line snap_grid_size=0, change that to 16

dmcconachie
01-15-2010, 01:32 PM
:) oops!

Think I'd better get an SSH server on there after this is done then!!

dmcconachie
01-15-2010, 01:46 PM
Oh hell. Got 42.1 back on and now it won't recognise NSU or my SIM!?!?

Rob1n
01-15-2010, 01:52 PM
Oh hell. Got 42.1 back on and now it won't recognise NSU or my SIM!?!?

The 51 update also updated the firmware for the phone chipset. This prevent earlier versions from talking to the phone hardware (including the SIM). You should be able to update OTA using WLAN (which is what I had to do) or alternately use flasher instead of NSU (http://wiki.maemo.org/Updating_the_tablet_firmware).

dmcconachie
01-15-2010, 01:54 PM
The 51 update also updated the firmware for the phone chipset. This prevent earlier versions from talking to the phone hardware (including the SIM). You should be able to update OTA using WLAN (which is what I had to do) or alternately use flasher instead of NSU (http://wiki.maemo.org/Updating_the_tablet_firmware).

Ah, trying 51.1 now via WLAN. Didn't want to go through that pain in case I had to start again!

Cheers for the help!!

zencode
01-15-2010, 06:57 PM
I had the reboot loop, too.

I'd set the granularity to 'Small' and arranged everything nicely, then gone back and set it to 'none'.
The next drag I did sent the display into chaos, and it rebooted after about 10 seconds. Rinse and repeat.
I think all the icons were trying to occupy the same space. That's what it looked like.
After much panic I realised I could stop the rebooting by plugging in the USB in mass storage mode. Then I SSH'd in and modified the file that Tweakr modifies, and set the two settings back from 0 and 1. (sorry, can't check the filename or settings - in a hurry).
Anyway, that sorted it.

WS

For me, editing /usr/share/hildon-desktop/transitions.ini and remarking out the following lines at the end stopped the reboot loop and after a manual reboot the desktop also returned to normal:
# Edit mode configuration
#[edit_mode]
#snap_grid_size=0
# Set to 0 if snap to grid should be only happen when widget is released
# snap_to_grid_while_move=1

Hooray for sshd and vi!

I only installed tweakr, opened the tweakr panel, didn't change any settings, closed the panel, and got stuck in the reboot loop. (on PR1.1)

b666m
01-15-2010, 07:14 PM
I only installed tweakr, opened the tweakr panel, didn't change any settings, closed the panel, and got stuck in the reboot loop. (on PR1.1)

as i mentioned before: it seems like tweakr sets the line to 0 (null) if "no" is chosen in the settings.
before the update this was set to 1 and after the update to 4 by default.
so 0 (null) is not allowed as grid_size. that's why you stuck in reboot-loop.

God's Toy
01-16-2010, 01:26 PM
I like the idea of this!

Would you be able to add more options/connections to it?

Say Profile one connects via 3G data, loads Yahoo MSG, Gtalk by default. Profile two connects via WiFi and loads Skype, MSN and so on when selected.

Soap77
01-16-2010, 09:00 PM
a reflas solved my earlier problem.
but I decided to give tweakr another chance. it installs and works properly except for one detail.
when I create new profiles the setting for each profile dont stay. all setting get reverted to same setting as the initial profile. bug or sbs?

francorg
01-20-2010, 03:59 AM
I installed tweakr on PR1.1 (Global firmware) but right after saving 2-3 new presets and giving a reboot it start an endless reboot cycle.
I reflashed with the same PR1.1 Global firmware and reinstalled all the application I had except tweakr, I tried to reboot and everything was ok.
Then I installed tweakr (latest version available yesterday on the repo), I launched it without changing any setting, tried a reboot and was still ok.
Then I saved 3 presets, tried a reboot.... and I was stuck again in the reboot cycle!!
Now I reflashed again and won't install tweakr again... that's a pity!

Roberto

codeMonkey
01-20-2010, 08:38 AM
Francorg: Did you do anything like setting the desktop-grid size to 0? There were problems with that as per the posts here (http://talk.maemo.org/showthread.php?p=473506#post473506).

francorg
01-20-2010, 08:42 AM
codeMonkey:
no, I didn't touch anything but the presets.

But as far as I remember, the desktop-grid size option is by default set to "None".

Thank you

VRe
01-20-2010, 03:34 PM
Hi siovene,

I found one more setting which would fit tweakr perfectly, that is how often the application manager check repositories, see
http://talk.maemo.org/showpost.php?p=482117&postcount=26

codeMonkey
01-21-2010, 04:43 AM
codeMonkey:
But as far as I remember, the desktop-grid size option is by default set to "None".


I think it was also the default in the OS before the PR1.1, but I think the default is now 4, and setting it to 0 seems to cause these sorts of problems for quite a few people.
It might be that Tweakr is accidentally setting it to 0?

Siovene: Any luck finding out the cause?

turpe
01-21-2010, 04:50 AM
how I can refresh Global firmware

turpe
01-21-2010, 04:51 AM
endless reboot cycle, tweakr, Maemo 5, N900,

b666m
01-21-2010, 04:53 AM
endless reboot cycle, tweakr, Maemo 5, N900,

have you set the snap to grid option to "no"?

turpe
01-21-2010, 04:56 AM
where I can set it??

turpe
01-21-2010, 04:59 AM
No I don't think I setted... I installed I used it for 2-3 days than I wanted to put an icon on to the desktop than it is dead...

turpe
01-21-2010, 05:13 AM
codeMonkey can you help a bit?

Rob1n
01-21-2010, 05:17 AM
how I can refresh Global firmware

See http://wiki.maemo.org/Updating_the_tablet_firmware

turpe
01-21-2010, 05:27 AM
If I flash it would lose any data?

turpe
01-21-2010, 05:37 AM
Hi all worked

turpe
01-21-2010, 05:48 AM
endless reboot cycle, tweakr, Maemo 5, N900, Windows operation systeme
refresh Global firmware

For novoice users like me...


following was worked for me:
- Install PC suite
- download Flasher
http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
- install the flasher
- Download Flash file (By Your own IMEI you can find on the back of your N900 under the battery)
http://tablets-dev.nokia.com/nokia_N900.php
- CMD (dos shell in windows)
- turn of your N900
- disconnect USB cable from your N900
- press U on your turned of N900 (keep pressing)
- connect USB cable (keep pressing)
- connect icon appears on N900 right up corner
(http://wiki.maemo.org/Flasher)
- From CMD command type:
flasher-3.5.exe -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R
(flasher-3.5.exe -F XYZ.bin -f -R)
XYZ name of the downloaded flashable file.

Your calendar, names etc will reserve but all aplications will be lost.

turpe
01-21-2010, 06:26 AM
There are some application which I do not find to install again can someone help why?
For example:
Fm booster
GSM selector (Dual band singel 900/1800)
QTIRRECO (IR remote controller)

francorg
01-21-2010, 06:58 AM
I think it was also the default in the OS before the PR1.1, but I think the default is now 4, and setting it to 0 seems to cause these sorts of problems for quite a few people.
It might be that Tweakr is accidentally setting it to 0?



Thus with PR1.1 I have to set it as "Small, Medium, or Large" and avoid the "none" option?

Are you 100% sure I won't be stuck again in the reboot cycle?

I already reflashed twice...

Thank you

codeMonkey
01-21-2010, 07:03 AM
Thus with PR1.1 I have to set it as "Small, Medium, or Large" and avoid the "none" option?

Are you 100% sure I won't be stuck again in the reboot cycle?

I already reflashed twice...

Thank you

Not 100%, sorry, but mostly going from personal experience and the posts earlier in this thread (http://talk.maemo.org/showthread.php?p=475330#post475330) - I'll be hopefully doing some re-testing (and re-flashing tonight or this weekend).
Other people have been able to recover without a full reflash.

turpe
01-21-2010, 07:05 AM
It does work jet...

I have to go now but I will come back again...

turpe
01-21-2010, 03:27 PM
mine is still working without any problem.

b666m
01-21-2010, 03:32 PM
Other people have been able to recover without a full reflash.

if you're running a ssh server on the n900 there is the possibility to ssh into the n900 and edit the line in the config-file which is being modified by tweakr back to a good value ^^

turpe
01-21-2010, 04:16 PM
could be but I have no idea about SSH sorry this is my first Linux experience...:)

b666m
01-21-2010, 04:22 PM
could be but I have no idea about SSH sorry this is my first Linux experience...:)

i just wanted to point at the possibility of ssh'ing and maybe not having to reflash the device.

but it's nothing serious if you haven't any experience. this will come with time.
and the flasher works fine. your good to go with that anytime something goes wrong. (but let's knock on wood that we won't need the flasher too often *g*)

bumby
01-22-2010, 06:56 AM
If it's still of interest for anyone, I hacked together a small profile switching script based on siovene post (http://talk.maemo.org/showpost.php?p=462451&postcount=78)

#!/bin/bash
PROFILE="$1"
PROFILES=$(gconftool-2 --all-dirs /system/tweakr|cut -d'/' -f4)
DBUSSET="dbus-send --print-reply --dest='com.nokia.profiled' /com/nokia/profiled com.nokia.profiled.set_value string:general string:\'%s\' string:\'%s\'"

# check if profile exists
okflag=0
for p in ${PROFILES}
do
if [ "${PROFILE}" == "$p" ]; then
okflag=1
break
fi
done

if [ ${okflag} -ne 1 ]; then
echo "No such profile: ${PROFILE}"
exit 1
fi

# set tweakr profile
gconftool-2 --set /system/tweakr/current-preset "${PROFILE}" --type=string &>/dev/null

# set all values
gconftool-2 -a /system/tweakr/Sleep|sed 's/^ //'|sed 's/ = /=/'|awk -F'=' "{cmd=sprintf(\"${DBUSSET}\", \$1, \$2);system(cmd)}" &>/dev/null

# switch to profile general
dbus-send --print-reply --dest='com.nokia.profiled' /com/nokia/profiled com.nokia.profiled.set_profile string:general &>/dev/null

siovene
01-22-2010, 07:08 AM
Hello all,
just informing you that the reboot loop problem has now been fixed, and tweakr 0.0.15 will hit extras-devel shortly.
It seems that hildon-desktop didn't like the value of 0 for the Snap to Grid property, and it was crashing with floating point exceptions so fast that the kernel decided to reboot. In a loop, forever.

I'm sorry for the inconvenience I caused everyone, but that's why it's called extras-devel :)

You are now able to install tweakr 0.0.15 safely (make sure it's the right version, when you install it :))

Thanks.

francorg
01-22-2010, 08:22 AM
Thank you!!!

Zhentar
01-22-2010, 01:36 PM
There are two features I am interested that I think could fit into the realm of your application...

1. When I hit the power button, and swipe to unlock, I want the phone app to load up automagically. If that's not possible, I'd settle for the phone app opening after clicking the power button a second time.

2. I would like to automatically switch profiles when charging.

Do you think either of those are a possibility?

Bingley Joe
01-22-2010, 02:27 PM
If it's still of interest for anyone, I hacked together a small profile switching script based on siovene post (http://talk.maemo.org/showpost.php?p=462451&postcount=78)


Thanks for that!

Is it possible to have that script invoked when certain events occur?

For instance, I have a Tweakr profile called "Headphones" which silences ringtones -- I'd love to have it automatically invoked when I insert some headphones into the jack (and for the process to be reversed when I remove them)..

jorjino
01-22-2010, 04:33 PM
hello,
I installed tweakr 0.0.15-1, but nothing happens.
i rebooted the device, but still no indication in status bar. even there is no shortcut in programs. in installed menu Tweakr presents, but I can not start the application.
dos anyone nas same issue?
regards.

arn
01-22-2010, 07:37 PM
how can you ssh in when its stuck in a loop? surely it will just keep cutting off even if you can connect.

also if i reflash will i lose my music as well?

DaSilva
01-22-2010, 07:57 PM
hello,
I installed tweakr 0.0.15-1, but nothing happens.
i rebooted the device, but still no indication in status bar. even there is no shortcut in programs. in installed menu Tweakr presents, but I can not start the application.
dos anyone nas same issue?
regards.

You can find Tweakr at the end of the settings menu

hwong_pz
01-22-2010, 08:14 PM
how can you ssh in when its stuck in a loop? surely it will just keep cutting off even if you can connect.

also if i reflash will i lose my music as well?

If you already have SSH program like OpenSSH previously installed in your device, you can access through a USB cable. Instruction on what to modify has already been discussed previously in page 11 onwards, so might find it helpful to look into that.
I got into the reboot loop as well and had to reflash mine (don't have SSH that time) and still have my music with my after reflashing

jorjino
01-23-2010, 03:55 AM
DaSilva,
thank you very much.
i got the idea and succeed to make three profiles.
Also think that the idea for making a profile for handset will be very usefull for all of us.

I am not a developer, or a linux geek, but please tell me how I can help for making this app better and more usefull?
thanks and regards.

cross3131
01-23-2010, 07:25 AM
While installing i got error message "dependency problems - leaving unconfigured"
tweakr depends on libhildon1 2.2.5 however version of libhildon1 on system is 2.2.3
tweakr depends on libosso1 2.27 however version of libhildon1 on system is 2.26
Please help

siovene
01-23-2010, 03:45 PM
While installing i got error message "dependency problems - leaving unconfigured"
tweakr depends on libhildon1 2.2.5 however version of libhildon1 on system is 2.2.3
tweakr depends on libosso1 2.27 however version of libhildon1 on system is 2.26
Please help

What release of Maemo 5 are you running? If you don't know, find out in Setting -- About Product.

cross3131
01-24-2010, 07:10 AM
siovene i did it thanks...
Only question i have is can i choose between the profiles with JUST one touch? I mean when i hit power button i only see "switch off" "secure device" "silent" "offline mode" "phone" "lock screen and keys"
Is it possible that i can choose profiles from this menu?

siovene
01-24-2010, 01:50 PM
siovene i did it thanks...

You mean you got it working? The problem, I believe, is that you downloaded the binary from Garage, rather than installing from App. Manager. I guess I compiled it using an unreleased SDK.

Only question i have is can i choose between the profiles with JUST one touch? I mean when i hit power button i only see "switch off" "secure device" "silent" "offline mode" "phone" "lock screen and keys"
Is it possible that i can choose profiles from this menu?

No, unfortunately it's not possible. My first implementation attempted to install actual real profile, but it was a failure, since the power menu assumes that there's only two profiles. I couldn't hack around such hardcoded limit, so I had to fallback to using preset.

If you choose General, from the Power Menu, it will use the General profile with the last selected Tweakr Preset.

Preset are just a way or remembering the current General settings with a name, so you can get back to them easily.

turpe
01-25-2010, 01:56 AM
Hi all how I can install Samba daemon or driver or something on to my N900 to be Windows file system compatible thru wifi
Thx

jorjino
01-25-2010, 02:14 AM
You mean you got it working? The problem, I believe, is that you downloaded the binary from Garage, rather than installing from App. Manager. I guess I compiled it using an unreleased SDK.



No, unfortunately it's not possible. My first implementation attempted to install actual real profile, but it was a failure, since the power menu assumes that there's only two profiles. I couldn't hack around such hardcoded limit, so I had to fallback to using preset.

If you choose General, from the Power Menu, it will use the General profile with the last selected Tweakr Preset.

Preset are just a way or remembering the current General settings with a name, so you can get back to them easily.

Your idea of using current General settings is very clever!
At first I also thought that something is not working, but then I got the idea and succeed to make few new profiles.

I suppose it will be very useful for new users to have some kind of short user guide in additional of the downloaded app file.

Now if someone succeed to make different ringtones to different contacts or groups in Contacts menu it will be super! This is the only BIG think I miss from my old trusty E90. ;-)

Regards.

bumby
01-25-2010, 02:59 AM
Thanks for that!

Is it possible to have that script invoked when certain events occur?

For instance, I have a Tweakr profile called "Headphones" which silences ringtones -- I'd love to have it automatically invoked when I insert some headphones into the jack (and for the process to be reversed when I remove them)..

Of course, everythings possible with this lovely device :)
First you need to install dbus-scripts. Then you'll have to create two files

In "/etc/dbus-scripts.d/somethingsomething":
/path/to/script :1.11 * org.freedesktop.Hal.Manager * /org/freedesktop/Hal/devices/computer_logicaldev_input_1


In "/path/to/script":
#!/bin/bash
ACTION="$4"

case $ACTION in
DeviceAdded)
switchprofile "Headphones"
;;
DeviceRemoved)
switchprofile "General"
;;
esac

And to try it out, either restart dbus-scripts (sudo /etc/init.d/dbus-scripts restart) or start a new instance width /usr/sbin/dbus-scripts --system --debug.

running dbus-script in debug mode is very helpful when you want to catch events such as headphones in/out.

jorjino
01-25-2010, 03:07 AM
Of course, everythings possible with this lovely device :)
First you need to install dbus-scripts. Then you'll have to create two files

In "/etc/dbus-scripts.d/somethingsomething":
/path/to/script :1.11 * org.freedesktop.Hal.Manager * /org/freedesktop/Hal/devices/computer_logicaldev_input_1


In "/path/to/script":
#!/bin/bash
ACTION="$4"

case $ACTION in
DeviceAdded)
switchprofile "Headphones"
;;
DeviceRemoved)
switchprofile "General"
;;
esac

And to try it out, either restart dbus-scripts (sudo /etc/init.d/dbus-scripts restart) or start a new instance width /usr/sbin/dbus-scripts --system --debug.

running dbus-script in debug mode is very helpful when you want to catch events such as headphones in/out.


What about make this with a Bluetooth hendset connection?
Do you think it will be possible to do and add this in one of the next versions of Tweakr?

Regards.

DaSilva
01-25-2010, 04:32 AM
Of course, everythings possible with this lovely device :)
First you need to install dbus-scripts. Then you'll have to create two files

In "/etc/dbus-scripts.d/somethingsomething":
/path/to/script :1.11 * org.freedesktop.Hal.Manager * /org/freedesktop/Hal/devices/computer_logicaldev_input_1


In "/path/to/script":
#!/bin/bash
ACTION="$4"

case $ACTION in
DeviceAdded)
switchprofile "Headphones"
;;
DeviceRemoved)
switchprofile "General"
;;
esac

And to try it out, either restart dbus-scripts (sudo /etc/init.d/dbus-scripts restart) or start a new instance width /usr/sbin/dbus-scripts --system --debug.

running dbus-script in debug mode is very helpful when you want to catch events such as headphones in/out.

Is it also possible to use the same method but to change the status for the conversation plugins when the connection switches from gprs0 to wlan0?

Bingley Joe
01-25-2010, 11:37 AM
Of course, everythings possible with this lovely device :)

Amazing!! Thanks so much, bumby! As soon as I get some time I'm going to try to figure out what all that means and get it working. :p


I must say the whole learning experience aspect to owning the N900 is a very pleasant and unexpected bonus.

evad
01-25-2010, 06:42 PM
Just installed 0.0.15 from extras-testing. Nice app, however I have some concerns:

Tweakr completely borked the default behaviour of lens cover. Normally lens cover when opened unlocks the device AND starts camera application. After installing Tweakr I get two different behaviours: when tickbox is checked - lens cover only unlocks device but doesn't start a camera; when tickbox is unchecked - opening lens cover while device is locked does nothing, I need to unlock device, and then slide lens to get camera launched. I would rather see an three-way option for lens cover opening: 1) leave default behaviour, 2) unlock only, 3) do nothing.
Idea of custom profile presets is great, but I'd rather see that as an on/off option, as Tweakr completely takes over Profile applet even when no presets are set (some people might see two default profiles just fine). Also, as General and Silent profiles are hard-coded in the system anyway, it might be good idea to hard-code them to Tweakr too in order to avoid confusion between system profiles and custom presets (I've seen that suggestion somewhere earlier in this thread).
Personally, I think custom profiles/presets would quickly become out of scope of Tweakr app itself, I'd suggest creating separate app just for that with potential for further feature expansion (I see people already making a lot suggestions), leaving Tweakr solely for... tweaks. :)


I like this app. It has few rough edges but I believe it has excellent potential and I'm looking forward to see it developing. Good work!

evad
01-26-2010, 10:07 AM
Guys, does anyone know which system file/config needs tweaking to change lens cover behaviour?

codeMonkey
01-26-2010, 11:42 AM
Hi all how I can install Samba daemon or driver or something on to my N900 to be Windows file system compatible thru wifi
Thx

I think you're in the wrong thread, turpe - might want to try another.

siovene
01-26-2010, 01:04 PM
Just installed 0.0.15 from extras-testing. Nice app, however I have some concerns:

Tweakr completely borked the default behaviour of lens cover. Normally lens cover when opened unlocks the device AND starts camera application. After installing Tweakr I get two different behaviours: when tickbox is checked - lens cover only unlocks device but doesn't start a camera; when tickbox is unchecked - opening lens cover while device is locked does nothing, I need to unlock device, and then slide lens to get camera launched. I would rather see an three-way option for lens cover opening: 1) leave default behaviour, 2) unlock only, 3) do nothing.


Well... /etc/mce/mce.ini (which tweakr modifies), says:

# Unlock the tklock if the lens cover is opened
#
# 1 to enable, 0 to disable
LensCoverUnlock=1

Doesn't leave much flexibility, so there is little that Tweakr can do.


Idea of custom profile presets is great, but I'd rather see that as an on/off option, as Tweakr completely takes over Profile applet even when no presets are set (some people might see two default profiles just fine).

Delete all presets and Tweakr status menu button will disappear, giving you the good old default Profile selection button.

Also, as General and Silent profiles are hard-coded in the system anyway, it might be good idea to hard-code them to Tweakr too in order to avoid confusion between system profiles and custom presets (I've seen that suggestion somewhere earlier in this thread).

Yes, that's in my todo list :)

Personally, I think custom profiles/presets would quickly become out of scope of Tweakr app itself, I'd suggest creating separate app just for that with potential for further feature expansion (I see people already making a lot suggestions), leaving Tweakr solely for... tweaks. :)



That's a good point, and I was just thinking about it yesterday :) A dedicated app for the profiles will be more visible too, and could completely live as a status menu applet. I'll think about it.

sorodoros
01-26-2010, 01:18 PM
...That's a good point, and I was just thinking about it yesterday :) A dedicated app for the profiles will be more visible too, and could completely live as a status menu applet. I'll think about it.

That would be fantastic. :)

evad
01-26-2010, 01:36 PM
Well... /etc/mce/mce.ini (which tweakr modifies), says:

# Unlock the tklock if the lens cover is opened
#
# 1 to enable, 0 to disable
LensCoverUnlock=1

Doesn't leave much flexibility, so there is little that Tweakr can do.

OK, I need to give that one back to you. I have checked the box in Tweakr again, restarted device and lens cover seem to work as it was originally. So apparently it was some kind of one-off glitch with this yesterday. :-o

Delete all presets and Tweakr status menu button will disappear, giving you the good old default Profile selection button.

Hmm, I'm pretty sure I did that and yet still - Tweakr have been taking over Profiles applet.


Actually... there one thing: I've saved a preset yesterday that had couple of Polish national characters in it (namely "Głośny") and I couldn't access it then, it just didn't show up on presets list. Maybe it still there but "hidden", due to lack of support for foreign characters display???

What do you reckon? In which file in the system Tweakr stores its presets, so I could look it up manually via X-Terminal/SSH?


That's a good point, and I was just thinking about it yesterday :) A dedicated app for the profiles will be more visible too, and could completely live as a status menu applet. I'll think about it.

You better do. ;)

Volcane
01-26-2010, 09:58 PM
Great app! Tnx a lot!!!

I was wondering: is there a way to tweak the N900 to use different ringing types in profiles (Ringing / Ascending / Ring once / Beep once / Silent)?

I would particularly like to switch to the Ring Once option.

planetf1
01-28-2010, 08:24 AM
There's a similar functionality already built-in Maemo 5. Whenever you roam for the first time, you'll be asked whether or not you want to enable automatic data roaming. If you decline, the phone will never establish a 3G connection while roaming unless you've explicitly requested it.

Noticed that. potentially useful.

Of course on 3 here in the UK the network has an in-country arrangement with Orange. As it was a new 3G only network (started late 2002) it used in-country roaming with 2G operators (used to be O2) to fill-out coverage.

It does mean you have to enable data roaming.

Fortunately 3Uk have an option on their customer service portal where the end user can specifically switch data roaming off/on. (mine is off - I could never control myself or the device).

I've also been known to intentially break the APN configuration before traveling just in case.

sgleo87
02-02-2010, 05:33 PM
This is a great app so thanks for programming it!

I think it would be neat to also make "power profiles", for example to create a profile for reading news/entertainment that sets the display brightness high and tells it not to turn off automatically. And then have another profil that is for power saving with only a moderate brightness and time that the display stays on for (and maybe even turn off things like wifi, 3G, etc).

Is there currently a way to do this with tweakr or maybe another app?

evad
02-03-2010, 02:54 AM
Is there currently a way to do this with tweakr or maybe another app?

Tweakr doesn't allow you to do this, however I hope siovene will consider creating a separate app just for profile where such things would become possible. :)

Jaffa
02-03-2010, 08:16 AM
Can someone outline exactly what Tweakr does to a system? There seems to be a conflict which means that having Tweakr installed allegedly causes problems (https://bugs.maemo.org/show_bug.cgi?id=8803) when Catorise (http://maemo.org/packages/view/catorise/) is installed.

evad
02-03-2010, 08:21 AM
Can someone outline exactly what Tweakr does to a system? There seems to be a conflict which means that having Tweakr installed allegedly causes problems (https://bugs.maemo.org/show_bug.cgi?id=8803) when Catorise (http://maemo.org/packages/view/catorise/) is installed.

I think its main purpose is to fiddle around /etc/mce/mce.ini and /usr/share/hildon-desktop/transitions.ini files, at least when it comes to tweaks. Profile presets are apparently stored in gconf back-end.

At least that's what I've learned about this app so far.

F2thaK
02-03-2010, 08:32 AM
is there a way to change order/priority of items in status area? thanks

UNderworld
02-13-2010, 01:00 AM
hi I downloaded this .... its in Nokia N900 / DOcuments
can anyone please tell me what I should write in x term??

installed chroot to gain superuser, but I cannot find any icon.. is that normal?

denix
02-13-2010, 01:09 AM
@UNderworld,

No need to download/install the original .deb file - the latest versions are available from the software repository. Check your App manager - you may need to enable Maemo Extras Devel catalog (not sure if it's in testing yet) - http://wiki.maemo.org/Extras-devel

alexbitzu
02-13-2010, 01:09 AM
You will find it in settings.

SR90
02-24-2010, 11:37 AM
I have uninstalled the the tweakr but still can use the snap to grid option , I mean , when I want to move around icons on desktop , it still uses the snap to grid and I dun have the tweakr in my settings , how is it possible to uninstall it completely from xterminal ?:mad:


It seems , it using around 9mb of my roofts too , When I installed it , I had around 60mb of roofts not it is down to around 49mb , I have used the command like apt-get autoremove but no luck to get the roofts space back , anyone can help to unistall tweakr completely ?

siovene
02-24-2010, 02:14 PM
I have uninstalled the the tweakr but still can use the snap to grid option , I mean , when I want to move around icons on desktop , it still uses the snap to grid and I dun have the tweakr in my settings , how is it possible to uninstall it completely from xterminal ?:mad:

Tweakr just changes settings in various places of your system. Uninstalling Tweakr doesn't restore the settings of other apps, just as uninstalling Gimp doesn't revert the changes you have made to the images you have edited.

mchu6am4
03-02-2010, 04:38 AM
A new feature in Tweakr (https://garage.maemo.org/projects/tweakr/) allows you to extend the sound Profiles to more than just General and Silent.

Tweakr introduces the concept of Profile preset. Presets are Profile settings which can be saved, deleted and assigned to the General profile. This allows you to practically use as many profiles as you want on the N900.

The normal use-case is to first tune the General profile for the new preset you want to save, then open Tweakr and choose the Save current General profile to new preset button. This will allow you to save the settings of the General profile with a new name.

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-2109451.png

After that, you will find a new button in your Status Menu, as shown in the following screenshot:

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-211001.png

You can now select whatever preset you have created before, and its settings will be applied to the General profile.

http://www.iovene.com/wp-content/uploads/2009/12/Screenshot-20091221-211006.png

If you're not using Tweakr yet, go get it from its download page (https://garage.maemo.org/frs/?group_id=1160)!

Installed the app yesterday but dont see 'Profile Preset' icon in the status bar? why?

siovene
03-02-2010, 04:45 AM
Installed the app yesterday but dont see 'Profile Preset' icon in the status bar? why?

Because now Tweakr replaces the Profile status menu. Add some presets from Tweakr (in Settings), and next time you open Profile in the status menu, you will see them.

mchu6am4
03-02-2010, 05:34 AM
Because now Tweakr replaces the Profile status menu. Add some presets from Tweakr (in Settings), and next time you open Profile in the status menu, you will see them.

Unfortunately I still don't although I have 5 profiles!

Alan_Peery
03-02-2010, 06:37 AM
Unfortunately I still don't although I have 5 profiles!

Do they have spaces in the names? That doesn't work.

(Bug submitted this morning.)

siovene
03-02-2010, 06:41 AM
Do they have spaces in the names? That doesn't work.

(Bug submitted this morning.)

Since 0.0.17, it will display an error message if you try to create a preset with a space in the name.

siovene
03-02-2010, 06:46 AM
Unfortunately I still don't although I have 5 profiles!

That's really odd. Can you try rebooting? Please report a bug by clicking here (https://garage.maemo.org/tracker/?func=add&group_id=1160&atid=4352).

mchu6am4
03-02-2010, 08:17 AM
That's really odd. Can you try rebooting? Please report a bug by clicking here (https://garage.maemo.org/tracker/?func=add&group_id=1160&atid=4352).

Hi - I have rebooted a few times without any luck...I can select the particular profile from 'Profile' tab/button in status menu but do not see the extra button for 'Profile preset'..

siovene
03-02-2010, 08:20 AM
Hi - I have rebooted a few times without any luck...I can select the particular profile from 'Profile' tab/button in status menu but do not see the extra button for 'Profile preset'..

Yes, the "Profile preset" button is done. The "Profile" button now contains Tweakr presets.

F2thaK
03-02-2010, 08:33 AM
to app creator, why does app not list profiles in alphabetical order??

id like to change order of profiles displayed


my current profiles:

medium
loud
quiet
silent


order id like them displayed in:

loud
medium
quiet
silent



THANKS

siovene
03-02-2010, 08:48 AM
to app creator, why does app not list profiles in alphabetical order??

They are read from gconf and probably they just appear there in the order they were inserted (except "Silent", which always appears last because is hardcoded and added in end).

Sure, alphabetical order could be implemented but doesn't seem like a killer feature to me :)

Feel free to submit an enhancement request in the bug trucker (https://garage.maemo.org/tracker/?atid=4352&group_id=1160&func=browse).

F2thaK
03-02-2010, 09:04 AM
can i edit gconf to change order? thx

siovene
03-02-2010, 09:12 AM
can i edit gconf to change order? thx

Yes, the key is /system/tweakr/

F2thaK
03-02-2010, 09:17 AM
i cannot find any /system/twaekr directory ??

Rob1n
03-02-2010, 09:24 AM
Try "gconftool-2 -R /system/tweakr". I can't see an easy way to reorder them though (short of exporting, deleting, and importing) as they're separate directory entries rather than just a list of profiles.

siovene
03-02-2010, 09:27 AM
Try "gconftool-2 -R /system/tweakr". I can't see an easy way to reorder them though (short of exporting, deleting, and importing) as they're separate directory entries rather than just a list of profiles.

Yeah, actually from memory, there's no way to reorder, except by deleting and adding again.

F2thaK
03-02-2010, 09:32 AM
Yeah, actually from memory, there's no way to reorder, except by deleting and adding again.

this has never worked for me since this app was released.
ive tried it many times, but every time they go in same order.... no matter if i do loud first or last.. :(

ptman
05-27-2010, 03:31 AM
I had a problem with profiles. Even though I removed all profiles created with Tweakr I didn't get back the normal profile switcher. It just showed Silent, and I couldn't remove that.

I fixed this by doing the following as root:


gconftool-2 --dump /system/tweakr > dump.xml
gconftool-2 --unload dump.xml


and rebooting. Hopefully this helps someone else. I'm not claiming that being root is necessary, it is just what I did. If you break your device, you get to keep both pieces.

!!Nokia N900!!
06-09-2010, 02:55 AM
yes, but i am having another prob. now.
when i install the tweaker, i cant see the tweakr preset icon in the status menu!!!!
the original profile icon dropped to the last row with only silent feature!!!!!

Really confused,,,,,,how to make the tweakr preset icon appears in addition to original profile icon.

appreciate ur help

alex.darziu
06-09-2010, 11:55 AM
Hi guys, i've just bought my very first maemo (n900) and have been playing it with it for a week by now... Have never used Linux before and thus, struggle every now and then with some of the apps and settings... As it doesn't resemble anything i've used before.

Getting back on track, i've installed Tweakr and have been happily using it for a few days, after which my profiles simply disappeared... If i've done smth, i obviously don't know what... that might've caused it...

Removed the app from the file from the App Manager with the hope of reinstalling it and the thoughts of a fresh start on my mind. But to my surprise, i can't find it again in the App Manager list and have no idea on how to re-install it...

Since this is a very useful app for my usage, can you please provide step by step instructions on how to handle it?

I'm still using the 'old version' as I haven't received an OTA notification yet and through SW Updater i get a message that reads - Vodafone Romania hasn't allowed this update yet... But that's a different story...

Many thanks in advance and looking fwd to your help.

jwhealey
06-26-2010, 03:55 PM
Tweakr is having a lot of problems. I, as well, can not get the presets icon to appear in my status menu. Perhaps it is conflicting with some other status menu icon(s). There have also been reports of it conflicting with screen rotation, and profiles disappearing, etc. Waiting for an update...

lkravovicz
07-05-2010, 04:28 AM
Great app! Tnx a lot!!!

I was wondering: is there a way to tweak the N900 to use different ringing types in profiles (Ringing / Ascending / Ring once / Beep once / Silent)?

I would particularly like to switch to the Ring Once option.

i also miss ring once. is there a solution for this?

Volcane
07-05-2010, 04:27 PM
i also miss ring once. is there a solution for this?

The only (and some what crude) solution I came up with, was adding a long period of silence at the end of the RINGING TONE file.

It's not ideal, but it works...

Patroclo
07-26-2010, 08:45 AM
Is the author going to fix the tweakr's bugs or the application was abandoned?

Zentenario
11-15-2010, 10:57 AM
Great app! Tnx a lot!!!

I was wondering: is there a way to tweak the N900 to use different ringing types in profiles (Ringing / Ascending / Ring once / Beep once / Silent)?

I would particularly like to switch to the Ring Once option.

I'm with you Volcano. I always used ascendent ringtone while at work in my old Symbian. I'd really appreciate this functionality you mention.

Anyway, very very great app!!!!