mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
sddm: onscreen-keyboard
This commit is contained in:
parent
7a739fae02
commit
3944ef8c5c
@ -6,39 +6,6 @@
|
|||||||
* default to terminal-pinentry
|
* default to terminal-pinentry
|
||||||
* `de-p1st-gnupg-x11` then changes the /etc/skel files to use graphical-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:
|
GnuPG german mini HowTo:
|
||||||
@ -137,3 +104,41 @@ These not work:
|
|||||||
> upon login: it sets up $PATH and other environment variables and application-specific
|
> upon login: it sets up $PATH and other environment variables and application-specific
|
||||||
> (/etc/profile.d/*.sh) settings upon login.
|
> (/etc/profile.d/*.sh) settings upon login.
|
||||||
* `/etc/X11/xinit/xinitrc.d/`
|
* `/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`.
|
||||||
|
@ -41,9 +41,9 @@ ADDITIONAL_PKGS=()
|
|||||||
ADDITIONAL_PKGS+=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'virtualbox-guest-utils')
|
ADDITIONAL_PKGS+=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'virtualbox-guest-utils')
|
||||||
#
|
#
|
||||||
# XFCE4 desktop with HiDPI
|
# 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
|
# smartcard
|
||||||
ADDITIONAL_PKGS+=('de-p1st-smartcard')
|
ADDITIONAL_PKGS+=('de-p1st-smartcard')
|
||||||
# other programs
|
# other programs
|
||||||
ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp')
|
ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp' 'intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre')
|
||||||
|
26
pkg/de-p1st-sddm-tablet/PKGBUILD
Normal file
26
pkg/de-p1st-sddm-tablet/PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_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
|
||||||
|
}
|
2
pkg/de-p1st-sddm-tablet/p1st-onscreen-keyboard.conf
Normal file
2
pkg/de-p1st-sddm-tablet/p1st-onscreen-keyboard.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[General]
|
||||||
|
InputMethod=qtvirtualkeyboard
|
1
pkg/de-p1st-sddm-theme-default/TESTED
Normal file
1
pkg/de-p1st-sddm-theme-default/TESTED
Normal file
@ -0,0 +1 @@
|
|||||||
|
qtvirtualkeyboard InputMethod does **not** work
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=sddm-theme-nordic
|
_pkgname=sddm-theme-nordic
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.3
|
pkgver=0.0.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="sddm with Nordic theme"
|
pkgdesc="sddm with Nordic theme"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -20,8 +20,8 @@ makedepends=('git')
|
|||||||
install='.install'
|
install='.install'
|
||||||
source=("git+${url}.git")
|
source=("git+${url}.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
provides=('de-p1st-sddm-theme')
|
provides=('de-p1st-sddm-theme' 'de-p1st-sddm-theme-onscreenkeyboard-support')
|
||||||
conflicts=('de-p1st-sddm-theme')
|
conflicts=('de-p1st-sddm-theme' 'de-p1st-sddm-theme-onscreenkeyboard-support')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
@ -30,3 +30,8 @@ sddm-greeter --test-mode --theme /usr/share/sddm/themes/chili
|
|||||||
sudo pacman -S sddm-theme-deepin-git
|
sudo pacman -S sddm-theme-deepin-git
|
||||||
sddm-greeter --test-mode --theme /usr/share/sddm/themes/deepin/
|
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/
|
||||||
|
```
|
||||||
|
@ -1 +1,2 @@
|
|||||||
sddm theme loads without errors (sddm does not fallback to default theme)
|
sddm theme loads without errors (sddm does not fallback to default theme)
|
||||||
|
qtvirtualkeyboard InputMethod works
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
[Theme]
|
[Theme]
|
||||||
# -> ls /usr/share/sddm/themes
|
|
||||||
# For example "breeze" which is part of package "plasma-workspace"
|
|
||||||
Current=Nordic
|
Current=Nordic
|
Loading…
Reference in New Issue
Block a user