Linux

59050 readers
1518 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
76
77
 
 

Hi, I installed Linux Mint on a Asus Tuf Gaming F16 i7 13620H 4050 rtx, when I put it on suspension it takes a long time to wake up and the wireless becomes unavailable, I need to reboot to make it work again. I've already installed the latest drivers and updated the bios. I really don't know what to do, can it be a hardware problem? Thanks.

78
 
 

Anyone has any ideas how to revive it? Whenever I try to run anything, I get

bwrap: Unable to open lock file /usr/.ref: No such file or directory
error: ldconfig failed, exit status 256

No logs in syslog other than an attempted launch.

Google is surprisingly unhelpful on this one. I've tried both flatpak repair and apt install --reinstall flatpak to no success. AI suggests to straight up purge flatpak entirely and start anew, but I am wary of it also taking out the app caches, logins, configs, etc, which I'd rather preserve if possible.

Distro is pop 22, btw

79
19
submitted 2 weeks ago* (last edited 2 weeks ago) by wildflower@lemmy.world to c/linux@lemmy.ml
 
 

Anyone have experience using ADAT to extend their Focusrite Scarlett 18i20 (or similar devices)?

I can buy a used Focusrite Saffire PRO 40 for about 60Euro and wanted to use it to extend my Scarlett 18i20 to get a total of 16 Mic inputs, but I don't have any experience with ADAT and would prefer not to buy something that'll turn out to be a 60Euro brick.

80
 
 

Am I just too dumb to read or something? Can I predict this before I update? Kthnx

81
169
Why? (feddit.org)
submitted 2 weeks ago by Twakyr@feddit.org to c/linux@lemmy.ml
 
 

Why did you switch to Linux? I'd like to hear your story.

Btw I switched (from win11 to arch) because I got bored and wanted a challenge. Thx :3

82
12
submitted 2 weeks ago* (last edited 2 weeks ago) by Lime66@lemmy.world to c/linux@lemmy.ml
 
 

I've recently been unable to use my computer running Fedora 42 with gnome. It boots up, and GDM starts running, however it shows a flat grey screen with no login option. I can pull up a tty and login as normal (although using gnome-session to start a GUI session from there doesn't work). I have tried to use systemctl to restart GDM from the tty, but that l brings me back to square one. What can I do from here to resolve this issue?

GPU: Radeon 7800xt, Open Source Drivers Window System: Wayland.

83
20
submitted 2 weeks ago* (last edited 1 week ago) by muhyb@programming.dev to c/linux@lemmy.ml
 
 

We have a Macbook Air mid 2013 and no matter what distro I tried, making wi-fi work was pain due to Broadcom drivers and not having ethernet port. Basically had to install the drivers via phone tethering.

However, probably because of the drivers, there are certain problems like disconnecting out of blue or really slow connection or cannot reconnect unless reboot the PC.

So I want to ask, if you have this Macbook and have Linux installed, which distro you're using it with? How is it?

Recently I installed Bazzite on a home computer and printers, Xbox controller, iPhone connection, everything the owners need worked out of the box. I'm wondering, would it also work fine with this Macbook too?


Edit: I added these to a blocklist, which I created here >> /etc/modprobe.d/broadcom-wl.conf

This is for BCM4360 adapter.

blacklist b43
blacklist b43legacy
blacklist bcm43xx
blacklist bcma
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist ssb

For now, it seems fine but need more time to see if the problems are actually gone. At least the reception issue is gone I guess.


Edit 2: Installed LMDE, which wi-fi was working even on live ISO. However, same problems also present here. It has dkms version of the driver but I don't sense any difference. Same connection drops, same random slowness.

Also found this thread. It describes my issues, but sadly no replies.


Edit 3: Currently experimenting with iwd since I found out this thread from Reddit, surprisingly not deleted, yet.

I installed iwd, disabled NetworkManager, enabled iwd.

sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager
sudo systemctl start iwd
sudo systemctl enable iwd

Put these on /etc/iwd/main.conf.

[Scan]
DisablePeriodicScan=true
[DriverQuirks]
DefaultInterface=wl
[General]
EnableNetworkConfiguration=true
[Rank]
BandModifier5Ghz=9.0 

Though I didn't add BandModifier since we don't have 5Ghz anyway.

Then edited /etc/resolv.conf.

nameserver 192.168.1.3 #pi-hole IP

Also installed iwgtk to manage iwd with UI.

Seems fine so far, will edit again if it's good or not.

84
 
 

So that very important day is almost upon us.

October 14th is the day set for when Windows 10 stops security updates (no consumer is going to pay for extended) and begins to really push people to Windows 11. Windows 11 has strict hardware requirements that a lot of "older" devices that most people have do not meet.

And so, I am sure many individuals and companies may be getting rid of their old laptops and even desktops to recoup the vost of new devices.

What is the plan, when should we move in? What kind of deals should we be looking out for?

I want to find a great deal on a great laptop just for the fun of it. Some of my friends (converted to Linux) are waiting to get new laptops and score a deal. I have been waiting years for this day and I hope it can feel like a special day.

Any good places to look for these kinds of deals?

85
52
submitted 2 weeks ago* (last edited 2 weeks ago) by BurningRiver@beehaw.org to c/linux@lemmy.ml
 
 

So I’ve been putting this off all summer, but with support nearly ending for Win 10 and finally having a weekend to spend on this, and absolutely refusing to move to win 11, I’m finally pulling the trigger and getting this done.

I run a home built AMD rig with a 5800x and RT 7800xt, so as I understand, drivers shouldn’t be an issue. I’ve got 3 storage drives currently, a 1tb m.2 NVME I use for the OS and games I need to run quicker, and 2 SATA SSDs. I’ve also got a much larger external HDD which I’ll use to back up my entire windows environment (which I’ll disconnect after it’s backed up) just in case things go sideways during this process.

My biggest concern is here is moving all of my music, pictures, and docs over after the migration. Is it as simple as copying everything over from the NTFS win10 backup HDD to my newly formatted ext4 drives outside of the OS partition? I’m sure I’m not completely phrasing this correctly, since my understanding of Linux is currently at about a 4th grade level, and is probably why I’ve been running around in circles trying to find answers without much luck. I did go over the Mint install docs, but it seems a little light on details for my particular concern.

If there are any resources, suggestions or advice anyone could offer here to help me get through this, I gladly thank you in advance.

Edit: I think I have the information I need to make this work (at least for now), I just want to thank everyone here for taking the time to reply to this. I sincerely appreciate it!

86
 
 

cross-posted from: https://lemmy.ml/post/37069564

I'm glad to announce v0.4.3 release!

Syncspirit is independent BEP protocol implementation. Like syncthing is continuous peer-to-peer file synchronization tool.

https://raw.githubusercontent.com/basiliscos/syncspirit/refs/heads/master/docs/fltk-overview.gif

You can download ready-to-use binaries for Linux x86_64 (AppImage), Windows 32 bit (WindowsXP is supported), Windows 64 bit and Mac OS X (Apple silicon).

Notable changes:

  • [core] fix compatibility with syncthing v2.0 (i.e. tolerate directory with non-zero size and without blocks)
  • [core] allow to specify root certificate authority to use in all tls/ssl connections, see faq, mostly actual for Windows XP with expired system certificates
  • [core] allow to load huge databses and interrupt loading porgress
  • [core] reduce memory consumption by model (~ 44%)
  • [core] use in-depth scan order instead of in-breadth
  • [core, win32] fix negative serial number in generated ssl-certificates
  • [core, fltk] more correctly display file scanning progress
  • [core, bugfix] make successful upnp port unmapping upon shutdown
  • [fltk] deactivate currently selected log level button

Syncspirit is a syncthing-compatible is written from the scratch software in C++ as classical desktop application.

Syncspirt source code uses GPLv3 license.

Any feedback is welcome!

WBR, basiliscos.

87
 
 

I’ve been reading you should use Snapper. I looked before I updated from 15.6 to 16, but didn’t seem to have it installed even then, though I did have something that looked like it in YaST.

Now in 16, I also can’t find Snapper and I don’t seem to have the general interface of YaST anymore either. Just some separate tools, but not the snapshot one.

Is Snapper something you can download? I previously installed Timeshift because I went to OpenSuse 15.6 from Mint. I didn’t know there was already something installed that could do this, and as Timeshift is what’s used in Mint, I just downloaded that. Can I just use Timeshift?

88
 
 

I had installed Fedora KDE for an older relative on his old Dell laptop. I had already upgraded it from 40 to 41 before, but this time it seemingly refuses to upgrade at all.

I tried upgrading through the "KDE Discover" program at first, no success. I would click the "Upgrade to Fedora 42" button and nothing would happen.

Then I tried upgrading manually using the instructions given by the fedora wiki, and I get the errors from the attached image. (Image below is the continued output)

On top of that, to make things worse, WiFi literally disappears at a whim sometimes. I mean all GUI options for WiFi disappear. I have to restart to make it work again. This is frustrating, can anyone give some insight? Should I just wipe and reinstall something else?

89
 
 

In the interest of maximizing battery life, I've set up suspend-then-hibernate on my laptop. Using a discrete window manager, so I have a systemd unit that locks the screen when I close the lid. After an hour, it automatically goes into hibernation.

All is well, until I have to boot up from hibernation. I'm prompted to unlock LUKS, then I'm hit with a redundant lock screen once resumed. I've tried setting up systemd units referencing suspend-then-hibernate.target and hibernate.target, but I can't get it to kill the screen locker when resuming from hibernation only, so I don't have to type in my password twice. Is there any way to have systemd discriminate between the suspend and hibernate parts of suspend-then-hibernate?

90
 
 

Hi. as I told, I cant connect some spesific websites on arch linux. I using hotspot wifi on my laptop but it didnt worked.

I tried changing mac adress, changed resolv.conf (then undo it.) I tried delete evert ssl and redownload it, downgrade mtu but none of them worked.

Also idk why but there's always a yellow sign next to the wifi symbol

any solutions? thanks.

Edit: Okay I solve the problem by checking curls logs however my wifi was a public wifi and I still cant connect it.

I can open captive portal but when I try to connect it connection resets by portal.

I've tried connect with tls 1.1 1.0 ( Bc curls log saya so) But none of them worked.

I think this is the one of linuxs dark hole

91
 
 

This kinda stems from this issue I asked about a while back, Pipewire an PulseAudio have caused me quite a bit of confusion lately as I recently started experiencing crackling/static sounds from my Bluetooth speaker when playing audio.

After days of digging and thinking that I’ve fixed the issue by editing /usr/share/piperwire.conf and /usr/share/pipewire-pulse.conf and following guides like this one (I know the link is for EndeavorOS) I have seem to come to the conclusion that Pipewire-ALSA is the issue to the crackling/static sounds I’m hearing.

I stumbled upon qpwgraph which appears to visualize the flow and when I disconnect Pipewire-ALSA from the flow the cracking sounds stop, now from my understanding Pipewire and PulseAudio cannot coexist which is causing my confusion because Pipewire-ALSA also appears to connect to a bunch of PulseAudio Volume Controllers.

Edit; I failed to mention my distro or hardware:

-------------
OS: Debian GNU/Linux 13 (trixie) x86_64
Kernel: Linux 6.12.48+deb13-amd64
Uptime: 2 hours, 19 mins
Packages: 4836 (dpkg), 50 (flatpak), 5 (snap)
Shell: bash 5.2.37
Display (VG249Q3A): 1920x1080 @ 165 Hz in 24" [External] *
Display (ASUS VG24V): 1920x1080 @ 120 Hz in 23" [External]
DE: KDE Plasma 6.3.6
WM: KWin (X11)
WM Theme: Nothing
Theme: Breeze (Nothing) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: WhiteSur (24px)
Terminal: konsole 25.4.2
CPU: Intel(R) Core(TM) i7-8700 (12) @ 4.60 GHz
GPU: NVIDIA GeForce RTX 3060 Ti [Discrete]
Memory: 9.36 GiB / 15.54 GiB (60%)
Swap: 1.26 GiB / 6.91 GiB (18%)
Disk (/): 172.66 GiB / 232.24 GiB (74%) - ext4
Disk (/media/user/Barracuda): 1.58 TiB / 1.78 TiB (89%) - ext4
Local IP (enp4s0): 192.168.1.17/24
Locale: en_US.UTF-8
92
 
 

Is anyone here using a (non-Android) linux Smartphone? Curious what type of phones y'all are using and what your experience has been.

93
 
 

I don’t have much of a clue of what I’m doing, but I wanted to update to the new version of OpenSuse. It seems to not be possible, however, due to ‘invalid’ repositories. They are apparently ‘orphaned’, and when I attempt to open them I get web-pages with errors.

I’ve added an image of the console showing information that may be useful... Sorry for it being in Dutch, I tried to set the language to English, but it seems to only change the UI texts.

The error message after ‘dist-upgrade’ reads ‘Because of the treatment of orphaned packages, the dist-upgrade depends on the correct setup of repositories [I think] more than any other command. It shouldn’t continue if the enabled repositories don’t want to refresh. This could seriously damage the system. If a non-refreshed repository isn’t really necessary, it should be disabled. See “man zypper” for more information on this command.’

... Hmm. How do I determine if a non-functioning repository (which I suppose the items in orange are) is ‘really necessary’?

94
 
 

This has turned out to be more tedious than I thought. I did the usual looking up tools to use, and found they use ddci, like ddcutil and ddccontrol, but they're very slow. Before setting them up, KDE's brightness slider did software brightness, now it does hardware brightness but now takes a whole moment with each brightness, I can't smoothly slide it back and forth like I can on laptops. I have a Dell G3233Q connected via USB For USB ports and DisplayPort.

95
 
 

Does anyone know of a cheap tablet that can run a Linux distro?

It doesn't need to be high spec - it's just for displaying photos.

Thanks!

96
97
 
 

I'm making a small cluster where I want one SBC in charge of the fan. the fan will pull across 2 chambers to cool everything. I want to be able to use standard linux tools to read and control fan speed but the orange pi I'm planning to put in charge of this function doesn't have a typical PC fan header. I have USB ports and GPIO pins I can break out into a microcontroller or some other adaptor or board but I wanted this to be visible to linux with standard tools.

I saw there are various pi PWM boards out there, but they all seem to cover the top of the boards and blow directly down with their own fan. I'm building a case with a single large fan and ducting that pulls air past passive heatsinks so that wont work.

I could just hardwire the fan and let it run full speed all the time, but thats louder and pulling in more dust than it needs to and wont warn me if the fan dies. Surely someone has already solved this problem but I haven't been able to figure out how.

98
67
submitted 2 weeks ago* (last edited 2 weeks ago) by lost_faith@lemmy.ca to c/linux@lemmy.ml
 
 

Tonight I am installing Kubuntu on the gfs machine. Once she is comfortable with that, and the support ends for our version prolly going with Debian. Going to remove her windows drive (256 or 512GB) as there is only 1 m.2 port on the board, and replace it with a 1tb.

Her needs are simple, make Logitec G13 work (works and tested on my machine for months), Make ESO and addons work (Lutris has its own installer for ESO YAY! Minion has a linux version.), and minecraft java (found in app manager).

Now, she has some knock off razor mouse with buttons under the thumb, maybe the razorx software or whatever it's called will work on her mouse?, this may be a slight pain point. I am hoping this will work out and she will be happy with her (new) pc, we are preserving her windows as a fall back if she hates it. I have a short video lined up to teach her the linux file system. She won't be doing anything command line, for now, except to start the G13. Gonna leave her with the dolphin file manager as it is difficult to get elevated privileges compared to nautalis(sp?) where it is a simple checkbox click. Anything else to suggest here?

I can mostly teach her what she needs to know as we go, she is a smart cookie and has picked up everything I taught her for windows and networking so far so should not be an issue for her, but if you guys have any suggestions on tutorial vids for non power users or other things I can do to make this even more seamless it would be appreciated.

Edit: Thank you all for your input, very much appreciated. I will keep monitoring for new posts

99
 
 

wpctl set-default $(pw-dump | jaq -r '.[]|select(.type=="PipeWire:Interface:Node" and .info.props["media.class"]=="Audio/Sink")|[.id,.info.props["node.name"],.info.props["node.description"]]|@tsv' | awk -F'\t' -v d="$(wpctl inspect @DEFAULT_AUDIO_SINK@|awk -F'"' '/node.name/{print $2;exit}')" 'BEGIN{c="tofi --prompt-text \"Audio Device: \" --height 40% --width 40% --auto-accept-single true"}$2!=d&&$2!="easyeffects_sink"{a[$3]=$1;devs++;print $3|&c}END{if(devs>1){close(c,"to");c|&getline p;if(p!=""){print a[p];system("notify-send --urgency=low --icon=/run/current-system/sw/share/icons/Flat-Remix-Red-Dark/panel/audio-volume-high-symbolic.svg \""p"\" -h string:x-canonical-private-synchronous:sink-state")}}else if(devs==1){for(k in a){print a[k];system("notify-send --urgency=low --icon=/run/current-system/sw/share/icons/Flat-Remix-Red-Dark/panel/audio-volume-high-symbolic.svg \""k"\" -h string:x-canonical-private-synchronous:sink-state")}}}') >/dev/null && pw-play --volume=0.2 /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga >/dev/null &!

there's probably a lot to improve here, took forever to get this working, did not do a cleanup pass, jfc this took forever, replace tofi with your menu of choice, thought people should have this.

wishlist: change the icon based on volume level

100
view more: ‹ prev next ›