The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2011-04-19
, 07:54
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#22
|
The Following User Says Thank You to jstokes For This Useful Post: | ||
|
2011-04-19
, 08:07
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#23
|
I've been using the command gcc file.c -o program $(pkg-config --cflags --libs gtk+-2.0) -Wall to compile it. You can optionally add "x11 gdk-x11-2.0" before gtk+2.0 in the pkg-config line but it's not technically required as gtk+2.0 will automatically include them
The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2011-04-19
, 08:19
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#24
|
The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2011-04-19
, 08:26
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#25
|
Umm... stupid guestion again: what's the usage? Tried to understand the source and give the program arguments like "beta" "alpha" etc but it didn't actually do anything.
The Following User Says Thank You to jstokes For This Useful Post: | ||
|
2011-04-19
, 08:31
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#26
|
There are no arguments.
It just tries to get the current theme details (last part of path and name) and give those details to the bits of Maemo that the personalisation_app does. Either it's doing everything and Maemo's refusing to do anything because it's the same theme (I know the program works to change themes because I first ran "personalisation" with a path to a different theme and running the program afterwards changed the screen itself) or because it's ending prematurely because running "personalisation" is failing. What does running "echo $?" directly after the program print? If it's 0, then the program's done what it can to try and get Maemo to refresh the theme. If it's 1, then try running the program as root with run-standalone.sh
The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2011-04-19
, 08:33
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#27
|
Seems to work actually pretty well! It reloads changed icon theme etc @ app launcher. Will definitely use this with TC if it's ok with you?
The Following User Says Thank You to jstokes For This Useful Post: | ||
|
2011-04-19
, 08:47
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#28
|
Have you tried matchbox-remote?
For example
/usr/bin/personalisation /usr/share/themes/beta
/usr/bin/matchbox-remote -t beta
switches to the theme "beta".
|
2011-04-19
, 09:15
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#29
|
Great!
Sure, no problems but I must stress that the ideas were stolen from a Nokia app
The Following User Says Thank You to d-iivil For This Useful Post: | ||
|
2011-04-19
, 09:16
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#30
|
@d-iivil
Have you tried this:
I thought it would have solved the icon reloading problem in qt-apps.
The Following User Says Thank You to d-iivil For This Useful Post: | ||
If you're rich and you think I deserve a cold beer, you may donate one or two :-P
80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE