From: Nils Gillmann <niasterisk@grrlz.net>
To: 23106@debbugs.gnu.org
Subject: bug#23106: rxvt-unicode is missing .desktop file(s)
Date: Thu, 24 Mar 2016 13:28:17 +0100 [thread overview]
Message-ID: <878u183vry.fsf@grrlz.net> (raw)
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
reply other threads:[~2016-03-24 12:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u183vry.fsf@grrlz.net \
--to=niasterisk@grrlz.net \
--cc=23106@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).