Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-07-2017, 12:14 PM   #1
Senior Member
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Efficient MWM Window Manager with click to focus (looking like UNIX / MOTIF)


After discovering X11 library, GCC, and X/Motif, my beginner progresses in informatics have gone to attention of Xm and Xt. For fun, I tried MWM.

Discovering MWM, which is a great Window Manager. It offers as well the click to focus. It may look like a real Unix machine.

It is much lighter than GNOME or KDE

I would recommend you to give a try, if you may like the screenshot / Motif environment.

Linux is fun ! X11 is nice.

My config ~/.mwmrc:

# menu pane descriptions
# Root Menu Description

Menu RootMenu
{ "Root Menu"        f.title
  no-label           f.separator
  "New Window"       f.exec "aixterm &"
  "Shuffle Up"       f.circle_up
  "Shuffle Down"     f.circle_down
  "Refresh"          f.refresh
  no-label           f.separator
  "Restart"          f.restart
  "Quit"             f.quit_mwm

# Default Window Menu Description
Menu DefaultWindowMenu MwmWindowMenu
{ "Restore"   _R   Alt<Key>F5              f.normalize
  "Move"      _M   Alt<Key>F7              f.move
  "Size"      _S   Alt<Key>F8              f.resize
  "Minimize"  _n   Alt<Key>F9              f.minimize
  "Maximize"  _x   Alt<Key>F10             f.maximize
  "Lower"     _L   Alt<Key>F3              f.lower
  no-label                                 f.separator
  "Close"     _C   Alt<Key>F4              f.kill

# no acclerator window menu
Menu NoAccWindowMenu
  "Restore"   _R     f.normalize
  "Move"      _M     f.move
  "Size"      _S     f.resize
  "Minimize"  _n     f.minimize
  "Maximize"  _x     f.maximize
  "Lower"     _L     f.lower
  no-label           f.separator
  "Close"     _C     f.kill

Keys DefaultKeyBindings
  Shift<Key>Escape             icon|window        f.post_wmenu
  Meta<Key>space               icon|window        f.post_wmenu
  Meta<Key>Tab                 root|icon|window   f.next_key
  Meta Shift<Key>Tab           root|icon|window   f.prev_key
  Meta<Key>Escape              root|icon|window   f.next_key
  Meta Shift<Key>Escape        root|icon|window   f.prev_key
  Meta Ctrl Shift<Key>exclam   root|icon|window   f.set_behavior

# button binding descriptions

Buttons DefaultButtonBindings
  <Btn1Down>         frame|icon             f.raise
  <Btn3Down>         frame|icon             f.post_wmenu
  <Btn1Down>         root           RootMenu
  <Btn3Down>         root           RootMenu
  Meta<Btn1Down>     icon|window            f.move
  Meta<Btn2Down>     window|icon            f.move
  Meta<Btn3Down>     window                 f.resize

Buttons PointerButtonBindings
  <Btn1Down>        frame|icon             f.raise
  <Btn2Down>        frame|icon             f.post_wmenu
  <Btn3Down>        frame|icon             f.lower
  <Btn1Down>        root           RootMenu
  Meta<Btn2Down>    window|icon            f.resize
  Meta<Btn3Down>    window|icon            f.move

Attached Thumbnails
Click image for larger version

Name:	super-mwm-in-action.png
Views:	82
Size:	97.6 KB
ID:	24713  

Last edited by Xeratul; 04-07-2017 at 12:17 PM.
Old 04-07-2017, 05:12 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64- on Lenovo Thinkpad W520
Posts: 9,253

Rep: Reputation: Disabled
I think that most WM can be configured for click to focus. That is the case for FVWM, that you should really try
Old 04-08-2017, 12:05 AM   #3
Senior Member
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Originally Posted by Didier Spaier View Post
I think that most WM can be configured for click to focus. That is the case for FVWM, that you should really try
I remember your desktop, I guess you too have fwvm, right?

I tried fvwm but I moved due to limitation by the use of memory. I try to keep it economic on mem use.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to set 'window focus follows mouse click' geof370 Linux - Software 6 10-12-2015 05:57 AM
Old attractive window manager 'dtwm' or 'mwm/cde' with pager scope arrays pinecloud Linux - Desktop 3 05-25-2015 05:37 AM
Window Focus with Mouse Click oldneb Linux - Newbie 1 07-17-2014 06:02 PM
Window focus: where is click-titlebar-to-raise? TristanDee Debian 2 01-17-2008 09:00 AM
click to focus window dynamicit SUSE / openSUSE 0 08-01-2006 10:54 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration