Page 1 of 1

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

Posted: Sun Feb 13, 2022 9:10 pm
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

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

Posted: Sun Feb 13, 2022 9:17 pm
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

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

Posted: Sun Feb 13, 2022 9:21 pm
by siamhie
Modify the keys file in your Fluxbox directory.

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

Posted: Mon Feb 14, 2022 4:36 pm
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

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

Posted: Mon Feb 14, 2022 7:27 pm
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