create fvs-menu in starter

This commit is contained in:
Raphael Dannecker 2023-07-22 13:59:53 +02:00
parent b7a0c9fa30
commit 57c5e35c57
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Directory
Name=FvS
Icon=face-smile-big
#X-KDE-BaseGroup=info

View file

@ -0,0 +1,12 @@
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Menu>
<Name>FvS</Name>
<Directory>fvs.directory</Directory>
<Include>
<Category>fvs</Category>
</Include>
</Menu>
</Menu>

View file

@ -2,6 +2,7 @@
- name: install desktop EDU packages and some more
apt:
name:
- atftp
- thunderbird-l10n-de
- webext-privacy-badger
- webext-ublock-origin-firefox
@ -48,6 +49,7 @@
- pulseview
- sigrok
- sigrok-cli
- codeblocks
state: latest
environment:
http_proxy: http://firewall.pn.steinbeis.schule:3128
@ -128,6 +130,35 @@
AllowSuspendThenHibernate=no
AllowHybridSleep=no
- name: Create directory for local .desktop-Files
ansible.builtin.file:
path: "{ item }"
state: directory
mode: '0755'
loop:
- /usr/local/share/applications
- /usr/local/share/desktop-directories
- name: Copy fvs.directory
ansible.builtin.copy:
src: fvs.directory
dest: /usr/local/share/desktop-directories/
- name: Copy fvs.menu
ansible.builtin.copy:
src: fvs.menu
dest: /etc/xdg/menus/applications-merged/
- name: Run update-desktop-database
command: update-desktop-database "{ item }"
loop:
- /usr/local/share/applications
- /usr/local/share/desktop-directories
- /etc/xdg/menus/applications-merged
- name: Run update-desktop-database
command: sync-vm.sh -t
################# from kiosk.yml ##################
- name: grub timeout
lineinfile: