New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine stock icons to be organised through Q4Wine #117

Closed
es20490446e opened this Issue Nov 7, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@es20490446e

es20490446e commented Nov 7, 2017

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

@es20490446e es20490446e changed the title from Wine icons to be organised through Q4Wine to Wine stock icons to be organised through Q4Wine Nov 7, 2017

@brezerk

This comment has been minimized.

Owner

brezerk commented Nov 8, 2017

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

This comment has been minimized.

es20490446e commented Nov 8, 2017

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

This comment has been minimized.

Owner

brezerk commented Nov 9, 2017

hm.. um...

probably I am getting you wrong :)

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

  • icons located in the ~/.local/share/applications/wine (the stock ones)
  • icons located in the ~/.local/share/applications/q4wine
  • or both?

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

@brezerk brezerk self-assigned this Nov 9, 2017

@es20490446e

This comment has been minimized.

es20490446e commented Nov 13, 2017

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

@brezerk

This comment has been minimized.

Owner

brezerk commented Nov 13, 2017

Got it. Thanks.

@es20490446e

This comment has been minimized.

es20490446e commented Nov 13, 2017

Thanks to you! 🥇

@brezerk

This comment has been minimized.

Owner

brezerk commented Nov 13, 2017

Note: it will be reworked a bit more. But here you are the initial update 597a0e8

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

This comment has been minimized.

es20490446e commented Nov 14, 2017

Looks good to me. Many thanks 😛

@brezerk brezerk closed this Apr 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment