101
11
submitted 2 years ago by Ludrol@szmer.info to c/archlinux@lemmy.ml

I have failed my reading comprehension.

I can't find an answer in: https://wiki.archlinux.org/title/Arch_User_Repository or in search engine AI slop

sudo pacman -Syu cbonsai command can't find a package

102
8
submitted 2 years ago by erici@lemmy.sdf.org to c/archlinux@lemmy.ml

I'm thinking about switching to a Firefox fork as a web browser. Apart from Tor, they're all on AUR. I can't use Tor all the time.

Do you consider that a security risk that's worth worrying about? E.g. you could get a dodgy maintainer putting malware in it, as least theoretically.

103
9
submitted 2 years ago by Hichiro@jlai.lu to c/archlinux@lemmy.ml

Hello everyone,

I'm new to Linux (currently using EndeavourOS), and the journey has been... an adventure. But like Frodo carrying the One Ring, I'm struggling with Bluetooth. I can't get my headphones or mouse to connect. Meanwhile, my keyboard works thanks to a dedicated HP dongle, and my Xbox controller is running via a Windows-certified dongle (after summoning xone).

So, I ask you, wise wizards of Linux:

💍 Is there a single dongle to rule them all? One Bluetooth adapter to bind them, to pair them all, and in the darkness... not fail me?

❓ Why did everything work fine on Windows natively, while Linux demands multiple dongles? Even my Xbox controller (though occasionally possessed) worked without extra setup.

🔍 Can you recommend multiple Bluetooth dongle alternatives that work well on Linux? I try to avoid Amazon as much as possible, and finding good options elsewhere is a quest of its own.

If you have insights, fixes, or a dongle that truly rules them all, I’d really appreciate your guidance! 🧙‍♂️

Thanks in advance!

104
27
submitted 2 years ago by kooltechlord@lemm.ee to c/archlinux@lemmy.ml

From Wiki:

When PKGBUILDs receive enough community interest and the support of a Package Maintainer, they are moved into the extra repository (maintained by the Package Maintainers) <...>

So, librewolf package has 150 votes and librewolf-bin has 429 votes. And it's 6th most popular package in AUR (by "Popularity" metric). Why it still isn't in official repos?

I understand why things like yay or google-chrome isn't in official repos, but browsers like LibreWolf seems reasonable to include. Other browsers Brave, Zen, Ungoogled Chromium isn't in official repos too, but Vivaldi is.

105
42
submitted 2 years ago by infeeeee@lemm.ee to c/archlinux@lemmy.ml

Around two years ago, we've merged the [community] repository into [extra] as part of the git migration. In order to not break user setups, we kept these repositories around in an unused and empty state. We're going to clean up these old repositories on 2025-03-01.

On systems where /etc/pacman.conf still references the old [community] repository, pacman -Sy will return an error on trying to sync repository metadata.

The following deprecated repositories will be removed: [community], [community-testing], [testing], [testing-debug], [staging], [staging-debug].

Please make sure to remove all use of the aforementioned repositories from your /etc/pacman.conf (for which a .pacnew was shipped with pacman>=6.0.2-7)!

106
16
submitted 2 years ago* (last edited 2 years ago) by WebCoder49@floss.social to c/archlinux@lemmy.ml

It's both Valentine's Day and #iLoveFS Day today, so I'll share some of the Free Software applications that I have loved using in the past year:

* @EndeavourOS, @archlinux and @debian GNU/Linux;
* @kde Plasma Desktop and a lot of their apps, especially the Kate editor and Kontact suite;
* @libreoffice (Incredibly useful);
* @mozillaofficial Firefox (Linux and Android);
* @Mastodon and the @Tusky client (Tusky looks good, works well, and is feature-packed but accessible);

🧶1/2

107
5
submitted 2 years ago by Templa@beehaw.org to c/archlinux@lemmy.ml

Since a few days ago when I updated my system, I noticed that I was unable to paste anything while using Code - OSS. It seems an issue caused by the newer Electron version.

On the issue page there are a few solutions listed already.

I'm posting this in case someone is having the same issue and might be wondering what is going on.

108
19
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/archlinux@lemmy.ml
:: Remove make dependencies after install? [y/N] y

If I didn't remove make dependencies, would yay/pacman be smart enough to know the thing I am installing does not actually depend on them? It's a very nice feature of package managers that they track dependencies and can do things like remove "dangling" dependencies and I don't want to mess that up with some random dependencies needed only for a build. But I also don't want to install something every time I need to build lol.

So does yay and/or pacman know that the things I am installing don't actually depend on the make dependencies?


Solution: Keeping the make dependencies after install will not fool pacman and/or yay into thinking the make dependencies are "real" dependencies of whatever you're building from AUR. They both correctly recognize them as orphans (unless of course something else actually depends on them). So feel free to not remove them during install without worrying about dependency graphs getting tarnished; you'll be able to easily remove them later if you'd like.

109
10
submitted 2 years ago by donio@lemmy.world to c/archlinux@lemmy.ml

When the newly released sdl3 is installed it offers to replace sdl2 with sdl2-compat which is a compatibility wrapper around sdl3. Any experience with this wrapper? Are you a happy user? Have you run into any breakage?

110
9
submitted 2 years ago* (last edited 2 years ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hey guys, up to a few days ago it was working fine, i.e. it wouldn't go to sleep ever. But probably some update or something else changed and now after 13 minutes my pc goes to sleep.

I read the power management/suspend page in the arch wiki, and now have the following:

# /etc/systemd/sleep.conf
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

as well as:

# /etc/systemd/logind.conf
[Login]
HandleSuspendKey=suspend
IdleAction=ignore
IdleActionSec=0

(that last one I dont remember where I got it from)

I tried masking systemd targets, but after waiting without touching anything it still went to sleep after 12-13 minutes.

$ systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Notice in the command below I have xfce4-power-manager (though it looks different than on my laptop) but I dont see it in control of sleep itself, but rather upower and NetworkManager control sleep.

$ systemd-inhibit
WHO                 UID  USER PID  COMM            WHAT                                                                       WHY                                       MODE
NetworkManager      0    root 734  NetworkManager  sleep                                                                      NetworkManager needs to turn off networks delay
UPower              0    root 1149 upowerd         sleep                                                                      Pause device polling                      delay
xfce4-power-manager 1000 user 1053 xfce4-power-man handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch xfce4-power-manager handles these events  block

3 inhibitors listed.

I looked at the manual for upower as well as its wiki page but couldn't see anything about enabling/disabling/handling suspends in any way and after further reading it seems it doesn't directly handle suspends/hibernates, just informs stuff like systemd about power levels and such.

As for NetworkManager, does it really have the ability to force a suspend?

It gets really annoying when trying to watch a movie, or when I'm afk in a game but still want to keep an eye on it.

Can anyone please help me? Thanks in advance!

System info: Kernel: 6.12.10-arch1-1 DE/WM: bspwm

Edit: Checked both BIOS settings (Couldn't find anything related to power saving) and the settings for the monitors themselves (no power saving features there either). How would I check to see if it is indeed just the monitors going to sleep, and by extension how would I fix it?

My MoBo: ASUS ROG STRIX B550-F Gaming

111
5
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/archlinux@lemmy.ml

If I turn my controller on, it won't connect. But if it's on when I turn my computer on (or restart/wake from sleep), it connects just fine. I am using the "Xbox 360 Wireless Receiver for Windows". It's possible it's actually connected but not recognized by Steam or any games, but I am not sure how to troubleshoot that directly. The Arch wiki (linked) doesn't say anything about this specifically.

I am on CachyOS.

Any ideas? <3

Update: This somehow fixed itself. I don't think I even upgraded or anything since it was a problem.

112
7
submitted 2 years ago by 0x0@programming.dev to c/archlinux@lemmy.ml

As the title says.
pacman -Q lists only name and version;
pacman -Qi does have a "Packager" field, but i think it's not the same thing;
pacman -Qs seems to be what i want (if local means "all installed packages atm") but it's all prefixed by local/ instead of repo name like mingw32/ which is what i want.

I'm using MSYS2 in windows.

113
7

On Windows I use the linked program. I tried using KDE's accessibility settings but the lowest time it can do it 100 ms, which I naturally do on occasion (mashing backspace quickly, for example). Is there any other solution?

114
19

I've seen some tools that do things like take snapshots periodically and ones that add snapshots to grub, but not this specifically. Does something exist?

This will probably be on EndeavourOS, not Arch directly, if it matters.

115
11

Hello Arch Linux peeps,

I was browsing the Arch wiki and was re-reading the Nvidia sextion, and for my 3090 it states I should be using Nvidia-open/nvidia-open-dkms, however, I am using the proprietary ones.

What is best practice for switching to Nvidia-open-dkms?

116
3
submitted 2 years ago by kaugman@lemmy.today to c/archlinux@lemmy.ml

Since swapfile shouldn't be in a snapshot, and I want my system encrypted therefore I am asking if it could be possible to make efi partition big enough to include swapfile inside it?

I can't find documentation for this process, so would it require some extra steps to make it work?

117
13

Hey everyone, I’ve recently been trying to go back to a dual boot setup with Windows and Arch. I would fully switch to Arch, but unfortunately there are still a few things I need access to that either don’t have a FOSS alternative that meets my needs or won’t run through WINE/Proton.

I used to already have a dual boot setup but recently had to buy a new motherboard, which also involved getting a new CPU, so I ended up wiping everything and just riding on Windows for a while, but I did make sure to give Windows’ boot partition enough space knowing that I was planning on dual booting again soon.

I figured it was all going to be easy-peasy as I’ve done it before and it worked with no problems at all. However, after installing Arch the same way I’d done before and rebooting my PC, it booted straight to Windows, completely skipping GRUB.

I went the lazy route and used Archinstall, which received a UI update since last time I used it so I figured maybe the process changed and I messed it up by not noticing it. So I tried again, this time taking the manual install route… same result.

No GRUB entry would show up on UEFI so I figured maybe it installed in the wrong location or I messed it up again somehow. Booted on the Arch ISO, mounted the EFI partition to check it, both GRUB Windows’ boot manager are there.

After a quick search I found that some motherboard might need you to toggle secure boot on and back off to force it to check for bootloaders. It apparently specifically applies to Acer motherboards, both of my motherboards are Asus (old one was TUF Gaming x570-Pro, new one is ROG Strix x870-F Gaming) but I figured I’d give it a try.

Only way I managed to get anything else to show up was by enabling CSM, then a second “boot” entry on that drive would show up. But it seems that “boot” entry is just the drive itself because when I tried to boot from it, it just gave me that dreaded screen that tells you it couldn’t find anything to boot, to plug in a bootable drive and press enter.

I tried again via Archinstall, this time picking systemd-boot since during my search earlier i found that systemd-boot is apparently easier to set up a dual boot than GRUB… same result. My PC just won’t see Linux bootloaders, it seems.

The only way I managed to make it “work” was by making a second EFI partition on that same drive, leaving the Windows boot partition untouched and giving Arch its own boot partition. By “work” I mean I could finally get systemd-boot to launch, but if I wanted to boot into Windows, I’d have to boot into UEFI and switch the boot devices priorities around, which, while better than nothing, is far from ideal.

In doing so I also noticed that the systemd-boot entry showed up the same way as the “empty drive” entry did earlier when I enabled CSM, might be normal, nit-picking, figured it was worth mentioning.

The way my UEFI is currently set up is:

  • CSM disabled
  • Secure Boot > OS Type > Other OS
  • Secure Boot mode > Standard

That’s the way I had it set up on my old motherboard back when dual boot worked, and it’s the way it needs to be set up for secure boot to be disabled according to Asus support posts I found.

Does anyone have any suggestions on what I might be doing wrong?

Additionally, somewhat unrelated but something I found when messing around with Archinstall is that if I set Archinstall to automatically partition everything using BTRFS, it generates 5 subvolumes, one of which is @.snapshots, but if I try to manually replicate that set up (because the automatic one wants to wipe the whole drive and I don’t want that because I want to keep Windows), it won’t let me make a @.snapshots subvolume. Is this important at all? If so, can I add it post-install?

Thanks in advance! And happy new year!

118
14
submitted 2 years ago* (last edited 2 years ago) by TheTwelveYearOld@lemmy.world to c/archlinux@lemmy.ml

I'll start: After switching to Neovide from the terminal for Neovim, I got really hooked on the animated cursor and smooth scrolling (links to Neovide's features page). It wasn't until 2 months ago when the earlier was added to Kitty. I did so much overthinking about which terminal to use, and realized that I wouldn't (and don't) use most of the features provided by ones like iTerm and Kitty, though I picked the later. I was pleasantly surprised to see it added, even if it could use more work to make long smooth cursor animations like Neovide. The only other feature I want is smooth scrolling, I can't believe there are no modern terminals with it.

(Somewhat) Side note: At this point many users realized that Ghostty got over-hyped, here is Mitchell Hashimoto's (dev of Ghostty) thoughts:

https://mitchellh.com/writing/ghostty-1-0-reflection
Ghostty: Reflecting on Reaching 1.0 – Mitchell Hashimoto

I didn't anticipate the hype. Some people think I am lying when I say this. I'm not. I'm not so naive to think that private betas and exclusive access don't generate hype in principle. But I didn't think many people at all would be interested in a terminal emulator. I thought I was building boring software for a niche audience. No hype! But I was wrong, and the consequences were real. People were frustrated that they couldn't get in. People felt left out. People felt like I was being fake to generate hype. The waitlist grew larger than I was comfortable allowing in (given my prior stated priorities). I'm sorry about that. All I can say is that I didn't intend for this to happen. I ramped up beta invites to try to get as many people in as I felt comfortable with (well, a bit beyond that). We ended the beta at around 5,000 users in a Discord of 28,000 at the time. Not quite the percentage of access I wanted for people but more than I could handle.
...

One more negative aspect of the hype is the expectation of Ghostty being revolutionary. It is and it isn't. Ghostty has different goals and tradeoffs than other terminals. For those looking for those properties, Ghostty is a breath of fresh air and does things that no other terminal does. But for others, it's just a terminal. And that's okay. I hope you find a terminal that works for you and I don't claim that Ghostty is the end all be all of terminals.

119
-4

I looked up specifically examples of this and didn't find answers, they're buried in general discussions about why compiling may be better than pre-built. The reasons I found were control of flags and features, and optimizations for specific chips (like Intel AVX or ARM Neon), but to what degree do those apply today?

The only software I can tell benefits greatly from building from source, is ffmpeg since there are many non-free encoders decoders and upscalers that can be bundled, and performance varies a lot between devices due to which of them is supported by the CPU or GPU. For instance, Nvidia hardware encoders typically produce higher quality video for similar file sizes than ones from Intel AMD or Apple. Software encoders like x265 has optimizations for AVX and NEON (SIMD extensions for CPUs).

120
12
submitted 2 years ago* (last edited 2 years ago) by Lojcs@lemm.ee to c/archlinux@lemmy.ml

Updated my system today and it started randomly crashing, usually with these messages in journal:

#PF: error_code(0x0011) - permissions violation
#PF: supervisor instruction fetch in kernel mode
BUG: unable to handle page fault for address: ffffffffc0abd540 
kernel tried to execute NX-protected page - exploit attempt? (uid: 1000)

Not sure if the kernel update's causing it. My mouse lags every once in a while too. Anyone else having problems?

Update:
Pinpointed the crash reason, it happens when memory usage exceeds some value. 20 ish gigs maybe? Ran memtest, got 1 pass but I'll leave it running. (Edit: left it for a couple hours, it kept passing) Also tried updating another arch system and filling its memory with stress, but that one didn't crash.

On mine I had a bunch of other packages update as well (mostly qemu stuff iirc, but qemu isn't running usually) and I also uninstalled some unnecessary dependencies listed via pacman -Qtd. I kinda want to restore a btrfs snapshot and be done with it, but that spooks me so I sense unpleasant debugging in my future.

Update 2:
Did more testing, when used RAM+filesystem cache exceeds total ram available it pagefaults instead of emptying the filesystem cache. -_- how tf do I fix this??

Update 3:
Solution is to uninstall binder_linux-dkms. For some reason with the new kernel it causes a pagefault when purging filesystem cache which delays the purge and if that happens while system is under memory pressure programs hang. Didn't even know I had this installed

121
5
A custom port for DNS (programming.dev)
submitted 2 years ago by Reza@programming.dev to c/archlinux@lemmy.ml

I want to set the system to send DNS queries with a custom port, not 53. I added DNS=127.0.0.1 9053 to /etc/systemd/resolved.conf and DNS=127.0.0.1:9053 to /etc/systemd/networkd.conf. But now DNS queries are sent via the default DNS with port 53. What can I do?

122
2
hoptodesk appimage on Arch (scribe.disroot.org)

Does anyone manage to run hoptodesk appimage on Arch? See https://www.hoptodesk.com/

When I run it I get:

/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Gtk-Message: 10:19:33.027: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:19:33.033: Failed to load module "canberra-gtk-module"
WARNING:CSS: in @font-face statement, failed to install font at (this://app/index.css(10))
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "description"
...

So before I lost hours debugging it, I wanted to check if other Arch users have the same issue :)

123
9
submitted 2 years ago by 872XXE@feddit.org to c/archlinux@lemmy.ml

Hi,

I have this HP USB-C Dock but I don’t get the display ports working. The external display is not recognized by my Arch Notebook.

Do I need special drivers to use such docking stations?

(USB and Ethernet ports are working fine)

124
9

Do anyone know how to disable the touchscreen on wayland? All I find is only relevant for x11

125
4

cross-posted from: https://lemmings.world/post/17893566

cross-posted from: https://lemmings.world/post/17893006

I am in the market for a new laptop. I have searched quite a lot and decided to go with Lenovo. I am connected to mains most of the time and I am looking for compute power over efficiency. So the new Intel Lunar Lake 258V processors are not for me. That means Zenbook S14 is out of discussion. Also before anyone push a Framework plug, No! Framework laptops are not available where I live.

Its for my personal use and my preferred setup is Gnome on EndeavourOS. and its mainly used as a media consumption device. But occasionally it could run ffmpeg h265 encoding, run one or two moderately heavy podman containers (like Jellyfin) and sometimes a 6GB RAM VM or a local LLM model (3b) (very rare).

Basically I have narrowed it down to two laptops:

  • Lenovo Yoga Pro 7 Gen 9 (14, AMD) - AMD Ryzen AI 9 365 (Preferred)
  • Lenovo ThinkPad P14s (AMD) Gen 5 - Ryzen 7 PRO 8840HS

With Yoga Pro 7 being my preferred pick. When similarly specked with 32GB RAM, both are almost similarly priced, with Yoga running about $200 extra. I feel that new ThinkPads are a little overpriced for what they offer, at-least where I live.

  • Yoga has the new AMD architecture (Zen 5).
  • Yoga's screen is better than ThinkPad's (2.8K OLED @ 120Hz vs FHD IPS @ 60Hz, OLED option is not available for ThinkPad here).
  • Yoga has an Aluminum build. I haven't used ThinkPads in the past, but had a plastic Dell Latitude in the recently (2022) and its build quality and plastics were really bad. Currently I have an Aluminum built laptop (from 2018) and its so much better than Dell's.
  • I prefer the aesthetics of Yoga over ThinkPad (Though its subjective).
  • ThinkPad is a bit cheaper (by $200) and upgradable.

Yoga Pro 7 Gen 9 (14, AMD) being very new, I don't know about its Linux (EndeavourOS) compatibility.

Does the new Ryzen AI 9 300 series work well with Linux? This is the only linux-hardware.org probe for this laptop.
Yoga Pro 7 Gen 9 (14, AMD):
Yoga Pro 7 Gen 9 (14, AMD)

On the other hand, the ThinkPad P14s (AMD) Gen 5 works well with Arch with Ryzen 7 PRO 8840HS. This puts me in a dilemma, should I spend a little more and for the not heavily Linux tested, but new Strix Point (Ryzen 300 series) Yoga Pro 7 or go for a tested Ryzen 7 PRO 8840HS ThinkPad?

I am planing to keep my laptop for 5-6 years.

If anybody have the new gen AMD processor Laptops running Linux (Any Distro) please share your experience.

view more: ‹ prev next ›

Arch Linux

10065 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS