Package: rxvt-unicode
Version: 9.18-3
I can't use rxvt with unity very well because by default it does lack
the required .desktop files in /usr/share/applications. This patch seeks
to address that.
>From a03ff85fae8c328c5c6167382bde7980885d584f Mon Sep 17 00:00:00 2001
From: James M Leddy <jm.le...@gmail.com>
Date: Wed, 25 Sep 2013 17:20:01 -0400
Subject: [PATCH] Added .desktop files so that we work with window managers
like Gnome and Unity
---
debian/changelog | 7 +++++++
debian/rules | 3 ++-
debian/rxvt-unicode.desktop | 16 ++++++++++++++++
3 files changed, 25 insertions(+), 1 deletion(-)
create mode 100644 debian/rxvt-unicode.desktop
diff --git a/debian/changelog b/debian/changelog
index 262970d..762451a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rxvt-unicode (9.18-4) unstable; urgency=low
+
+ * Added .desktop files so that we work with window managers like Gnome
+ and Unity
+
+ -- James M Leddy <james.le...@canonical.com> Wed, 25 Sep 2013 17:12:30 -0400
+
rxvt-unicode (9.18-3) unstable; urgency=low
* Tabbed extension now works with Perl 5.18 (Closes: #721456),
diff --git a/debian/rules b/debian/rules
index 493aa50..e579968 100755
--- a/debian/rules
+++ b/debian/rules
@@ -125,7 +125,7 @@ build-stamp: config.status
dh_testdir
mkdir -p tmp
- dh_installdirs -A usr/bin etc/X11/app-defaults usr/share/pixmaps
+ dh_installdirs -A usr/bin etc/X11/app-defaults usr/share/pixmaps /usr/share/applications
set -e; \
for x in unicode unicode-256color unicode-lite; do \
@@ -147,6 +147,7 @@ build-stamp: config.status
ln -sf urxvt.1.gz $$y/usr/share/man/man1/rxvt-unicode.1.gz; \
chrpath -d $$y/usr/bin/*; \
install -m644 debian/*.xpm $$y/usr/share/pixmaps; \
+ install -m644 debian/*.desktop $$y/usr/share/applications; \
install -m755 debian/urxvtcd $$y/usr/bin; \
install -m644 debian/urxvtcd.1 $$y/usr/share/man/man1; \
gzip -9 $$y/usr/share/man/man1/urxvtcd.1; \
diff --git a/debian/rxvt-unicode.desktop b/debian/rxvt-unicode.desktop
new file mode 100644
index 0000000..19ad3ed
--- /dev/null
+++ b/debian/rxvt-unicode.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Name=Rxvt Color Unicode Terminal
+Comment=Use the command line
+TryExec=urxvt
+Exec=urxvt
+Icon=urxvt_48x48.xpm
+Type=Application
+Categories=Utility;TerminalEmulator;
+StartupNotify=true
+Keywords=Run;
+Actions=New
+
+[Desktop Action New]
+Name=New Rxvt Color Unicode Terminal
+Exec=urxvt
+OnlyShowIn=Unity
--
1.8.3.2