Skip to content
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
Closed

Wine stock icons to be organised through Q4Wine #117

es20490446e opened this issue Nov 7, 2017 · 8 comments
Assignees

Comments

@es20490446e
Copy link

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 Wine icons to be organised through Q4Wine Wine stock icons to be organised through Q4Wine Nov 7, 2017
@brezerk
Copy link
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
Copy link
Author

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
Copy link
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. :)

@es20490446e
Copy link
Author

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

@brezerk
Copy link
Owner

brezerk commented Nov 13, 2017

Got it. Thanks.

@es20490446e
Copy link
Author

Thanks to you! 🥇

@brezerk
Copy link
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
Copy link
Author

Looks good to me. Many thanks 😛

@brezerk brezerk closed this as completed Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants