Linux

48878 readers
1234 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
101
102
103
 
 

I thought this would be hard, but turns out the following oneliner does it, with maybe no sideeffects ?

echo 'docker() { [ "$1" = "sh" ] && docker exec -it "$2" sh || command docker "$@"; }' >> ~/.bashrc && source ~/.bashrc

This creates a bash alias for "docker ps" , every other command should run as normal

Now I just need to remember to run this one liner on every single computer I use in the future...

104
 
 

Hey there, Is there a source out there where I can find tablets fit for Linux..? Am not after Pine or what have you...just a tablet, Samsung or what have you that can run Linux as custom rom.

Thanks

105
 
 

Quick and dirty is this:

Running a new dual boot system. Windows boots fine and fast. Grub bootloader grinds and grunts to startup. Systemd checks point to Fedora waiting on the Win10 disk to boot (+45s!!!). Obviously, I don't need that drive to run, but Fedora/Bootloader thinks it should.

Disconnected the Win10 drive, Fedora booted in 3.6s.

So... Windows bootloader knows to ignore the Fedora OS drive and launches fine. Fedora Bootloader insists it try everything to get that Win10 drive running to my own detriment.

Is there a way to just ignore the Win10 drive the way Win10 ignores Fedora?

Been scratching my head on this one for a bit to be honest.

EDIT: Seems the issue was caused by RAID incompatibility from my internal backups for Win10. The RAID drives wrongly pointed the finger at the boot disk because the only thing I could really make sense of in diagnostics was the Win10 boot stalling for 45+ seconds. Once I disconnected all the drives and incrementally reconnected them I quickly realised it was the backup drives and not a boot disk conflict as I wrongly assumed.

106
56
submitted 2 weeks ago* (last edited 2 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

New Features:

  • Introduce the Notification v2 portal. This updated version of the Notification portal supports a plethora of new fields for notifications, such as sounds, categories, purpose, and more.
  • Introduce the USB portal. This portal allows apps with relevant permissions to enumerate and acquire access to specific USB devices.
  • Introduce a new SchemeSupported method to the OpenURI portal. This new method allows apps to know ahead of time if the host system is able to deal with a particular scheme.

Enhancements:

  • Continued the move towards Python-based tests. This should simplify the test setup in the project quite significantly, and also will allow removing the cyclic dependency between libportal and XDG Desktop Portal.
  • Introduce umockdev-based tests.
  • Improve the icon validator so it can deal with memfd-based icons.
  • Clarify behavior of the Settings portal for non-standardized keys.
  • In the Global Shortcuts portal, clarify that the result the BindShortcuts
  • of may be a subset of all requested shortcuts.
  • Add a documentation page about icon validation requirements.

Bug Fixes:

  • Fix memory leaks in the Background, Email, and Global Shortcuts portals.
  • Fix a general file descriptor & memory leak.
  • Fix a regression in the Settings portal.
  • New and updated translations.
107
108
 
 

I want code to right click context menu on a file and if it is a .mp4, then convert that to a .mp3 of the same name

also include an option to play faster by +25 +33 +50 or slower by -25 -33 -50 (in a sub menu)

I understand this is different depending on your system, so answer how to do it for the people who use the same system as you

109
 
 

Hi, I'm trying the desktop Grayjay app and it seems to work fine.

I just have to keep locating the app in folder whenever I want to launch it so I found out how to make it appear in the GNOME Apps and launch it there.

However it requires me to copy 2 folders (cef,wwwroot) from the app folder into my "/home/werecat" folder and I don't understand why when it can launch just fine from the executable without me having to do that.

Any idea on what I'm missing or doing wrong? The main goal is to add the app to my Dash to Dock.

110
 
 

I currently have a 1 TiB NVMe drive that has been hovering at 100 GiB left for the past couple months. I've kept it down by deleting a game every couple weeks, but I would like to play something sometime, and I'm running out of games to delete if I need more space.

That's why I've been thinking about upgrading to a 2 TiB drive, but I just saw an interesting forum thread about LVM cache. The promise of having the storage capacity of an HDD with (usually) the speed of an SSD seems very appealing, but is it actually as good as it seems to be?

And if it is possible, which software should be used? LVM cache seems like a decent option, but I've seen people say it's slow. bcache is also sometimes mentioned, but apparently that one can be unreliable at times.

Beyond that, what method should be used? The Arch Wiki page for bcache mentions several options. Some only seem to cache writes, while some aim to keep the HDD idle as long as possible.

Also, does anyone run a setup like this themselves?

111
 
 

This new release contains two new protocols:

  • ext-data-control - allow privileged clients to control data devices, e.g. a clipboard manager.
  • ext-workspace - receive events about and control workspaces, useful for e.g. workspace indicators.
112
113
114
 
 

I’ve recently switched to Linux (Tumbleweed) and the other day i was setting up Calibre. I already have a library on my HDD so i proceeded to simply import the existing one. No problems at all, i’ve even added a couple ebooks. Turned off the pc and went to sleep. The next day i wanted to read a book, opened up Calibre and an error appeared: filesystem on my HDD is read only. What?? Since when? No idea what happened. Any suggestions?

115
 
 

I'm a long-time Linux user but for the past few years my main laptop - a Lenovo Legion 5 with both AMD iGPU and Nvidia dGPU - has been on Win10. I'd like to upgrade and am looking for suggestions for distros and configurations. I've mainly used Debian-based distros in the past but am not particular. Here are my main concerns:

  • I will likely still need to run Windows in a VM for a few corporate applications that won't run in Linux (according to some teammates who have tried).
  • I do a lot of work in Figma and haven't tried it at all in Linux, but I know for sure it needs GPU acceleration. It seems like I'd have to choose between the following:
    • just running in a browser window and (somehow) assigning the dGPU to that browser
    • the above, but using the unofficial Linux electron-based figma app
    • try running the Windows app in Linux
    • putting Linux on the iGPU and passing the dGPU through to a Windows VM for this
  • I also do a fair amount of local LLM work. I would prefer to do this in Linux with the dGPU, but again I could pass the dGPU through to a Windows VPN and then do it in WSL2 in Windows (which seems a little janky)
  • I don't want to dual-boot

Does anyone have any thoughts/suggestions on this? I haven't tried GPU-switching in Linux for a long time and had poor success in the past. Am I better off leaving both GPUs accessible in Linux, or passing one through for the Windows VM?

116
 
 

Up to now I enter receipts by hand into a spreadsheet and cross-reference everything to my bank statements. Is there a Linux program that'll let me download a bank statement and then intelligently categorize different entries on my bank statement? Or allow me to manually categorize entries? No spyware or intrusive software.

117
 
 

Grml is a bootable live system (Live-CD) based on Debian. Grml includes a collection of GNU/Linux software especially for system administrators. Users don't have to install anything on fixed storage. Grml is especially well suited for administrative tasks like installation, deployment and system rescue.

118
119
120
 
 

New features

  • 🎄 Happy holidays to everyone!
  • Content server: Allow managing the data files associated with a book by clicking the three dots in the top right corner of the book's page and choosing "Manage data files"
    • Closes tickets: 2091646
  • Edit metadata dialog: Allow right clicking on the cover to view it in a popup window at larger size
    • Closes tickets: 2091216
  • Add an option to expand the Tag browser tree to show the item that was current when the library was closed
  • Add import and export stored template to Preferences / template functions
  • Various Quality-of-Life improvements to the dialog used to edit columns with fixed sets of values
  • Resolve doi.org links when pasting identifiers
    • Closes tickets: 2091152

Bug fixes

  • Viewer: Fix some HTMLZ files not opening on some systems
    • Closes tickets: 2091451
  • Amazon metadata plugin: Update for changed markup for some books on amazon search results page
    • Closes tickets: 2091542
121
104
submitted 2 weeks ago* (last edited 2 weeks ago) by SolarPunker@slrpnk.net to c/linux@lemmy.ml
 
 

What fonts are you currently using on your system? Which do you think is best for the terminal or for your desktop environment?

(updates) Ok I think I'm a fan of Ubuntu nerd fonts right now

122
19
Onscreen Audio Popup? (lemmy.dbzer0.com)
submitted 2 weeks ago* (last edited 2 weeks ago) by Kraven_the_Hunter@lemmy.dbzer0.com to c/linux@lemmy.ml
 
 

I sometimes listen to music from Amazon Music through Firefox while I play Rocket League. My keyboard has audio controls, and in Windows adjusting the volume or hitting pause would briefly show an overlay with the current song info and album art.

In Linux the default behavior is to show nothing. Is there a setting or tool to add similar functionality to the Windows behavior?

123
 
 

Hey folks! After using Fedora Atomic for quite a while and really appreciating its approach, I've been eyeing one particular feature from NixOS: its congruent system management. Inspired from Graham Christensen's "Erase your darlings" post, I'd like to explore implementing something similar to NixOS' impermanence module on Fedora Atomic as one step towards better state management.

Why not just switch to NixOS? Well, while NixOS's package management and declarative approach are incredible, I specifically value Fedora's stringent package vetting and security practices. The nixpkgs repository, despite its impressive scope, operates more like a user repository in terms of security standards.

I've already made some progress with the following:

  • Fedora Atomic's shift to bootable OCI containers has helped with base system reproducibility when one creates their own images. This process has thankfully been streamlined by templates offered by either uBlue or BlueBuild
  • Using chezmoi for dotfiles (would've loved home-manager if it played nicer with SELinux)

My current (most likely naive and perhaps even wrong) approach involves tmpfs mounts and bind mounts to /persist, along with systemd-tmpfiles. I'm well aware this won't give me the declarative goodness of NixOS, nor will it make the system truly stateless - there's surely plenty of state I'm missing - but I'm hoping it might be another step in the right direction.

Particularly interested in:

  • Best practices for managing persistent vs temporary state
  • Working with rpm-ostree's (or bootc') assumptions
  • Tools or scripts that might help
  • Alternative approaches that achieve similar goals

Thanks in advance!

124
20
submitted 2 weeks ago* (last edited 2 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

From their homepage: IPFire_ is the world's leading Open Source firewall distribution. Businesses across the world have chosen to put their trust in our versatile, feature-rich solution with its easy-to-use web management console.

125
 
 

While I was adding Golang to the PATH my terminal (Konsole) suddenly stopped recognizing basic commands like nano and ls. I restared my PC and after logging back in (X11) KDE started throwing errors because it wasn't able to find any program I tried to launch. Konsole is gone. I can't open any program whatsoever (Firefox, Discover etc.). Trying to log in into Wayland just throws a black screen. After a few more reatarts I decided to use the terminal from the login screen, but it is broken as well. ls not found, nano and vim don't exist. So far I can use pwd and cd.

What the hell is wrong here? Is it hardware failure (bad SSD)? Is there anything I can attempt to recover the system?

view more: ‹ prev next ›