GNU bug report logs -
#23106
rxvt-unicode is missing .desktop file(s)
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#23106: rxvt-unicode is missing .desktop file(s)
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 23106 <at> debbugs.gnu.org.
--
23106: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23106
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
On Sat, Feb 11, 2017 at 07:26:45PM +0000, contact.ng0 <at> cryptolab.net wrote:
> From: ng0 <contact.ng0 <at> cryptolab.net>
>
> This fixes <https://bugs.gnu.org/23106>.
>
> * gnu/packages/xdisorg.scm (rxvt-unicode)[arguments]: Use
> 'modify-phases'.
> Add 'install-desktop-urxvt' and 'install-desktop-urxvtc' phase.
Pushed, thanks!
[Message part 3 (message/rfc822, inline)]
urxvt / rxvt-unicode has no .desktop files in Guix and therefore
does not show up in application menus like GNOME provides.
Whoever wants to fix it faster than I do (currently occupied with
psyced related packages), here is my work in progress part of the
rxvt-unicode package.
.desktop files can be found in the source dir of gentoo and
archlinux
(https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/rxvt-unicode)
Code below has not been tested, it may need some fixes, and we
need at least 3 like in archlinux.
(arguments
;; This sets the destination when installing the necessary terminal
;; capability data, which are not provided by 'ncurses'. See
;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
'(#:make-flags
(list (string-append "TERMINFO="
(assoc-ref %outputs "out")
"/share/terminfo"))
#:phases
(modify-phases %standard-phases
(add-after
'install 'install-desktop
(lambda _
(let ((desktop (string-append %output "/share/applications")))
(mkdir-p desktop)
(call-with-output-file
(string-append desktop "/urxvt.desktop")
(lambda (port)
(format port "~
[Desktop Entry]~@
Name=~a~@
Comment=~a~@
TryExec=~a/bin/urxvt~@
Exec=~a/bin/urxvt~@
Icon=terminal~@
Type=Application~@
Categories=GNOME;GTK;Utility;TerminalEmulator;System;~@
StartupNotify=true~%" ,name ,synopsis %output)))))))))
--
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/EDN
This bug report was last modified 8 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.