diff --git a/x11/apps/xinit/files/65-dontvtswitch.conf b/x11/apps/xinit/files/65-dontvtswitch.conf new file mode 100644 index 00000000..5b8c911b --- /dev/null +++ b/x11/apps/xinit/files/65-dontvtswitch.conf @@ -0,0 +1,9 @@ +Section "ServerFlags" + Option "DontVTSwitch" "on" +EndSection + +Section "InputClass" + Identifier "keyboard defaults" + MatchIsKeyboard "on" + Option "XKbOptions" "srvrkeys:none" +EndSection diff --git a/x11/apps/xinit/ympbuild b/x11/apps/xinit/ympbuild index 762418f4..c2ea82df 100644 --- a/x11/apps/xinit/ympbuild +++ b/x11/apps/xinit/ympbuild @@ -1,13 +1,13 @@ #!/usr/bin/env bash name='xinit' -release='1' -version='1.4.2' +release='2' +version='1.4.4' url='https://gitlab.freedesktop.org/xorg/app/xinit' description='X Window System initializer xinit' email='bayramk@gmail.com' maintainer='bk' license=('GPLv3') -source=("https://gitlab.freedesktop.org/xorg/app/xinit/-/archive/xinit-$version/xinit-xinit-1.4.2.tar.gz" +source=("https://gitlab.freedesktop.org/xorg/app/xinit/-/archive/xinit-$version/xinit-xinit-$version.tar.gz" "files/xinitrc" "files/xserverrc" "files/Xsession" @@ -15,10 +15,12 @@ source=("https://gitlab.freedesktop.org/xorg/app/xinit/-/archive/xinit-$version/ "files/xinit.confd" "files/xinit.initd" "files/Xresources" + "files/65-dontvtswitch.conf" ) depends=(util-macros xorgproto libX11 xorg-server xterm xhost xrdb) makedepends=() -md5sums=('0855364c1c869679300d55e9dd57e2aa' +sha256sums=('a0efb773acea51c35e1295bfc1ac957ddf1edede9f76c20929e9c13b0644eb7a' + 'SKIP' 'SKIP' 'SKIP' 'SKIP' @@ -51,6 +53,7 @@ package(){ install -m755 -D ../xinit.sysconf "$DESTDIR"/etc/sysconf.d/xinit install -m755 -D ../xinit.initd "$DESTDIR"/etc/init.d/xinit install -m755 -D ../xinit.confd "$DESTDIR"/etc/conf.d/xinit + install -m644 -D ../65-dontvtswitch.conf "$DESTDIR"/usr/share/X11/xorg.conf.d/65-dontvtswitch.conf install ../Xresources "$DESTDIR"/etc/X11/Xresources # allow local connections config mkdir -p "$DESTDIR"/etc/X11/xinit/xinitrc.d