Linux

47756 readers
823 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
151
 
 

I'm using EndeavourOS (Arch btw) with KDE plasma 6.x (Wayland), SDDM, and systemd as boot manager. I have 2 displays, one HDMI-A-1 (1080p) and one on DP-1 (Ultrawide).

When I boot the password entry cursor defaults to the HDMI display, but I want it to default to the DP-1 display.

I've tried a few things, mostly suggestions from ChatGPT. But nothing has worked. The weird thing is at boot the boot menu and boot messages all appear on DP-1, and it is set as primary in KDE and that works fine as well. It is just the logon prompt that defaults to the wrong display.

Things I've tried so far.

  • Adding video=DP-1:e to the options in the systemd entry - (No effect)
  • Edited /etc/sddm.conf.d/wayland.conf to run a script that did the following: kwriteconfig6 --file startkderc --group General --key PrimaryScreen DP-1 (didn't fix it, actually broke the logon process so had to remove it)

I'm just not familiar enough with how SDDM works so hoping for some good pointers to provide the answer or point me in the right direction.

152
153
 
 

Hi all!

I have a Debian stable server with two hdds in a md RAID which contains an encrypted ext-4 filesystem.

sda          8:0    0   2.7T  0 disk
├─sda1       8:1    0     1G  0 part                    
│ └─md0      9:0    0  1023M  0 raid1 /boot             
├─sda2       8:2    0   2.7T  0 part                    
│ └─md2      9:2    0   2.7T  0 raid1                   
│   └─mdcrypt                                           
│          253:0    0   2.7T  0 crypt /                 
└─sda3       8:3    0     1M  0 part
sdb          8:16   0   2.7T  0 disk                    
├─sdb1       8:17   0     1G  0 part
│ └─md0      9:0    0  1023M  0 raid1 /boot             
├─sdb2       8:18   0   2.7T  0 part
│ └─md2      9:2    0   2.7T  0 raid1                   
│   └─mdcrypt
│          253:0    0   2.7T  0 crypt /                 
└─sdb3       8:19   0     1M  0 part

I'd like to migrate that over to BTRFS to make use of deduplication and snapshots.

But I have no idea how to set it up since BTRFS has its own RAID-1 configuration. Should I rather use the existing MD array? Or should I take the drives out of the array, add encryption and then add the BTRFS RAID inside that?

Or should I do something else entirely?

154
18
submitted 2 weeks ago* (last edited 2 weeks ago) by Gordon_F@lemmy.ml to c/linux@lemmy.ml
 
 

Hi,

I've seen some tutorial to create EdDSA key with Gnupg

gpg --full-gen-key

and it's supposed to allow me to create ECC key, but I see only

Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
(14) Existing key from card
Your selection?\

gpg --version show:

...
gpg (GnuPG) 2.2.27
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
...

Any idea what's wrong ?

155
 
 

So, I discovered weird behavior when trying to play games on an NTFS file system in Linux.

When i auto mount the drive through a fstab entry, it is only able to launch Linux native games (I think I read somewhere that this is a permission issue).

However, if I mount it through steams "select a drive" option, it works without a problem (so far at least).

I assume this is again a permission issue, as when I mount the drive through steam, I get a Polkit password prompt.

Anyone got a clue what's going on, and/or maybe a way to make the auto mount work, so I don't have to manually mount it after every boot?

Distro:

Arch

Kernel (according to neofetch):

6.11.1-zen1-1-zen

NTFS driver:

ntfs-3g

Proton version:

GE-Proton9-10

tested games:

  • Terraria (Tmodloader)
  • Project Wingman
  • Hades II

fstab entry:

#/dev/nvme1n1p1

UUID=E01A2CEC1A2CC180 /mnt/games ntfs nofail 0 3

full system update a few hours ago

date for future visitors (dd.mm.yyyy):

01.10.2024 at 14:44 (02:44 pm)

edit: formatting and adding proton version

156
554
submitted 2 weeks ago* (last edited 2 weeks ago) by Sparky@lemmy.blahaj.zone to c/linux@lemmy.ml
 
 

Hey y'all, today I experienced another push for Linux from our friend Microsoft. 5 minutes ago, I wanted to use the timer app on Windows, so I could manage my work/break schedule, and this fucker showed up. Yes, that's a prompt to sign in with a Microsoft account to use the clock. If you close it, it pops up 30s later. Clicking “Don't sign in” or closing the process responsible for displaying it is useless, and guess what… IT PAUSES THE TIMER WHEN IT SHOWS UP.

I guess this is another thing added to the super long list of things which will eventually make me switch my main workstation to Linux once win10 is discontinued.

/endrant

Hope y'all are having a great day :3

157
 
 

I've noticed a general sentiment that printing on Linux is (or at least was) extremely cumbersome and difficult. Why is that?

158
31
submitted 2 weeks ago* (last edited 2 weeks ago) by Gordon_F@lemmy.ml to c/linux@lemmy.ml
 
 

Hi,

I would like to use Gnupg to encrypt, sign... documents.

I've downloaded the Manual, it's quite extensive. So the learning curve is proportional :)

I've tried the GPA GUI, but with it, it seem impossible to generate an ECC key..

So what would be your recommendation to be able to generate ECC keys, be able to encrypt, sign etc.. with or without GUI.

Thanks.

159
34
submitted 2 weeks ago* (last edited 2 weeks ago) by vampira@lemmy.eco.br to c/linux@lemmy.ml
 
 

To sum it all up, I was looking to completely migrate from Windows 10 to Linux Mint (version 22, Cinnamon Edition). I followed an installation tutorial on YouTube, flashed the ISO to a bootable flash drive using balenaEtcher and booted Mint in my notebook. Something went wrong during the installation though: I tried to go a few steps back to review my options, and when I tried to proceed again I was met with this error:

ubi-partman failed with exit code 10

It seems it means there was a problem with partitions (I selected the option to wipe Windows and replace it with Mint in the installer), so I quit Mint and tried to boot it again so I could redo the installation. However, when i tried to boot it again I was met with this error:

Failed to open \EFI\BOOT\mmx64.efi - Not Found Failed to load image ??: Not Found Failed to start MokManager: Not Found Something has gone seriously wrong: import_mok_state() failed: Not Found

So essentially, since my Windows 10 system was wiped, I was left without an OS. So I looked up the error and it seems it's because version 22 of Mint doesn't have MokManager (don't know how it booted the first time then, but okay), so downloaded the ISO for a different one (version 21.2, Cinnamon Edition) that does have it and flashed my flash drive with it (on a different laptop, since mine was wiped.) When I tried to boot it to my laptop, I was met with yet another error:

Verifying shim SBAT data failed: Security Policy Violation Something has gone seriously wrong: SBAT self-check failed: Security Policy Violation

Now, it seems this will be solved by disabling Secure Boot in the BIOS. However, I'm a bit aprehensive on disabling Secure Boot, since the laptop I used to flash the OS into my bootable drive is a very, very old and unupdated machine. What are the odds of my flash drive being infected with malware that can compromise the installation if i disable Secure Boot? What should I do in this situation? Can anyone shine me some light? Any help would be appreciated, thanks!

160
37
submitted 2 weeks ago* (last edited 2 weeks ago) by eugenia@lemmy.ml to c/linux@lemmy.ml
 
 

I have installed Linux Mint 22 in a DELL laptop with a buggy ACPI implementation (the kernel complains about it during boot). The laptop hangs if it goes to sleep (I tried various Linux distros/kernel-versions, the result is the same).

Because of that, I have disabled SLEEP in the firmware (latest version for that laptop btw). So basically, when you close the lid, nothing happens (it just locks the screen).

However, sometimes you might be in a hurry and you close the lid to do something else, and then you forget about it. The result would be for the battery to run dry, which eventually destroys the battery.

My question is: what would be the best way to setup an audible alarm if the battery reaches 20%?

161
 
 

Hi,

I would like to display the new lines of /var/log/messages that contain either IN_MyText or OUT_MyText (no matter where in the line)

I've tried

tail -fn 3 /var/log/messages | grep --color --line-buffered -e "(IN|OUT)_MyText"

But the output stay blank, when it should not...

Any ideas ?

162
 
 

I installed pop!_os as my daily driver some months ago (completely got rid of windows) and have thought it pretty good. But something about it seemed off - it would take programs just too long to open, it wasn't snappy... Once I got into something it seemed to run fine (playing dota or something else was fine after initial quirks).

Well, today, figured it out...

When I did the first install, I was very nervous about deleting all of my existing data on my disks and so tried to manually partition everything so that I could get it right (I think I was also planning to dual-boot).

Fast forward to today, and I'm testing speeds on all the drives to see which one to pitch for a new one I acquired. I see the 3 HDDs, but where is the SSD... Oh god, I installed the boot partition and root and home all onto one of the ~12 year old HDDs and the SSD has been sitting idle.

Anyway, just about done with the new fresh install onto the SSD, hopefully it isn't too hard to start port over the home directory from that HDD...

163
 
 

Recently I started experimenting with Owncloud Infinite Scale to see how it compares to Nextcloud (which is ostensibly slow).

OCIS is super fast! But, it feels very lackluster. For example, their android app does not support custom directory uploads. Their Linux desktop application is very bare-bones, and does not look good on GNOME.

I personally would love some plugins, but I cannot find anything on the internet about any being developed for OCIS, even though from what it seems it should be immeasurably better than developing a nextcloud plugin.

Does anyone know of any good OCIS Plugins, or is the community effort pretty much non-existent?

164
81
submitted 2 weeks ago* (last edited 2 weeks ago) by mfat@lemdro.id to c/linux@lemmy.ml
 
 

Has anyone here had success with USB fingerprint scanners? I also found this Microsoft keyboard with fingerprint reader but I don't know if it works with linux.

165
166
 
 

Audacious is an open source audio player. A descendant of XMMS.

New features and improvements:

  • Support titlebar dimming for Winamp skins also with GTK
  • Allow to never show playlist tabs also in GTK interface (#1409)
  • Improve controls responsiveness with the Sndio output plugin
  • Add Qt 6 support for the Qt Multimedia output plugin
  • Support many more MPRIS metadata fields
  • Include .adx as file extension for the FFmpeg plugin (#1466)

Bugs fixed:

  • Include patch version in SONAMEs again (#1408)
  • Fix writing tags into audio files on Windows (#1421)
  • Make drag and drop work with GTK on Wayland (#1423)
  • Fix build with GCC and Meson on macOS
  • Handle big-endian systems correctly with Meson
  • Fix excessive CPU usage with the Qt Multimedia output plugin
  • Enable scroll buttons for playlist tabs on macOS (#1455)

Other changes:

  • Lower GTK 3 version requirement from 3.22 to 3.18
  • Offer SHA256 checksum files for our release tarballs (#1432)
  • Make CDDB support optional for the Audio CD plugin (#1437)
  • Allow minimum speed of 0.25 for the Speed and Pitch plugin (#1447)
  • Prefer PulseAudio plugin over PipeWire plugin for better backwards compatibility
  • Specify application ID and icon name for PulseAudio
  • Update translations
167
47
Tcl/Tk 9.0 released (www.tcl-lang.org)
submitted 2 weeks ago* (last edited 2 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Highlights of Tcl 9.0

  • 64-bit Capacity: Data values larger than 2Gb
  • Unicode and Encodings: full codepoint range, added encodings, encoding profiles to govern I/O, and more.
  • Zip Filesystems: mount zipfiles as filesystems
  • Attached Archives: enable starkit-style deployment of apps, with support data in filesystem archives attached to executable or libraries. Build tclsh and wish this way.
  • New Notifiers: The central event handling engine in Tcl is now constructed on top of the system calls epoll or kqueue when they are available. The select based implementation also remains for platforms where they are not.
  • Many new commands and features

Important Incompatibilities in Tcl 9.0

  • Namespace varname resolution: Current namespace, not global.
  • I/O malencoding: now raises error by default.
  • Tilde (~) in pathnames: no longer interpreted as home directory.
  • tcl_precision no longer has effect on number formatting

Highlights of Tk 9.0

  • Access to OS facilities: notifications, print, and tray systems
  • Scalable Vector Graphics: partial support in images, extensive use to enable scalable widget and theme appearances.
  • Images: full access to metadata and alpha channel.
  • Platform Features and Conventions: many improvements, including two-finger gesture support where available.
168
 
 

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

https://gitlab.com/christosangel/magic-tape

Magic-tape is an image supporting fuzzy finder tui YouTube client.

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/main.png



UPDATE

Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments.png

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments2.png

Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.

Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.

169
39
submitted 2 weeks ago* (last edited 2 weeks ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
170
 
 

The Linux Mint 22.1 distribution was slated for release in December 2024 with a revamped Cinnamon theme and better package management.

Slated for release in December 2024, near the Christmas holidays, Linux Mint 22.1 will ship with the soon-to-be-released Cinnamon 6.4 desktop environment featuring a revamped theme that’s much darker and contrasted than before, rounded elements, redesigned dialogs, and a gap between the applets and the panel.

More from the Mint Monthly News: September 2024

The transition towards Aptkit and Captain is now finished. Starting with Linux Mint 22.1, set to be released this December, none of our projects will depend on aptdaemon, synaptic, gdebi or apturl anymore.

171
172
 
 

I started university today, I'm on a more general IT department. In first semester we have only one subject that is actually IT (rest is maths and english) that is about basic programming in C. And it turns out that university computers that we will use for this subject are all running Ubuntu. I planned to bring my laptop anyway because I want to have my configs, but it's still great that students who never used Linux will be introduced to it (for some basic stuff tho).

173
 
 

Hi everyone,

I have a finely tuned Fedora 40 image that I cloned using Clonezilla (see: https://sh.itjust.works/post/25762756)

I wanted to deploy it on my old Acer Aspire 5737z but it won’t boot. It’s just displaying a — on a black screen for hours.

I’m not so knowledgeable but I guess it means I would have to reinstall the GRUB or whatever.

I’ve booted into my Fedora Live USB and tried the lsblk command people were talking about on the web (I don’t understand the terminal). Here's the result.

I think the SDA disk is the one I would like to boot from.

Can anyone help me understand what I have to do 😇🙏

174
 
 

Hello! My girlfriend's HP laptop running kubuntu 24.04 has this problem: when it's turned off (either from the GUI or poweroff) it discharges overnight, from 100% to 0% in a few days.

I searched the web to look for fixes:

  • wake on lan is disabled in the BIOS
  • USB ports have no settings in the bios, but there's nothing connected to them anyway
  • the system is actually powered off, not sleeping (at least if poweroff actually works)
  • everything, firmware included, is up to date

She doesn't remember having this problem from the beginning, but cannot tell when this started occurring

Did any of you ever encounter this problem? I don't know what else to do, and it's quite annoying.

Thank you for your time!

175
 
 

So I saw that the rpm-ostreed-automatic.service was failing so I manually tried to upgrade but when i run rpm-ostree upgrade, I am getting an error Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: A signature was required, but no signature exists. Is this some error at my side or is this some key related issue at uBlue's side?

view more: ‹ prev next ›