maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Save desktop widget/shortcut layouts (https://talk.maemo.org/showthread.php?t=45440)

白い熊 2010-02-22 15:58

Save desktop widget/shortcut layouts
 
As I keep messing with the N900 it happens quite frequently, that the Desktops get lost - meaning some widgets and shortcuts, mysteriously disappear.

This is especially annoying after fiddlin' with some shortcut's positioning for minutes on end and then losing it.

Where is the desktop layout saved, so I could back it up and restored it? I've looked in all the obvious places in /usr/share/ but can't find anything...

codeMonkey 2010-02-22 19:45

Re: Save desktop widget/shortcut layouts
 
I think it's in gconf under
/apps/osso/hildon-desktop/applets

You can list the settings with:
Code:

gconftool-2 -R /apps/osso/hildon-desktop/applets
and probably make a shell script to restore them.

late666 2010-02-22 22:56

Re: Save desktop widget/shortcut layouts
 
That's interesting.. Theoretically it could solve the portrait widget problem.. You just make two arrangements of widgets, one for each, and then when you go portrait your widgets won't get scrambled.

Ronaldo 2010-02-22 22:58

Re: Save desktop widget/shortcut layouts
 
Quote:

Originally Posted by late666 (Post 541851)
That's interesting.. Theoretically it could solve the portrait widget problem.. You just make two arrangements of widgets, one for each, and then when you go portrait your widgets won't get scrambled.

sounds like a plan

jeweladdict 2010-07-07 17:10

Re: Save desktop widget/shortcut layouts
 
Quote:

Originally Posted by codeMonkey (Post 541596)
I think it's in gconf under
/apps/osso/hildon-desktop/applets

You can list the settings with:
Code:

gconftool-2 -R /apps/osso/hildon-desktop/applets
and probably make a shell script to restore them.

Could you post info on how to make the script?

codeMonkey 2010-07-07 18:17

Re: Save desktop widget/shortcut layouts
 
It depends on how much you know about shell scripting. If nothing, have a look for a guide on bash shell scripting.
The snippet I gave above recursively lists all of the keys and values you need to store, so you just need to use the gconf tool to write your previously saved values using gconf -s or something similar.

jukzh 2010-07-19 19:52

Re: Save desktop widget/shortcut layouts
 
Quote:

Originally Posted by codeMonkey (Post 541596)
I think it's in gconf under
/apps/osso/hildon-desktop/applets

You can list the settings with:
Code:

gconftool-2 -R /apps/osso/hildon-desktop/applets
and probably make a shell script to restore them.

Do you know command to create shortcut?


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

vBulletin® Version 3.8.8