unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Hamzeh Nasajpour" <h.nasajpour@pantherx.org>
To: 45267@debbugs.gnu.org
Subject: bug#45267: Using gnome-keyring and LXQt as Desktop Environment
Date: Wed, 16 Dec 2020 15:31:48 +0330	[thread overview]
Message-ID: <a96e8adb-f768-425f-a603-7a9905da43c3@www.fastmail.com> (raw)

Hi guys,

I want to install `gnome-keyring` service on my system. I'm using the LXQt as Desktop Environment. I had an issue for integrating ssh-agent with `gnome-keyring` and I noticed I should update this line in `desktop`  files of `gnome-keyring`:
```
OnlyShowIn=GNOME;Unity;MATE;
```

to 

```
OnlyShowIn=GNOME;Unity;MATE;LXQt;
```

So I re-packaged the `gnome-keyring` as follow:
```
(define-public gnome-keyring-modified
  (package
    (inherit gnome-keyring)
    (name "gnome-keyring-modified")
      (arguments
    (substitute-keyword-arguments (package-arguments gnome-keyring)
        ((#:phases phases)
          `(modify-phases ,phases
             (add-after 'unpack 'patch-desktop-files
              (lambda _
                (substitute* '("daemon/gnome-keyring-secrets.desktop.in.in")
                  (("OnlyShowIn=GNOME;Unity;MATE;") "OnlyShowIn=GNOME;Unity;MATE;LXQt;"))
                (substitute* '("daemon/gnome-keyring-pkcs11.desktop.in.in")
                  (("OnlyShowIn=GNOME;Unity;MATE;") "OnlyShowIn=GNOME;Unity;MATE;LXQt;"))
                (substitute* '("daemon/gnome-keyring-ssh.desktop.in.in")
                  (("OnlyShowIn=GNOME;Unity;MATE;") "OnlyShowIn=GNOME;Unity;MATE;LXQt;"))
                #t))))))))
```

The above package definition is ok and works, but since I want to use the `gnome-keyring` as service I should update `gnome-keyring-configuration` in my system configuration, so I'm using this config:
```
...
         (service gnome-keyring-service-type
                  (gnome-keyring-configuration
                   (keyring gnome-keyring-modified)
                   (pam-services '(("passwd" . passwd)
                                   ("sddm" . login)))))
...
```

Now I reconfigured the system successfully, but `gnome-keyring` service is using the default `gnome-keyring`, not `gnome-keyring-modified` package, while I set the `keyring` to `gnome-keyring-modified`. 

Do you have any idea?


--

Hamzeh Nasajpour
PantherX Team




             reply	other threads:[~2020-12-16 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 12:01 Hamzeh Nasajpour [this message]
2020-12-18 13:27 ` bug#45267: Using gnome-keyring and LXQt as Desktop Environment Leo Prikler

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=a96e8adb-f768-425f-a603-7a9905da43c3@www.fastmail.com \
    --to=h.nasajpour@pantherx.org \
    --cc=45267@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).