Rofi: Hide categories?

Created on 24 Nov 2017  ·  9Comments  ·  Source: davatorium/rofi

Version

Version: 1.4.2

Configuration

https://gist.github.com/hxss/454dbae7f1f66dd0578725d359caea1e

Launch Command

rofi -show drun

What behaviour you see

screenshot from 2017-11-25 01-17-00

What behaviour you expect to see

screenshot from 2017-11-25 01-17-00-1

Can I hide categories from drun menu?

Question (Please follow the guidelines)

Most helpful comment

wait never mind, using -drun-display-format {name} fixes the issue

All 9 comments

No, this is not supported.

It would be great if you add option for that.

@hxss You can copy the .desktop files with “categories” from _/usr/share/applications_ to _~/.local/share/applications_ and remove the _GenericName_ field from them. (It also needs to remove _~/.cache/rofi-3.runchache_ and _~/.cache/rofi2.druncache_ in order the changes to take effect.) That way the categories won't be displayed at the list. Moreover, by using this approach you can hide only specific categories or create your own (by modifying the field).

Does this mean that drun-match-fields will still show the generic name in the drun list?

i also would like this feature, editing each program entry manually only to have it replaced in an update is not really a good idea and this seems like a rather good idea, is there any updates?

wait never mind, using -drun-display-format {name} fixes the issue

This is now also supported. https://github.com/davatorium/rofi/issues/817

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings