Linux

49671 readers
1171 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
2326
2327
 
 

Ive just installed Linux (Fedora 40 KDE) on my main PC over the weekend, so im a complete newbie and i apologize if some of my questions are nonsensical 😅. Yesterday evening the system seemed to completely lock up at a certain point while playing Red Dead Redemption 2 for the first time (installed & run via steam using proton experimental). Id love to know if i handled this situation correctly and how to avoid this or handle it more gracefully in the future. Ill begin by recounting what happened and then ask my questions:

The game froze during a cutscene and continued to play audio for a bit after it froze visually but then that stopped too. I have two monitors, the second completely black screened and the first one was frozen on the last frame of the game. As far as i could tell nothing in KDE was still responding to normal key presses or the mouse.

After a some searching online i decided to try through the ctrl + alt + (f2, f3, ... , f6) key combinations to get into a console, that didnt work. As a last resort i tried alt + sysreq (print screen) + REISUB to safely reboot it. That ALSO didnt work, it was p. damn late in the day so i just decided to risk it and use the power button on my pc.

I was prepared for it not to boot anymore due to data corruption or sth, but it seemed mostly fine? My KDE panels were slightly messed up (but that took like 10 sec to fix) and besides that the only odd thing i've found so far is that steam refused to start properly and i had to reinstall it.

So did i handle this situation correctly? Specifically:

  • did alt + printscreen + REISUB save my system or do nothing? As i said it didn't reboot when i did it so i thought it was useless. But after i forcibly restarted my pc and looked it up some more it seems all but alt + printscreen + S may have been disabled, so was alt + printscreen + S responsible for my system still starting without too many problems after i forcibly shut it down?

  • why did this happen & how to prevent it? My system should b powerful enough to run RDR2 (Radeon RX 6800, Ryzen 5 5600X, 32GB ram) and i had nearly no problems up until the crash. So whats at fault? On protondb RDR2 has p. good ratings, did i just get unlucky and found one of the few edge cases where it breaks? But even then, why would a proton/game crash take seemingly the whole OS with it?

  • is it a bad or a good idea to try and trigger this again on purpose? Id really like to know if this was a freak accident or a consistent problem (and if its consistent if eg. switching to proton 9.0.1 alleviates it). So was i lucky that nothing on my PC got badly damaged from this incident and i shouldn't try to trigger it again for fear of permanent damage? Or can i expect that having to reinstall Steam everytime it crashes is the worst that could happen while testing this?

UPDATE: I went back and did the same part of the game again but this time running it with proton 9.0.1 and the crash still occurred and in the exact same spot in the cut scene too. For reference, it crashed both times during this cutscene: https://www.youtube.com/watch?v=7UHv0SiVhWY @ around 1:23 when the explosion goes off (i only get to hear it briefly the visuals freeze seemingly just before it explodes).

Trying ctrl + alt + f keys didn't seem to do anything again. I had at least enabled the sysreq keys and REISUB appeared to work and got me back into the system this time without having to adjust KDE panels or reinstalling Steam. Visually the crash was a little different this time, i hit win/meta soon after it happened which after a second or two exchanged the stuck game visuals for a half cutoff browser window on my main monitor (and black otherwise) and my secondary monitor was filled with black and white noise with a bit of color in between.

UPDATE 2 (17/06/2024): I tried it again for the first time since the original post, im now on Kernel 6.9.4 and the crash occured in the exact same spot and looking more or less as described in the previous instances. I managed to get back into a normal state due to alt + sysreq + i (alt + sysreq + k didnt seem to have had any effect).

UPDATE 3 (16/09/2024): I've tried it again, proton 9.0-2 and kernel 6.10.9 and its still crashing at the exact same pont as usual. Only difference is that this time alt + sysreq + REIB didnt seem to have any effect. Tho i might have forgotten "I" now that i think about it again. I had to do a hard restart using the power button, but it doesnt seem like anything broke.

UPDATE 3.5 (16/09/2024): Tried the next newest proton version steam has (experimental). Now the dialogue during the gameplay bit just before the cutscene doesnt trigger, then the game goes into "cutscene mode" (i think, i get black bars top and bottom and the menu becomes unavailable) but no cutscene plays and i (presumably) get softlocked. I tried waiting in case it was playing but i didnt see, i waited 5 min or so and it never ended.

2328
 
 
bindntr=CTRL,C,exec,hyprctl dispatch closewindow alacrittyclipboard & hyprctl activewindow | rg -q "class: Wfica" && alacritty -qq --config-file ~/.config/alacritty/alacrittyclipboard.toml --class 'alacrittyclipboard' --title 'Office365 Desktop - Nexus (SSL/TLS Secured, 256 bit)' -e sh -c 'sleep .03 && xclip -o | wl-copy'
windowrulev2 = float,class:(alacrittyclipboard)
windowrulev2 = stayfocused,class:(alacrittyclipboard)
windowrulev2 = noborder,class:(alacrittyclipboard)
windowrulev2 = noanim,class:(alacrittyclipboard)
windowrulev2 = noblur,class:(alacrittyclipboard)
windowrulev2 = opacity 0,class:(alacrittyclipboard)
windowrulev2 = maxsize 1 1,class:(alacrittyclipboard)

i've done it, I've finally figured out a workaround for this stupid bug that has existed on my system for the last 10 years. the citrix clipboard now works properly, this is the glueyest dumbest thing i've ever had to do and i've spent literally years trying to figure it out, turns out the wayland protocol forbids windows that don't have focus from accessing the clipboard, so, i had to make a window, it had to be focused for enough time for it to be recognized and it was a whole thing. Here you go for anybody that needs it, should be relatively easy to adapt from hyprland over to whatever. Fuck.

2329
2330
 
 

I've been using i3 for a while now, but the xfce power manager doesn't work outside the desktop environment, is there any alternative you can recommend? It doesn't matter if it is a terminal based or graphical interface program, I just need something that can suspend the computer after a certain time or lock it when the laptop is closed

2331
23
submitted 8 months ago* (last edited 8 months ago) by FrostyPolicy@suppo.fi to c/linux@lemmy.ml
 
 

I have on the host machine two network interfaces. One is lan and the other is a wlan. For libvirt I have created a nat network which is bound to the wlan. From the guest I can access other machines in the network host wlan is connected to. Also DNS lookup works. The problem is that there's no connection to the internet at all, e.g. pinging something gives "Destination network unreachable". ~~This only happens when both network connection on the host are active.~~ Running qemu/libvirt on OpenSuse Tumbleweed.

The nat network in question:

<network>
  <name>natToWlan</name>
  <uuid>a44c939c-e6bf-44d0-8f86-376056d418a4</uuid>
  <forward dev="wlp19s0f4u1u1" mode="nat">
    <nat>
      <port start="1024" end="65535"/>
    </nat>
    <interface dev="wlp19s0f4u1u1"/>
  </forward>
  <bridge name="virbr1" stp="on" delay="0"/>
  <mac address="52:54:00:1f:64:95"/>
  <ip address="192.168.100.1" netmask="255.255.255.0">
    <dhcp>
      <range start="192.168.100.128" end="192.168.100.254"/>
    </dhcp>
  </ip>
</network>
2332
2333
2334
105
submitted 8 months ago* (last edited 8 months ago) by MazonnaCara89@lemmy.ml to c/linux@lemmy.ml
2335
190
submitted 8 months ago* (last edited 8 months ago) by MintyFresh@lemmy.world to c/linux@lemmy.ml
 
 

I just fucking can't with windows anymore. I'd preach about it but I imagine you've heard it all. I have minimal computer expertise.

I use my PC mainly for streaming, downloading torrent files who's copyright you don't need to worry about, and light gaming. Usually just messing with New Vegas mods.

If someone knows of a good YouTube channel or guide or something written for andelder millennial caveman I would be grateful.

Edit: after having been recommended mint OS and giving it a quick Google, I got this! I haven't fucked with anything linux scince the early aughts. And holy shit has that come a ways. Guess I remembered back and got a little intimidated. Mint is downloading now. As a small f.u. I booted up edge to do it. Ty you beautiful people!

2336
2337
89
submitted 8 months ago* (last edited 8 months ago) by WeebLife@lemmy.world to c/linux@lemmy.ml
 
 

Hi everyone,

I'm getting fed up windows and want to switch my laptop to linux. My laptop also doesn't meet windows 11 standards so I figured nows a good time to switch. I don't do a whole lot on my laptop, but there are some programs that I do need to use. I have an E drum kit and right now I use reaper and Steven slate audio center to play and record my drums through my laptop. I looked at reaper, and I see linux options for download. But for Steven slate , I only see windows and Mac. This is pretty disappointing and so I figured I ask to see what would work for me.

I was going to go with Ubuntu, because it seems to be the most user friendly and has good support. I also use mullvad VPN on my laptop very frequently, which was another reason I chose Ubuntu.

Any help is appreciated. I'm willing to look at other distros too if there is one that better fits my needs.

EDIT: I have successfully migrated to linux mint and have reaper working with yabridge. Thanks, everyone, for your help and suggestions!

2338
 
 

cross-posted from: https://lemmy.blahaj.zone/post/12310804

Halp! Calibrating touchscreen on Panasonic CF-30

Hey all! I've been having an issue I can't figure out. Suddenly, I realized I'm in the heart of Linux users! I can ask here! I'm a total noob, so please be gentle.

I installed Xubuntu and got everything but the touchscreen working properly. The touchscreen works but the cursor is consistently off a bit, with the least error in the center of the screen and increasing as it moves to the sides. I've tried running xinput_calibrator but it doesn't help. I attempted to run libinput.calibrate-touchscreen but keep getting a "is a Wayland compositor running?" error message.

Any suggestions?

2339
238
Wine 9.9 Released (gitlab.winehq.org)
submitted 8 months ago by OsrsNeedsF2P@lemmy.ml to c/linux@lemmy.ml
 
 

Release notes

The Wine development release 9.9 is now available.

What's new in this release:

Support for new Wow64 mode in ODBC.
Improved CPU detection on ARM platforms.
Removal of a number of obsolete features in WineD3D.
Various bug fixes.

The source is available at https://dl.winehq.org/wine/source/9.x/wine-9.9.tar.xz

Binary packages for various distributions will be available from https://www.winehq.org/download

You will find documentation on https://www.winehq.org/documentation

Wine is available thanks to the work of many people. See the file AUTHORS for the complete list. Bugs fixed in 9.9 (total 38):

#25009 Password Memory 2010 - Titlebar color rendering error
#26407 Shadowgrounds Survivor crashes after viewing the map
#26545 Crysis2: Red color on highlights of Bumpmap/Specular Highlights
#27745 Racer is unplayable
#28192 regedit: The usage message arrives too late in the wine console
#29417 Mouse pointer laggy/slow in Dweebs and Dweebs 2 when virtual desktop mode is enabled
#31665 Femap unexpected crash on rebuild database (or any command that involves it i.e. import)
#32346 Window is too large with Batman and Head Over Heels remakes
#39532 Assassin's Creed Unity doesn't run
#40248 Some .NET applications throw unhandled exception: System.NotImplementedException: 'System.Management.ManagementObjectSearcher.Get' when using Wine-Mono
#44009 Syberia Gog version: crash after cinematics
#44625 Cybernoid 2 exits but x window drawing updates are frozen
#44863 Performance regression in Prince of Persia 3D
#45358 Assassin's Creed Syndicate (AC Unity; AC Odyssey) broken graphics
#49674 Feature Request: Restoring previous resolution upon an app crashing
#51200 High repaint label volume causes freezing
#53197 Total War: Shogun 2 crashes on unimplemented function d3dx11_42.dll.D3DX11LoadTextureFromTexture
#55513 Paint.NET 3.5.11 runs unstable on Wine 8.x (and later) because of a bug in Mono
#55939 Moorhuhn Director's Cut crashes after going in-game
#56000 Window title is not set with winewayland
#56422 Exact Audio Copy installer crashes
#56429 Applications crash with BadWindow X error
#56483 ShellExecute changes in Wine 9.5 broke 64-bit Winelib loading in WoW64 builds
#56485 Visual novel RE:D Cherish! displays white screen instead of logo video
#56492 Opentrack/TrackIR head tracking broken
#56498 Incorrect substring expansion for magic variables
#56506 strmbase TRACEs occasionally fail to print floats
#56527 Final Fantasy XI Online: Opening movie triggers a 'GStreamer-Video-CRITICAL'.
#56579 Setupapi fails to read correct class GUID and name from INF file containing %strkey% tokens
#56588 FlatOut 1 display resolution options limited to current desktop resolution using old wow64
#56595 Fallout 3 is slow
#56607 steam: no tray icon starting with wine 9.2
#56615 Spelunky won't start (GLSL version 1.20 is too low; 1.20 is required)
#56653 GetLogicalProcessorInformation can be missing Cache information
#56655 X11 Driver fails to load
#56661 Project Diablo 2 crashes
#56671 Disney Ratatouille demo renders upside down on Intel graphics
#56682 msvcrt:locale prevents the msvcrt:* tests from running on Windows 7
2340
 
 

Hello,

I've been having trouble getting Stable Diffusion to run on Arch. I bought a 7900 XTX a couple weeks ago to get away from NVIDIA, one thing I really liked to do was mess around in Stable Diffusion, but for some reason I can't seem to get it working. I followed the guide on their page, but I think it may be outdated:

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs#install-on-amd-and-arch-linux

When I do 'pip install -r requirements.txt', it fails halfway through installing:

https://paste.debian.net/1317412

Not sure what to do from here, any help is appreciated!

2341
2342
2343
 
 

I have a laptop that spends some of it's time docked to a monitor and keyboard/mouse. I would like to know how to change some settings depending on if it's connected to the dock or not. Is there a program that can help with this?

Some possible use-cases include:

  • Changing size of the taskbar to smaller/bigger
  • Changing the behavior of the taskbar to auto-hide
  • Changing the font size smaller/bigger
  • Changing power settings performance/battery saver
  • Enabling/disabling auto brightness
  • Enabling/disabling keyboard backlight

These are just a few things I can think of but can provide more.

Something like Android's Tasker but for Linux would be great.

2344
 
 

A short list with categories of my smol terminal focused tools, scripts and functions I have created over the years. There are some general purpose and very specific ones. This list was needed, because in Github it was a bit cluttered. Maybe, just maybe, you find something useful or inspiring in there.

2345
 
 

Basically the title, I want to use my laptop, which uses Arch Linux, and my tablet, which is an android one, as an external monitor for my desktop pc.

2346
 
 

After years of my desktop environment (kde) being configured the same way, I tried enabling auto-hiding in my panel and I quite like the extra screen estate.

Now, the only reasons why I have a panel in the first place are the clock and the system tray (I don't use the ~~start~~ applications menu and I don't care for the task manager) so I've started wondering if I could completely dispose of the panel.

Do you know of any launcher (I use krunner but switching to something else is fine) that satisfies (or can be configured to satisfy) the following?

  1. shows the current date/time
  2. integrates a system tray
  3. launches applications
  4. does math, unit conversion and currency conversion
2347
 
 

I've been using open webui for some time but I wanted to test the Alpaka, a KDE app - https://apps.kde.org/alpaka/

When I click on an "Install on linux" button, Discover app is opening and gives me this error "Could not open appstream://org.kde.alpaka because it was not found in any available software repositories." When using dnf there's no such package as Aplaka. I can find and install other KDE apps. What am I missing?

I'm on Fedora 40, KDE spin.

2348
 
 

greetings, i want to build a daw (digital audio workstation), but i have no idea where to even start. here are my needs and the options i've found:

my needs:

  • load and keep things (audio, midi) in memory
  • cross-platform compatibility is not a requirement

the options i've found:

  • ~~flutter~~
  • ~~gtk/qt~~
  • raylib (with zig)
  • ~~webassembly (with zig)~~

[rejected] flutter: the first option that came to my mind was flutter. i thought it would give me a quick start in laying down the ui, but i don't think it has the capability to fulfill my needs (please correct me if i'm wrong)

gtk/qt (with zig): i wonder if qt provide bindings for zig

raylib (with zig): it's cool (my choice as of now)

[rejected] webassembly (with zig): it would be an ultimate comfort to build this way ig, but is it possible to make that web app into desktop one (like tauri or something)?

id really appreciate your opinions and advice

ps: i hope i'm clear. i got a headache searching about these. i'll update this post for more clarity later

final note

Thank you guys for all your opinions and advises. Thanks for explaining the limitations with gtk, things with qt and flutter. That kotlin compose thing was cool too. Thanks for mentioning yabridge thats gonna be helpful. It might not seem like it, but I did listen to your thoughts, and stuck with zig and raylib. Thanks a lot

2349
2350
 
 

Running a distro in a disk image has always been my favourite install method since wubi came out because a backup was only a question of copying a disk image and a couple of grub config files.

Then brunch applied the same method for ChromeOS but not only for windows, you could do it on Linux too.

Now with Linuxloops all setup has been automated and extended to many other distributions, not only ChromeOS.

view more: ‹ prev next ›