maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   multiple widgets (https://talk.maemo.org/showthread.php?t=70770)

n900 lover 2011-03-07 12:14

multiple widgets
 
Hi guys ive searched around for ways to use my omweather widget on 2 desktops or more. only found a bit of info like adding extra widgets in /usr/share/applications/hildon.... but i have no idea what im doing! can anyone help me, ive also tried cp /usr/share/applications/hildon-home/omweather.desktop but nothing happened, am i doing it right?

anyone?

n900 lover 2011-03-07 12:37

Re: multiple widgets
 
can anyone spare some time to help me pls?

ejasmudar 2011-03-07 12:49

Re: multiple widgets
 
hey, check out this post by MohammedAG.
Basically, add this line to the .desktop file of the widget
Code:

X-Multiple=true
Step by step,
1.Go to Xterm,
2. become root
Code:

sude gainroot
3. edit widget file with leafpad.
Code:

leafpad /usr/share/applications/hildon-home/widgetname.desktop
NTE: replace widgetname with the name of ur widget (omweather?)
4. add this line in it
Code:

X-Multiple=true

n900 lover 2011-03-07 13:16

Re: multiple widgets
 
Quote:

Originally Posted by ejasmudar (Post 962442)
hey, check out this post by MohammedAG.
Basically, add this line to the .desktop file of the widget
Code:

X-Multiple=true
Step by step,
1.Go to Xterm,
2. become root
Code:

sude gainroot
3. edit widget file with leafpad.
Code:

leafpad /usr/share/applications/hildon-home/widgetname.desktop
NTE: replace widgetname with the name of ur widget (omweather?)
4. add this line in it
Code:

X-Multiple=true

Thanks a lot mate , that worked a charm!:D:D

ddwwf1 2011-03-07 13:28

Re: multiple widgets
 
does this also work for shortcuts to phone web etc

ejasmudar 2011-03-08 07:19

Re: multiple widgets
 
Quote:

Originally Posted by ddwwf1 (Post 962469)
does this also work for shortcuts to phone web etc

Why dont you try it out and tell us, mate?

excelar8 2011-03-08 07:34

Re: multiple widgets
 
Quote:

Originally Posted by ejasmudar (Post 962973)
Why dont you try it out and tell us, mate?

sorry for the noob question but.. what is the widget name for the phone, conversations, and media player widgets?

ejasmudar 2011-03-08 07:39

Re: multiple widgets
 
Quote:

Originally Posted by excelar8 (Post 962980)
sorry for the noob question but.. what is the widget name for the phone, conversations, and media player widgets?

I am not sure but i think its as follows:
Phone: rtcom-call-ui.desktop
Messaging: rtcom-messaginh-ui.desktop
Media Player: mediaplayer.desktop

excelar8 2011-03-08 11:39

Re: multiple widgets
 
Quote:

Originally Posted by ejasmudar (Post 962982)
I am not sure but i think its as follows:
Phone: rtcom-call-ui.desktop
Messaging: rtcom-messaginh-ui.desktop
Media Player: mediaplayer.desktop

i don't know if these are still classified as "widgets", they are more like "shortcuts" but nevertheless, i did add the X-Multiple=true to all those files and i still can't add multiple shortcuts to more than one desktop, even after reboot

p00ltergeist 2011-03-21 01:42

Re: multiple widgets
 
Okey for thoose who want multiple widgets especially the OMweather widget this is my guide how to achieve just that.

step 1. using filebox or similar root explorer navigate to /usr/share/applications/hildon-home

step 2. If you scroll down you'll see the omweather widget named omweather-home.desktop, copy that file.

step 3. Navigate back to lets say MyDocs and paste the omweather widget there. Rename the file to "omweather-home2.desktop" for example.

Final Step. Edit the following line in widget;
"Name=OMWeather2"
At the end of the lines add the following text "X-Multiple=true"
ctrl + s to save the file, copy the file then navigate back /usr/share/applications/hildon-home and paste the new widget. Youre DONE!

Now you can add two omweather widgets to diffrent screens.
Note! Now , As you edit the layout of your second widget your original one will also change its look, simply edit its look once again and after that theyre independent of each other.
YOU MAY HAVE TO RESTART FOR CHANGES TO TAKE AFFECT.


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

vBulletin® Version 3.8.8