On Tue, 03 Dec 2013 14:10:31 -0600, Guy Streeter wrote:
i tested it on fc20 with mate desktop and i have few notes:
placed in menu under 'Applications/Other' instead of 'Application/System
tools' as it is something used for system tuning or under 'System/
Administration' as it requires root privileges.
following need to be added to have Icon and placed under correct menu:
Icon=preferences-desktop
Categories=System;Settings;
From f7747d9f2ec9fbf416866907d69572f3e86a79b5 Mon Sep 17 00:00:00 2001
From: Guy Streeter <streeter at redhat.com>
Date: Tue, 3 Dec 2013 14:04:06 -0600 Subject: [PATCH] Add a tuna.desktop
file, so the tuna GUI can be started from
the desktop.
Signed-off-by: Guy Streeter
<streeter at redhat.com>
---
rpm/SPECS/tuna.spec | 2 ++
tuna.desktop | 6 ++++++
2 files changed, 8 insertions(+)
create mode 100644 tuna.desktop
diff --git a/rpm/SPECS/tuna.spec b/rpm/SPECS/tuna.spec index
9393df6..105a4ee 100644 --- a/rpm/SPECS/tuna.spec +++
%{buildroot}/%{_mandir}/man8/
install -p -m644 etc/tuna/example.conf
%{buildroot}/%{_sysconfdir}/tuna/ install -p -m644 etc/tuna.conf
%{buildroot}/%{_sysconfdir}/
install -p -m644 org.tuna.policy
%{buildroot}/%{_datadir}/polkit-1/actions/
+desktop-file-install --dir=%{buildroot}/%{_datadir}/applications
tuna.desktop
# l10n-ed message catalogues for lng in `cat po/LINGUAS`; do
@@ -89,6 +90,7 @@ rm -rf %{buildroot}
%{_sysconfdir}/tuna.conf %{_sysconfdir}/tuna/*
%{_datadir}/polkit-1/actions/org.tuna.policy
+%{_datadir}/applications/tuna.desktop
%files -n oscilloscope %defattr(-,root,root,-)
diff --git a/tuna.desktop b/tuna.desktop new file mode 100644 index
+[Desktop Entry]
+Name=tuna +GenericName=Application Tuner +Exec=tuna --gui
+Type=Application +Terminal=false