View previous topic :: View next topic |
Author |
Message |
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Sun Oct 19, 2008 5:11 am Post subject: [RESOLVED] Does fluxbox support Alt+Mouse to move/resize |
|
|
I'm using Fluxbox 1.1.1.
I just recently started to use Fluxbox again. I remember being able to use Alt+Left_Click to move windows, and Alt+Right_Click to resize windows regardless of where the mouse is in the window. This was the default behaviour.
I saw some people saying that they wanted ways to disable that feature because it interfered with certain program features, i.e. Gimp. Has the feature been disabled completely?
I've seen various things on the Internet about it being configurable by modifying the ~/.fluxbox/init file and adding one of:
session.useMod1: true
or
session.useModKey: Mod1
Neither of those worked for me.
It's probably something really simple that I've overlooked. I've confirmed that the Alt key still works I just used Alt+F to open the File menu in Firefox.
Thanks
Last edited by fuzion on Tue Oct 21, 2008 3:17 am; edited 1 time in total |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Sun Oct 19, 2008 5:15 am Post subject: contents of .fluxbox/init file |
|
|
Here are the contents of my .fluxbox/init file if it explains anything:
Code: | session.screen0.slit.onhead: 0
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.autoHide: false
session.screen0.slit.maxOver: false
session.screen0.slit.alpha: 255
session.screen0.slit.layer: Dock
session.screen0.slit.placement: RightBottom
session.screen0.tabs.usePixmap: true
session.screen0.tabs.maxOver: false
session.screen0.tabs.intitlebar: true
session.screen0.overlay.lineWidth: 1
session.screen0.overlay.lineStyle: LineSolid
session.screen0.overlay.joinStyle: JoinMiter
session.screen0.overlay.capStyle: CapNotLast
session.screen0.clientMenu.usePixmap: true
session.screen0.titlebar.left: Stick
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha: 255
session.screen0.toolbar.layer: Dock
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.visible: true
session.screen0.toolbar.tools: workspacename, prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
session.screen0.toolbar.alpha: 255
session.screen0.toolbar.widthPercent: 66
session.screen0.toolbar.maxOver: false
session.screen0.toolbar.onhead: 0
session.screen0.toolbar.height: 0
session.screen0.toolbar.placement: BottomCenter
session.screen0.iconbar.mode: {static groups} (workspace)
session.screen0.iconbar.alignment: Relative
session.screen0.iconbar.iconWidth: 70
session.screen0.iconbar.iconTextPadding: 10l
session.screen0.iconbar.usePixmap: true
session.screen0.tab.placement: TopLeft
session.screen0.tab.width: 64
session.screen0.menu.alpha: 255
session.screen0.tooltipDelay: 500
session.screen0.showwindowposition: true
session.screen0.maxIgnoreIncrement: true
session.screen0.rootCommand:
session.screen0.noFocusWhileTypingDelay: 0l
session.screen0.autoRaise: false
session.screen0.maxDisableMove: false
session.screen0.followModel: SemiFollow
session.screen0.opaqueMove: true
session.screen0.userFollowModel: SemiFollow
session.screen0.clickRaises: true
session.screen0.maxDisableResize: false
session.screen0.menuDelayClose: 200
session.screen0.tabFocusModel: ClickToTabFocus
session.screen0.windowPlacement: RowMinOverlapPlacement
session.screen0.workspaces: 4
session.screen0.windowMenu: /home/devin/.fluxbox/windowmenu
session.screen0.defaultDeco: NORMAL
session.screen0.fullMaximization: false
session.screen0.workspacewarping: true
session.screen0.allowRemoteActions: false
session.screen0.focusNewWindows: true
session.screen0.strftimeFormat: %k:%M
session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4,
session.screen0.edgeSnapThreshold: 10
session.cacheLife: 5l
session.appsFile: ~/.fluxbox/apps
session.doubleClickInterval: 250
session.styleFile: /usr/share/fluxbox/styles/Emerge
session.keyFile: ~/.fluxbox/keys
session.autoRaiseDelay: 250
session.configVersion: 10
session.forcePseudoTransparency: false
session.cacheMax: 200l
session.tabsAttachArea: Window
session.slitlistFile: ~/.fluxbox/slitlist
session.tabPadding: 0
session.colorsPerChannel: 4
session.ignoreBorder: false
session.styleOverlay: ~/.fluxbox/overlay
session.menuFile: ~/.fluxbox/menu |
Note that I'm using dual monitors with a Geforce FX5200 AGP card. |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Mon Oct 20, 2008 1:52 am Post subject: it works with twm |
|
|
I have twm 1.0.4 installed and using Alt + Left_Click moves the windows just fine.
Any idea why this no longer works in fluxbox? |
|
Back to top |
|
|
didl Retired Dev
Joined: 09 Sep 2003 Posts: 1106 Location: Pittsburgh, PA
|
Posted: Mon Oct 20, 2008 3:12 am Post subject: |
|
|
Both resizing and moving via Alt + Left/Right Click work fine for
me in fluxbox-1.1.1. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Oct 20, 2008 4:13 am Post subject: |
|
|
Make sure that the following is in your ~/.fluxbox/keys file:
Code: | # alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
|
|
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Tue Oct 21, 2008 3:16 am Post subject: |
|
|
Thanks yabbadabbadont!
That did the trick. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Oct 21, 2008 6:10 pm Post subject: |
|
|
The fluxbox devs have this nasty habit of moving everything into the keys file. That wouldn't be too bad, except that their keys file update script is not very robust and often guesses wrong while updating. I've found that the best thing to do is to move my ~/.fluxbox directory to a new name before running a new version of fluxbox. That way it will create new files with any new default entries. I then vimdiff my saved files with the new ones and merge in my custom changes. |
|
Back to top |
|
|
|