OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: joebeaudoin on February 16, 2004, 02:35:25 am
-
I\'m presently developing what should be a simple bash script that creates random wallpapers for the QTopia desktop. Instead of issuing commands to restart the desktop via qcop (or killing and starting the launcher via command line), I would like to simply refresh the background so that it reflects the newest wallpaper...
Could anyone here help me in determining the proper qcop commands (or point me in the direction of fully documented signals for the QTopia desktop) to achieve this desired effect?
Thank you! :-)
-
I have scrawled in some notes:
Restart:
/opt/QtPalmtop/bin/qcop QPE/System \"restart()\"
Refresh:
/opt/QtPalmtop/bin/qcop QPE/System \"linkChanged(QString)\"
I know that the refresh command will re-read the .desktop files & display changes to tabs; not sure about wallpaper changes.
I\'ll have to dig deeper to find the original source for the above info.
-
I\'ll have to dig deeper to find the original source for the above info.
OK, found it...
The current Qtopia doc is here:
http://doc.trolltech.com/qtopia1.7/html/qcop.html (http://doc.trolltech.com/qtopia1.7/html/qcop.html)
An archive of the 1.5 doc can be found here:
http://www.malor.net/Qt/qtopia-free-1.5.0/...topia/qcop.html (http://www.malor.net/Qt/qtopia-free-1.5.0/en/qtopia/qcop.html)
I wonder if /opt/QtPalmtop/bin/qcop QPE/System \"applyStyle()\" will update the wallpaper??
-
I wonder if /opt/QtPalmtop/bin/qcop QPE/System \"applyStyle()\" will update the wallpaper??
I\'m wondering that too... I\'ll try it out.
However, does it mean that the actual config has to change before it executes the applyStyle()?
-
However, does it mean that the actual config has to change before it executes the applyStyle()?
I believe it does: change the config, then execute applyStyle() in order for Qtopia to recognize it.
-
I tried changing the Launcher.conf file via a file editor, saved it, then typed the following in the Qterminal:
qcop QPE/System "applyStyle()"
I\'ve also tried:
qcop QPE/Application/launcher "applyStyle()"
qcop QPE/TaskBar "applyStyle()"
qcop QPE/Launcher "applyStyle()" -- is the QPE/Launcher even valid?!?
qcop QPE/Desktop "applyStyle()" -- again, is this valid?
... and variants thereof with no effect.
Are there any other qcop commands out there that are undocumented? Or that someone might have stumbled across?
-
anyone figured this one out yet?
I have found appForeground("launcher") occurs when a wallpaper change is made via "tap+hold" and select "set as..."