Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#115 closed defect (invalid)

custom shortcuts in menus

Reported by: Mystic-Mirage Owned by: Antoine Martin
Priority: major Milestone:
Component: Client Keywords:
Cc:

Description (last modified by Antoine Martin)

Hi! I have create my own shortcut to my application in the remote computer menu. But on the local machine in WindowSwitch menu it doesn't shown.

Attachments (1)

ДАС.desktop (218 bytes) - added by Mystic-Mirage 13 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by Antoine Martin

Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

Can you paste the file that you created here so I can drop it in my own menu directory and see if it shows up?

comment:2 Changed 13 years ago by Antoine Martin

Also, please specify exactly which directory you dropped it into, and whether you have tried to restart the server to see if that makes it pick it up.

(restarting the server should not affect your existing sessions)

comment:3 Changed 13 years ago by Mystic-Mirage

Hi! Sorry for my English.
My both computers (local and remote) have Ubuntu Lucid.
1) On remote I do right click on desktop and choose 'create a launcher'
2) My launcher is in attachment (it is simple .desktop file)
3) Than Menu > System > Preferences > Main menus. It is the program to manage main menus items
4) And just drag'n'drop my desktop shortcut in some place in the applications menu in the programs window
5) Restarting servers. Reconnecting. But new menu item doesn't shown up in WinSwitch? menu (Start Application menu)

Custom user shortcuts are placed in ~/.local/share/applications/ directory but your program seems to pass just /usr/share/applications/ directory.

Thanks!

Changed 13 years ago by Mystic-Mirage

Attachment: ДАС.desktop added

comment:4 Changed 13 years ago by Antoine Martin

Hmm, that's odd, the code is meant to be loading from both locations and watch for changes to both directories (and reload all menus when changes are made).
I will make some tests and get back to you.

comment:5 Changed 13 years ago by Mystic-Mirage

Thanks.
And how about .desktop files not from menus?
It will be very nice to add in WinSwitch? Start Application menu launchers from desktop or from other places manually.

comment:6 Changed 13 years ago by Antoine Martin

Maybe this is what you are looking for: FAQ: howto customize menus?

Note that if files are present in this directory, WinSwitch will use only that and ignore /usr[/local]/share/applications. So you may want to copy (or softlink) your existing .desktop files there first.

Last edited 13 years ago by Antoine Martin (previous) (diff)

comment:7 Changed 13 years ago by Mystic-Mirage

Thanks! This is what I looking for.

comment:8 Changed 13 years ago by Antoine Martin

Resolution: invalid
Status: acceptedclosed

Feel free to create new bugs if you find limitations with the current implementation.

comment:9 Changed 13 years ago by Antoine Martin

Description: modified (diff)
Note: See TracTickets for help on using tickets.