Reply
Thread Tools
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#1
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

__________________

Last edited by Bec; 2010-07-20 at 14:11. Reason: Updated, removed unnecessary info...
 

The Following 3 Users Say Thank You to Bec For This Useful Post:
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
And votes on the following bug too, which should solve that problem: https://bugs.maemo.org/show_bug.cgi?id=5371
 

The Following 2 Users Say Thank You to lardman For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#3
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!
__________________
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#4
Originally Posted by Bec View Post
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
 

The Following 2 Users Say Thank You to archebyte For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#5
Originally Posted by archebyte View Post
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).

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
__________________
 
Posts: 47 | Thanked: 17 times | Joined on Dec 2009
#6
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

Last edited by jayford; 2010-01-10 at 22:27.
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#7
Originally Posted by jayford View Post
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's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#8
Originally Posted by Matan View Post
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
__________________
 
Posts: 488 | Thanked: 107 times | Joined on Sep 2009 @ Asgard / Midgard / London
#9
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.
 

The Following 2 Users Say Thank You to Thor For This Useful Post:
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#10
@ Thor
Maybe we should file a brainstorm as well? Interested?
__________________
 

The Following User Says Thank You to Bec For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:07.