| View previous topic :: View next topic |
| Author |
Message |
grooveman l33t


Joined: 24 Feb 2003 Posts: 956
|
Posted: Thu Jul 14, 2011 1:52 pm Post subject: Wine no longer appears in KDE menu |
|
|
Hi,
This is something that has been annoying me for the past few months. Wine used to always have an entry in my KDE menu, but a while back, I whacked all my KDE and desktop preferences, wanting to start over with a clean, default interface. Ever since then, Wine will not show in my menu. It was great before, because not only did wine show, but the windows programs I installed also had entries. Now -- nothing. I figured the next time I updated wine, it would put itself back, but there has been 3 updates, and this has not happened.
I have looked in ~/.config/menus/applications-kmenuedit.menu -- there are no <Deleted> entries in the list. I know I could rebuild everything by hand... but that is a bit of a pain, and I'd really like to know why it doesn't work anymore. I tried looking for kappfinder, but that seems to have disappeared from kde somewhere along the way.
Any way to get this back?
Thanks.
G _________________ To look without without looking within is like looking without without looking at all. |
|
| Back to top |
|
 |
sebaro Veteran


Joined: 03 Jul 2006 Posts: 1028 Location: Romania
|
Posted: Fri Jul 15, 2011 5:21 am Post subject: |
|
|
You can try kde-base/kmenuedit or xdg-desktop-menu command. _________________ My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x |
|
| Back to top |
|
 |
grooveman l33t


Joined: 24 Feb 2003 Posts: 956
|
Posted: Fri Jul 15, 2011 2:09 pm Post subject: |
|
|
Using kmenuedit would constitute doing it by hand. I don't want to do that.
I'm not sure what xdg-desktop-menu is... I cannot find it in portage, and I cannot find it on my system. Is that just the generic version of kmenuedit? Like I said, KDE used to just know about wine, and that is what I'm looking for. I don't want to do this by hand for every desktop I have to setup. Even copying config files to work around this issue is silly when it should be doing it automatically. _________________ To look without without looking within is like looking without without looking at all. |
|
| Back to top |
|
 |
gentooP4 Tux's lil' helper


Joined: 20 Sep 2010 Posts: 147 Location: London, England
|
Posted: Fri Jul 15, 2011 2:23 pm Post subject: |
|
|
I have recentely installed WINE for the first time and I too have no menu entry. _________________ Neo wasn't searching for the matrix.. he was doing an overnight emerge
Homebuilt i7 running nothing but Gentoo and KDE (-semantic-desktop)... awesome! |
|
| Back to top |
|
 |
sebaro Veteran


Joined: 03 Jul 2006 Posts: 1028 Location: Romania
|
Posted: Fri Jul 15, 2011 2:49 pm Post subject: |
|
|
Maybe this helps:
| Code: | rm ~/.config/menus/applications-kmenuedit.menu
kbuildsycoca4 --noincremental |
_________________ My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x |
|
| Back to top |
|
 |
grooveman l33t


Joined: 24 Feb 2003 Posts: 956
|
Posted: Fri Jul 15, 2011 7:17 pm Post subject: |
|
|
| sebaro wrote: | Maybe this helps:
| Code: | rm ~/.config/menus/applications-kmenuedit.menu
kbuildsycoca4 --noincremental |
|
Wow, I didn't even know you could that. It sounded like a great idea, but unfortunately it did not work. Wine is entirely ignored.
Hmmm... any other ideas? Is it possible that this is some sort of bug? I do not see a qt or a kde use flag for wine, so I'm fresh out of ideas. _________________ To look without without looking within is like looking without without looking at all. |
|
| Back to top |
|
 |
dwbowyer Tux's lil' helper

Joined: 18 Apr 2008 Posts: 147
|
Posted: Fri Jul 15, 2011 8:26 pm Post subject: |
|
|
I've had this same problem twice in 4 years after wiping out .config file directories. I've never found a decent solution to getting back a wine menu, except for reinstalling the programs. Which to me is more a pain in the @$$ than the method I finally came up with. My suggestion is:
navigate to ~/.local/share/applications/wine/*
Then add to each desktop file a line like so:
Categories=Game;StrategyGame
Then you have Windows programs fall into the regular menu structure, and as long as you remember not to delete the .local/ folder, you wipe other config and hidden folders any time you like and still keep your Windows(Wine) programs sorted.
If you REALLY want to have a separate Wine menu do the following:
Again modify the desktop files:
Categories=Wine;"Whatever"
THEN:edit (as root) /etc/xdg/menus/kde-4-applications.menu
Add Something like this:
| Code: |
<Menu>
<Name>Wine</Name>
<Directory>Wine-games.directory</Directory>
<Menu>
<Name>Arcade</Name>
<Directory>Wine-games-arcade.directory</Directory>
<Include>
<And>
<Category>Wine</Category>
<Category>ArcadeGame</Category>
</And>
</Include>
</Menu>
<Menu>
<Name>Board</Name>
<Directory>Wine-games-board.directory</Directory>
<Include>
<And>
<Category>Wine</Category>
<Category>BoardGame</Category>
</And>
</Include>
</Menu>
</Menu>
|
I haven't needed serparate "Something.directory" files, just the categories in the .desktop files, but then I've used existing Menus and Sub-menus. |
|
| Back to top |
|
 |
|