Rofi... making it fly faster...

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Rofi... making it fly faster...

#1 Post by 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 - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
thomasl
Posts: 477
Joined: Sun Feb 04, 2018 9:26 am

Re: Rofi... making it fly faster...

#2 Post by thomasl »

https://github.com/enkore/j4-dmenu-desktop
Including this link for those who don't know the software would have been nice :happy:
Frugal installs on Lenovo ThinkPad L14 Ryzen 5 4650U/24GB * HP Pavilion Ryzen 3 3300U/16GB * Toshiba R950 i5-3340M/12GB
I have a reservation... What do you mean it's not in the COMPUTER!

User avatar
Jerry3904
Administrator
Posts: 23059
Joined: Wed Jul 19, 2006 6:13 am

Re: Rofi... making it fly faster...

#3 Post by Jerry3904 »

I brought it into MX Fluxbox where it is already super fast.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Rofi... making it fly faster...

#4 Post by manyroads »

thomasl wrote: Sun Jan 17, 2021 12:02 pm https://github.com/enkore/j4-dmenu-desktop
Including this link for those who don't know the software would have been nice :happy:
@thomasl The j4-dmenu-desktop is actually available via synaptic or apt....
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Rofi... making it fly faster...

#5 Post by manyroads »

@jerry3904 I, also, use rofi, dmenu, & j4-dmenu-desktop on xfce4, gnome, iceWM, jwm as well as my preferred dwm....
It also works on any arch or debian based distro.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
ceeslans
Posts: 811
Joined: Sun Apr 14, 2019 3:48 am

Re: Rofi... making it fly faster...

#6 Post by ceeslans »

manyroads wrote: Sun Jan 17, 2021 11:49 am<snip>
It 'supposedly' runs faster by some 25% if used with j4-dmenu rather than plain dmenu.
</snip>
Thanks Mark. With j4-dmenu it does run faster...
And your command examples are definitely helpful.
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
thomasl
Posts: 477
Joined: Sun Feb 04, 2018 9:26 am

Re: Rofi... making it fly faster...

#7 Post by thomasl »

manyroads wrote: Sun Jan 17, 2021 1:12 pm
thomasl wrote: Sun Jan 17, 2021 12:02 pm https://github.com/enkore/j4-dmenu-desktop
Including this link for those who don't know the software would have been nice :happy:
@thomasl The j4-dmenu-desktop is actually available via synaptic or apt....
Yeah, I know ;) I actually did check the repos before I posted this. :eek:

However, the fact that some XYZ software is available in the repos doesn't tell me anything about what it actually does. Maybe I somehow should've divined that frpm the MXPI listing :bagoverhead:
Frugal installs on Lenovo ThinkPad L14 Ryzen 5 4650U/24GB * HP Pavilion Ryzen 3 3300U/16GB * Toshiba R950 i5-3340M/12GB
I have a reservation... What do you mean it's not in the COMPUTER!

Post Reply

Return to “Tips & Tricks by users”