Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] Does fluxbox support Alt+Mouse to move/resize
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Sun Oct 19, 2008 5:11 am    Post subject: [RESOLVED] Does fluxbox support Alt+Mouse to move/resize Reply with quote

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
View user's profile Send private message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Sun Oct 19, 2008 5:15 am    Post subject: contents of .fluxbox/init file Reply with quote

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
View user's profile Send private message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Mon Oct 20, 2008 1:52 am    Post subject: it works with twm Reply with quote

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
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Mon Oct 20, 2008 3:12 am    Post subject: Reply with quote

Both resizing and moving via Alt + Left/Right Click work fine for
me in fluxbox-1.1.1.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Oct 20, 2008 4:13 am    Post subject: Reply with quote

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
View user's profile Send private message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Tue Oct 21, 2008 3:16 am    Post subject: Reply with quote

Thanks yabbadabbadont!

That did the trick.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Oct 21, 2008 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum