Re: How Configure Guix to use Pipewire

2022-02-26 Thread Brendan Tildesley
A Pipewire service hasn't been added yet. I started working on one
a while ago but haven't got around to finishing it.
Pipewire is a user service, so if you disable pulseaudio and run
Pipewire from a terminal you may be able to get it running manually.

I'll have another go at making the Pipewire service soon. The last
issue I ran into is that since Guix doesn't use systemd, there is
no socket activation support that Pipewire can use, so I wasn't sure
how to launch it.



Re: Declare swap partition in config

2022-02-26 Thread Tobias Geerinckx-Rice

On 2022-02-27 0:38, Antwane Mason wrote:

TYPE="swsuspend"


You can only swapon(2) swap partitions.  Run

  $ sudo mkswap /dev/nvme0n1p4

and reboot, and it should work just fine.

swapon(8) does a lot more than merely call swapon(2), including 
overwriting any SWSUSPEND signature[0].


Guix does not do this.

It could, either at the expense of code manually kept in sync with 
util-linux, or by embedding a copy swapon(8) in the initrd, enlarging 
it.


Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.

[0]: 
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/sys-utils/swapon.c#n371




Re: Declare swap partition in config

2022-02-26 Thread Antwane Mason
For some reason, my guix system is not detecting my swap partition despite
it being configured in my config. However, performing swapon directly does
activity the partition. Is there an issue in my configuration? I am using
the newer "swap-space" data structure for swap due to generating it from
the installer a week ago.

Here is my swap device name and uuid from blkid:

/dev/nvme0n1p4: UUID="b7c057f7-c090-4a09-a94b-f92e66bdaebc"
TYPE="swsuspend" PARTUUID="65db7a7a-62bf-42de-b1c4-094e9fac6090"

Here is my swap-devices value for my config:

(swap-devices
(list (swap-space
(target
  (uuid "b7c057f7-c090-4a09-a94b-f92e66bdaebc")

Regards,
Antwane


Re: Android Device Mounting Detection with GVFS Help

2022-02-26 Thread Tobias Geerinckx-Rice

Jaft,

Not quite equivalent to GVFS/udisks (for me that's a feature), but I'm 
very happy with jmtpfs.


Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.



Re: Android Device Mounting Detection with GVFS Help

2022-02-26 Thread Jaft via
 Hmm; that's unfortunate. I can't say I've noticed any of the other behavior 
(thankfully?) but not recognizing my phone's definitely been an obvious one. 
Heh, I suppose it's all the more disappointing as I seem to've gotten close.
Have you been using an alternative to GVFS (I know some people use udiskie, 
instead)? Or just tolerating the bugginess?
On Monday, February 21, 2022, 07:08:57 PM CST, raingloom 
 wrote:  
 
 On Mon, 14 Feb 2022 11:19:29 + (UTC)
Jaft via  wrote:

> I dunno if anyone might have any suggestions but I've been trying to
> get my Android phone get detected. I'm using GVFS and Thunar; full
> details of what I originally tried are at
> https://www.reddit.com/r/GUIX/comments/s55e8m/smartphone_detection_with_gvfs/
> but the short of it is that I noticed that the 69-libmtp.rules file
> that Guix installs differed from my Debian machine so I added a
> udev-rules-service that added all the devices that were in the Debian
> file and found the device was recognized, now, but trying to click on
> it or mount it still resulted in the error "No mtp devices found."
> 
> Someone on the IRC channel recommended trying android-udev-rules so I
> did; this resulted in the phone not getting recognized, when plugged
> in, by Thunar, again – but it was able to be recognized as a
> connected device by adb. I've attached my system config. file, so
> it's clear to see what the setup I've tried is; I have no idea what
> else to try (if there's anything else even to try) but thanks for any
> help!

GVFS in general seems extremely buggy, but especially on Guix. If you
manage to figure this out I'd be very interested.
Other fun GVFS related issues include:
- sometimes mounts just plain don't show up (no /run/user/$UID/gvfs
  entry)
- removable drives only show up once you've run fstab --list on them.
  they can be mounted with udiskctl, but they aren't visible in
  Nautilus.
- incorrect handling of symlinks can lead to data loss, bug has been
  known for years and no workaround or fix exists.
  


Re: Emacs

2022-02-26 Thread Dr. Arne Babenhauserheide
Hallo Gottfried,

Die Werkzeugleiste und Teile der Menüleiste könnte ich übersetzt
bekommen. Der Prototyp funktioniert aber noch nicht so richtig gut.

Die Haupt-Einträge im Menü (File → Datei, usw.) sind einfach zu machen —
würde dir das schon helfen?

Liebe Grüße,
Arne

Gottfried  writes:

>   Für die grundlegende Arbeit brauchst du nicht   viel.   
>   Das meiste ist sogar
>   in der Toolbar als Icons verfügbar.
>
> Genau das,meine ich. Die Werkzeugleiste mit allen Symbolen/Icons würde
> ich gerne auf deutsch haben nicht auf englisch, damit ich überhaupt
> weiß worum es geht.
>
> Wenn Du fähig bis, könntest Du ein Programm schreiben um eine deutsche
> Emacs Oberfläche /ich meine Werkzeugleiste etc zu bekommen, dann wäre 
> der Einstieg in Emacs um einiges leichter.
>
> gottfried
>
>
>
>
> Am 24.02.22 um 23:20 schrieb Dr. Arne Babenhauserheide:
>> Gottfried  writes:
>>> leider gibt es bei Guix fast nur Programme in Englisch, wenn man sie
>>> installiert, dann ist die Benutzeroberfläche in Englisch.
>> Das stimmt leider. Hätte ich auch gerne anders.
>> 
>>> Wenn ich ein neues Programm wie Emacs lernen will, dann will ich mich
>>> nicht mit einem englischen Menü herumschlagen, von dem ich wenig
>>> verstehe. Dann habe ich doppelt soviel zu lernen.
>> Für die grundlegende Arbeit brauchst du nicht viel. Das meiste ist
>> sogar
>> in der Toolbar als Icons verfügbar.
>> Liebe Grüße,
>> Arne


-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature