Skip Navigation

Search

Linux @lemmy.ml
klay @lemm.ee

i fail to install gHub-GUI. Where to ask for help?

[solved]: gHub-GUI seems outdated. openRGP does what i need instead.

Hi, i'd like to use my Logitech G915 LEDs properly under KDE neon and since logitech only provides for Win or Mac, someone recommended gHUB-GUI. https://github.com/ysph/gHub-GUI

I tried the little installation instructions on https://github.com/ysph/gHub-GUI but something does not seem to work. This is not my first git app(?), but the first one i can't seem to use. I tried to ask ChatGPT but it... ::: spoiler spoiler poured kerosene all over itself, jumped head first off the autobahn bridge, got ran over by a Lastkraftwagen, biting a cyanide pill. That ::: ...didn't help.

Can anybody please point me in the right direction? I am fine with the CLI. I cloned the project, Installed those mentioned dependencies, but ~/gHub-GUI$ make all returns

gcc -g main.o mouselist.o -o ghub-gui -lusb-1.0. And i dont kow what that means.

Thanks!

Linux @lemmy.ml
Telorand @reddthat.com

How to get fan sensors working?

I recently wiped Windows in favor of CachyOS, and it's been lovely! However, I have one outstanding issue that I can't seem to figure out.

To start, I have a Gigabyte B550I Aorus Pro AX motherboard. I followed the guide on the Arch Wiki for my particular chipset.

I still can't seem to control my cooling fans.

  • I have lm_sensors installed
  • I installed CoolerControl
  • I used modprobe it87 force_id=0x8628
  • I tried adding the .conf files to /etc/modprobe.d/ and /etc/modules-load.d/
  • When the steps above didn't work, I installed the it87-dkms-git package

No matter what I've tried, the only time the fan sensors get detected is when I also specify acpi_enforce_resources=lax in GRUB. From what I barely understand, that's not an option you want to leave on permanently, but perhaps y'all know better or have other ideas.

If it helps:

  • Motherboard: Gigabyte B550I A
Linux @lemmy.ml
oyzmo @lemmy.world

No network access after latest update Fedora

cross-posted from: https://lemmy.world/post/29911877

Everything seems fine, but I have no network access 😅 happened after I restarted for a System update. Can't figure out what is wrong - help please 😊 Wired connection.

Enabled Wifi, but same problem; connect but cannot reach gateway. (other computers and pads are connected, and they work fine).

Linux @lemmy.ml
sartaj @lemmy.world

move files older than 30 days from one computer to another using rsync

I have a laptop and a phone in which termux is installed. I want to move files from my phone to my computer using rsync if all files are older than 30 days. I think I should use find command with -exec rsync.

 undefined
    
find . -mtime +30 -exec rsync something 
 

  

but the problem is my phone's IP address is always changing so how do I transfer file? I have to run this script in my laptop

solution

i wrote a script which move files and runs in my laptop

  1. i can't use hostname because I am on android 9 and don't want to install anything else.
  2. most of the time I am offline so using any internet service is not a good idea ( my devices are connected in themselves )

here is my script

 undefined
    
#!/usr/bin/bash

#checking if script not already running and exit if already running
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" || :

set -e

TARGET_MAC="d2:1c:3c:3d:6a:a7"
RSYNC_LOG="$HOME/log/rsync_log.txt"  # Rclone log file


function get_ip() {
  # need to edit 
  
Linux @lemmy.ml
someoneFromInternet @lemmy.ml

How to enable LDAC?

I have wh1000xm4 headphones, installed void with xfce, turned on "Prioritize Sound Quality", but can't enable LDAC in settings.

Linux @lemmy.ml
HarvesterOfEyes @piefed.social

System freezes at boot and I'm not sure if it's a software or hardware problem

Hi!

I've already posted in the Arch Linux community on lemmy.ml but I'm also posting it here for additional visibility. I'd cross-post it but I don't think PieFed has that option yet. Hopefully it's okay.

Anyway, a few hours ago today, when I turned on my computer, went to the systemd-boot boot loader, chose "Arch Linux" from the list of boot entries, I was faced with a system that is stuck at boot as seen from the image I uploaded.

So far, I've tried disabling Overdrive by editing the kernel parameters at boot, and by booting an Arch Linux live ISO to no avail. As in, I'm stuck at the same stage of the booting process, even when using the aforementioned live ISO. Which means I can't really boot into the system.

This happened before, like, a few months ago. I either booted with a live ISO and executed mkinitcpio -P, or just did a hard reset, as I waited for a kernel, GPU drivers or mesa update. About a month ago, it stopped happening and the system booted fine. I do

Linux @lemmy.ml
xavier666 @lemm.ee

Weird root permission issue on Sway which is not present in i3

Hello fellow lemmings

I am a long-time i3 user and have decided to switch to Sway. I have encountered a weird error which has left me utterly bamboozled.

I am using Ubuntu 24.04 which has gone from 20.04 -> 22.04 -> 24.04. It has Ubuntu-Gnome, i3 and Sway currently installed.

The issue

The error that I'm facing is when I'm using Sway, I simply don't have sudo access.

This is what the error looks like

 undefined
    
$ sudo visudo
[sudo] password for xavier666:
Sorry, user xavier666 is not allowed to execute '/usr/sbin/visudo' as root on <HOSTNAME>.

  

When I switch back to i3, my permissions are fine for the same user. I have not done any crazy modifications to the sudoer's file as far as I can remember.

PS: I have added a command to no-sudo xavier666 ALL = NOPASSWD: /usr/bin/brightnessctl

The "fix"

I temporarily solved it by adding xavier666 ALL=(ALL:ALL) ALL to the sudoer's file.

IMO, I think this should not be required. I don't remember ever adding the default use

Linux @lemmy.ml
redwattlebird @lemmings.world

Unity Hub hangs at login: what terminal commands can I use to see what it's doing?

I switched to a Linux Mint/Win11 dual boot system over the weekend and installed Unity from Flathub. Running Unity Hub is fine but when I try to login, it hangs with no errors. I can log into the asset store just fine, so nothing wrong with the credentials. I'd like to know what terminal commands I could use to see what it's actually doing and figure out why it hangs.

I really don't want to continue using it in Windows and only keep it to run work programs, and really need to use Unity for University.

Edit: Troubleshooted via the terminal, then uninstalled the .Deb package that I downloaded from the Unity website and then followed another tutorial from another part of their website with terminal commands. Managed to log in and run my projects.

Linux @lemmy.ml
someoneFromInternet @lemmy.ml

lsblk and cfdisk show different results

I want to install voidlinux. So I partitioned disk using cfdisk, but void-installer(and lsblk) show me different results. lsblk tells me that I have 4 partition, when cfdisk tells me only about 3. These partitions also have different sizes.

Linux @lemmy.ml
Alaknár @lemm.ee

Is there a way to speed up the initialisation of Bluetooth drivers?

Hi!

I'm a new Linux user, so far so good, but one thing that grinds my gears is that if I log in fairly quickly after a boot, I have to wait ~5-10 seconds before I can start using my BT mouse (Logitech MX Master 3S).

Is there a way to speed up the initialisation of Bluetooth on Linux so that it starts immediately, like the USB drivers do?

 undefined
    
OS Garuda Linux x86_64
├ Kernel Linux 6.14.4-zen1-1-zen
├ Packages 1382 (pacman)[stable], 5 (flatpak)

DE KDE Plasma 6.3.4
├ Window Manager KWin (Wayland)
├ Login Manager sddm 0.21.0 (Wayland)

  

Solution

Thanks to /u/floofly on r/linux4noobs for this!

Yup, assuming you're using systemd as you innit system. The following will change it so your bucktooth will initialise before the GUI.

sudo systemctl edit bluetooth.service

change:

 undefined
        [Unit]
    
    Before=graphical.target

  

And from myself, I'll add this for the other noobs out there: when you run

Linux @lemmy.ml
ColdWater @lemmy.ca

I might have mis-configured something now my PKGBUILD use this vim like editor? I don't even have vim installed, it only print out plain text in the terminal before, how can I revert it back?

Linux @lemmy.ml
Parptarf @lemm.ee

Installing Linux distro without breaking Windows install

Solution: When I formatted all my drives to install Linux on one and Windows on the other, I kept both connected and they share EFI boot partition as a result. Every time I reinstall Linux it formats the drive and therefore deletes the Windows's EFI Boot as well. One way is to fix this is to reinstall Windows while disconnecting the drive you have Linux on. Or you can move the boot files if you don't want to do that.

I used this guide: https://forums.tomshardware.com/threads/changing-windows-boot-manager-drive.3571420/post-21561626

Also remember to delete the Microsoft folder in the boot folder on Linux after you’ve checked that the new boot loader is working.

OP:


Currently dual booting as I need Windows for a few tasks and ganes Linux just won’t do. Since setting everything up I’ve reinstalled Linux twice, both times I’ve lost the ability to boot into windows and have needed to reinstall it.

Disk doesn’t show at all in Grub, tried al

Linux @lemmy.ml
spez @sh.itjust.works

Power Profile not working on Arch with KDE. Tried everything.

My laptop does support this feature since it was working on Fedora KDE. But jumping over to arch, it seems not to work at all.

1. power-profiles-daemon.service is enabled and running.

 undefined
    
● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; preset: disabled)
     Active: active (running) since <time>; 12min ago
 Invocation: 4f20b3d144584a759b4a6c5ea14aa739
   Main PID: 608 (power-profiles-)
      Tasks: 4 (limit: 6850)
     Memory: 1.6M (peak: 2.8M)
        CPU: 81ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─608 /usr/lib/power-profiles-daemon

Apr 18 11:14:52 berserk-arch systemd[1]: Starting Power Profiles daemon...
Apr 18 11:14:52 berserk-arch systemd[1]: Started Power Profiles daemon.

  

2. plasma-powerdevil.service is static and running.

 undefined
    
● plasma-powerdevil.service - Powerdevil
     Loaded: loaded (/usr/lib/systemd/user/plasma-powerdevil.se
  
Linux @lemmy.ml
TMP_NKcYUEoM7kXg4qYe @lemmy.world

What ports do I need to open for mDNS?

EDIT: The bad solution is to unblock UDP port 5353 but the port has to be source port, not destination port. (--sport flag) See the now modified rules. The issue is that this is very insecure (see this stackexchange question and comments) but obviously better than no firewall at all because at least I'm blocking TCP traffic.

The proper solution (other than using glibc and installing nss-mdns package) is to open a port with netcat (nc) in the background (using &) and then listen with dig on that port using the -b flag.

  bash
    
port="42069"
nc -l -p "$port" > /dev/null || exit 1 &
dig somehostname.local @224.0.0.241 -p 5353 -b "0.0.0.0#${port}"


  

Then we need to remember to kill the background process. The DNS reply will now be sent to port 42069, so we can just open it with this iptables rule:

 undefined
    
-A INPUT -p udp -m udp --dport 42069 -j ACCEPT


  

---->END OF EDI

Linux @lemmy.ml
vortexal @lemmy.ml

I'm having audio issues with Linux and while I have a temporary solution, I'd like to have a permanent solution if possible.

Final update (hopefully): It seems that I have been able to fix the issue. I'm not sure what exactly caused the problem but either removing fluidsynth or installing the wireplumber ppa fixed the issue and I have working audio again. I've also removed pulseaudio and undid my edit to the modprobe blacklist, as they were only done as a temporary solution and they are no longer necessary.

For the past three days, I've been having this issue where my computer starts with no audio and the only sound device listed is a "dummy output" device. I've tried looking online for solution but the only solution I found has to be redone manually every time I start/restart my computer. It also seems like this issue is common with and possibly specific to the sound card my computer has, which is an "Intel Sunrise Point-LP HD Audio".

The solution that worked for me was to add blacklist snd_soc_avs to the modprobe blacklist and then run the two commands sudo alsa force-reload and pulseaudio. Adding

Linux @lemmy.ml
Ludrol @szmer.info

How can I run a command without being logged in as a user?

XY: I installed bazzite and goofed up. The username is wrong and my home is /home/bazzite instead of /home/ludrol

I am trying to run usermod -l ludrol bazzite in tty3 with sudo su - but the bazzite user is logged.

Solution:
Added password to root with passwd
Logged in as root
Ran required usermod commands
Disabled root with passwd -l

Linux @lemmy.ml
SpiceDealer @lemmy.dbzer0.com

Trying to install cmake but keeps returning errors

I'm using yay -S cmake to install. This is the output it returns:

`cmake-3.31.6-1-x86_64.pkg.tar.zst failed to download error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.pseudoform.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The

Linux @lemmy.ml
MonkderVierte @lemmy.ml

How to backup a bunch of blu-rays?

Seeing that DVD are slowly going end-of-live and that you can't buy a lot of my childhood favorites in german anymore and streams are compressed-to-death (and DRMed), i had a streak of preservia. Which is why i rip a bunch of discs from the library on Linux (yes, legally not ok, but morally just ease of access, i wouldn't sell them). Since it's only to watch them when nostalgia hits, i want them in a ready-to-watch format, chose AV1 webm for small size. My burner is LibreDrive-ok ootb, meaning makemkv goes automatically in that mode.

I have the discs for a limited time, so i used to use dvdbackup for DVD and later feed the folder to handbrake for conversion. Now i got a bunch of blu-ray:

  • ripping one takes even longer; whole 25 hours; i don't have the time for the whole LotR series with bonus disks.
  • makemkvcon backup needs only about 2 hours per disk, but the resulting folder is 80 GB big; i have only about 250 GB free space ** and the makemkv backup somehow has no audio stre
Linux @lemmy.ml
Björn Tantau @swg-empire.de

How can I free space in BTRFS?

Edit 2: Through all of my shenanigans I ended up on a read-only snapshot for root. The error I got just seemed similar to previous out-of-space errors. I went to a later snapshot as default and everything is working great!

My OpenSUSE Tumbleweed is wonky since I last did a dist-upgrade with about 4000 packages. Midway through it errord out with an error that indicated that the filesystem was full althou df showed plenty of free space.

BTRFS seemed to be the culprit. Removing snapshots let me continue the upgrade until it errored out again. Rinse and repeat until it was done.

Edit: My root subvolume is read only. So there must be some error in that. The other subvolumes work correctly. So I guess it isn't about free space after all.

But now the BTRFS seems to be almost full and I cannot update anymore.

 undefined
    
...
Checking for file conflicts: .....................[done]error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Read-only file system)                 ( 1/
  
Linux @lemmy.ml
Hyggyldy @lemmy.blahaj.zone

On Zorin OS, can't get XClicker custom location to work

Sorry if this isn't the place for this, I couldn't find a forum for the program. I have 2 monitors and when I try to use a custom location it seems like XClicker doesn't understand how to handle that. When getting a location the coordinates behave as I'd expect, treating all of my screen space as one with the numbers increasing as you go right and down, the top left of my left monitor currently being 0,142. However when I activate to start clicking it seem as though it treats the top left corner of whichever monitor the cursor is on as though it were 0,0, meaning it doesn't actually click where I want.

For example, if I Get a location on the right monitor and position the mouse on the right monitor it'll actually click a location 1920 pixels to the right, since the left is 1080p, and I think 142 pixels down. With the same coordinates, if I position my mouse on the left monitor then activate It'll go close to where I want it to on the right monitor for the first click, then shift to th