maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Request] Need someone to write simple app (https://talk.maemo.org/showthread.php?t=82783)

randomdood 2012-03-04 16:42

[Request] Need someone to write simple app
 
I'm currently working on a theme for the n9 and will do more themes as I go along. Although there is currently a theme changer app it is fairly limited.

Essentially the app I need is to copy files/folders from one directory to another, then set a gconf value dependant on user input (dropdown list)

Essentially the reason for this is the following. My theme needs to change .desktop files (since some .desktop files point to a certain icon directory instead of the current theme icon directory). The theme changer app only changes the Gconf value, which means icons outside of the theme folder are left unchanged (angry birds, AP news, tnpui etc.).

So my thinking is to have my themes in the /usr/share/themes folder but then have .desktop files in /home/user/.simpleThemer folder, which can be copied over to the applications directory to point to the correct icon file (will need different .desktop for each theme).

While I could write it in a shell script I was thinking it would be nicer if it was a GUI . I could even write the shell and if someone could do a Qt front end that calls it with QProcess that would work.

caco3 2012-03-04 19:21

Re: [Request] Need someone to write simple app
 
I not would not be too hard for me go write the UI or even the app. The problem is, the app needs root rights for this, and I do not know how to do it. It might work with the right Aegis credentials, but I would have to see first.

randomdood 2012-03-05 05:15

Re: [Request] Need someone to write simple app
 
well I may be wrong, but I think that if there are shell scripts which do the copying and setting of the gconf value, then you just add in "/usr/bin/aegis-exec -s -u user" when you call them from the application.

Or if you use the app to copy, in the aegis manifest you would set similar credentials.

caco3 2012-03-05 19:01

Re: [Request] Need someone to write simple app
 
I am currently working on other applications.
How ever if you show me clearly what has to be done, I can write you a simple GUI in QML and Python.
If you provide the icon, splashscreens and texts it would save me a lot of time.

randomdood 2012-03-06 09:45

Re: [Request] Need someone to write simple app
 
I'll get working on those. When I have everything ready I'll put it up here.

Thank you

EDIT: been playing around some more. unfortunately I can't do what i wanted with the shell scripts at a user level (ie. can't write to the applications folder). So unless there's a way to do that from an application level then I'm out of ideas (i could just have people running the shell script as devel-su, but I would have liked a non-dev mode application). aegis-exec doesn't seem to give high enough privileges.

SO unless anybody has any ideas.... because icons like angry birds free is not writeable for a normal user, I was hoping to do it though .desktop files (and that would leave the original icon intact, then just replace the original .desktop file.) because icons seem to be all over the place, modifying .desktops seemed to be easiest.


All times are GMT. The time now is 07:02.

vBulletin® Version 3.8.8