Forum › Forums › General › Tips and Tricks › Rofi… making it fly faster…
- This topic has 3 replies, 4 voices, and was last updated Jan 18-12:26 am by ex_Koo.
-
AuthorPosts
-
January 17, 2021 at 4:50 pm #50034Member
manyroads
As many of you know, Rofi is a powerful dmenu ‘replacement’ menu. It ‘supposedly’ runs faster by some 25% if used with j4-dmenu rather than plain dmenu. I have not measured the speed, but I can say it is blistering fast on my machines. If you have not used it either way, here are some examples. Simply mate these with your preferred keybindings and place them in an autostart. These will work with any Desktop Environment or Window Manager.
Rofi showing all active applications: with & without j4-dmenu
without j4-dmenu==> rofi -modi window -show window -show-icons -sidebar-mode
with j4-dmenu==> j4-dmenu-desktop –dmenu=’rofi -modi window -show window -show-icons -sidebar-mode’Compound rofi fully searchable menu: with & without j4-dmenu
without j4-dmenu==> rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0 -width 360
with j4-dmenu==> j4-dmenu-desktop –dmenu=’rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0 -width 360′Pax vobiscum,
Mark Rabideau - http://many-roads.com
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
dwm & i3wm ~Reg. Linux User #449130
20 Jan 2021 ~ "End of an Error"January 17, 2021 at 6:43 pm #50037MemberPPC
::And I always suggest this script- “rofi-locate”, the fastest GUI way to find (by name contents) and run files:
xdg-open "$(locate home media | rofi -threads 0 -dmenu -i -p "locate:")"P.
- This reply was modified 2 years, 3 months ago by PPC.
January 17, 2021 at 8:12 pm #50041Member
sleekmason
::Thank you for all of the commands. Looks interesting. Currently using dmenu for a “custom apps” line, as well as an “all apps” line. Maybe rofi needs to fit in somewhere as well:)
January 18, 2021 at 12:26 am #50046Memberex_Koo
::@ PPC
Been using locate for a while and rofi got this from gotbletu.
https://github.com/gotbletu/shownotes/blob/master/rofi-scripts-collection/rofi-locate.shAlso I update the data base as well.
sudo updatedbbindsym $mod+shift+l exec –no-startup-id xdg-open “$(locate home media | rofi -threads 0 -dmenu -i -p “locate:”)”
bindsym $mod+shift+s exec –no-startup-id xdg-open “$(locate home system | rofi -threads 0 -width 100 -dmenu -i -p “locate:”)” <<< with system added.All about db commands.
https://www.lifewire.com/updatedb-linux-command-4095883- This reply was modified 2 years, 3 months ago by ex_Koo.
- This reply was modified 2 years, 3 months ago by ex_Koo.
-
AuthorPosts
- You must be logged in to reply to this topic.