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 duplicate the call shortcut across all desktops (https://talk.maemo.org/showthread.php?t=39857)

Bec 2010-01-09 14:10

How to duplicate the call shortcut across all desktops
 
DrLaunch is the best possible solution to achieve this, check it out!

Best regards to the author, don't forget to thank him ;)




Older experiments:
Dirty fix:
Go to "/usr/share/applications/hildon" (click for easiest way to access them) and simply make copies of the desired shortcuts:
"rtcom-call-ui.desktop" - phone
"rtcom-messaging-ui.desktop" - conversations
"osso-addressbook.desktop" - contacts
Issue: no way of getting rid of the four duplicates from the app screen.

Other possible solutions:"<Exclude>" - failed "NoDisplay=true" - failed "X-Multiple=True" - failed Gconf - pending


lardman 2010-01-09 21:01

Re: How to duplicate the call shortcut across all desktops
 
And votes on the following bug too, which should solve that problem: https://bugs.maemo.org/show_bug.cgi?id=5371

Bec 2010-01-10 17:51

Re: How to duplicate the call shortcut across all desktops
 
Thanks :)

But until that becomes available, any other ideas of how shortcuts can be hidden from the menu and still fully work on the desktop?
Any other "commands" like "NoDisplay=true" ?

Anyone?
Bump!

archebyte 2010-01-10 20:56

Re: How to duplicate the call shortcut across all desktops
 
Quote:

Originally Posted by Bec (Post 461045)
Help on duplicating the call icon In a more reasonable way is much appreciated.
Thanks

Here is a workaround:

You need to simply make extra copies of the icon file (/usr/share/icons/hicolor/48x48/hildon/general_application_call.png) for each of your duplicate shortcuts and refer to them in the respective .desktop file.

Code:

cd /usr/share/icons/hicolor/48x48/hildon/
cp general_application_call.png general_application_call1.png
cp general_application_call.png general_application_call2.png
cp general_application_call.png general_application_call3.png

Then edit the .desktop file and change the 'Icon' field.

Shortcut 1: /usr/share/applications/hildon/rtcom-call-ui1.desktop
Icon=general_application_call1

Shortcut 2: /usr/share/applications/hildon/rtcom-call-ui2.desktop
Icon=general_application_call2

Shortcut 2: /usr/share/applications/hildon/rtcom-call-ui3.desktop
Icon=general_application_call3

You should now have the Phone icon appear correctly. However, you will need to remove the NoDisplay=true from the desktop files in order for the shortcut to launch the Phone app correctly. I put my shortcuts in a folder of their own.

HTH

Bec 2010-01-10 21:12

Re: How to duplicate the call shortcut across all desktops
 
Quote:

Originally Posted by archebyte (Post 462839)
I put my shortcuts in a folder of their own.

So have I, but renaming and duplicating the icon is not necessary as the same icon can work for all 4 shortcuts, for me it does (as long as the folder or the icons aren't hidden).

Quote:

Help on duplicating the call icon In a more reasonable way is much appreciated.
By icon I should have meant shortcut, sorry I'll correct it in the first post.

Now that I have phone shortcuts for all my screens I'm trying to hide the duplicate icons from the menu, currently in a folder... which I'd also hide but can't.


Isn't there a desktop config file that would allow duplicating th icons?
Or perhaps another file that contains a flag for "this shortcut is already on your desktop/desktop menu won't show it anymore"?

Thanks

jayford 2010-01-10 22:15

Re: How to duplicate the call shortcut across all desktops
 
Thought it would be logical that if there's <Include> there's also <Exclude> and it works for me: open /etc/xdg/menus/hildon.menu, edit the Applications menu to this:
Code:

<Menu>
    <Name>Applications</Name>
    <Directory>applications.directory</Directory>
    <OnlyUnallocated/>
    <Include>
      <All/>
    </Include>
    <Exclude>
    <Filename>rtcom-call-ui-2.desktop</Filename>
    <Filename>rtcom-call-ui-3.desktop</Filename>
    <Filename>rtcom-call-ui-4.desktop</Filename>
    </Exclude>
  </Menu>

Tell me if it works :)

Bec 2010-01-12 14:39

Re: How to duplicate the call shortcut across all desktops
 
Quote:

Originally Posted by jayford (Post 462949)
Thought it would be logical that if there's <Include> there's also <Exclude> and it works for me: open /etc/xdg/menus/hildon.menu, edit the Applications menu to this...
Tell me if it works :)

Mnope, just tried it in all combinations possible. <Exclude> seems to be useless as long as an <All> exists; shortcuts will simply be moved to the folder that contains all even if it's the same.

Code:

<Menu>
    <Name>Applications</Name>
    <Directory>applications.directory</Directory>
    <OnlyUnallocated/>
    <Exclude>
      <Filename>1rtcom-call-ui.desktop</Filename>
      <Filename>2rtcom-call-ui.desktop</Filename>
      <Filename>3rtcom-call-ui.desktop</Filename>
      <Filename>1osso-addressbook.desktop</Filename>
      <Filename>2osso-addressbook.desktop</Filename>
      <Filename>3osso-addressbook.desktop</Filename>
      <Filename>1rtcom-messaging-ui.desktop</Filename>
      <Filename>2rtcom-messaging-ui.desktop</Filename>
      <Filename>3rtcom-messaging-ui.desktop</Filename>
    </Exclude>
    <Include>
      <All/>
    </Include>
  </Menu>

Code:

<Menu>
    <Name>BBApplications</Name>
    <Directory>bb_apps.directory</Directory>
    <NotOnlyUnallocated/> <-THIS DOESN'T SEEM TO COUNT AT ALL
    <Exclude>
      <Filename>1rtcom-call-ui.desktop</Filename>
      <Filename>2rtcom-call-ui.desktop</Filename>
      <Filename>3rtcom-call-ui.desktop</Filename>
      <Filename>1osso-addressbook.desktop</Filename>
      <Filename>2osso-addressbook.desktop</Filename>
      <Filename>3osso-addressbook.desktop</Filename>
      <Filename>1rtcom-messaging-ui.desktop</Filename>
      <Filename>2rtcom-messaging-ui.desktop</Filename>
      <Filename>3rtcom-messaging-ui.desktop</Filename>
    </Exclude>
  </Menu>
  <Menu>
    <Name>Applications</Name>
    <Directory>applications.directory</Directory>
    <OnlyUnallocated/>
    <Include>
      <All/>
    </Include>
  </Menu>

Code:

Combined tried as well
Where are the 4 desktops actually stored?
Where is the "this shortcut has already been placed on the desktop" stored?

Bec 2010-01-12 17:08

Re: How to duplicate the call shortcut across all desktops
 
Quote:

Originally Posted by Matan (Post 466386)
gconf. Under /apps/osso/hildon-home/bookmarks and /apps/osso/hildon-desktop/applets

How can I duplicate items with gconf?
Does anybody know where the switch, that tells desktop manager that an icon has already been placed, and should not be shown anymore, is located?

Thanks :)

Thor 2010-01-12 20:30

Re: How to duplicate the call shortcut across all desktops
 
It would be better if there was an option when putting icons/widgets on desktops to put if they are persistent/permanent across all desktops, and on each one they can be moved around afterwards or keep them all locked in 1 position.

Bec 2010-01-12 21:00

Re: How to duplicate the call shortcut across all desktops
 
@ Thor
Maybe we should file a brainstorm as well? Interested?


All times are GMT. The time now is 06:46.

vBulletin® Version 3.8.8