mauseinstellung hinzugefügt

This commit is contained in:
2026-01-26 18:02:39 +01:00
parent 96f523b4df
commit de89a7ab68
7 changed files with 452 additions and 5 deletions
+1 -1
View File
@@ -50,4 +50,4 @@ base_packages:
- numlockx
- cups
- system-config-printer
- xfce4-settings
- bc
+3 -1
View File
@@ -3,7 +3,9 @@
#thin-client-02 ansible_host=192.168.0.29
#thin-client-03 ansible_host=192.168.0.23
#thin-client-04 ansible_host=192.168.0.32
thin-client-05 ansible_host=192.168.0.37
#thin-client-05 ansible_host=192.168.0.37
thin-client-06 ansible_host=192.168.0.37
#thin-client-07 ansible_host=192.168.0.37
[rdp_clients:vars]
ansible_user=root
#ansible_ssh_private_key_file=~/.ssh/id_rsa
+63 -3
View File
@@ -201,6 +201,9 @@
# Start USB automount (udiskie)
udiskie --tray --automount --notify &
# Wende gespeicherte Mauseinstellungen an
/usr/local/bin/apply-mouse-settings.sh &
# Start RDP Launcher
/usr/local/bin/rdp-launcher.sh &
@@ -223,6 +226,11 @@
<command>blueman-manager</command>
</action>
</item>
<item label="Fernwartung (RustDesk)">
<action name="Execute">
<command>rustdesk</command>
</action>
</item>
<item label="Datei Manager">
<action name="Execute">
<command>pcmanfm</command>
@@ -237,9 +245,10 @@
<action name="Execute"><execute>system-config-printer</execute>
</action>
</item>
<item id="mouse" label="Maus">
<action name="Execute"><execute>system-config-printer</execute>
</action>
<item id="mouse" label="Mauseinstellungen">
<action name="Execute">
<command>/usr/local/bin/mouse-settings.py</command>
</action>
</item>
<menu id="display-menu" label="Anzeigeeinstellungen">
<item label="Anzeige konfigurieren">
@@ -367,6 +376,30 @@
dest: /usr/local/bin/rdp-launcher.sh
mode: '0755'
- name: Copy Mouse Settings Tool
copy:
src: ../files/mouse-settings.py
dest: /usr/local/bin/mouse-settings.py
mode: '0755'
- name: Copy Mouse Settings Startup Script
copy:
src: ../files/apply-mouse-settings.sh
dest: /usr/local/bin/apply-mouse-settings.sh
mode: '0755'
- name: Copy Mouse Debug Tool
copy:
src: ../files/mouse-debug.sh
dest: /usr/local/bin/mouse-debug.sh
mode: '0755'
- name: Copy Mouse Test Tool
copy:
src: ../files/mouse-test.sh
dest: /usr/local/bin/mouse-test.sh
mode: '0755'
# === BRANDING ===
- name: Check if branding files exist
stat:
@@ -554,6 +587,33 @@
insertafter: '^fi'
when: branding_check.stat.exists
# === RUSTDESK REMOTE SUPPORT ===
- name: Check if RustDesk is already installed
command: dpkg-query -W rustdesk
register: rustdesk_check
failed_when: false
changed_when: false
- name: Download RustDesk package
get_url:
url: https://github.com/rustdesk/rustdesk/releases/download/1.3.6/rustdesk-1.3.6-x86_64.deb
dest: /tmp/rustdesk.deb
mode: '0644'
when: rustdesk_check.rc != 0
- name: Install RustDesk
apt:
deb: /tmp/rustdesk.deb
state: present
when: rustdesk_check.rc != 0
ignore_errors: yes
- name: Remove RustDesk package file
file:
path: /tmp/rustdesk.deb
state: absent
when: rustdesk_check.rc != 0
# === CLEANUP ===
- name: Remove unnecessary packages
apt: