Linux

47821 readers
1328 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
201
554
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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

202
 
 

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

203
31
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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.

204
34
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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!

205
38
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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%?

206
 
 

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 ?

207
 
 

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

208
 
 

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?

209
81
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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.

210
211
 
 

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
212
47
Tcl/Tk 9.0 released (www.tcl-lang.org)
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 
 

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

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.

214
39
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
215
 
 

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.

216
217
 
 

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

218
 
 

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 😇🙏

219
 
 

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!

220
 
 

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?

221
 
 

when I installed debian 12.7 I created a separated /var directory, along other 2 separated directories (names forgotten).

I also use flatpak and this program is installed in this directory. Executing 'flatpack update' I discovered this directory is 95% full, meaning I cannot update anything, because /var is 95% full (only 400 MiB free)

Ideas to solve this?

222
 
 

Exploit of a combination of several bugs - Overhyped but not that severe - Fixes already available

...

Canonical’s security team has acted immediately to quickly apply the patches which Michael Sweet (author and maintainer of CUPS) had already prepared for CUPS, cups-browsed, libcups-filters, libppd, and cups-filters (in the time from the first report until then I was some days off and I was also on the Open Source Summit Europe, thanks, Michael Sweet, for stepping in, also thanks to Zdenek Dohnal from Red Hat) to the appropriate in all supported Ubuntu versions, so that at the time of disclosure most fixes were already in place. They also reported in an Ubuntu blog. They tell users what to do, from turning off cups-browsed or at least its legacy CUPS browsing support to updating their systems as the fixes were already available. Thanks a lot to Seth Arnold, Marc Deslauriers, Diogo Sousa, Mark Esler, Luci Stanescu, and more.

...

The X post really overhyped the vulnerability. Attacks from the internet are not very probable due to the fact that servers on the internet do not have cups-browsed and CUPS installed and CUPS/cups-browsed setups are there usually only in NAT-protected local networks with desktop machines and print servers. And the remote code execution is also rather restricted, as CUPS filters are not running as root, but as the system user “lp” which cannot even read user’s home directories. In addition, the remote code execution only happens when a user actually prints a job on the fake printer. Actually assigned scores ended up between 8.4 and 9.1.

223
 
 

Hello Linux Helpdesk. ;)

I use Fedora (currently 40), and have done for a while.

I always LUKS+Ext4 encrypt my local drive and decided to do the same to my external hard drive.

Last week I reinstalled Fedora 40 from a Bootable USB, but when I tried to access my files om my external drive it now gives me the error

You do not have permission to view the content of "Files".

I've read online it's due to me no longer being the "Owner" of the drive I was in my previous install of Fedora and now I'm a different user and apparently no users a part from Owner have any permissions on an EXT4+LUKS drive.

Is there any way to give myself permission to see the content again or did I bonk my backup? As a note, I DO have the correct Luks password, it shows me the name of the encrypted disk after decrypting, which is "Files"

Thank you in advance.

Edit: Thank you everybody, thanks to you I've been able to rescue my files. Y'all deserve a great day!

224
225
 
 

It doesn't do any crazy ricing, as I mostly focused on usability tweaks and automatic installation of my must-have extensions. (Tiling, clipboard manager, dash to dock, desktop icons)

Most notable tweaks include:

  • clicking on a running app minimizes it
  • clicking on a group of apps brings up their previews
  • adds minimize, maximize buttons to windows
  • installs flatpak, adds flathub
  • install flatpak and snap plugins into gnome-software (doesn't work on Fedora)
  • installs snap
  • installs mtp-tools and gvfs-backends on Debian to be able to transfer files from a connected phone
  • adds right click > New File
  • Super + Shift + S brings up the area screenshot
  • Super + E opens the file manager
  • Ctrl + Alt + T opens the terminal

(Those already configured on Ubuntu don't get configured again, obviously.)

I also recorded a short showcase to prove that it works without errors https://youtu.be/xf739ivb9hg

view more: ‹ prev next ›