diff --git a/pkg/de-p1st-gnupg/README.md b/pkg/de-p1st-gnupg/README.md index 8735f9a..3675c74 100644 --- a/pkg/de-p1st-gnupg/README.md +++ b/pkg/de-p1st-gnupg/README.md @@ -6,39 +6,6 @@ * default to terminal-pinentry * `de-p1st-gnupg-x11` then changes the /etc/skel files to use graphical-pinentry -**TODO**: - -To use a smartcard on a new computer, one has to import and then trust the public key! - -```shell -gpg --import 94F3D3DDAC22802258FC044B6C47C753F0823002.pub -``` - -And then trust the key: - -```shell -gpg --edit-key 0x94F3D3DDAC22802258FC044B6C47C753F0823002 -trust -5 -y -quit -``` - -or - -```shell -printf "5\ny\nquit\n" | gpg --command-fd 0 --expert --edit-key 0x94F3D3DDAC22802258FC044B6C47C753F0823002 trust -``` - -or - -```shell -echo "94F3D3DDAC22802258FC044B6C47C753F0823002:6:" | gpg --import-ownertrust -``` - -See also: -* [export/import ownertrust](https://superuser.com/a/1125128) - --- GnuPG german mini HowTo: @@ -137,3 +104,41 @@ These not work: > upon login: it sets up $PATH and other environment variables and application-specific > (/etc/profile.d/*.sh) settings upon login. * `/etc/X11/xinit/xinitrc.d/` + + +## Use smartcard on new computer + +To be able to use a smartcard, one has to import and then trust the public key first! + +```shell +gpg --import 94F3D3DDAC22802258FC044B6C47C753F0823002.pub +``` + +And then trust the key: + +```shell +gpg --edit-key 0x94F3D3DDAC22802258FC044B6C47C753F0823002 +trust +5 +y +quit +``` + +or + +```shell +printf "5\ny\nquit\n" | gpg --command-fd 0 --expert --edit-key 0x94F3D3DDAC22802258FC044B6C47C753F0823002 trust +``` + +or + +```shell +echo "94F3D3DDAC22802258FC044B6C47C753F0823002:6:" | gpg --import-ownertrust +``` + +See also: +* [export/import ownertrust](https://superuser.com/a/1125128) + +This could be done with a script [99_import_pubkey.sh](99_import_pubkey.sh) +placed inside `/etc/profile.d/`. When using `sddm` as login manager, then +the output of this script can be found in `~/.local/share/sddm/xorg-session.log`. diff --git a/pkg/de-p1st-installer/example-vbox.cfg b/pkg/de-p1st-installer/example-vbox.cfg index 44a49ce..297c6bd 100644 --- a/pkg/de-p1st-installer/example-vbox.cfg +++ b/pkg/de-p1st-installer/example-vbox.cfg @@ -41,9 +41,9 @@ ADDITIONAL_PKGS=() ADDITIONAL_PKGS+=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'virtualbox-guest-utils') # # XFCE4 desktop with HiDPI -ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi' 'de-p1st-sddm-autologin-yoda' 'de-p1st-sddm-theme-default') +ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi' 'de-p1st-sddm-autologin-yoda' 'de-p1st-sddm-tablet') # # smartcard ADDITIONAL_PKGS+=('de-p1st-smartcard') # other programs -ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp') +ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp' 'intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre') diff --git a/pkg/de-p1st-sddm-tablet/PKGBUILD b/pkg/de-p1st-sddm-tablet/PKGBUILD new file mode 100644 index 0000000..7334af1 --- /dev/null +++ b/pkg/de-p1st-sddm-tablet/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Daniel Langbein +_pkgname=sddm-tablet +_reponame=arch +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="tablet friendly sddm configuration" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') + +depends=() +depends+=('qt5-virtualkeyboard') +depends+=('de-p1st-sddm-theme-onscreenkeyboard-support') # Not all themes support QT virtual keyboard. See: https://github.com/sddm/sddm/issues/952 + +makedepends=('git') +source=("git+${url}.git") +sha256sums=('SKIP') + +depends=('de-p1st-xfce4') + +package() { + cd "${_reponame}/pkg/${pkgname}" + + install -Dm0644 p1st-onscreen-keyboard.conf "$pkgdir"/etc/sddm.conf.d/p1st-onscreen-keyboard.conf +} diff --git a/pkg/de-p1st-sddm-tablet/p1st-onscreen-keyboard.conf b/pkg/de-p1st-sddm-tablet/p1st-onscreen-keyboard.conf new file mode 100644 index 0000000..827702a --- /dev/null +++ b/pkg/de-p1st-sddm-tablet/p1st-onscreen-keyboard.conf @@ -0,0 +1,2 @@ +[General] +InputMethod=qtvirtualkeyboard \ No newline at end of file diff --git a/pkg/de-p1st-sddm-theme-default/TESTED b/pkg/de-p1st-sddm-theme-default/TESTED new file mode 100644 index 0000000..b6c701c --- /dev/null +++ b/pkg/de-p1st-sddm-theme-default/TESTED @@ -0,0 +1 @@ +qtvirtualkeyboard InputMethod does **not** work diff --git a/pkg/de-p1st-sddm-theme-nordic/PKGBUILD b/pkg/de-p1st-sddm-theme-nordic/PKGBUILD index 7984fa8..03c2e52 100644 --- a/pkg/de-p1st-sddm-theme-nordic/PKGBUILD +++ b/pkg/de-p1st-sddm-theme-nordic/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=sddm-theme-nordic _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.3 +pkgver=0.0.4 pkgrel=1 pkgdesc="sddm with Nordic theme" arch=('any') @@ -20,8 +20,8 @@ makedepends=('git') install='.install' source=("git+${url}.git") sha256sums=('SKIP') -provides=('de-p1st-sddm-theme') -conflicts=('de-p1st-sddm-theme') +provides=('de-p1st-sddm-theme' 'de-p1st-sddm-theme-onscreenkeyboard-support') +conflicts=('de-p1st-sddm-theme' 'de-p1st-sddm-theme-onscreenkeyboard-support') package() { cd "${_reponame}/pkg/${pkgname}" diff --git a/pkg/de-p1st-sddm-theme-nordic/README.md b/pkg/de-p1st-sddm-theme-nordic/README.md index d5821a9..f8b78f0 100644 --- a/pkg/de-p1st-sddm-theme-nordic/README.md +++ b/pkg/de-p1st-sddm-theme-nordic/README.md @@ -30,3 +30,8 @@ sddm-greeter --test-mode --theme /usr/share/sddm/themes/chili sudo pacman -S sddm-theme-deepin-git sddm-greeter --test-mode --theme /usr/share/sddm/themes/deepin/ ``` + +```shell +sudo pacman -S --needed plasma-workspace +sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/ +``` diff --git a/pkg/de-p1st-sddm-theme-nordic/TESTED b/pkg/de-p1st-sddm-theme-nordic/TESTED index 462182e..fb0b788 100644 --- a/pkg/de-p1st-sddm-theme-nordic/TESTED +++ b/pkg/de-p1st-sddm-theme-nordic/TESTED @@ -1 +1,2 @@ -sddm theme loads without errors (sddm does not fallback to default theme) \ No newline at end of file +sddm theme loads without errors (sddm does not fallback to default theme) +qtvirtualkeyboard InputMethod works diff --git a/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf b/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf index 4c6522e..c925700 100644 --- a/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf +++ b/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf @@ -1,4 +1,2 @@ [Theme] -# -> ls /usr/share/sddm/themes -# For example "breeze" which is part of package "plasma-workspace" Current=Nordic \ No newline at end of file