paequ2

joined 5 months ago
[–] paequ2@lemmy.today 13 points 1 day ago (4 children)

I didn't do it!

[–] paequ2@lemmy.today 10 points 1 day ago (1 children)

A privacy-focused operating system may seem more trouble than it’s worth. But when I replaced Google’s Pixel OS with GrapheneOS, I found it to be a transformative experience. For one, the installation was painless, and I didn’t lose any modern software features. Installing aftermarket operating systems used to equal a compromised smartphone experience, but I didn’t find that to be true in the case of GrapheneOS.

Case in point: even though GrapheneOS doesn’t include any Google services, I was surprised to find that you can install the Play Store with relative ease and almost all apps work flawlessly — even most banking ones.

Oh, nice. This sounds promising! I'm adding it to my list: [guix, emacs, graphene]

 

I went Obsidian → Logseq → Emacs.

10
Emacs: Org mode basics (www.youtube.com)
submitted 4 days ago* (last edited 4 days ago) by paequ2@lemmy.today to c/emacs@lemmy.ml
 

I'm trying to learn Emacs again. This time it's going better! I'm starting to learn the nitty gritty details about Org mode. This video is great!

Previously, my only experience with Org mode was watching my coworker do cool magic stuff with it.

Also this video on TODO: https://www.youtube.com/watch?v=L0EJeN1fCYw

[–] paequ2@lemmy.today 1 points 4 days ago* (last edited 4 days ago) (1 children)

share with him guix manifest

Aaaah: https://guix.gnu.org/manual/devel/en/html_node/Writing-Manifests.html

# Write a manifest for the packages specified on the command line.
guix shell --export-manifest gcc-toolchain make git > manifest.scm

Heck yeah!

[–] paequ2@lemmy.today 4 points 4 days ago (1 children)

Uh, sorry. I don't follow. Is there a way to tell all programs to write to one file in Guix?

[–] paequ2@lemmy.today 12 points 4 days ago (7 children)

I'm in Guix Linux land right now and I miss journald. I'm supposed to wade through all the log files in /var/log myself??

[–] paequ2@lemmy.today 2 points 5 days ago

So while I almost exclusively use the command line, I do it all from within the Emacs GUI.

That's good to hear. Normally, I have a bunch of file and terminal buffers open in Vim and work across all of them—and stay in Vim the whole time. (Well, unless I need something like a browser.)

Sounds like this is definitely possible in Emacs. Good! I was scared for a moment because I thought I would have to... gasps alt-tab between Emacs and my terminal.

[–] paequ2@lemmy.today 1 points 5 days ago

Btw, here's how you configure HiDPI for GNOME. Unfortunately, my laptop has a hydeepeeay display, so it's not fully compatible with Linux. (It's 3840x2160, so at least 2x scaling is possible, hypothetically.)

Commands from the Arch Wiki, but also adds cursor scaling:

$ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}, {'Gtk/CursorThemeSize', <48>}]"
$ gsettings set org.gnome.desktop.interface scaling-factor 2

The default GNOME configuration is some how missing that. I didn't have to do that in Arch, but I do in Guix. IDK. Anyway, if you don't run those commands certain apps will be tiny, including a tiny mouse cursor.

[–] paequ2@lemmy.today 1 points 5 days ago (4 children)

Oooooh, ok. Thanks for breaking that down.

What about Emacs GUI vs Emacs TUI? Do people run Emacs as a terminal app? Or is the typical way of running Emacs as a GUI app? How's the shell integration with the GUI app? Normally, I like staying in the terminal.

[–] paequ2@lemmy.today 1 points 5 days ago* (last edited 5 days ago)

Btw, here's how you install distrobox on Guix.

First, install rootless Podman: https://guix.gnu.org/manual/devel/en/html_node/Miscellaneous-Services.html#Rootless-Podman-Service.

You need to edit your /etc/config.scm or where ever you store your system config. Import the right modules/services, add your user to cgroup, add iptables-service-type to your services, add rootless-podman-service-type and configure it.

(use-service-modules containers networking …)
(use-modules (gnu system accounts))  ;for 'subid-range'

(operating-system
  ;; …
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "cgroup" group
                ;; makes it possible to run podman commands.
                (supplementary-groups '("cgroup" "wheel"
                                        "audio" "video")))
               %base-user-accounts))
  (services
    (append (list (service iptables-service-type)
                  (service rootless-podman-service-type
                           (rootless-podman-configuration
                             (subgids
                               (list (subid-range (name "alice"))))
                             (subuids
                               (list (subid-range (name "alice")))))))
            %base-services)))

Then of course you run guix system reconfigure /etc/config.scm.

Now you can do a simple guix install distrobox. If you install distrobox first, you don't end up using rootless podman and you run into more problems that way. (You have to use distrobox --root.)

After that command, everything should work like normal. Enjoy. 🍻

distrobox create --image docker.io/library/archlinux:latest --name arch-dev
distrobox enter arch-dev
[–] paequ2@lemmy.today 1 points 5 days ago

Btw, here's the guix home configuration file I used to add the contents of flatpak.sh into my ~/.profile, in order to update the XDG_DATA_HOME env var.

(use-modules (gnu home)
             (gnu home services shells)
             (guix gexp)
             (gnu services))

(home-environment
  (services
    (list
      (simple-service 'flatpak-service
                      home-shell-profile-service-type
                      (list (local-file
                              (string-append (getenv "HOME") "/.guix-profile/etc/profile.d/flatpak.sh")
                              "flatpak.sh"))))))
[–] paequ2@lemmy.today 1 points 5 days ago (5 children)

guix shell and guix shell container for dev environment isolation

Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.

Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use guix shell for this, right? Great.

Now if a friend wanted to work on the project, could I share my guix shell configuration with him? (Assuming he's also a Guix user.)

I'm currently using distrobox.ini plus distrobox assemble for this kind of workflow, but of course this isn't totally reproducible.

 

I've always been curious about Emacs, but haven't been able to learn it.

This playlist looks promising, but ufff each video is like 1 hour and most of the video is just random chatting because it's a live stream...

Does anyone know any better video series? Something structured and to the point?

 

cross-posted from: https://lemmy.today/post/33048676

Trying out Guix for the first time! Waiting for packages to download.

I'm a long time Arch user. Any tips?!

I've heard there aren't as many packages for Guix as other distros, but I was thinking Flatpak and distrobox will help bridge the gap for me.

 

I'm trying to install some Flatpak apps on my newly installed Guix system.

I found this link https://flatpak.org/setup/GNU%20Guix which says I should these commands.

$ guix install flatpak
$ flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

After running those commands, I restarted my computer, just to be safe.

Then I logged into GNOME again and noticed I did not have GNOME software center installed. Normally that's how I install Flatpaks...

I tried installing some stuff through the CLI with this command.

$ flatpak install --user flathub com.logseq.Logseq

and that seems to have worked, but Logseq isn't showing up in my app launcher.

I can manually launch it with flatpak run com.logseq.Logseq, but it would be great if I could launch it from the normal app launcher.

So... are flatpaks supported in Guix? Or am I missing some configuration?

 
 

Trying out Guix for the first time! Waiting for packages to download.

I'm a long time Arch user. Any tips?!

I've heard there aren't as many packages for Guix as other distros, but I was thinking Flatpak and distrobox will help bridge the gap for me.

 

Hello! How are folks self-hosting online storage, similar to Google Drive?

Some options I've found:

A bunch more: https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#file-transfer---web-based-file-managers

I mainly just need basic file management features. I don't plan to share files outside of my tailscale VPN. I do need to support multiple users though.

I'm not considering Nextcloud because that seems too big. I'm also not considering syncthing for this project because I don't want copies on multiple devices.

I'm currently just using ssh+nautilus and that's worked great for just me, but something similar to Google Drive would be easier to onboard my family.

 

Hello!

Thanks for lemmy.today. 🙇 It's great!

Mainly I was just wondering: is it normal for one's lemmy account to slow down as the number of subs goes up? Currently, I'm subbed to almost 200 communities. When I load my home page at lemmy.today, the page always loads in almost 10 seconds.

My home page is set to Subscribed and Hot.

Does anyone know if there's anything I can do to decrease the homepage load time?

 

I've been looking for content to watch in Spanish. Unfortunately, I can't always find what I'm looking for on torrent sites. However, I have noticed that sometimes the content I'm interested in is on a streaming site, but they don't offer downloads.

Are there any guides for downloading streams?

One thing I recently learned is that some (all?) of those streaming sites use HTTP Live Streaming. Apparently, I just need to find the URL for the master .m3u8 file? Then I can point yt-dlp to that URL to download all of the segments.

One obstacle to this approach is that a lot of these sites (all?) add a debugger trap thingy in order to deter the use of browser devtools.

Also, I didn't realize VLC can play .m3u8 streams, so you can verify the link there first.

Is there a more standard approach here? I feel like I'm fumbling my way through this.

view more: next ›