Added supported-service keyboard-layout to allow for better working Qube Manager
references QubesOS/qubes-issues#6030
This commit is contained in:
parent
e6186239ef
commit
7fa468eb0c
3
Makefile
3
Makefile
@ -16,6 +16,9 @@ install:
|
||||
install -d $(DESTDIR)/usr/bin
|
||||
ln -sf qvm-start-daemon $(DESTDIR)/usr/bin/qvm-start-gui
|
||||
install -m 0755 scripts/qubes-guivm-session $(DESTDIR)/usr/bin/
|
||||
install -d $(DESTDIR)/etc/qubes/post-install.d
|
||||
install -m 0755 scripts/30-keyboard-layout-service.sh \
|
||||
$(DESTDIR)/etc/qubes/post-install.d/30-keyboard-layout-service.sh
|
||||
|
||||
clean:
|
||||
rm -rf test-packages/__pycache__ qubesadmin/__pycache__
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -25,6 +25,9 @@ override_dh_auto_install:
|
||||
install -d debian/qubes-core-admin-client/usr/share/man/man1
|
||||
install -m 0644 build/man/* \
|
||||
debian/qubes-core-admin-client/usr/share/man/man1/
|
||||
install -d debian/qubes-core-admin-client/etc/qubes/post-install.d
|
||||
install -m 0755 scripts/30-keyboard-layout-service.sh \
|
||||
debian/qubes-core-admin-client/etc/qubes/post-install.d/30-keyboard-layout-service.sh
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean -O--buildsystem=pybuild
|
||||
|
@ -67,7 +67,7 @@ make -C doc DESTDIR=$RPM_BUILD_ROOT \
|
||||
%files -n python%{python3_pkgversion}-qubesadmin
|
||||
%{python3_sitelib}/qubesadmin-*egg-info
|
||||
%{python3_sitelib}/qubesadmin
|
||||
|
||||
/etc/qubes/post-install.d/30-keyboard-layout-service.sh
|
||||
|
||||
%changelog
|
||||
@CHANGELOG@
|
||||
|
3
scripts/30-keyboard-layout-service.sh
Normal file
3
scripts/30-keyboard-layout-service.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
qvm-features-request supported-feature.keyboard-layout=1
|
Loading…
Reference in New Issue
Block a user