Create Motif Window Manager config file
This commit is contained in:
parent
9e16bbda4d
commit
7badbe36f2
2 changed files with 121 additions and 0 deletions
116
roles/home-gui/files/mwmrc
Normal file
116
roles/home-gui/files/mwmrc
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
! vim:set sw=8 ts=8 noet:
|
||||||
|
!
|
||||||
|
! 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
|
||||||
|
!
|
||||||
|
! $XConsortium: system.mwmrc /main/9 1996/10/25 11:45:42 drk $
|
||||||
|
!
|
||||||
|
! HISTORY
|
||||||
|
!
|
||||||
|
|
||||||
|
!!
|
||||||
|
!! 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 DefaultRootMenu
|
||||||
|
{
|
||||||
|
"Root Menu" f.title
|
||||||
|
Terminal f.exec "xterm &"
|
||||||
|
no-label f.separator
|
||||||
|
|
||||||
|
"Midnight Commander" f.exec "xterm -geometry 120x40 -e mc &"
|
||||||
|
no-label f.separator
|
||||||
|
|
||||||
|
Firefox f.exec "firefox &"
|
||||||
|
GVIM f.exec "gvim &"
|
||||||
|
LibreOffice f.exec "libreoffice &"
|
||||||
|
Vi f.exec "xterm -e vi &"
|
||||||
|
|
||||||
|
no-label f.separator
|
||||||
|
"Shuffle Up" f.circle_up
|
||||||
|
"Shuffle Down" f.circle_down
|
||||||
|
"Refresh" f.refresh
|
||||||
|
"Pack Icons" f.pack_icons
|
||||||
|
no-label f.separator
|
||||||
|
"Lock Screen" f.exec "xlock -mode blank &"
|
||||||
|
"Restart..." f.restart
|
||||||
|
"Quit..." f.quit_mwm
|
||||||
|
}
|
||||||
|
|
||||||
|
!!
|
||||||
|
!! 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
|
||||||
|
}
|
||||||
|
|
||||||
|
!!
|
||||||
|
!! Button Binding Description(s)
|
||||||
|
!!
|
||||||
|
|
||||||
|
Buttons DefaultButtonBindings
|
||||||
|
{
|
||||||
|
<Btn1Down> icon|frame f.raise
|
||||||
|
<Btn2Down> icon|frame f.lower
|
||||||
|
<Btn3Down> icon|frame f.post_wmenu
|
||||||
|
<Btn3Up> root f.menu DefaultRootMenu
|
||||||
|
}
|
||||||
|
|
||||||
|
!!
|
||||||
|
!! END OF mwm RESOURCE DESCRIPTION FILE
|
||||||
|
!!
|
|
@ -32,6 +32,11 @@
|
||||||
src: xsession-freebsd
|
src: xsession-freebsd
|
||||||
dest: "{{ ansible_env.HOME }}/.xsession"
|
dest: "{{ ansible_env.HOME }}/.xsession"
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
- name: Create MWM config file
|
||||||
|
copy:
|
||||||
|
src: mwmrc
|
||||||
|
dest: "{{ ansible_env.HOME }}/.mwmrc"
|
||||||
|
when: ansible_system == "NetBSD"
|
||||||
- name: Create NetBSD xsession file
|
- name: Create NetBSD xsession file
|
||||||
copy:
|
copy:
|
||||||
src: xsession-netbsd
|
src: xsession-netbsd
|
||||||
|
|
Loading…
Reference in a new issue