Skip Navigation

Search

Linux @lemmy.ml
vaionko @sopuli.xyz

Plasmashell started crashing every time I interact with the panel

Fedora KDE, Wayland, Nvidia, proprietary drivers. Everything worked fine until suddenly plasmashell started crashing every time I interact with with the plasma panel. On x11 this doesn't happen, but instead the the whole video freezes while audio continues, and after a while it comes back. The plasma panel may or may not be frozen after this.

Is this an Nvidia problem again?

Logs coming in a couple minutes

Linux @lemmy.ml
0v0 @scribe.disroot.org

Tech support: Postfix + Dovecot mail server, can't receive mail or log in via Thunderbird

Hi there, was thinking around of the best place to post this. Initially I thought maybe the Dovecot mailing list but I'm not sure if this is a Dovecot issue or if the issue lies with Postfix, so I figured maybe a more general Linux community. If people have suggestions about where I could post this that may have more people see it who are able/willing to help, I would also appreciate that.

I apologise, this post will probably be quite long, so I really do appreciate if anyone takes the time to read it and give advice.

Anyway, I was following this tutorial to set up a mail server with Postfix and Dovecot. The tutorial is for Ubuntu but I am using an Alpine Linux server, however the tutorial mostly concerns configuring Postfix and Dovecot which is distro-independent.

Deviations from the tutorial

I followed the tutorial with the exceptions of the following (deviations listed in order of the part of the tu

Linux @lemmy.ml
maliciousonion @lemmy.ml

Internet strangely stops working after one day of installation.

This is an Acer Aspire one laptop, with a 32 bit CPU and Debian 12.7. Whenever I install Linux on it, the Internet works for about one day. And when I boot it up the next day, it just stops working. This is the case for WiFi, Ethernet and USB tethering via Android.

After running networkctl it gave me this:

I can ping 8.8.8.8 in this state, but not gnu.org. I can't open websites in Firefox either.

Then I ran "sudo systemctl start systemd-networkd". The networkctl output changed but everything worked exactly as the above two images. Couldn't open websites still.

Yesterday everything was working perfectly

Edit: Thanks to [@nanook@friendica.eskimo.com](https://friendica.eskimo

Linux @lemmy.ml
GolfNovemberUniform @lemmy.ml

GDM doesn't have the session type chooser on EndeavourOS

Today I needed to do a clean install. I downloaded and installed the distro as usual choosing similar installer options as I did in the past (however I didn't install CUPS this time because idk what's up with that vulnerabilities).

After a reboot and fixing some systemd-boot freeze issues in BIOS, the system started and the GDM login prompt appeared without any issues. But there was no usual gear icon in the corner that lets you choose between Wayland, X11 and GNOME Classic modes.

I tried to log in but I got my usual Wayland issue (2/3 of the screen is black and 1/3 is artifacting). So I needed to switch to X11 to figure out if I can do anything about the issue this time.

I rebooted to fix the display issue and entered CLI mode (ctrl + alt + f2). I checked for xorg packages and they were indeed installed. However doing startx gave an error about XAuthority not being configured and launched an empty session with 3 or 4 xterm windows.

For those thinking of the 61st /usr/lib rule, I d

Linux @lemmy.ml
BobGnarley @lemm.ee

I have a laptop with pop os and it will not let me format the USB to FAT

[Solved] just had to create a new partition and then it lets me select FAT.

I'm not sure what happened, I remeber using gnome disks to do this before but it isn't working now now the only options I get are (MBR/DOS) or (GPT) and neither one will let me access the actual USB afterwards in anything other than GNOME disks. I can't use file explorer and add anything to it.

What is going on here? I swear this worked well before but now something has changed suddenly and I can't get it to work anymore.

When I restore a Debian disk image to the USB it will finally show up in the file explorer but I can't add anything to it and the only options I get to format it are those ones that won't let me access it in the file explorer and actually use the USB.

What am I doing wrong?

Linux @lemmy.ml
BobGnarley @lemm.ee

Question about updating packages with aptitude in Debian 12

[Solved] So I disabled the CD ROM repository using the software and updates application on Debian 12 because it kept asking me to insert the CD ROM when I would try to install stuff.

After disabling it I used Aptitude to update the packages I had already installed but I noticed that before I disabled the CD ROM repository it told me that because I didn't have it inserted that it used some older versions of software.

After removing the CD rom repository it just updated everything and didn't show that message.

My concern is that I know Debian uses some older versions of stuff because of its stability and I read very briefly about "Franken Debian" situations where people use versions of stuff that weren't intended to be used with the stable version of Debian.

Did I mess up by doing that and create a situation like that? And if so, after a fresh reinstall when I get here again is virtually mounting the USB stick I have the Debian DVD ROM on an option for it to stick with that CD ROM

Linux @lemmy.ml
BobGnarley @lemm.ee

user is not in sudoers file

[Solved] just had to log out and back in Original post: I'm running Debian 12 and I set a separate root password from my username password.

When trying to install a .deb file I noticed that it said I was not in sudoers file so I looked it up and tried the command SU and successfully entered my root password.

The I tried doing

sudo usermod -aG sudo [username]

And then I verify the addition of the user to the sudo group with

groups [username]

And this does indeed show that I am in the sudo group however when I try to install a .deb file after that or even sudo apt update its still telling me I am not in sudoers list.

Any ideas what I'm doing wrong here?

Linux @lemmy.ml
ColdWater @lemmy.ca

This maybe a strange question but can I run a Linux app in a separate container/sandbox? Without its dependencies bloating my host OS?

Because I hate Electron

Linux @lemmy.ml
some_random_nick @lemmy.world

Bazzite removed control over my drives

I don't know when this happened. There was a system update a few days ago which went fine. Two days ago I wanted to download something onto one of my HDDs and got an I/O error. After investigating I found out that I no longer am the owner of any of my drives and can't create/delete any files. Chmod/chown didn't help. Editing the fstab file didn't help since it had the exact same contens as when everything worked. Shuffeling exec,rw around has no effect. Mounting/unmounting didn't do anything. Phisically removing the drives also didn't work. Adding a completely new drive automatically set it to restricted. How the hell does soemthing like this happen? I don't want to do a system wipe.

Edit: Windows is to blame

It appears Windows did something to the drives the last time I used it which messed up the partitin tables and prevented Linux from mounting them correctly. After poking around in the journalctl like suggested I found an entry with the error message. Googling brought

Linux @lemmy.ml
gomp @lemmy.ml

Cronjob with hdparm -y to spin down hard disks?

Solution:
hd-idle is the way to go (if you read their README, they explain that most drives don't support idle timers)

I've been looking into spinning down the drives of my NAS, as I use it infrequently and that brings power drain down from ~30W to ~17W.

Problem is, hdparm -S doesn't seem to do anything for these particular drives: if I set it and wait for the appropriate amount of time (eg. 5 seconds if set to 1) the drives are still reported as "active/idle" and power drain doesn't go down.

Both hdparm -y and hdparm -Y work fine, but I don't seem to be able to find settings for them in tlp (probably because they are commands rather than settings?).

Besides the caveats about disks living longer if they are kept spinning, are there reasons why I shouldn't setup a cron job (well, a systemd timer) that runs hdparm -Y every 10 minutes? (for example, could hdparm -y cause errors if run while the drive is being backed up?)

PS:

Linux @lemmy.ml
Eugenia @lemmy.ml

Setting up an alarm

I have installed Linux Mint 22 in a DELL laptop with a buggy ACPI implementation (the kernel complains about it during boot). The laptop hangs if it goes to sleep (I tried various Linux distros/kernel-versions, the result is the same).

Because of that, I have disabled SLEEP in the firmware (latest version for that laptop btw). So basically, when you close the lid, nothing happens (it just locks the screen).

However, sometimes you might be in a hurry and you close the lid to do something else, and then you forget about it. The result would be for the battery to run dry, which eventually destroys the battery.

My question is: what would be the best way to setup an audible alarm if the battery reaches 20%?

Linux @lemmy.ml
RadDevon @lemmy.zip

No HDR option in Bazzite/KDE after connecting computer directly to display

I am running Bazzite 40 on a system with an RTX 4080. Up until yesterday, I was connecting computer -> Samsung HW-Q900C soundbar -> Samsung Q90C TV. I learned that the soundbar doesn't have HDMI 2.1 ports which is why I hadn't been able to get 120Hz, so I changed my setup to computer -> TV + soundbar -> TV (eARC).

Now, I do have 120Hz, but I lost a bunch of other options in my display settings, including HDR. The only options I can set there now are resolution, orientation, refresh rate, and scale. I suspect this is an issue with the TV communicating its capabilities in a way the OS doesn't understand, but I'm not sure how to fix or work around it. Can anyone suggest a fix? Is there a setting I can change on the TV or maybe an app I can run on the computer to manually set the TV's capabilities?

Update: Just discovered kscreen-doctor. Here's the output:

 undefined
    
Output: 445 HDMI-0
    enabled
    connected
    priority 1
    HDMI
    Modes:  446:3840x2160@60!  447:4096x2160@120  448:4096x2160@100  4
  
Linux @lemmy.ml
Lucy (she/them) @lemmy.blahaj.zone

Audio refuses to work on a new user

I created a new user on this system but anything with sound plain doesn't work - the main user of the system has no issue though.

I already added the new user to the audio group, pulseaudio and pipewire are started by xfce during login too.

For example, when trying to open an mp3 file with mpv I get this:

[ao/pulse] The stream is suspended. Bailing out.

[ao] Failed to initialize audio driver 'pulse'

Could not open/initialize audio device -> no sound.

Audio: no audio

Linux @lemmy.ml
user_naa @lemmy.world

Can't connect to host after enabling WireGuard tunnel

I installed WireGuard on my host and set this configuration /etc/wireguard/wg0.conf:

 undefined
    
[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = [REDACTED]
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE


[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.2/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.3/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.4/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.5/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.6/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.7/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.8/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTE
  
Linux @lemmy.ml
superkret @feddit.org

What's the best way to hide the preinstalled software you don't need from the KDE menu?

shared from: https://feddit.org/post/1848262

I like the Slackware approach of installing the kitchen sink by default. Disk space is cheap.
But I find that the cluttering of the menus in KDE is a bit annoying. I use search to start my applications, and a lot of the time I have to type almost the full program name to get to the app I actually use.
What's the easiest way to hide a large number of programs from the menus, which is also easily reversible?

My first idea was renaming the .desktop files in /usr/share/applications to .hidden
But they seem to be recreated automatically.

Another idea was to copy .desktop files from /usr/share/applications to ~/.local/share/applications and then do:
printf "\nHidden=True" | tee -a ~/.local/share/applications/*.desktop

But I tried to add this manually with one test file and it didn't seem to have any effect.
Is there a config file somewhere that specifies in which paths .desktop files are parsed?

Linux @lemmy.ml
user_naa @lemmy.world

Disk utility to use in scripts

Is there any good alternative to parted, that I can use in scripts? Parted main problem is that it requires user confirmation one each action.

Linux @lemmy.ml
sag @lemm.ee

New Ubuntu update just wiped out my enitre drive

I don't usually update, but today I opened Xubuntu and the update manager popped up, so I clicked to install - it was just a 13 MB update. After updating, I opened Floorp and started seeing that all my icons at the taskbar, everything, started disappearing. It's like I did "sudo rm -rf"! I'm not even mad. I always wanted to try EndeavourOS, and now Xubuntu has given me the opportunity to install it. Now downloading the EndeavourOS ISO and will install KDE on it. Enough rant/vent for now - REAL QUESTION: can anyone tell me how to theme GTK-based GNOME apps on KDE?

Linux @lemmy.ml
gpstarman @lemmy.today

How to copy existing Timeshift Snapshot to another drive?

I want to copy (not move) my Timeshift Snapshots (Rsync) from my existing drive to another drive. Both drives are ext4. As far as I searched I am not able to find any viable results.

If not possible, just why?



Solved

https://www.cyberciti.biz/faq/linux-unix-apple-osx-bsd-rsync-copy-hard-links/

TLDR

 undefined
    
sudo rsync -az -H --delete --numeric-ids /path/to/timeshift path/to/destination/

  

Where,

-a : Archive mode (i.e. recurse into directories, and preserve symlinks, file permissions, file modification times, file group, file owner, device files & special files)

-z : Compress file data during the transfer

H : Preserve hard links (i.e. copy hard links as hard links)

--delete : Delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized i.e. keep exact replica of your

Linux @lemmy.ml
Smorty [she/her] @lemmy.blahaj.zone

I seem to have nuked my Debian DE (Gnome)... Could someone help me with this?

The messages here are mostly in German, but I'll try to translate mist of it:

`dpkg: Error when editing the package linux-image-6.9.7+bpo-amd64 (--configure): <<Installed posts installation script of the package linux-headers-6.9.7+bpo-amd64<<-subprocess returned error code 1 dpgk: dependency error hinders configuration of

<that Linux header package>

: linux-headers-6.9.7+bpo-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1bpo12+1) | linux-image-6.9.7+bpo-amd64 -unsigned (= 6.9.7-1bpo12+1); but: Package linux-image-6.9.7+bpo-amd64 is not configured yet. Package linux-image-6.9.7+bpo-amd64-unsigned is not installed. dpgk: Error while editing the Package linux-headers-6.9.7+bpo-amd64 (--configure): Dependency problem - remains unconfigured dpkg: Dependency problem hinder configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); but: Package linux-headers-6.9.7+bpo-amd64is not configured yet.

Linux @lemmy.ml
senilelemon @lemmy.world

First time installing linux (Debian). Got this error. Please help

I installed it from the Calamaries Installer found in the LIVE USB ISO this time. And Instead of my primary hdd, I installed it on the other one. Works now, thanks for all of your support, dear nerds.