postmarketos-ui-xfce4 & -mate: Implement onboard keyboard (MR 2464)
Installing "onboard" onscreen keyboard and enabling autostart. Option "Don't auto-show while external keyboards are connected" is activated. [ci:skip-build] already built successfully in CI
This commit is contained in:
parent
f0fe03dd7b
commit
ad75c18077
6 changed files with 80 additions and 10 deletions
14
main/postmarketos-ui-mate/10_onboard.gschema.override
Normal file
14
main/postmarketos-ui-mate/10_onboard.gschema.override
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[org.gnome.desktop.interface]
|
||||||
|
toolkit-accessibility=true
|
||||||
|
|
||||||
|
[org.onboard]
|
||||||
|
layout='/usr/share/onboard/layouts/Small.onboard'
|
||||||
|
theme='/usr/share/onboard/themes/Nightshade.theme'
|
||||||
|
show-tooltips=false
|
||||||
|
|
||||||
|
[org.onboard.auto-show]
|
||||||
|
enabled=true
|
||||||
|
keyboard-device-detection-enabled=true
|
||||||
|
|
||||||
|
[org.onboard.window]
|
||||||
|
docking-enabled=true
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
||||||
pkgname=postmarketos-ui-mate
|
pkgname=postmarketos-ui-mate
|
||||||
pkgver=1
|
pkgver=2
|
||||||
pkgrel=13
|
pkgrel=0
|
||||||
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
|
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
|
||||||
url="http://mate-desktop.org/"
|
url="http://mate-desktop.org/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -19,8 +19,17 @@ depends="
|
||||||
postmarketos-artwork-wallpapers
|
postmarketos-artwork-wallpapers
|
||||||
xorg-server
|
xorg-server
|
||||||
"
|
"
|
||||||
|
_pmb_recommends="
|
||||||
|
onboard
|
||||||
|
"
|
||||||
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
|
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
|
||||||
source="000-system-background.gschema.override 001-screensaver.gschema.override 61-lightdm-autologin.conf"
|
source="
|
||||||
|
000-system-background.gschema.override
|
||||||
|
001-screensaver.gschema.override
|
||||||
|
10_onboard.gschema.override
|
||||||
|
61-lightdm-autologin.conf
|
||||||
|
onboard-autostart.desktop
|
||||||
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -30,10 +39,20 @@ package() {
|
||||||
install -Dm644 "$srcdir"/001-screensaver.gschema.override \
|
install -Dm644 "$srcdir"/001-screensaver.gschema.override \
|
||||||
"$pkgdir"/usr/share/glib-2.0/schemas/001-screensaver.gschema.override
|
"$pkgdir"/usr/share/glib-2.0/schemas/001-screensaver.gschema.override
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/10_onboard.gschema.override \
|
||||||
|
"$pkgdir"/usr/share/glib-2.0/schemas/10_onboard.gschema.override
|
||||||
|
|
||||||
install -Dm644 "$srcdir"/61-lightdm-autologin.conf \
|
install -Dm644 "$srcdir"/61-lightdm-autologin.conf \
|
||||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/61-autologin.conf
|
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/61-autologin.conf
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/onboard-autostart.desktop \
|
||||||
|
"$pkgdir"/etc/skel/.config/autostart/onboard-autostart.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override
|
sha512sums="
|
||||||
|
b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override
|
||||||
68c7614bab2f9beadac6a92508c3d63e05938e2746c7314921d4b0c2fc85e7fdca094c1c7c300710ab778a09b76a85158fc806150bc5bf3fce270f51c1d5d65b 001-screensaver.gschema.override
|
68c7614bab2f9beadac6a92508c3d63e05938e2746c7314921d4b0c2fc85e7fdca094c1c7c300710ab778a09b76a85158fc806150bc5bf3fce270f51c1d5d65b 001-screensaver.gschema.override
|
||||||
225c4d1bccad4bdacad34958322015147077158b395b8db095b7afd47e18638044780b381124c3b82bf639af66ea565e1763c54ab9599ec13177c289e0d2a000 61-lightdm-autologin.conf"
|
ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override
|
||||||
|
225c4d1bccad4bdacad34958322015147077158b395b8db095b7afd47e18638044780b381124c3b82bf639af66ea565e1763c54ab9599ec13177c289e0d2a000 61-lightdm-autologin.conf
|
||||||
|
d598b806bf749e0fedfdaeb51aa035b3877fedf4adc123ce2e50aef20f3cc6727b520a379aa26e88f9a2fe0f1fb96c4682895bb49c6a9cf4b5a5fd963ea93747 onboard-autostart.desktop
|
||||||
|
"
|
||||||
|
|
6
main/postmarketos-ui-mate/onboard-autostart.desktop
Normal file
6
main/postmarketos-ui-mate/onboard-autostart.desktop
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Onboard
|
||||||
|
Comment=Flexible onscreen keyboard
|
||||||
|
Icon=onboard
|
||||||
|
Exec=onboard
|
14
main/postmarketos-ui-xfce4/10_onboard.gschema.override
Normal file
14
main/postmarketos-ui-xfce4/10_onboard.gschema.override
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[org.gnome.desktop.interface]
|
||||||
|
toolkit-accessibility=true
|
||||||
|
|
||||||
|
[org.onboard]
|
||||||
|
layout='/usr/share/onboard/layouts/Small.onboard'
|
||||||
|
theme='/usr/share/onboard/themes/Nightshade.theme'
|
||||||
|
show-tooltips=false
|
||||||
|
|
||||||
|
[org.onboard.auto-show]
|
||||||
|
enabled=true
|
||||||
|
keyboard-device-detection-enabled=true
|
||||||
|
|
||||||
|
[org.onboard.window]
|
||||||
|
docking-enabled=true
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
||||||
pkgname=postmarketos-ui-xfce4
|
pkgname=postmarketos-ui-xfce4
|
||||||
pkgver=0.3
|
pkgver=0.3
|
||||||
pkgrel=8
|
pkgrel=9
|
||||||
pkgdesc="(X11) Lightweight desktop (stylus recommended)"
|
pkgdesc="(X11) Lightweight desktop (stylus recommended)"
|
||||||
url="https://gitlab.com/postmarketOS/xfce4-phone"
|
url="https://gitlab.com/postmarketOS/xfce4-phone"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -21,6 +21,7 @@ depends="
|
||||||
_pmb_recommends="
|
_pmb_recommends="
|
||||||
faenza-icon-theme
|
faenza-icon-theme
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
onboard
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pm-utils
|
pm-utils
|
||||||
postmarketos-artwork-icons
|
postmarketos-artwork-icons
|
||||||
|
@ -34,8 +35,12 @@ _pmb_recommends="
|
||||||
xfce4-whiskermenu-plugin
|
xfce4-whiskermenu-plugin
|
||||||
"
|
"
|
||||||
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
|
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
|
source="
|
||||||
64-lightdm-autologin.conf"
|
xfce4-phone-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
|
||||||
|
10_onboard.gschema.override
|
||||||
|
64-lightdm-autologin.conf
|
||||||
|
onboard-autostart.desktop
|
||||||
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
builddir="$srcdir/xfce4-phone-$pkgver"
|
builddir="$srcdir/xfce4-phone-$pkgver"
|
||||||
|
|
||||||
|
@ -43,9 +48,19 @@ package() {
|
||||||
install -d -m755 "$pkgdir"/etc/skel
|
install -d -m755 "$pkgdir"/etc/skel
|
||||||
cp -a "$builddir"/config "$pkgdir"/etc/skel/.config
|
cp -a "$builddir"/config "$pkgdir"/etc/skel/.config
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/10_onboard.gschema.override \
|
||||||
|
"$pkgdir"/usr/share/glib-2.0/schemas/10_onboard.gschema.override
|
||||||
|
|
||||||
install -Dm644 "$srcdir"/64-lightdm-autologin.conf \
|
install -Dm644 "$srcdir"/64-lightdm-autologin.conf \
|
||||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/64-autologin.conf
|
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/64-autologin.conf
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/onboard-autostart.desktop \
|
||||||
|
"$pkgdir"/etc/skel/.config/autostart/onboard-autostart.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="9adf87cdb531ad0eb4ab0d42dd4d43c88da117fdb8c7583c58ef2fcda52ce658e9234fe0451e5bf7d3768cdabf966c9dc27bda360e53ec44c04856ddfa941ab4 postmarketos-ui-xfce4-0.3.tar.gz
|
sha512sums="
|
||||||
3841294daffdd3e0da5a7ba155ba8c21e9e5a2f2ba5b3b5ffa3ea6a16486625d3655d03f8c18740fcddfbca673c42a5289ec3b22720cfbbdd56fde8fdc3bf9b0 64-lightdm-autologin.conf"
|
9adf87cdb531ad0eb4ab0d42dd4d43c88da117fdb8c7583c58ef2fcda52ce658e9234fe0451e5bf7d3768cdabf966c9dc27bda360e53ec44c04856ddfa941ab4 xfce4-phone-0.3.tar.gz
|
||||||
|
ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override
|
||||||
|
3841294daffdd3e0da5a7ba155ba8c21e9e5a2f2ba5b3b5ffa3ea6a16486625d3655d03f8c18740fcddfbca673c42a5289ec3b22720cfbbdd56fde8fdc3bf9b0 64-lightdm-autologin.conf
|
||||||
|
0f7947628076fcecb4883df8c4ff9989fb98448bbe8c12558bb47fc0d6dde0001c023c814fa88fe1390d6b058c7449dbecd0538e2289016ab84db0df2e15af6a onboard-autostart.desktop
|
||||||
|
"
|
||||||
|
|
2
main/postmarketos-ui-xfce4/onboard-autostart.desktop
Normal file
2
main/postmarketos-ui-xfce4/onboard-autostart.desktop
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
X-XFCE-Autostart-Override=true
|
Loading…
Reference in a new issue