Linux

48023 readers
891 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
326
327
 
 

I know there choice of distro is really meaningless as you can install almost any program on almost any distro. But I have been playing with kali which is for security people and pen testers. Is there a similar distro for programmers? Like a few ides installed some profiling tools some virtual environment tools etc?

328
 
 

Update to this post. Please read it before commenting!

So I ended up following instructions I found online and disabled secure boot in my BIOS and then tried to boot Linux Mint (version 21.2, Cinnamon Edition) with UEFI OS. However, as soon as I did that, i got a "Perform MOK management" screen that said the following:

Continue boot Enroll MOK Enroll key from disk Enroll hash from disk

Can anyone tell me what this means and what I should do? Do keep in mind I'm a total newbie when it comes to Linux. Thanks in advance!

329
 
 

So I've been really interested in immutable OS's since Silverblue, kept jumping off and on again as I hit what I thought were brick walls. I was just not approaching them properly.

I've been using Bluefin for work for the last 6 months and started making distrobox containers for projects. One thing I always ended up with was a load of mess with pip or NPM, so the idea I can just jump into a container for that specific project was really appealing.

But it never occurred to me, I can do this for everything, I know this is something that has been done before, but I've just stumbled on it. I made a distrobox container using boxbuddy that used the arch-bazzite-gnome image, called it arch-gaming. This has given me a containerised gaming setup that runs like arch native. I can just chuck all my gaming stuff through that and box buddy auto exports the icons into the app menu, so the GUI side of things is sorted. As it's bazzite the nvidia drivers and steam are all ready to go I installed lutris that was it.

The added bonus of bluefin is that I don't need rpm-ostree for anything, languages are handled by brew, apps with flatpak, and now the aur for anything niche or apps I want to use in a more traditional setting.

I now have a portable, reproducible system that should be pretty robust.

330
 
 

It started as a stupid project cause I was bored. How much can you actually do without a windowing environment?
After finding out how to post to lemmy from a TTY, I realized that I can do most things I do daily using text.
Browsing the web in links, which opens all sorts of files in the corresponding programs if configured correctly.
Opening images in fbi, PDFs in fbpdf, listening to music in cmus, watching movies in mplayer, using e-mail in alpine, creating documents in vim and latex, ...
The only thing that still requires a GUI is image editing and a few websites I need that don't work without JavaScript.
And it's actually really nice...more focused, without loading times, animations, popups, ads, or other distractions, and everything is scriptable.

Anyway, sorry for the blog post.

331
 
 

is there a way to prevent all the other apps on the system from opening up new tabs/windows in firefox?

332
 
 

I'm not smart enough to set it up through command line and I haven't found a program I can get working yet. Probably a really dumb question but if we all connect to the same vpn sever would that work? Playhide should work but I can't seem to download it off github. Any advice or should I just put in the work to figure out cmdline?

333
 
 

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.

334
335
 
 

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?

336
18
submitted 1 month ago* (last edited 1 month 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 ?

337
 
 

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

338
555
submitted 1 month ago* (last edited 1 month 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

339
 
 

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

340
31
submitted 1 month ago* (last edited 1 month 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.

341
34
submitted 1 month ago* (last edited 1 month 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!

342
37
submitted 1 month ago* (last edited 1 month 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%?

343
 
 

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 ?

344
 
 

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...

345
 
 

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?

346
81
submitted 1 month ago* (last edited 1 month 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.

347
348
 
 

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
349
47
Tcl/Tk 9.0 released (www.tcl-lang.org)
submitted 1 month ago* (last edited 1 month 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.
350
 
 

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.

view more: ‹ prev next ›