Linux

49701 readers
943 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 5 years ago
MODERATORS
26
27
 
 

I am thinking about using distrobox. Since I am on debian I wont need it to install software I could otherwise not install. But I have some apps that require weired install scripts and I am thinking about using it as a security measurement. Do you think that is a good idea? Does that idea makes sense?

28
29
 
 

I always write little scripts and aliases that help me from time to time. I just wanted to share some of my newest simple scripts. There are probably better or easier ways to do, but writing and testing them is fun too. Both make use of the 7z command, a commandline archive tool. Posting it here, so anyone can steal them. They are freshly written, so maybe there are edge cases.

crc32sum:

#!/usr/bin/env bash

# Calculate CRC32 for each file.
if [ "${#}" -eq 0 ]; then
    echo "crc32sum files..."
    echo "crc32sum *.smc"
else
    7z h -- "${@}" |
        \grep --after-context "${#}" '^-------- -------------  ------------$' |
        \grep --before-context "${#}" '^-------- -------------  ------------$' |
        awk '{print $1 "\t" $3}' |
        \grep -P '^[0-9A-Z]+\t'
fi

toarchive:

#!/usr/bin/env bash

# Create one archive for each file or folder.
if [ "${#}" -eq -1 ]; then
    echo "toarchive ext files..."
    echo "toarchive zip *.smc"
else
    ext="${1}"
    shift
    opt=()
    stop_parse=false

    for arg in "${@}"; do
        if [ ! "${stop_parse}" == true ]; then
            if [ "${arg}" == "--" ]; then
                stop_parse=true
                opt+=(--)
                continue
            elif [[ "${arg}" =~ ^- ]]; then
                opt+=("${arg}")
                continue
            fi
        fi
        file="${arg}"

        7z a "${opt[@]}" "${file}.${ext}" "${file}"
    done
fi
30
 
 

It's the same error if I try VANILLA or GAPPS

[SOLUTION] It works after you enter a password using "lxpolkit".

31
32
 
 
33
 
 

I recently got a FebSmart model FS-U304C-Pro. Supposedly, it's based off of the RENESAS UPD720201 host controller, which uses the xhci-pci-renesas firmware module. The manual says toward should work out of the box with "most" Linux kernels.

Unfortunately, when I tried to install the card into my system, it did not function. The card gets registered by lspci, and the kernel module shows up underneath it. The issue is that the usbs do not communicate through the card.

I tried looking at dmesg and I found what might be my issue:

xhci-pci-renesas 000:0*:00.0: Download to external ROM TO:0

xhci-pci-renesas 000:0*:00.0: Timeout for Set DATAX step: 2

xhci-pci-renesas 000:0*:00.0: Firmware Download Step 2 failed at position 8 bytes with error (-110).

xhci-pci-renesas 000:0*:00.0: firmware failed to download (-110).

xhci-pci-renesas 000:0*:00.0: probe with driver xhci-pci-renesas failed with error -110

I have tried:

  • reinstalling my firmware modules
  • updating my system
  • moving the card to my other x1 slot
  • (edit) changing the speed my pcie slots are negotiating

Is there any way I can solve this issue locally before I either send this to issue to a bug tracker or send this card back? Also, I use Arch btw.

34
 
 

Currently, i am searching graphical date and time settings programs other than gnome-system-tools for my custom desktop environment. Does anybody know graphical date and time settings programs other than gnome-system-tools?

35
 
 

This release adds the following features:

  • Allow emulating devices reading EFI keys
  • Allow skipping device tests by CPU architecture

This release fixes the following bugs:

  • Cleanup Dell kestrel devices when disconnected
  • Correctly build binary EFI_SIGNATURE_LIST objects
  • Do not allow dbx updates when no ESP was found
  • Ignore BootXXXX entries that do not exist when checking the dbx
  • Ignore EFI binaries that are zero-sized, or not well formed
  • Inhibit dbx updates if snapd is not available when using Ubuntu-style FDE
  • Only match the device checksum if the protocol matches
  • Raise authentication requirements for emulation-load
  • Request to upload failed reports for install/downgrade too
  • Use the kernel architecture when building the dbx instance ID
  • Write sbatlevel to PE/COFF files correctly

This release adds support for the following hardware:

  • More ELAN Fingerprint readers
  • Star Labs StarLite Magnetic Keyboard
36
 
 

It's not worth shipping and handling, it's beaten up, and I don't know anybody who wants it. Nothing is upgradeable, unless you count inserting a microSD card.

Of course I could use it as a janky media server or a dumb SSH terminal, but I've already got other machines for those jobs. Or I could recycle it, but what's the fun in that? Suggest me your wackiest programs to try, dangerous distros, or most unorthodox setups to make use of it.

37
38
 
 
  1. I̶ h̶a̶v̶e̶ N̶V̶I̶D̶I̶A̶ O̶p̶t̶i̶m̶u̶s̶ a̶n̶d̶ I̶ h̶a̶v̶e̶n̶'t̶ b̶e̶e̶n̶ a̶b̶l̶e̶ t̶o̶ g̶e̶t̶ a̶n̶y̶ m̶e̶t̶h̶o̶d̶ o̶f̶ i̶n̶s̶t̶a̶l̶l̶i̶n̶g̶ N̶V̶I̶D̶I̶A̶ d̶r̶i̶v̶e̶r̶s̶ t̶o̶ w̶o̶r̶k̶. I̶ d̶o̶n̶'t̶ n̶e̶c̶e̶s̶s̶a̶r̶i̶l̶y̶ c̶a̶r̶e̶ a̶b̶o̶u̶t̶ t̶h̶e̶ f̶u̶l̶l̶ s̶w̶i̶t̶c̶h̶i̶n̶g̶ a̶b̶i̶l̶i̶t̶y̶ o̶f̶ t̶h̶e̶ O̶p̶t̶i̶m̶u̶s̶, a̶l̶t̶h̶o̶u̶g̶h̶ s̶u̶r̶e̶ i̶t̶ w̶o̶u̶l̶d̶ b̶e̶ n̶i̶c̶e̶. I̶ a̶l̶s̶o̶ h̶a̶v̶e̶ b̶e̶e̶n̶ u̶n̶s̶u̶c̶c̶e̶s̶s̶f̶u̶l̶ t̶u̶r̶n̶i̶n̶g̶ o̶f̶f̶ t̶h̶e̶ I̶n̶t̶e̶l̶ U̶H̶D̶ g̶r̶a̶p̶h̶i̶c̶s̶ (̶a̶s̶ a̶n̶ o̶p̶t̶i̶o̶n̶)̶. M̶y̶ c̶o̶m̶p̶u̶t̶e̶r̶ i̶s̶ a̶n̶ M̶S̶I̶ S̶w̶o̶r̶d̶ 1̶5̶ A̶1̶1̶U̶D̶, w̶i̶t̶h̶ N̶V̶I̶D̶I̶A̶ C̶o̶r̶p̶o̶r̶a̶t̶i̶o̶n̶ G̶A̶1̶0̶7̶M̶ [̶G̶e̶F̶o̶r̶c̶e̶ R̶T̶X̶ 3̶0̶5̶0̶ T̶i̶ M̶o̶b̶i̶l̶e̶]̶ 3̶D̶ g̶r̶a̶p̶h̶i̶c̶s̶. I̶ h̶a̶v̶e̶ i̶n̶s̶t̶a̶l̶l̶e̶d̶ u̶s̶i̶n̶g̶ t̶h̶e̶ D̶r̶i̶v̶e̶r̶ M̶a̶n̶a̶g̶e̶r̶ i̶n̶ M̶i̶n̶t̶, a̶n̶d̶ a̶l̶s̶o̶ m̶a̶n̶u̶a̶l̶l̶y̶. I̶ h̶a̶v̶e̶ c̶h̶e̶c̶k̶e̶d̶ a̶n̶d̶ I̶ a̶m̶ u̶s̶i̶n̶g̶ t̶h̶e̶ 5̶5̶0̶ d̶r̶i̶v̶e̶r̶, w̶h̶i̶c̶h̶ I̶ t̶h̶i̶n̶k̶ i̶s̶ s̶u̶p̶p̶o̶s̶e̶d̶ t̶o̶ b̶e̶ t̶h̶e̶ r̶i̶g̶h̶t̶ o̶n̶e̶.

  2. I am having trouble transitioning to Linux where I am not able to simply navigate to additional hard drives contained in my laptop or attached via usb. I have my torrents on an external drive, and it keeps getting renamed, easystore somehow became "owned" by root and inaccessible, and I had to switch to easystore1 which was created in the same folder. After I switched, easystore1 became owned by root, and I had to switch to easystore2, which had been created.

In addition to this, I can't browse to the external hard drive through plex media server or radarr/sonarr, it just doesn't show on the menu. I know it's a permission issue, but I don't understand how that works.

I was happy up to a point, but my Linux installation is becoming what I was afraid of, a test showing me how little I know, and a time-eater that causes my wife to wonder what happened to her husband.

Please, I want to be free, but I don't want to just say bye to my hard drives and my GPU. Help me, community. You're my only hope.

39
 
 

Friend has an old laptop with windows 10 that he doesn't use because too slow and freezing all the time. Wants to revive it to leave at his lab in grad school for browsing the internet and editing stuff on google docs so he doesn't have to carry his newer laptop everyday.

I suggested Linux but I myself always used Debian and I am not sure it will run decently with such low specs. Was thinking maybe Debian 11 with xfce or something? Any better options?

40
 
 

Hi everyone!

I'm struggling with two things on my Surface Go 1 with Fedora 41 on it.

  • I'm trying to get rid of the Surface Kernel I once installed. Apparently I should type sudo dnf remove kernel-surface but then the terminal tells me that there is no corresponding package. Still, when I type uname -a I can see that the kernel is 6.12.7-1.surface.fc41.x86_64 #1 SMP PREEMPT. How can I get rid of it as it makes things tricky if I want to deploy my installation on another computer?

  • I'm looking for a PDF viewer which would allow me to go from one PDF file to another without going back to the file explorer. In a way, I'd want it to work a bit like an image viewer where you only have to click on an arrow to go to the next image. Is there such a program?

Thanks for your help!

41
42
 
 

I know a lot of you guys prefer written content so I linked to the blog in the OP, but here's the video (it's 35 minutes long and ranty with no chapters): https://youtu.be/RbvmtnWe2cw

43
44
45
 
 

Only getting video output from the motherboard. It did this with Budgie on top of stock Ubuntu and with the Budgie "flavor" freshly installed.

I have an Intel A310 in an HP prebuilt, so that's probobly the issue.

46
 
 

Article has some observation about the new statistics provided by Steam-Hardware-Software-Survey-Welcome-to-Steam.

The Steam on Linux marketshare ended 2024 with a 2.29% against Windows at 96.1% and macOS at 1.61%. The Steam Survey numbers for January were posted this evening and they show a sizable dip for the Linux gaming use but there are also other odd discrepancies with the updated monthly figures.

...

Where things get odd though is that the January results show the English language use dropping by 8.17% down to 33.97%... Most other languages dropping too and no explanation where the 8%+ usage went from the English use.

47
62
ope, kernel panic :/ (sh.itjust.works)
submitted 6 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

I'm on Bazzite and was able to rollback and ~~boot~~ get to the desktop, but I'm not completely sure where to go from here. I think I need to pin my current deployment before doing anything else? I think sudo ostree admin pin 0 ? (No, it's 1)

Help is welcome but I've barely begun to troubleshoot and I just installed Discord to ask on there. Looking for sympathy I guess?

Edit: phrasing

EDIT2: Not just me, someone on the uBlue Discourse linked to this post, and other people have posted about it on the Bazzite Discord. Roll back and wait, and curious if you're also on the Nvidia KDE build too. I should probably be helpful and open an issue on GitHub. :/

Edit 3: devs are working on it :)

Final edit: the devs released a working update this afternoon, I just updated and it works. I kinda like this atomic distro thing, at no point in time was my computer unusable. 10/10 experience, still would prefer to avoid future kernel panic at the disco, lol.

48
 
 

Hi y'all! My set up:

  • Desktop PC, running Ubuntu 24 and KDE 5.27
  • Local server running Ubuntu 24

I have had my Dolphin file browser set up to connect to the local server vis SSH since forever but starting this week, it can't seem to connect. It just says "Loading..." forever, no error.

This is the URL it uses for this connection:

sftp://[email protected]:22/

Until last weekend, it just worked. I don't recall anything happening around that time. I don't think anything has changed on the server.

I can still connect via SSH at a terminal just fine so I know the server is online & the user hasn't changed.

Are there logs for Dolphin somewhere? How can I troubleshoot this?

Thanks for any ideas!

EDIT: I, uhhh... rebooted and it works now. Thanks anyway @[email protected] you taught me how to troubleshoot this tool and I appreciate that.

49
 
 

I would love KDE connect to have screen mirroring and most importantly - answering incoming calls and sending outgoing calls, with auto connect on linux computer login.

I was using phone link followed by intel unison on windows and ofc phone link worked the best. KDE connect comes close but the call function mentioned above still not there.

Im not a tech related person so all I could do is wait patiently for the amazing devs from the sidelines.

50
 
 

Finally it got explicit sync and games on wayland run without this flickering. NICE! This is definitely going to be the year of the linux desktop :D

view more: ‹ prev next ›