1
2
submitted 17 minutes ago by [email protected] to c/[email protected]

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?

2
19
submitted 2 hours ago* (last edited 2 hours ago) by [email protected] to c/[email protected]
bindntr=CTRL,C,exec,hyprctl activewindow -j | rg "title" | rg -q "Office365 Desktop - Nexus" && sleep .01 && alacritty --class 'alacrittyclipboard' -e sh -c 'sleep .02 && 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.

3
115
submitted 8 hours ago by [email protected] to c/[email protected]
4
25
submitted 10 hours ago by [email protected] to c/[email protected]

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

5
132
submitted 17 hours ago* (last edited 16 hours ago) by [email protected] to c/[email protected]

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!

6
83
submitted 16 hours ago* (last edited 15 hours ago) by [email protected] to c/[email protected]
7
53
submitted 16 hours ago by [email protected] to c/[email protected]
8
22
submitted 14 hours ago* (last edited 1 hour ago) by [email protected] to c/[email protected]

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>
9
5
submitted 16 hours ago by [email protected] to c/[email protected]
10
34
submitted 1 day ago by [email protected] to c/[email protected]
11
227
Wine 9.9 Released (gitlab.winehq.org)
submitted 1 day ago by [email protected] to c/[email protected]

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
12
72
submitted 1 day ago by [email protected] to c/[email protected]

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.

13
68
submitted 1 day ago by [email protected] to c/[email protected]
14
23
submitted 1 day ago by [email protected] to c/[email protected]

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?

15
43
submitted 1 day ago by [email protected] to c/[email protected]

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!

16
45
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

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.

17
153
submitted 2 days ago by [email protected] to c/[email protected]
18
47
My Linux Command Line Tools (thingsiplay.game.blog)
submitted 1 day ago by [email protected] to c/[email protected]

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.

19
62
submitted 1 day ago by [email protected] to c/[email protected]

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.

20
20
Announcing Agama 8 (yast.opensuse.org)
submitted 1 day ago by [email protected] to c/[email protected]
21
67
submitted 2 days ago* (last edited 6 hours ago) by [email protected] to c/[email protected]

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

22
69
submitted 2 days ago by [email protected] to c/[email protected]

Title is TLDR. More info about what I'm trying to do below.

My daily driver computer is Laptop with an SSD. No possibility to expand.

So for storage of lots n lots of files, I have an old, low resource Desktop with a bunch of HDDs plugged in (mostly via USB).

I can access Desktop files via SSH/SFTP on the LAN. But it can be quite slow.

And sometimes (not too often; this isn't a main requirement) I take Laptop to use elsewhere. I do not plan to make Desktop available outside the network so I need to have a copy of required files on Laptop.

Therefor, sometimes I like to move the remote files from Desktop to Laptop to work on them. To make a sort of local cache. This could be individual files or directory trees.

But then I have a mess of duplication. Sometimes I forget to put the files back.

Seems like Laptop could be a lot more clever than I am and help with this. Like could it always fetch a remote file which is being edited and save it locally?

Is there any way to have Laptop fetch files, information about file trees, etc, located on Desktop when needed and smartly put them back after editing?

Or even keep some stuff around. Like lists of files, attributes, thumbnails etc. Even browsing the directory tree on Desktop can be slow sometimes.

I am not sure what this would be called.

Ideas and tools I am already comfortable with:

  • rsync is the most obvious foundation to work from but I am not sure exactly what would be the best configuration and how to manage it.

  • luckybackup is my favorite rsync GUI front end; it lets you save profiles, jobs etc which is sweet

  • freeFileSync is another GUI front end I've used but I am preferring lucky/rsync these days

  • I don't think git is a viable solution here because there are already git directories included, there are many non-text files, and some of the directory trees are so large that they would cause git to choke looking at all the files.

  • syncthing might work. I've been having issues with it lately but I may have gotten these ironed out.

Something a little more transparent than the above would be cool but I am not sure if that exists?

Any help appreciated even just idea on what to web search for because I am stumped even on that.

23
41
submitted 2 days ago by [email protected] to c/[email protected]

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.

24
22
submitted 2 days ago by [email protected] to c/[email protected]

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
25
18
submitted 2 days ago by [email protected] to c/[email protected]

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.

view more: next ›

Linux

44615 readers
1017 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