brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
207 stars 40 forks source link

Wine stock icons to be organised through Q4Wine #117

Closed es20490446e closed 6 years ago

es20490446e commented 6 years ago

When you install Q4Wine, it populates the menu with all kind of Wine shortcuts. It would be nicer if instead only the Q4Wine shortcut was shown.

This is because most stock Wine icons are rarely used, they have a more intuitive organisation on Q4Wine, and having many icons makes harder to notice which applications are installed.

deepinscreenshot_20171108002841

brezerk commented 6 years ago

Hi @es20490446e

Well... Some notes: q4wine does create it's own icon structure like follows: ~/.local/share/applications/q4wine/<prefix_name>/<folder>.

So it regular app list you probably can see something like this: image image image

however, wine also creating the *.desktop files in the ~/.local/share/applications/wine directory by it's own. And unfortunately I can't restrict wine from doing this :)

The only solution for you is to remove ~/.local/share/applications/wine directory. I can add an q4wine option to do this as a part of *desktop files generation (Note: it will be disabled by default)

Let me know if it works for you.

es20490446e commented 6 years ago

Thank you.

Those icons don't appear when installing Wine alone, at least not in Arch Linux. They don't even appear when launching winecfg, removing the directory you mentioned, or installing any of the Q4Wine dependencies.

The icons only appear when launching Q4Wine, in "~/.local/share/applications/q4wine". If you delete them, on the next Q4Wine launch, the program recreates them.

brezerk commented 6 years ago

hm.. um...

probably I am getting you wrong :)

so let's clarify: which one icons you would like not to be present/created?

oh. or maybe you would like q4wine not to create the icons for the system folder... i guess. :)

es20490446e commented 6 years ago

I mean the ones at: ~/.local/share/applications/q4wine/Default/system

brezerk commented 6 years ago

Got it. Thanks.

es20490446e commented 6 years ago

Thanks to you! 🥇

brezerk commented 6 years ago

Note: it will be reworked a bit more. But here you are the initial update https://github.com/brezerk/q4wine/commit/597a0e88232167719c88f195edbb53b4ed7d0f08

Added "Export 'system' folder" option (disabled by default. I am agree: stock Wine icons are a bit messy and are rarely used): image

Note: in order to get rid of old icons you need to click 'Remove desktop menu entries' first (Or remove it manually) Then click 'Regenerate desktop menu' or restart q4wine.

es20490446e commented 6 years ago

Looks good to me. Many thanks 😛