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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@Tomas-M

Tomas-M Mar 30, 2017

Owner

Patches welcome :)

Owner

Tomas-M commented Mar 30, 2017

Patches welcome :)

@PMunch

This comment has been minimized.

Show comment
Hide comment
@PMunch

PMunch Aug 7, 2017

Collaborator

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

Collaborator

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

This comment has been minimized.

Show comment
Hide comment
@Tomas-M

Tomas-M Aug 7, 2017

Owner

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.

Owner

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

This comment has been minimized.

Show comment
Hide comment
@PMunch

PMunch Aug 7, 2017

Collaborator

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?

Collaborator

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

This comment has been minimized.

Show comment
Hide comment
@Tomas-M

Tomas-M Aug 7, 2017

Owner

Nope, it does not autoupdate.

Owner

Tomas-M commented Aug 7, 2017

Nope, it does not autoupdate.

@Tomas-M

This comment has been minimized.

Show comment
Hide comment
@Tomas-M

Tomas-M Aug 7, 2017

Owner

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.

Owner

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