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

[FEATURE REQUEST] rofi will not remove options from drun #1989

Open
2 tasks done
eternaljade2001 opened this issue Jun 13, 2024 · 7 comments
Open
2 tasks done

[FEATURE REQUEST] rofi will not remove options from drun #1989

eternaljade2001 opened this issue Jun 13, 2024 · 7 comments

Comments

@eternaljade2001
Copy link

Rofi version (rofi -v)

1.7.5

Configuration

https://gist.github.com/eternaljade2001/c19c9f3604ad9f87d007f66575480899

Theme

https://gist.github.com/eternaljade2001/5d0fe80d3ecf6427664ad4aa4fc3e037

Timing report

n/a

Launch command

rofi -show drun

Step to reproduce

  • Step 1: attempt to delete entry with shift-delete keys
  • Step 2: entry is not deleted
  • Step 3: open issue on github

Expected behavior

the entry is removed from the menu and does not come back

Actual behavior

the entry either will not be removed or will be removed but only until the menu is opened again

Additional information

n/a

Using wayland display server protocol

  • No, I don't use the wayland display server protocol

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version
@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Jun 13, 2024

This is correct. Rofi does not support this. (it cannot actually delete desktop files, and currently it does not have a mechanism to blacklist them).
Currently it deletes them from the frequently used history, so it won't be sorted on top anymore, but will be the list (after re-open).

@DaveDavenport
Copy link
Collaborator

@eternaljade2001
Copy link
Author

This is correct. Rofi does not support this. (it cannot actually delete desktop files, and currently it does not have a mechanism to blacklist them). Currently it deletes them from the frequently used history, so it won't be sorted on top anymore, but will be the list (after re-open).

should i open a feature request for blacklisting files, then

@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Jun 14, 2024

Yes, but don't expect an implementation in short time. I'm very busy and do not have time to work on rofi.
A patch/MR that implemented the XDG standard for hiding applications from menus would be ideal.

(edited the issue)

@DaveDavenport DaveDavenport changed the title [BUG] rofi will not remove options from drun [FEATURE REQUEST] rofi will not remove options from drun Jun 14, 2024
@eternaljade2001
Copy link
Author

that's fine take your time, i found my own solution anyways. not sure if i should close this or not if this is a feature request post now

@hitzkii
Copy link

hitzkii commented Jun 16, 2024

that's fine take your time, i found my own solution anyways. not sure if i should close this or not if this is a feature request post now

what's the solution ?

@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Jun 16, 2024

The best way is to copy the desktop file you want to hide into ~/.local/share/applications/ and set Hidden=true.

Or use an application editor like alacarte (if they fixed it).

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

3 participants