Linux

47923 readers
1429 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
1176
 
 

hardware is a nuked MacBook Pro, Intel Core i5-4278U @ 2.60GHz, model A1502 (EMC 2875), Retina Mid-2014 13" with debian 12.5 live xfce installed (I couldn't fully install any of the netinst candidates).

As posted before, I consider this a really slow notebook and to compare and give you an idea, I need benchmarks. Download speed works fine via USB-tethering with an android device but the installation speed is ridiculously slow. System reacts very slow after entering username and password as well.

I'll try gnome and cinnamon later and compare.

1177
 
 

This happened with xubuntu 23.10 and now with debian 12.5

actually, 2 files: 'Pulp - Disco 2000 1995.m4a' and 'Pulp - Disco 2000 1995.mp4' inside a directory named Music.

If I move any of the files to another directory, the same happens, vlc will play the track only once.

If, however, I rename any of the 2 tracks, simply changing one character makes the files normal playable again, regardless of where I paste it.

I used yt-dlp to download both the m4a file and the mp4 file and both files do this. I have an ample m4a / mp4 collection and only these 2 files do this.

Why?

1178
33
Launcher for Everything* (sga.codeberg.page)
submitted 4 months ago* (last edited 4 months ago) by sga@lemmy.world to c/linux@lemmy.ml
 
 

This is an article I wrote. Sorry mods if it is not allowed I checked the sidebar rules, and closest was no ads, and I do not know if this qualifies for that (I do not have ads or analytics on the page)

Edit - Thanks to @utopiah@lemmy.ml for recommendations. I have now Included an image and a video demo of using the script, and also got syntax highlighting

https://sga.codeberg.page/articles/Launcher/Launcher_for_Everything.html

Edit 2 - I have chnaged my keys for password, so dont worry about that, and about low quality and stuttering video playback, that was just network being poor at that time, also i forgot to give a demo of calculator and web searching, forgive me for that, and if you want, instead of term-dmenu, you can use fzf directly, and you would not leave terminal

1179
 
 

Leap 15.6 install media were refreshed to address an issue with old secure boot signing key for ppc64le and s390x.

Refreshed images from Leap 15.6 Build 710.3 are already available for download at get.opensuse.org. So now you can enjoy installation with secure boot on more exotic architectures.

Happy Hacking!

1180
1181
1182
1183
82
Deduplication tool (lemmy.world)
submitted 4 months ago* (last edited 4 months ago) by Agility0971@lemmy.world to c/linux@lemmy.ml
 
 

I'm in the process of starting a proper backup solution however over the years I've had a few copy-paste home directory from different systems as a quick and dirty solution. Now I have to pay my technical debt and remove the duplicates. I'm looking for a deduplication tool.

  • accept a destination directory
  • source locations should be deleted after the operation
  • if files content is the same then delete the redundant copy
  • if files content is different, move and change the name to avoid name collision I tried doing it in nautilus but it does not look at the files content, only the file name. Eg if two photos have the same content but different name then it will also create a redundant copy.

Edit: Some comments suggested using btrfs' feature duperemove. This will replace the same file content with points to the same location. This is not what I intend, I intend to remove the redundant files completely.

Edit 2: Another quite cool solution is to use hardlinks. It will replace all occurances of the same data with a hardlink. Then the redundant directories can be traversed and whatever is a link can be deleted. The remaining files will be unique. I'm not going for this myself as I don't trust my self to write a bug free implementation.

1184
 
 

I just reinstalled fedora and hyprland. The main monitor/workspace 1 is black but it has waybar. Moving the mouse to it hides it and moving a app to it hides too

1185
 
 

I just want to share my notes for installing a Brother HL-L5210DW(T) printer via USB under Fedora Atomic 40 (Kinoite), in case it helps anyone else. This may work for other similar models too. I've included some background info at bottom if you're interested.

The following method doesn't require any proprietary drivers, and utilizes IPP-over-USB and IPP Everywhere, both of which are preinstalled on Fedora 40 Atomic distributions (and likely their traditional variants as well).

  1. Connect the printer via USB and ensure it is powered on
  2. Open the CUPS admin web interface at http://localhost:631/
  3. Select Administration and enter your credentials
  4. Select Add Printer
  5. Select Internet Printing Protocol (ipp), then Continue
  6. Enter ipp://localhost:60000/ipp/print in the path field, then Continue
  7. Enter a name for the printer (ex: HL-L5210DW), then Continue
  8. Select Brother as the Make, then Continue
  9. Select IPP Everywhere as the Model, then Add Printer
  10. Set the default printer options as desired (set Duplex to DuplexNoTumble for standard 2-sided printing)
  11. Select Set Default Options
  12. From the Maintenance drop-menu, select Set as Server Default

More info

I haven't needed to configure a USB printer at home in well over 15 years, so I was more than a little rusty, and things were further complicated by my use of Fedora Atomic. I'll eventually connect this device via Ethernet so it can be used by everyone on the LAN, but until I sort out exactly where I want to put it I'm stuck with USB.

Brother's driver install tool expects dnf, apt, or yum, and so it's incompatible with ostree-based systems like Kinoite or Silverblue. You can of course download the driver manually and install the necessary packages:

rpm-ostree install --apply-live hll5210dwpdrv-4.0.3-1.i386.rpm glibc.i686 libstdc++.i686

However, I still ran into some problems (likely related to SELinux), and I wasn't keen on overlaying additional packages, particularly proprietary software written for i386 arch.

I then opted to try the generic brlaser driver, but it failed to work correctly when long-edge (NoTumble) duplex printing was enabled. The backside of pages were corrupted and illegible.

After spending far too much of my Saturday reading support forums, I eventually discovered that IPP-over-USB was a thing, and the rest went smoothly. Hopefully this post helps anyone else with an HL-L5210DWT or other L5000 series Brother printer.

Bonus Tip: Disable deep sleep

If you have a Brother printer that goes into deep sleep and doesn't wake up for print jobs, you can disable the Deep Sleep feature via the printer's built-in menu:

  1. Press the OK button to bring up the printer's menu
  2. Navigate to General Setup > Ecology > Sleep Time
  3. Press OK to enter into the Sleep Time settings
  4. Press the Minus and Cancel buttons simultaneously to display the hidden Deep Sleep menu
  5. Press OK to enter into the Deep Sleep settings
  6. Navigate up/down to change the setting to Off
  7. Press OK
  8. Turn off the printer, unplug it and plug it back in, then verify the setting is retained
1186
105
TUXEDO on ARM is coming (www.tuxedocomputers.com)
submitted 4 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
1187
 
 

Example: Fedora Rawhide, Ubuntu Latest, Debian Stable

1188
 
 

Imagine your friend that does not know anything about linux, don't you think this would make them not install the firefox flatpak and potentially think that linux is unsafe?

I ask this because I believe we must be careful and make small changes to welcome new users in the future, we have to make them as much comfortable as possible when experimenting with a new O.S

I believe this warning could have a less alarming design, saying something like "This app can use elevated permissions. What does this mean?" with the "What does this mean?" text as a clickable URL that shows the user that this may cause security risks. I mean, is kind of a contradiction to have "verified" on the app and a red warning saying "Potentially unsafe", the user will think "well, should I trust this or not??"

1189
597
submitted 4 months ago* (last edited 4 months ago) by mr_MADAFAKA@lemmy.ml to c/linux@lemmy.ml
1190
 
 

(More) Specifics:

  • Undoing the protection should include filling in a password.
  • The password should be different from the one used with sudo or any other passwords that are used for acquiring elevated privileges.

All (possible) solutions and suggestions are welcome! Thanks in advance!

Edit: Perhaps additional specifications:

  • With 'displace‘, I mean anything involving that resembles the result of mv, cp (move, cut, copy) or whatsoever. The files should remain in their previously assigned locations/places and should not be able to 'pop up' anywhere.
  • I require for the files to be unreadable.
  • I don't care if it's modifiable or not.
  • I don't require this for my whole system! Only for a specific set of files.
1191
 
 

Hi all . I currently have version 2023.06.25 installed, stable. Tell me how to install the latest version 20240612? I see a lot of changes here https://codeberg.org/libreboot/lbwww/commit/d8bcd5c7044e28c6e20778ea25f6b907092a7e52 If I understand correctly the mechanism for introducing blob objects has changed, how can I check the ROM after I run the command $ ./build roms t440plibremrc_12mb

1192
 
 

Having some trouble getting the drop down list to show any details.

As you can see in the screenshot it's just blank. Outside of that, everything Assetto Corsa works great.

I have tried following the method at the following link however it doesn't work at all for me. I can make it through the process up to the point where you should be able to launch CM but it just fails to launch.

https://gist.github.com/ANBAL534/4f1693536f17b75ebcc8016e0d4cc071#gistcomment-3872704

If I install AC fresh, using experimental or GE-Proton9-7 it will launch CM, but none of the drop down menus work, they just appear like in the screenshot.

I'm assuming that this may be related to some kind of .net issue but before I go digging around trying to manually change stuff, I figured I'd check if any one else has seen this issue.

1193
 
 

What's your favourite to use? Mine is Fish due to its ease of use and user friendly approach.

Bash is the pepperoni of shell tools being reliable in every field no matter what but I've moved to Fish as I wanted to try something different.

So what's your shell of choice?

1194
199
darktable 4.8.0 released (www.darktable.org)
submitted 4 months ago* (last edited 4 months ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

darktable is an open source photography workflow application and raw developer. A virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them.

1195
 
 

I see lots of posts about KDE being able to sync the screen with LED backlit keyboards but other than saying that, no information on how to do it or what keyboards are compatible.

I could be totally missing something, I tried to parse through the changelog but didn't see anything in there about it.

Would anyone be able to explain how I should check if my keyboard (Akko 5108) is compatible and how I can change the settings if possible?

1196
1197
198
submitted 4 months ago* (last edited 4 months ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

-New Features

  • Switching to the creating forms in the PDF format
  • Added the ability to disable the Connect to cloud page via the --lock-portals key
  • Added a window to restart the application if the settings marked with the asterisk are applied (Windows, Linux)
  • Added the Use graphics acceleration option to the application settings
  • Added the progress of unpacking downloaded update to the About page (Windows)
  • Added the ability to open a file by specifying its name in the terminal (Linux)
  • Updated images for the error pages
  • Added the translation into Serbian (sr-Latn-RS, Serbian (Latin, Serbia and Montenegro))
  • Added a button to select a local file in the hyperlink insertion dialog window
  • Changes in program interface: manageable functional buttons, Replace button is now on the Home tab, Copy style, Clear style, Select all
  • Autoshape shadowing settings
  • Updated the set of color themes available in editors
  • Added internal help in Portuguese (pt-BR)
  • Added Arabic to all regional settings
  • Added a title and a button to close the panel to the Chat panel

Document Editor

  • New button on the top toolbar for changing document editing mode: Editing, Reviewing, Viewing
  • Added tooltips for new or updated functionality (displayed when loading the editor or when switching to the corresponding tab)
  • Implemented the ability to set the format for page numbering
  • Added support for the page color
  • Updated built-in paragraph styles
  • New items in the indents menu for opening the right panel and managing paragraph indents, the ability to manage paragraph indents via the top toolbar
  • Color theme button is now on the Layout tab
  • Mail merge button is now on the Collaboration tab
  • Line spacing options updated
  • Improved work of the algorithm for displaying numbers and punctuation in Arabic text for the Neutral and Weak classes
  • Improved fitting for paragraphs with main RTL direction

Spreadsheet Editor

  • New languages added: ligature support
  • Selected cells are highlighted on their respective row/column numbers
  • New functions: GETPIVOTDATA, IMPORTRANGE
  • New function category: Custom based on jsdoc
  • Version history update: edited cells are highlighted
  • Users get custom protected range cells viewing rights
  • Implemented the ability to copy/move sheets between opened books
  • Changed the appearance of the sheet list in the embedded viewer in accordance with the styles of the main spreadsheet editor

Presentation Editor

  • New slide settings on the right panel: show background graphics, reset background to the theme background, apply settings to all slides
  • Added Animation pane
  • Added a mode for editing master slides and templates
  • Updated the player interface for playing audio/video files (Windows and Linux)

Forms

  • When adding a fixed form, now it is inserted without wrapping in front of the text
  • The color of the Picture placeholder corresponds to the color of the role for this form
  • The thickness of the frame for required fields is now 2 px with any zoom
  • Added a button to switch to the editing mode (similar to the button in the editor header) for forms opened in the View or Fill forms mode

PDF Editor

  • Added buttons for switching editing/viewing (annotations) modes to the toolbar and the editor header
  • Added tooltips for new or updated functionality (displayed when loading the editor or when switching to the corresponding tab)
  • In the Edit mode, it's possible to add various objects (using the Home and Insert tabs) and configure them using the right panel and context menu
  • Added the ability to add, delete or rotate pages using the context menu and the toolbar
  • Added a mini toolbar for adding annotations when selecting text

Fixes Security

  • Fixed vulnerabilities in the PtgName::assemble, PtgNameX::assemble, PtgParen::assemble, PtgRef3d::assemble, PtgList::assemble and PtgArea3d::assemble methods which cause crash when converting XLS to XLSX
  • Fixed the vulnerability in the CDataStream::ReadEmrTextBase method which causes crash when converting ODP to PDF
  • Fixed the vulnerability in the GlobalsSubstream::UpdateDefineNames method which causes crash when converting XLS to XLSX
  • Fixed the vulnerability in the WorkBookStream::UpdateXti, WorkBookStream::UpdateXti, methods which causes crash when converting XLS to XLSX
  • Fixed Heap Buffer Overflow when converting EPUB to PDF
  • Fixed the vulnerability in the CPPTUserInfo::LoadExternal method which allows writing a file to a folder with restricted access when converting PPT to PPTX
  • Fixed vulnerabilities which allow reading data from a third-party file when converting OOXML to ODF and vice versa
  • Fixed Heap Buffer Overflow in the CSvmFile::Read_META_BMP method when converting ODP to PPTX
1198
 
 

As the title says, I'm trying to multiboot Fedora 40 and Ubuntu 24. The documentation and guides for this all seems pretty outdated through my searching and troubleshooting.

I currently have ubuntu installed. My drive partition table looks like this:

  • sda1 -- EFI (250MB)
  • sda2 -- /boot (ext4, 2GB)
  • sda3 -- empty (ext4, 2TB) <-- Fedora partition
  • sda4 -- Ubuntu 24 (LUKS encrypted, 2TB)

I'm trying to install Fedora now and it's giving me nothing but errors. The most useful guide I found for this specific setup just has you adding sda3 as the installation path (mounted at /) for Fedora and it's supposed to figure out the EFI and boot, but that doesn't happen. In fact, the EFI and /boot partitions show up under an "Unknown" tab in the Fedora custom partition window of the installation. They should be under a tab such as "Ubuntu 24 LTS". Fedora isn't recognizing the ubuntu installation (because it's encrypted?)

Am I wrong in assuming that both OS's should be sharing the EFI and /boot partitions? Maybe that's the issue?

Anybody out there successfully dual booting Linux distros with both distros encrypted?

1199
 
 

I am thinking to make the following tool, but wanted to get opinions before I embark on this journey.

The tool builds container images.

The images are optionally distroless: meaning, they do not include an entire distro. They only include the application(s) you specify and its dependencies.

What else does the tool give you?

  • the build tool uses a package manager to do dependency resolution, so you don't have to manually resolve them like many docker files do. (NOTE: The package manager is not installed on the container image. It is only used by the build tool)
  • uses gentoo's portage to build the software from source (if not previously cached). This is helpful when you're using versions of software that aren't built against each other in the repos you download from
  • allows specifying compile flag customizations per package.
  • makes use of gentoo's existing library of package build or install recipes, so that you only have to write them for uncommon apps rather than in every docker file.

I find it crazy that so many dockerfiles are doing their own dependency resolution when we already have package managers.

What do you think? Is this tool useful or am I missing a reason why it wouldn't be?

1200
 
 

It's actually not a bug, but obvious behavior.

view more: ‹ prev next ›