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

Add an option to hide double entries #19

Closed
Smile4ever opened this issue Mar 29, 2017 · 6 comments
Closed

Add an option to hide double entries #19

Smile4ever opened this issue Mar 29, 2017 · 6 comments

Comments

@Smile4ever
Copy link

@Smile4ever Smile4ever commented Mar 29, 2017

Some applications have multiple desktop files. Okular has three different occurences in xlunch. Can this (optionally?) be reduced to one please? I think it's safe to assume the icon will be the same.

@Tomas-M
Copy link
Owner

@Tomas-M Tomas-M commented Mar 30, 2017

Patches welcome :)

@PMunch
Copy link
Collaborator

@PMunch PMunch commented Aug 7, 2017

I think this is a case of the .desktop files being in different folders. I think there is some order in which the files should be prioritized so that users can create a .desktop file in ~/.local/share/applications to override the .desktop file in /usr/share/applications

@Tomas-M
Copy link
Owner

@Tomas-M Tomas-M commented Aug 7, 2017

Actually the user can simply edit the generated conf file in order to delete icons he doesn't like. The generator just blindly takes all programs and icons it finds. But the main intention is to let the user edit the conf file manually.

@Tomas-M Tomas-M closed this Aug 7, 2017
@PMunch
Copy link
Collaborator

@PMunch PMunch commented Aug 7, 2017

Hmm, I guess that makes sense. But what happens if the user creates a custom file and then installs a program? Does the list update?

@Tomas-M
Copy link
Owner

@Tomas-M Tomas-M commented Aug 7, 2017

Nope, it does not autoupdate.

@Tomas-M
Copy link
Owner

@Tomas-M Tomas-M commented Aug 7, 2017

Ideal would be to update it each time user starts the software, but it is a time consuming operation, because there are so many icons in the system in so many folders and subfolders, so it cannot be done that way. Due to that I decided to use a simple configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.