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

.albertignore for applications #240

Closed
dlussky opened this issue Jul 24, 2016 · 6 comments
Closed

.albertignore for applications #240

dlussky opened this issue Jul 24, 2016 · 6 comments

Comments

@dlussky
Copy link

dlussky commented Jul 24, 2016

So in Linux Mint 18 you have this huge amount of screensavers by default, and albert indexes it, because their .desktop files lay in /usr/share/applications/screensavers. It would be convenient to have .albertignore working for application shortcuts too, so i could just drop it in this screensavers folder and forget about them. I can just delete the folder, of course, but ignore file seems cleaner.

@ManuelSchneid3r
Copy link
Member

Please post one of that desktop files here. If they do not appear in the start menus I may have missed some hints in this files to not show them.

@dlussky
Copy link
Author

dlussky commented Jul 24, 2016

[Desktop Entry]
Name=Phosphor
Exec=/usr/lib/xscreensaver/phosphor -root
TryExec=/usr/lib/xscreensaver/phosphor
Comment=Draws a simulation of an old terminal, with large pixels and long-sustain phosphor. On X11 systems, This program is also a fully-functional VT100 emulator! Written by Jamie Zawinski.
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver;
OnlyShowIn=MATE;

They surely are not shown in the default mate menu. Also, deleting the folder with .desktop files breaks the "screensaver preference" application (doesn't break, actually, but the screensaver list becomes empty)

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Jul 24, 2016

I had to check it. Albert handles the OnlyShowIn key. So I guess you are on Mate. Well, the concept of dektop entries is standardized. In this case, since screensavers are actually no applications, its up to the Mate devs to set those NoDisplay. This is not really a albert bug, since it adheres to the xdg standard. Please file a bug at Mate. What they do is mainly giving people a worse user experience with launchers other than their own (launchy, docky, synapse, etc). I appreciate you contribution of ideas but the gain would be pretty distro specific and currently there is plenty stuff that has to be done first, sorry.

@dlussky
Copy link
Author

dlussky commented Jul 24, 2016

Well, I would've excluded some other stuff if i've had that ability.
For example, "caja" query brings up two entries: file browser and it's settings, and they are called "File Browser" and "File Management". And sometimes albert forgets about my last choice and put the "Management" one on top. And from that point i need to very careful to constantly chose the right one, so albert would remember my choice. It's kinda annoying. Also Guake has the same problem. And also, on my work machine I have 3 custom .desktop files for different Firefox profiles, and i would love to hide default shortcut without deleting it from /usr/share/applications.

It's obviously not a high priority task, but I personally can see a niche QoL feature here)

@ManuelSchneid3r
Copy link
Member

Well, I would've excluded some other stuff if i've had that ability.

You are free to add a 'NoDisplay=true' to the files. This would hide File Management everywhere, though. Albert forgetting things is subject to #197. And I'm currently working on a workaround.

@dlussky
Copy link
Author

dlussky commented Jul 24, 2016

You are free to add a 'NoDisplay=true' to the files.

Well, that's what I'm doing now)
Np, anyway, great job, albert is my favorite launcher anyway) Thanks for the great job)

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

No branches or pull requests

2 participants