maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to exchange / switch desktop contents? (https://talk.maemo.org/showthread.php?t=75573)

don_falcone 2011-08-07 15:11

How to exchange / switch desktop contents?
 
I would like to switch desktop contents between each other. So to say, switch Desktops 1 & 2 (only the stored items on it), without manually moving widgets / shortcuts. Could i write a script, i.e. where is the position of icons etc. stored for each desktop?

NightShift79 2011-08-07 16:12

Re: How to exchange / switch desktop contents?
 
I like this Idea. but I'm not skilled enough to programm something like that.

Alfred 2011-08-07 16:43

Re: How to exchange / switch desktop contents?
 
There is smth like Desktop Activity manager, that stores different sessions of the desktops(all of them), and then you can switch between sessions.

don_falcone 2011-08-07 16:57

Re: How to exchange / switch desktop contents?
 
I found this:

http://forums.internettablettalk.com...144#post967144

So i have to investigate changing using gconf...

don_falcone 2011-08-07 18:07

Re: How to exchange / switch desktop contents?
 
Package 'gconf-editor' was unfortunaely never updated for Fremantle, that would have been easier for analysis. And the one from debian.org has some dependencies that are not resolved, f.e. 'libgconf-2.4' instead of 2.6 as on PR1.3. Crap.

geneven 2011-08-07 23:24

Re: How to exchange / switch desktop contents?
 
Isn't that what Desktop Switcher does?

don_falcone 2011-08-08 02:05

Re: How to exchange / switch desktop contents?
 
Dunno, package description of 'Desktop Switcher' states:

"Desktop home plugin to switch between active destops/views." (sic)

I did it in an unclean, but my way:

1) exported settings:
gconftool-2 -R /apps/osso/hildon-desktop/applets > gconf-desktop-settings.sh
2) altered file so that it contained only the applets that were on desktops 1 and 4
3) exchanged "4" with "1" in 4 steps
3) altered file so that the format per line is correct:
gconftool-2 -s "/apps/osso/hildon-desktop/applets/TaskShortcut:albion.desktop/view" -t int "1"
executed the 'gconf-desktop-settings.sh' script, followed by 'killall hildon-desktop'.

Ok it was quite some effort, but at least it was quicker than manually moving the shortcuts. I'm pretty sure that with some meta-scripting / wildcards, you would be able to alter the settings under /applets/*/view with a simple command line.


All times are GMT. The time now is 09:25.

vBulletin® Version 3.8.8