add motif window manager runtime configuration

This commit is contained in:
Mid Favila 2022-01-02 20:48:56 -04:00
parent 003a77624f
commit 05b01f8bdc
1 changed files with 170 additions and 0 deletions

170
user/.mwmrc Normal file
View File

@ -0,0 +1,170 @@
!
! Motif
!
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
!
! These libraries and programs are free software; you can
! redistribute them and/or modify them under the terms of the GNU
! Lesser General Public License as published by the Free Software
! Foundation; either version 2 of the License, or (at your option)
! any later version.
!
! These libraries and programs are distributed in the hope that
! they will be useful, but WITHOUT ANY WARRANTY; without even the
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
! PURPOSE. See the GNU Lesser General Public License for more
! details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with these librararies and programs; if not, write
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
! Floor, Boston, MA 02110-1301 USA
!!
!! DEFAULT Mwm RESOURCE DESCRIPTION FILE (system.mwmrc)
!!
!! NOTE: To personalize this file, copy this file before editing it.
!! Personalize copies of the Mwm resource file typically
!! reside as:
!!
!! $HOME/.mwmrc
!!
!!
!! Root Menu Description (this menu must be explicitly posted via f.menu)
!!
Menu System_Tools
{
"Terminal" f.exec "xterm &"
"Editor" f.exec "emacsclient -cunq &"
"Task Manager" f.exec "lxtask &"
"Netstat" f.exec "xterm -e sh -c 'while true;do netstat;sleep 5;clear;done' &"
"Mixer" f.exec "xterm -e alsamixer &"
}
Menu SSH_Boxes
{
"SDF" f.exec "xterm -e ssh midfavila@arpa.sdf.org &"
"Router" f.exec "xterm -e ssh root@router.lan.local &"
"Laptop" f.exec "xterm -e ssh mlptp.lan.local &"
"Desktop" f.exec "xterm -e ssh desky.lan.local &"
}
Menu Internet
{
"Browser" f.exec "browser &"
"Viewer" f.exec "Links &"
"Messages" f.exec "Pidgin &"
"Net News" f.exec "xrn &"
"SSH" f.menu "SSH_Boxes"
}
Menu Multimedia
{
"Image Editor" f.exec "classic-colors &"
"Document Viewer" f.exec "gv &"
"Invidious" f.exec "xterm -e invcli &"
}
Menu Widgets
{
"Calendar" f.exec "xcalendar &"
"Calculator" f.exec "xcalc &"
"EditRes" f.exec "editres &"
}
Menu Session
{
"Lock Workstation" f.exec "xset s activate &"
"Restart EMWM" f.restart
no-label f.separator
"Quit" f.quit_mwm
}
Menu DefaultRootMenu
{
"EMWM" f.title
"System Tools" f.menu System_Tools
"Internet" f.menu Internet
"Multimedia" f.menu Multimedia
"Widgets" f.menu Widgets
"" f.separator
"Session" f.menu Session
}
!!
!! Default Window Menu Description
!!
Menu DefaultWindowMenu
{
Restore _R Alt<Key>F5 f.restore
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
}
!!
!! Key Binding Description
!!
Keys DefaultKeyBindings
{
Shift<Key>Escape window|icon f.post_wmenu
Alt<Key>space window|icon f.post_wmenu
Alt<Key>Tab root|icon|window f.next_key
Alt Shift<Key>Tab root|icon|window f.prev_key
Alt<Key>Escape root|icon|window f.circle_down
Alt Shift<Key>Escape root|icon|window f.circle_up
Alt Shift Ctrl<Key>exclam root|icon|window f.set_behavior
Alt<Key>F6 window f.next_key transient
Alt Shift<Key>F6 window f.prev_key transient
Shift<Key>F10 icon f.post_wmenu
! Alt Shift<Key>Delete root|icon|window f.restart
}
!!
!! Button Binding Description(s)
!!
Buttons DefaultButtonBindings
{
<Btn1Down> icon|frame f.raise
<Btn3Down> icon|frame f.post_wmenu
<Btn1Down> root f.menu DefaultRootMenu
}
Buttons ExplicitButtonBindings
{
<Btn1Down> frame|icon f.raise
<Btn3Down> frame|icon f.post_wmenu
<Btn1Down> root f.menu DefaultRootMenu
! <Btn1Up> icon f.restore
Alt<Btn1Down> window|icon f.lower
! Alt<Btn2Down> window|icon f.resize
! Alt<Btn3Down> window|icon f.move
}
Buttons PointerButtonBindings
{
<Btn1Down> frame|icon f.raise
<Btn3Down> frame|icon f.post_wmenu
<Btn3Down> root f.menu DefaultRootMenu
<Btn1Down> window f.raise
! <Btn1Up> icon f.restore
Alt<Btn1Down> window|icon f.lower
! Alt<Btn2Down> window|icon f.resize
! Alt<Btn3Down> window|icon f.move
}
!!
!! END OF mwm RESOURCE DESCRIPTION FILE
!!