Linux

48665 readers
547 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
126
127
11
submitted 2 weeks ago* (last edited 2 weeks ago) by sgibson5150@slrpnk.net to c/linux@lemmy.ml
 
 

Final edit: I got all the Linux stuff right but made a dumb mistake generating the image on the Windows side. Watching the VM boot right now. Thanks to all for your support!

cross-posted from: https://slrpnk.net/post/15860280

Contemplating Fedora Kinoite for work daily driver. Need to prove that I can virtualize an existing physical Windows 11 machine. Using Bazzite on a personal laptop as a host test bed.

Test host seems to be set up correctly. I layered the packages in the virtualization group, layered virtio-win (from downloaded rpm package), added my user to the libvert group, and enabled libvirtd. After a reboot or two, I can connect with the Virtual Machine Manager and define my VM.

On physical machine I used Disk2vhd to generate a vhdx. Moved that file to the test host and converted to qcow2. Copied disk image to /var/lib/libvert/images and added it as my drive image when I defined the VM.

VM starts but will not boot. Stupid question: Should I have installed virt-win-gt-x64.msi from the virtio-win ISO on the source Windows install before I created the vhdx?

Edit: Since I posted, I installed a Debian guest from scratch in this environment and it runs like a champ. πŸ‘

128
129
 
 

I have been facing this issue since yesterday, but basically at some point the system becomes insanely slow, and the restart and shutdown options disappear from the menu, tty3-7 dont work, it freezes at the shutdown -now command(at which point I just manually cut the power(bad Idea I know)),

but today I stuck around as my system got insanely borked, eventually freezing up and giving me the screen above. the problem shows up after I wake it up from suspend but not always: My system specs:

OS: Fedora Linux 41 (Workstation Edition) x86_64 
Host: TECRA R940 PT439V-03U02WAR 
Kernel: 6.11.10-300.fc41.x86_64 
Uptime: 23 mins 
Packages: 2282 (rpm), 43 (flatpak) 
Shell: bash 5.2.32 
Resolution: 1600x900 
DE: GNOME 47.1 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-3540M (4) @ 3.700GHz 
GPU: AMD ATI Radeon HD 7550M/7570M/7650M 
Memory: 1845MiB / 7879MiB 

here are the journalctl entries that I think are relevant

entries for events 40 min before that.

and this is from when it happened earlier in the day

130
131
 
 

cross-posted from: https://lemmings.world/post/17422969

Yesterday I did an update (using yes | yay) for about 75 packages on my 6 year old EndeavourOS system. I do updates every 2 weeks in general. Rebooted, did some work and left the screen on, for an hour (I usually do this). Came back and saw my screen having weird doubling text glitch, [like this screenshot above]. This issue also visible on my firmware setting (BIOS) screen, which leads me to believe this might be a h/w issue, though not sure.

I want to know whether an arch update can break my display. One particular thing I noticed this morning was, when i adjusted my display brightness, the screen went back to normal for a minute or so.

Also recently I changed my battery about 2 months ago. This was my second battery replacement. After I did my first battery replacement (3 years ago), my laptop had similar display issues with Intel integrated graphics on Windows a month later. which forced me to switch. It was fine on Linux, up until now. So it got me thinking if there is any connection with battery replacements and display issues. I know it sounds weird. Earlier there were not display anomalies on the BIOS screen, but now there is.

Is there a way to fix this.

System info: HP Envy, EndeavourOS Linux 6.12.1-arch1-1, Intel(R) Core(TM) i7-8550U with Intel UHD Graphics 620

[Update 1]
I hooked up my laptop to an external monitor and everything looks fine on the monitor screen. So the issue is only with my Laptop’s screen I guess.

[Update 2]

Packages I upgraded yesterdayalsa-card-profiles alsa-ucm-conf alsa-utils sqlite npth systemd-libs libsysprof-capture gnupg file systemd pacman archlinux-keyring bash-completion btrfs-progs c-ares dav1d dkms edk2-ovmf ell eos-translations fastfetch spirv-tools glslang libpipewire pipewire pipewire-audio libwireplumber wireplumber pipewire-jack libjxl shaderc libplacebo pixman ffmpeg noto-fonts firefox flatpak fluidsynth fwupd gst-plugin-pipewire iwd js115 js128 less libbpf libsynctex libtool openal mpv noto-fonts-extra passt perl-image-exiftool pipewire-alsa pipewire-pulse pkgconf plocate pv qt6-translations qt6-base qt6-declarative qt6-multimedia-ffmpeg qt6-multimedia qt6-svg qt6-wayland sudo systemd-resolvconf systemd-sysvcompat ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols virtiofsd webkit2gtk-4.1 webkitgtk-6.0 welcome xterm librewolf-bin librewolf-bin-deb

132
 
 

This is a reminder to user sudoedit. Especially useful for Vim and Neovim users who have a rich and personal configuration.

sudoedit /etc/fstab

is also an option. sudoedit is a short form for sudo -e. It uses the default editor set int EDITOR or VISUAL variable. The difference to sudo vim FILE or sudo nano FILE is, that sudoedit FILE will use the editor configuration from the current user instead from the root. For me this makes a huge difference, because my plugins and settings for Neovim are not used when doing sudo vim.

Man page: https://linux.die.net/man/8/sudoedit

-e' The -e (edit) option indicates that, instead of running a command, the user wishes to edit one or more files. In lieu of a command, the string "sudoedit" is used when consulting the security policy. If the user is authorized by the policy, the following steps are taken:

  1. Temporary copies are made of the files to be edited with the owner set to the invoking user.

  2. The editor specified by the policy is run to edit the temporary files. The sudoers policy uses the SUDO_EDITOR, VISUAL and EDITOR environment variables (in that order). If none of SUDO_EDITOR, VISUAL or EDITOR are set, the first program listed in the editor sudoers(5) option is used.

  3. If they have been modified, the temporary files are copied back to their original location and the temporary versions are removed.

If the specified file does not exist, it will be created. Note that unlike most commands run by sudo, the editor is run with the invoking user's environment unmodified. If, for some reason, sudo is unable to update a file with its edited version, the user will receive a warning and the edited copy will remain in a temporary file.

133
 
 

I have a Surface Go tablet that I switched over to Linux a while back, and just came across a problem that I don't know how to approach. I use an iDataLink Maestro module in my car to make an aftermarket stereo do what I want it to do. I want to check for a firmware update on it, but the management software tool is windows or mac only.

So I installed WINE and the PlayonLinux front end. I successfully installed the tool (Weblink) but the keyboard doesn't work so I can't log into it. The trackpad works though, and this is a directly connected keyboard/trackpad, so for one to work but not the other seems weird. I can find threads about non-functional keyboards with some games, but I honestly don't understand the guidance being dished out.

How can I troubleshoot and fix this keyboard issue?

134
135
136
 
 

Not sure why that is, but I have 32 GB of RAM and I would like my system to utilize it as much as possible, but as you can see in the screenshot, the system is only using 5.66 GB of the physical RAM, but swap is still being used in a high number. Is this normal? Should I lower the swappiness to lower than 10? Should I let it be? Thanks
Here is the screenshot

137
20
submitted 2 weeks ago* (last edited 2 weeks ago) by JoMiran@lemmy.ml to c/linux@lemmy.ml
 
 

I want to start uploading my musical tidbits online and I am looking for tools that can help me auto-generate videos off my music. I do all my music on Linux and I'd like the virtualization tool to also be Linux based. These can be visualizers or image screensaver style transitions. Anything that isn't generative "AI" because I'd rather not inadvertently steal others art. Any suggestions on apps?

138
 
 

On Windows, if you click MMB on some windows, your mouse cursor will turn into a little ↕️ icon, and then you can scroll by moving the mouse cursor up and down, with it going faster the further you drag away from the position it was originally at.

This is one (1) behaviour I miss from Windows. Hours upon hours of scroll-wheeling makes my joints quite tired.

But well. Linux is nothing if not customisable, so I'm wondering if there's a way to recreate this behaviour on it.

I'm on KDE Plasma.

139
140
 
 

Hi,

I have an air gaped[^1] device. ( Devuan )

How do you manage to install packages/software on off-line[^1] device ?

I've heard of apt-offline but it seem to bug and I don't know if it's still maintained (last release two years ago)

of course I've tried manually but the dependencies relations are too crazy to do that fully manually

Dependence tree (not complete even) to install for example apt-offline

β”œβ”€β”€ Depends
β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python3-dbg_3.9.2-3_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ libcurl4-gnutls-dev_7.74.0-1.3+deb11u14_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python3-pycurl-dbg_7.43.0.6-5_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python-pycurl-doc_7.43.0.6-5_all.deb
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python3-httplib2_0.18.1-3_all.deb
β”‚Β Β  β”‚Β Β  └── python3-pycurl_7.43.0.6-5_amd64.deb
β”‚Β Β  β”œβ”€β”€ iso-codes_4.6.0-1_all.deb
β”‚Β Β  β”œβ”€β”€ python3-pysimplesoap_1.16.2-3_all.deb
β”‚Β Β  └── python-apt-common_2.2.1_all.deb
β”œβ”€β”€ python3-apt_2.2.1_amd64.deb
└── python3-debianbts_3.1.0_all.deb

Any ideas ?

Thanks.

[^1]: air gaped, off-line
https://en.wikipedia.org/wiki/Air_gap_(networking)

141
 
 

I've been a very big Gnome fan in the past (I still love it!), but since Plasma 6, I rebased both my laptop (Silverblue) and gaming PC (Bazzite) to their KDE variant.

Plasma 6 was a huge milestone. Not only for the KDE team and everyone else out there, but also for me. I constantly tried KDE from time to time, but it never "clicked" for me. Gnome always felt more polished and better thought out.

But since I tried Plasma 6, I never felt the need to go back. It looked and felt very high quality, had quite a few nice features Gnome didn't have (the only working fractional scaling, HDR, VRR, Krunner, widgets, etc.), and, most importantly, it felt more robust than previous versions, with less crashes and weird bugs.

The fact that the release schedule seemingly got adapted to a form similarly to Gnome, which is very handy for distros like Fedora or Ubuntu, boosted my confidence in not expecting big changes between releases.

Somehow, that isn't the case tho. It worked relatively fine most of the time, but in the recent time, there are soo many paper cuts accumulating.

Nothing huge, but things like graphical glitches (sporadic colored horizontal lines when switching windows for example), my PC constantly awakening from standby, and so on. The compositor in particular is behaving weird from time to time. I stopped counting how often I lost progress of a game, because it crashed after unlocking my device for example.

What also annoys me a lot is the fact, that there are things changing all the time between releases.

I use Fedora Atomic, namely uBlue. Bluefin, the Gnome variant, offers a gts variant, where you are always one version behind the latest Fedora release. This ensures a more laid back experience.

I wanted to try that for myself too, but turns out, Bazzite and Aurora (KDE) don't even offer that, because KDE always pushes big changes between updates, which makes that impossible.

For a rolling release, like Arch or Tumbleweed, this is fine. But I chose Fedora (or any other distro with a fixed stable release schedule for that matter) specifically because I want to wait a few months until all bugs are ironed out.

Long story short, I started to think that KDE is somewhat inherently unreliable. Gnome feels more like "one thing", and KDE is more modular, and between the single modules are constant incompatibilities that give me paper cuts. The weird and irregular (for my taste) release schedule introduces constant problems.

Sometimes, I get a bit "nostalgic", and the grass is always greener on the other side. I will try to rebase to Gnome again for a while and see, if it gives me a more chill experience.

Don't misunderstand this "rant" as hate or something against KDE. It's unbelievable how much better both got this year alone, and I'm just incredible thankful what the developer teams of them have achieved.

I will start year 2025 with the best hopes and a lot of optimism for what will come!

(P.S.: I will of course try to catch and report all bugs I mentioned)

142
 
 
143
 
 

It was said that it would be done before the end of the year, glad to see things worked out. https://lemmy.world/post/14813808

144
145
28
submitted 2 weeks ago* (last edited 2 weeks ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
 
 

cross-posted from: https://lemmy.world/post/22692875

Today, the Khronos Group released the 1.4 specification of Vulkan, the standard graphics API. The Asahi Linux project is proud to announce the first Vulkan 1.4 driver for Apple hardware. Our Honeykrisp driver is Khronos-recognized as conformant to the new version since day one.

That driver is already available in our official repositories. After installing Fedora Asahi Remix, run dnf upgrade --refresh to get the latest drivers.

Vulkan 1.4 standardizes several important features, including timestamps and dynamic rendering local read. The industry expects that these features will become more common, and we are prepared.

Releasing a conformant driver reflects our commitment to graphics standards and software freedom. Asahi Linux is also compatible with OpenGL 4.6, OpenGL ES 3.2, and OpenCL 3.0, all conformant to the relevant specifications. For that matter, ours are the only conformant drivers on Apple hardware for any graphics standard graphics.

Although the driver is released, you still need to build an experimental version of Vulkan-Loader to access the new Vulkan version. Nevertheless, you can immediately use all the new features as extensions in Vulkan 1.3 driver.

For more information, see the Khronos blog post.

146
147
148
 
 
  • Lutris downloads the latest GE-Proton build for Wine if any Wine version is installed
  • Use dark theme by default
  • Display cover-art rather than banners by default
  • Add 'Uncategorized' view to sidebar
  • Preference options that do not work on Wayland will be hidden when on Wayland
  • Game searches can now use fancy tags like 'installed:yes' or 'source:gog', with explanatory tool-tip
  • A new filter button on the search box can build many of these fancy tags for you
  • Runner searches can use 'installed:yes' as well, but no other fancy searches or anything
  • Updated the Flathub and Amazon source to new APIs, restoring integration
  • Itch.io source integration will load a collection named 'Lutris' if present
  • GOG and Itch.io sources can now offer Linux and Windows installers for the same game
  • Added support for the 'foot' terminal
  • Support for DirectX 8 in DXVK v2.4
  • Support for Ayatana Application Indicators
  • Additional options for Ruffle runner
  • Updated download links for the Atari800 and MicroM8 runners
  • No longer re-download cached installation files even when some are missing
  • Lutris log is included in the 'System' tab of the Preferences window
  • Improved error reporting, with the Lutris log included in the error details
  • Add AppArmor profile for Ubuntu versions >= 23.10
  • Add Duckstation runner
149
150
view more: β€Ή prev next β€Ί