Skip to content

Commit

Permalink
Add a nicer icon to vm settings
Browse files Browse the repository at this point in the history
the icon will be consistent with the menu icon (see discussion
at QubesOS/qubes-desktop-linux-menu#46 )
  • Loading branch information
marmarta committed Jun 25, 2024
1 parent 272d7f5 commit c1d057a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ install:
for icon in icons/*.png; do \
gm convert -resize 48 $$icon $(DESTDIR)/usr/share/qubes/$$icon; \
done
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
cp icons/*.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/

### Appmenus
# force /usr/bin before /bin to have /usr/bin/python instead of /bin/python
PATH="/usr/bin:$$PATH" $(PYTHON) setup.py install $(PYTHON_PREFIX_ARG) -O1 --skip-build --root $(DESTDIR)
Expand Down
1 change: 1 addition & 0 deletions debian/qubes-desktop-linux-common.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ usr/bin/qvm-appmenus
usr/bin/qvm-xkill
usr/bin/qvm-sync-appmenus
usr/share/qubes/icons/*.png
usr/share/icons/hicolor/scalable/apps/qubes-vm-settings.svg
usr/lib/python3/dist-packages/qubesappmenus/*
usr/lib/python3/dist-packages/qubesdesktop-*.egg-info/*
usr/lib/python3/dist-packages/qubesappmenusext/*
Expand Down
15 changes: 15 additions & 0 deletions icons/qubes-vm-settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion qubesappmenus/qubes-vm-settings.desktop.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version=1.0
Type=Application
TryExec=qubes-vm-settings
Exec=qubes-vm-settings -- %VMNAME%
Icon=qubes-appmenu-select
Icon=qubes-vm-settings
Terminal=false
Name=%VMNAME%: Qube Settings
GenericName=%VMNAME%: Qube Settings
Expand Down
1 change: 1 addition & 0 deletions rpm_spec/desktop-linux-common.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ fi
/etc/qubes-rpc/qubes.UpdateAppMenusFor
/etc/qubes-rpc/qubes.RemoveAppMenusFor
/usr/share/qubes/icons/*.png
/usr/share/icons/hicolor/scalable/apps/qubes-vm-settings.svg
/usr/bin/qvm-sync-appmenus
/usr/bin/qvm-appmenus

Expand Down

0 comments on commit c1d057a

Please sign in to comment.