MXFB ROFI windows key, needed for ptt, want to move rofi to another key [Solution provided]  [Solved]

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Amiga-MX
Posts: 236
Joined: Sun Jan 23, 2022 4:27 pm

MXFB ROFI windows key, needed for ptt, want to move rofi to another key [Solution provided]

#1 Post by Amiga-MX »

Good evening FB'ers.

After watching several videos out there. I need your help.

I want to get free the windows key, needed for PTT (push to talk) Want to move rofi to another key. See picture.

Image

Thank you in advance.

MXMLGO
Last edited by Amiga-MX on Tue Nov 29, 2022 8:57 am, edited 5 times in total.

User avatar
dolphin_oracle
Developer
Posts: 22651
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-21 FB windows key, needed for ptt, want to move roffi to another key

#2 Post by dolphin_oracle »

on fluxbox, you'll want to edit the keys file. there is an entry in the fluxbox right-click menu, or directly in $HOME/.fluxbox/keys
Last edited by dolphin_oracle on Sun Feb 13, 2022 10:48 pm, edited 1 time in total.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
siamhie
Global Moderator
Posts: 3711
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-21 FB windows key, needed for ptt, want to move roffi to another key

#3 Post by siamhie »

Modify the keys file in your Fluxbox directory.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

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

Re: MXFB ROFI windows key, needed for ptt, want to move roffi to another key

#4 Post by ceeslans »

I guess that particular key is the 'menu' key.
So the entry in your keys file could look like:

Code: Select all

### Keybind to Rofi #######
none Menu 	:Exec rofi -modi "run,window,drun" -show drun 
Change the Exec command line to your own preferences
Save keys file and restart fluxbox
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
Amiga-MX
Posts: 236
Joined: Sun Jan 23, 2022 4:27 pm

Re: MXFB ROFI windows key, needed for ptt, want to move roffi to another key [SOLVED][Solution provided]  [Solved]

#5 Post by Amiga-MX »

Than you guys, I was looking many videos, from other distributions, these were sent me to another location as xmodmap with complicated methods.

I got really surprised to find an easier solution into the path you pointed .fluxbox/keys, at that point I felt at home, even you didn't specify what to change.
It took me a little time to realize where to change the mark down, but harder to find the key name.

Today, I read ceeslans' specific answer. That match the solution I found, but with different code, is there any tag I missed. What's the difference ?

Code: Select all

none Menu 	:Exec rofi -modi "run,window,drun" -show drun 
Want to move roffi to the Menu key

1. Go to your Home folder
2. Press Control + h to see hidden files, those files begin by dot .
3. Open the folder .fluxbox
4. Open the file named keys with the MX provided editor called Featherpad.
5. In featherpad <menu option> activate line numbers.
6. Go to the line 29-30
Line 29 #add a comment that the previous tag used by default was Super_L
Line 30 Type Menu instead of Super_L
7. Save the file .fluxbox/keys
8. Reflux the box. Right button over desktop > Fluxbox > Appearance > Toolbar> switch to traditional or fluxbox.

Image

SOLUTION
.fluxbox/keys

Code: Select all

 
29   # use logo key for rofi  << add this comment>> << default Super_L >>
30   Menu :Exec rofi -show drun
Thanks for sharing.
MXMLGO

Post Reply

Return to “MX Fluxbox Official Release”