From: gfp <gfp@posteo.at>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: help-guix@gnu.org
Subject: Re: finding the right path
Date: Tue, 19 Nov 2024 21:04:40 +0000 [thread overview]
Message-ID: <3b5afc10-f178-4621-99d0-53a23ed11d08@posteo.at> (raw)
In-Reply-To: <87bjybc8y1.fsf@lease-up.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2013 bytes --]
Hi Felix,
thanks for help
I find gs installed in:
gfp@Tuxedo ~$ which gs
/home/gfp/.guix-profile/bin/gs
and in:
guix package --list-installed
ghostscript 9.56.1 out
/gnu/store/1v8zfc3k0y9r24m0cjbsxhnggkllfmbc-ghostscript-9.56.1
gv 3.7.4 out
/gnu/store/yhpm5azbp7l6llyl2w9nnh4iq1m3lj2q-gv-3.7.4
Is this the right way to write it:
(require 'printing)
(setq pr-path-alist
'((unix "." "/home/gfp/.guix-profile/bin" ghostview mpage PATH)
(ghostview "/home/gfp/.guix-profile/bin/gsview-dir")
(mpage "/home/gfp/.guix-profile/bin/mpage-dir")
))
this was the old way:
;;'((unix "." "~/bin" ghostview mpage PATH)
;; (ghostview "$HOME/bin/gsview-dir")
;; (mpage "$HOME/bin/mpage-dir")
I don´t find the file: "gsview-dir" and "mpage-dir"
thanks
Gottfried
Am 19.11.24 um 20:36 schrieb Felix Lechner:
> Hi Gottfried,
>
> On Tue, Nov 19 2024, gfp wrote:
>
>> It says, you do need to install ghostscript.
>
> Most immediately, I think you can just use 'guix install gs'. A list of
> installed packages may be available via
>
> guix package --list-installed'
>
> The functional way, however, is to "declare" your packages in a file.
> For system packages, that's the system configuration. The same idea
> works for your personal packages; i's called a "home" configuration.
>
> Here, the word "home" refers to your home folder.
>
>> What are the commands to find out where I installed a package?
>
> The only way I know is `which gs` and then follow the symbolic links.
>
> Kind regards
> Felix
>
> P.S. The symbolic links make Guix special among Linux distributions. If
> you understand how they work, you are a Guix expert!
>
> P.P.S. Use "C-h R" in Emacs and use 'i' to search in the 'guix' manual.
> It helps to have Vertico installed, or something comparable.
--
Mit freundlichen Grüßen
G. Preihs
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
prev parent reply other threads:[~2024-11-19 21:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 16:01 finding the right path gfp
2024-11-19 15:04 ` Felix Lechner via
2024-11-19 17:31 ` gfp
2024-11-19 19:36 ` Felix Lechner via
2024-11-19 21:04 ` gfp [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b5afc10-f178-4621-99d0-53a23ed11d08@posteo.at \
--to=gfp@posteo.at \
--cc=felix.lechner@lease-up.com \
--cc=help-guix@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.