LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxbox fullscreen window action (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-fullscreen-window-action-379937/)

jkassemi 11-04-2005 12:06 PM

fluxbox fullscreen window action
 
Hello everyone,

I've been reading the fluxbox documentation, and have been getting my keybindings and such as right as I can over the past week. However, I don't see any method in fluxbox for setting a window state to fullscreen, which I would think would be an option somewhere...

Anybody know if this can be done, or better yet, if fluxbox offers an action for it that I can bind a key to?

Thanks,
James

username17 11-04-2005 12:22 PM

Just to make sure I'm reading this right, you're asking what the keystroke is to maximize a window in fluxbox?

If so, check out http://www.fluxbox.org/docbook/en/html/x352.html. That page shows the actions.

I think you have to assign a keystroke to the action in the keys file.

So something like:

Mod1 Ctrl + :MaximizeWindow

The above syntax may not be 100% correct. I don't understand the difference between specifing Mod1 and Mod4, etc.
:MaximizeWindow is the action, that's the important part. You should be able to assign any keystroke to that action.

I got the syntax and other info from hitting the Prev button on that link to go back a few pages.
Hope it helps.

keefaz 11-04-2005 12:27 PM

Mod1 is the Alt key and Mod4 is the Windows key

jkassemi 11-04-2005 12:57 PM

Thanks for the input... Actually though, I'm looking for fullscreen specifically (no window titlebar, no resize bar, no fluxbox panel). I'm positng my current .fluxbox/keys file below for clarification (and for others who might be reading this thread looking for a head-start of sorts):

Code:

Mod1 Tab :NextWindow
Mod1 Shift Tab :PrevWindow
Mod1 F1 :Workspace 1
Mod1 F2 :Workspace 2
Mod1 F3 :Workspace 3
Mod1 F4 :Workspace 4
Mod1 F5 :Workspace 5
Mod1 F6 :Workspace 6
Mod1 F7 :Workspace 7
Mod1 F8 :Workspace 8
Mod1 F9 :Workspace 9
Mod1 F10 :Workspace 10
Mod1 F11 :Workspace 11
Mod1 F12 :Workspace 12

Mod4 F1 :SendToWorkspace 1
Mod4 F2 :SendToWorkspace 2
Mod4 F3 :SendToWorkspace 3
Mod4 F4 :SendToWorkspace 4
Mod4 F5 :SendToWorkspace 5
Mod4 F6 :SendToWorkspace 6
Mod4 F7 :SendToWorkspace 7
Mod4 F8 :SendToWorkspace 8
Mod4 F9 :SendToWorkspace 9
Mod4 F10 :SendToWorkspace 10
Mod4 F11 :SendToWorkspace 11
Mod4 F12 :SendToWorkspace 12

Mod4 n :Minimize
Mod4 m :Maximize
Mod4 x :Close
Mod4 k :KillWindow

Control F2 :ExecCommand fbrun
Mod1 Shift f :ExecCommand /usr/local/firefox/firefox
Mod4 i :ExecCommand xzgv
Mod4 c :ExecCommand /usr/local/color/bin/gcolor2
Mod4 q :ExecCommand aterm

Mod1 e :ExecCommand aterm -name alsa -e alsamixer
Control Shift m :ExecCommand amixer -q set Master toggle
Mod1 Shift equal :ExecCommand amixer -q set Master 5%+
Mod1 Shift minus :ExecCommand amixer -q set Master 5%-
Mod1 Mod4 equal :ExecCommand amixer -q set PCM 5%+
Mod1 Mod4 minus :ExecCommand amixer -q set PCM 5%-

Control Shift s :ExecCommand xmms --fwd
Control Shift e :ExecCommand xmms --play-pause

Thanks guys,
James

Jessard 12-08-2007 05:41 PM

Ancient thread, I know, but I noticed it while searching for (and finding) the solution myself. Anyway, use ":Fullscreen", as in:

Code:

Mod4 f :Fullscreen
Hope that helps somebody in modern times :)

jkassemi 12-08-2007 06:55 PM

Quote:

Originally Posted by Jessard (Post 2984361)
Ancient thread, I know, but I noticed it while searching for (and finding) the solution myself. Anyway, use ":Fullscreen", as in:

Code:

Mod4 f :Fullscreen
Hope that helps somebody in modern times :)

Jessard, thanks for the response!

I've since switched from fluxbox to awesome (a variant of dwm), but it's great to see someone figured this out.

Take it easy,
James

Jessard 12-08-2007 07:37 PM

Huh, haven't heard of that one before... I think I'll give it a try. I like the idea of tiling window managers, but I always end up switching back after a while (mostly because of bugs like the GTK save-as dialog problem). Maybe things have gotten better since then; thanks for the reminder :)


All times are GMT -5. The time now is 07:41 PM.