LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox & Alt key... (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-and-alt-key-170321/)

Splin 04-14-2004 11:12 PM

Fluxbox & Alt key...
 
ok this may sound stupid, I am just bit confused. The only thing what is keeping me back from using fluxbox are those stupid ctrl+mouse and alt + mose special functions...To resize and move windows?! Is there a way to free those keys? I am using couple very complicated applications whole day long and configuring my base function shortcuts to somewhere else is not very good idea at all. It would eat too much to my workflow...
Sry if this question has been asked already more than once...thank you very much.

AMMullan 04-15-2004 12:18 AM

There is an application called fluxkeys that comes with Fluxbox and it is what you use to customise shortcut jeys....

I think thats where all the combinations are stored.

slakmagik 04-15-2004 12:25 AM

Edit the file ~/.fluxbox/keys and make it say/do what you want.

Splin 04-15-2004 12:55 AM

Hmm I took a look to ~/.fluxbox/keys but had no idea what to change..cause that file contains already preconfigured keys...F1-12 etc. So I were wondering that this Alt stuff is integrated to somewhere deeper.
Fluxkeys, will try that out once I get to work.
Thank you guys:)

slakmagik 04-15-2004 01:13 AM

Well, there are defaults that are probably coming into play - the default keys file is just a demo of some things, really - you can change a lot more than what's shown - check out 'man fluxbox' with a '/KEYS FILE' and it'll show many things to set up, such as move and resize. Don't use flux anymore and never changed those particular keys, so I don't know details, but it's in there. :) Or, yeah, maybe do the fluxkeys thing.

Splin 04-16-2004 08:09 AM

Looks like bbkeys is may saviour here. But I got one more question. I have one of those super hyper multimedia keyboards with dozens of buttons. Is there a way where I can read out what signal those keys give..so that I can bind them to something? As I understand in linux I sould be able to just take the pure signal what one key gives...in this be it whatever...and assign it to do something what I like.

mikshaw 04-16-2004 10:56 AM

The Alt key is coded into the window manager...it can't be changed simply by reassigning it within fluxbox. The latest version of Fluxbox, however, allows you to disable this connection. This is a step in the right direction, but by doing this you remove the drag-resize ability that it had.

You could look into xev and xmodmap for getting/using key information in X.

Splin 04-16-2004 01:43 PM

Thats what I kinda figured out already...just were on my way to log in and say that I have to forget using fluxbox on my machine. I got 0.1.14 ver...what do you mean about the "latest" version? I hate all those gnome's and kde's. Thats the reason why changed my OS to linux lately at home. I hate that XP Luna or whatever it is..it makes me sick:)
I dont care much about the drag-resize feature since my work is mostly in full screen unified application(s). It is a screen real-estate what counts here & system resources. Thats why I am so interested about flux. Could u tell me more about that "new" version of flux...is it out already...or when is it coming?
Thank you.

mikshaw 04-16-2004 02:26 PM

The lastest version is the development version...currently 0.9.8. It runs a little slower than the "stable" version, but IMO the additional features make up for this performance hit. It's still much more resource-friendly than KDE and Gnome (I agree with you about them....they are da anti-bomb).
In this latest version, you can add "session.useMod1: false" to init and it will allow you to use Alt-drag for other purposes. Personally I like the ability to drag to move/resize windows, but using Alt-drag for camera rotation/zoom/pan in 3D applications is more important to me. I'd like to see them allow switching the Alt-drag functionality to another mod key.

Splin 04-17-2004 12:27 PM

Hehe...thats exactly what is giving me problems...I dont mind having window move/resize shortcuts in flux if they really can enanche my way of work. For cinepaint & Gimp it would be a very welcome...but the idea that it is coded to somewhere deep into app. Cant understand that. Jumping into Maya...I am too used with Alt there and most of my shortcuts are already configured to there. Plus it is too comfortable.
Now I am just wondering..how could it happend that I got such a old version of flux. 0.1.14 compared to 0.9.8, sounds like mine is few years old :P
Ok, thank you for your post, I am going to hunt that "newer" version of flux.
Could u please describe with couple of words where should I add this "session.useMod1: false". Just a punch to right direcion..a hint maybe;)

Splin 04-17-2004 01:13 PM

ok...Got the 0.9.8 installed and after a quick peek I really like it..added functionality makes usability much more convinient. Now I just need to figure out how to disable that Alt key and where to find nice dark gnome theme for gnome apps if they should run...

Splin 04-17-2004 02:19 PM

OK...I figured it out already what to do...thank you all..now I can flux to insanity...

mmeijer 08-02-2004 09:25 PM

Where did you end up putting the "session.useMod1: false"?

I'm still using 0.1.14, is the newer fluxbox stable with Maya?
I'd like to keep the alt-drag ability, or move to the Windows key..
is it possible to remap that?

Looks like I'm due an upgrade of flux.
flux on

mikshaw 08-03-2004 09:04 AM

That bit is added to the init file (e.g. ~/.fluxbox/init).
I don't know if it's possible to move the Alt feature to another key at this point...I haven't been able to do it.
One thing you can do, though, is set key combinations for moving and resizing windows without the mouse.
http://fluxbox.sourceforge.net/docbo...cs.html#AEN301

Splin 08-29-2004 06:20 PM

Quote:

Originally posted by mmeijer
Where did you end up putting the "session.useMod1: false"?

I'm still using 0.1.14, is the newer fluxbox stable with Maya?
I'd like to keep the alt-drag ability, or move to the Windows key..
is it possible to remap that?

Looks like I'm due an upgrade of flux.
flux on

into the ~/.fluxbox/init file

Edit: ahh crap you told that already...and seems you can not delete your post in this forums :(

asperous 12-18-2013 03:45 PM

asperous here from 8 years into the future (from when these bunch of posts where written).

Fluxbox is now version 1.3.5 and to disable alt+drag you now modify your ~/.fluxbox/keys file. Here is the line:

Code:

# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}

Simply comment out that line or change it.

Presto!


All times are GMT -5. The time now is 12:15 PM.