LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2012, 10:01 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: Formally OpenSUSE, Currently Windows 10
Posts: 1,436
Blog Entries: 6

Rep: Reputation: 185Reputation: 185
How to force a program to show in wine menu


Hello guys. This is a little bit of a complex setup, but i'll try to explain it the best of my ability.
I have a data partition which contains all my media, and some config files like '.mozilla' which i create symlinks into my home directory, so they're used. I have created a new config file i'd like to share over distros, '.wine' which i've symlinked into my home directory too. I have installed wine on my Slackware partition, and installed a Windows program with it. It is successfully running and using my symlinked .wine folder.
I've now installed Debian on a different partition. I've made a symlink of my .wine folder into my Debian home directory too. I've installed wine onto Debian, and it is working fine. I have installed another Windows program while in Debian, and wine has made a menu in the kmenu like normal.
The only program in the kmenu is the newly installed program, not the one installed from Slackware. I can launch the program installed in Slackware though by going into,
Code:
~/.wine/drive_c/Program_Files/(program brand)/(program name)/program.exe
How can i make the wine menu show a launcher for the original program?
 
Old 11-02-2012, 10:13 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
This may be of no help but here is something I would have a look at. In Gnome, yes I know you are using KDE, Alacarte is the menu editing tool. Have a look in Synaptic and look for the KDE equivalent, if it has one, and try manually editing the menu via that tool. As you already have 1 other program in the WINE section it shouldn't be to difficult figuring out how to format the menu entry from there.

Other than that take a look in /etc/xdg/menus and adjust accordingly.

EDIT: kmenuedit seems to be the KDE equivalent to Alacarte.

Last edited by k3lt01; 11-02-2012 at 10:16 PM. Reason: Add KDE info.
 
Old 11-04-2012, 09:55 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: Formally OpenSUSE, Currently Windows 10
Posts: 1,436

Original Poster
Blog Entries: 6

Rep: Reputation: 185Reputation: 185
Thanks for your help k3lt01, although that is an option, it's not entirely the answer i wanted.
I have worked out how to achieve what i wanted.
Today completely by accident i stumbled upon this in the wine faq in reference to uninstalling Windows programs.
Quote:
But that doesn't remove them from the system menu. To clean out the menus, carefully paste the following commands into a terminal:

rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.{xpm,png}
rm -f $HOME/.local/share/icons/*-x-wine-*.{xpm,png}
So that answers it for me. All the menu items are stored in those places above. So if anyone has a similar setup to me and finds this by googleing, you not only have to share the .wine directory, but also the contents of them directories above, if you want to share wines menu structure. (Obviously don't run them commands if you want the menu structure).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem creating KDE menu items that actually show up in the menu SharpyWarpy Linux - Desktop 3 07-03-2012 09:28 PM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 02:05 PM
[SOLVED] Run program in wine from kickoff menu konzo Linux - Newbie 7 01-10-2010 01:18 PM
WINE GNOME menus won't show up after re-install of WINE lupusarcanus Linux - Newbie 3 12-18-2009 08:05 AM
FIX: wine error "No Program Start Menu Found" JackSmith Linux - Games 3 07-02-2009 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration