LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Efficient MWM Window Manager with click to focus (looking like UNIX / MOTIF) (https://www.linuxquestions.org/questions/linux-desktop-74/efficient-mwm-window-manager-with-click-to-focus-looking-like-unix-motif-4175603397/)

Xeratul 04-07-2017 12:14 PM

Efficient MWM Window Manager with click to focus (looking like UNIX / MOTIF)
 
1 Attachment(s)
Hello,

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:
Code:



#  DEFAULT mwm RESOURCE DESCRIPTION FILE (system.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                  f.menu  RootMenu
  <Btn3Down>        root                  f.menu  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                  f.menu  RootMenu
  Meta<Btn2Down>    window|icon            f.resize
  Meta<Btn3Down>    window|icon            f.move
}

#
#  END OF mwm RESOURCE DESCRIPTION FILE
#


Didier Spaier 04-07-2017 05:12 PM

I think that most WM can be configured for click to focus. That is the case for FVWM, that you should really try :D

Xeratul 04-08-2017 12:05 AM

Quote:

Originally Posted by Didier Spaier (Post 5694064)
I think that most WM can be configured for click to focus. That is the case for FVWM, that you should really try :D

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.


All times are GMT -5. The time now is 11:59 PM.