Linux

49486 readers
4 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
1876
1877
 
 

I was thinking about using graphene OS, but I've read some lemmy users dislike this OS due to perceived misleading advertising and the pixel 7a you're supposed to install graphene on because it's from google (an advertising company).

Another option would be lineage OS, but there is so much false information about this OS, namely compatible phones that simply don't work with this OS and no support.

what works for you? I want a phone with no google, that doesn't force me to use the manufacturer's ecosystem and that won't show the apps I don't want or need (on an asus I own you cannot neither get rid nor hide bloatware)

1878
179
submitted 7 months ago* (last edited 7 months ago) by governorkeagan@lemdro.id to c/linux@lemmy.ml
 
 

I’m using EndeavourOS with KDE.

The display is correctly oriented when logged in but it doesn’t rotate correctly when I’m logged out.

EDIT: corrected the post. This happens when logged out, locking the screen has it displayed correctly.

1879
146
Linux users survey! (pad.tchncs.de)
submitted 7 months ago* (last edited 7 months ago) by boredsquirrel@slrpnk.net to c/linux@lemmy.ml
 
 

To get an idea of this community, and to try the cool CryptPad Survey feature, I created a pretty big Linux usage survey!

The data is anonymized and the content encrypted on the server. I plan on publishing the results.

Have fun!

It works on hardened Firefox on a phone, but the experience is better on a PC.


live results

Notes

  1. I am very sorry but the question "it is okay that my above message gets published" cannot reasonably be respected, as the text is just dumped into a single block
  2. Lag caused some empty questions to appear, removed
  3. A question about disk encryption and "why do you use other OS" got mixed up
  4. i changed the wording of some questions or added more options, so there may be duplicate old answers or too little new ones. You can edit your submission and update your answers.
1880
 
 

Hey everyone, I wanted to give my feedback with Linux on a new CoPilot laptop.

I just got a new generation Dell Inspiron 14 2-in-1 Touch laptop (Model: i7445-7326BLU-PUS, SKU: 6576720). It has the new AMD 8840HS and is a new Windows CoPilot branded laptop (with key unfortunately).

I tried booting and logging into Windows once for the heck of it and here's what happened. It wouldn't let me log in without joining an internet network first. So I successfully give it my guest network credentials. It said connected and secured. Then I hit next, next, etc. and it restarts and then would update, still prior to me being able to login. However it restarts and says oops the internet had an issue and please reconnect WiFi. It sends me back to the WiFi credential page to login again but it auto connects as my credentials were correct. So I hit next and it gives me the same problem again.

I then say screw it and proceed to install Linux.

I proceed to install Fedora Kinoite 40 via USB and have absolutely zero issues. It works flawlessly with every feature including the fingerprint scanner and when flipping the laptop keyboard over into tablet mode it even auto disables the keyboard and touchpad but leaves the touchscreen working! The only thing that doesn't seem to work is the CoPilot key. When pressed it doesn't do anything. I tried assigning it as a shortcut key for Konsole where it registers as "Meta" and gets created as "Shift+Meta" but it doesn't actually work still. I didn't change a single thing in BIOS, Secure Boot is still enabled, and I don't see any code displayed during boot or shutdown. Besides the CoPilot key being useless I couldn't be happier with how it all turned out and proved to be better than Windows yet again.

Edit: I played around some more with the CoPilot key. Like I said the shortcuts default to "Shift+Meta" if only pressing the CoPilot (Meta) key. That won't launch anything. However if you add another key into the mix it will work. I created "Shift+K+Meta" to launch Kcalc and it worked, kinda. I may have to either press the combo multiple times or press and hold it for a few milliseconds longer than a normal key press and then it launches the program, but not once, it opens Kcalc multiple times all at once and the amount of times it opens seems random.

1881
 
 

Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git.

Using rm -rf scares me. Is there a reasonable way to delete git repos without it?

1882
1883
 
 

Hi everyone, I got my e-drum kit to successfully work in reaper, using yabridge for the VSTs. Shortly after, I found another way in which linux audio is different than windows. While using reaper, I am unable to play audio from any other source. Through research, I discovered that it's because I'm using ALSA and that I need to use JACK instead. I looked up guides on how to setup JACK and qctl and was unsuccessful. I came across a video explaining different problems with JACK and it mentioned that using a pcs built in audio card may not be able to handle the audio in JACK. Right now, it seems like I need to come up with a different solution. But I thought I would ask here and see if I have any other options. I don't have any external dacs, but I do have my desktop pc that still has windows so I'm thinking of giving up on using my linux laptop for my music needs.

Tldr- want to use reaper while watching YouTube vids. Alsa won't allow that, and jack isn't working on my laptop.

1884
 
 

What makes CachyOS not just Arch based distro.

Optimized Packages and Repositories

CachyOS maintains its own repositories with optimized packages, especially for your hardware. There are x86-64-v3 and x86-64-v4 optimized repository, that exists to enhance your experience by: reducing latency, improving performance, applying special fixes, etc. Also, the system automatically selects repositories that are the fastest and optimized specially for your cpu.

Advanced Scheduler Support

Firstly let’s understand what scheduler is. In the Linux kernel, the scheduler is a crucial component that manages how tasks (or processes) are executed on the system. It decides which task should run next, ensuring efficient use of system resources to allow multiple tasks to run simultaneously. By default CachyOS provides BORE Scheduler (Burst-Oriented Response Enhancer) in our default kernel. It provides better performance and interactivity according to our test. But we also provide other schedulers, like: EEVDF, sched-ext (Framework to load userspace scheduler’s), ECHO, and RT. And you can choose any you prefer the most via the kernel manager.

Customizable Installation Process

When you have loaded to live iso (from usb). You automatically meet our installer. But what if you don’t want some components to install or let’s go deeper you don’t like this bootloader or kernel. You may want to change Desktop environment or window manager. Our installer provides much more choice than other distributions. You can and should to choose what you want to have and what not. And we provide to you this abilities. Your system your home.

User Friendly OS

By default, we provide our applications, like CachyOS Hello or CachyOS Package Installer and others. In order to simplify and make better for your experience. For example, CachyOS Hello provides options to update your system, enable services and rank the mirrors. Package Installer will help you to install packages. CachyOS also has a really good and friendly community, which helps each other very well.

1885
 
 

I use VLC,Keepass,Kdenlive and few other QT Apps on my sway setup. So, wanted to configure their themes from Sway. I installed qt5ct and qt6ct and did export QT_QPA_PLATFORMTHEME=qt5ct in bashrc and .profile. While runnin echo $QT_QPA_PLATFORMTHEME it is showing qt5ct but it is not working showing that error message that QT_QPA_PLATFORMTHEME need to be set as qt5ct or qt6ct when launching from .desktop But when launching from terminal they start and function properly but do not change any theming.

qt5ct-error

from-terminal error

1886
 
 

I’m considering trying out an immutable distro after using Tumbleweed for the last 6 years.

The two major options for me seem to be Fedora Kinoite or uBlue Aurora-dx

My understanding is that universal-blue is a downstream of Fedora Atomic

So, the points in favor of Kinoite is sticking closer to upstream, however it seems like I would need to layer quite a few packages. My understanding is that this is discouraged in an rpm-ostree setup, particularly due to update time and possible mismatches with RPMFusion

uBlue Aurora-dx seems to include a lot of the additional support I’d need - ROCm, distrobox, virt-manager, libratbag, media codecs, etc. however I’m unclear how mature the project is and whether it will be updated in a timely manner long term

I’m curious what the community thinks between the two as a viable option

1887
 
 

How do I restore rofi to the default config files

1888
 
 

Whats your fav kanban board for linux (and android)?

I know of planka, obsidian and nextcloud deck. What's your favorite tool?

1889
 
 

Whenever AI is mentioned lots of people in the Linux space immediately react negatively. Creators like TheLinuxExperiment on YouTube always feel the need to add a disclaimer that "some people think AI is problematic" or something along those lines if an AI topic is discussed. I get that AI has many problems but at the same time the potential it has is immense, especially as an assistant on personal computers (just look at what "Apple Intelligence" seems to be capable of.) Gnome and other desktops need to start working on integrating FOSS AI models so that we don't become obsolete. Using an AI-less desktop may be akin to hand copying books after the printing press revolution. If you think of specific problems it is better to point them out and try think of solutions, not reject the technology as a whole.

TLDR: A lot of ludite sentiments around AI in Linux community.

1890
 
 

Hi everyone :).

Just getting started with Manjaro as daily drive to get some easier arched based distro. Except for the LVM bug with calamares everything is pretty smooth :).

But at first boot, I saw they have added their personal Manjaro logo on boot and I directly though of the bug exploit logoFAIL I heard a few month ago and It made me curious if this is something that could be exploitable by Manjaro.

Probably not, this would harm their image and hard worked system, but I'm still curious... If someone smarter/more knowledgeable than me could chime in and give some valuable information on this topic regarding Manjaro, I would really appreciate it !

Thank you !

1891
 
 

Hey, I wanna know your preferred laptops, used is better and to run Linux on it. Something with at least 16gb and 512 SSD is good. Budget range. Thank you!

1892
 
 

I've activated automatic updates in Gnome Software Center. Now more and more updates are shown to me here. Even after a reboot, the update notifications are still there.
If I manually click on "update all" and reboot, the update notifications disappear, but I actually thought, after reading the documentation, that updates would require no action from me at all, and that's what I want.

The weird thing is, the installed programs themselves claim to already be on the new, updated version.
So why are the updates still shown in the Software Center?

1893
 
 

According to the archwiki article on a swapfile on btrfs: https://wiki.archlinux.org/title/Btrfs#Swap_file

Tip: Consider creating the subvolume directly below the top-level subvolume, e.g. @swap. Then, make sure the subvolume is mounted to /swap (or any other accessible location).

But... why? I've been researching for a bit now, and I still don't understand the benefit of a subvolume directly below the top level subvolume, as opposed to a nested subvolume.

At first I thought this might be because nested subvolumes are included in snapshots, but that doesn't seem to be the case, according to a reddit post... but I can't find anything about this on the arch wiki, gentoo wiki, or the btrfs readthedocs page.

Any ideas? I feel like the tip wouldn't just be there just because.

1894
 
 

Linux Mint as been in development for over 15 years. Its good for them to get some press coverage and positive attention.

As far as I can tell most people switching to Linux Mint are fairly happy with the experience beside some minor Linux quarks.

1895
 
 

I like used Thinkpads. I bought a T430s off eBay and used it for several years. Recently I got a T570 from work. It had a screen issue, so I bought a new screen. That didn't fix it so I bought a new mobo, but it has a loose drive connector so won't boot. Just now I killed it for good by putting an nvme in a sata slot lol.

Anyway, I need another laptop and I don't want to buy something new. The t570 did everything I needed it to, but I'm concerned about the design/build quality. What Thinkpads are people running these days that aren't very old but still solid?

1896
151
submitted 7 months ago* (last edited 7 months ago) by JustARegularNerd@lemmy.world to c/linux@lemmy.ml
 
 

I have an older Intel laptop that has a 1600x900 display, and I find that if I put the machine to sleep, connect an external monitor with a higher resolution, and then turn it back on, the login screen doesn't adjust to the new resolution and it reveals what I had open (see photo).

However, I'm not that familiar with Linux Mint (even though I've daily driven Linux for nearly 10 years, I very casually use LMDE) and I'm not sure if this is a Cinnamon problem or if the lock screen is under a different program.

Looking at Linux Mint's webpage on reporting a bug (https://projects.linuxmint.com/reporting-an-issue.html) they seem to mostly use Cinnamon as an example, but I don't want to report this issue as a Cinnamon issue if it's the wrong project.

In case this is platform specific, my device's details are below:

  • Host: Dell Latitude E6420
  • CPU: Intel Core i7-2630QM (Sandy Bridge)
  • GPU: Intel 2nd Generation Core Processor Family
  • Kernel: 6.1.0-21-amd64
  • DE: Cinnamon 6.0.4
  • WM: Mutter (Muffin)
  • Display Server: X11

I've never filed a bug report in my life before, usually I just put up with the issue until it's eventually fixed, but I feel this is a moderate security issue that should be flagged.

1897
 
 

Would this work or would I have problems:

Using dd command to backup an entire SSD containing dual boot Windows/Ubuntu partitions into an .iso file, with the intent to then dd that iso back onto the same size SSD in the case of a drive failure?

1898
 
 

target OS is debian or linux mint

1899
1900
 
 

Hey,

As an avid CLI user, I always aimed to master non-interactive tools to perform most of my work, given that they are easy to use, create, extend, and connect.

However, I found myself dealing with software projects with many files (mostly under the yoke of corporate oppression; an ordeal which I endure to sustain myself, as most of those reading me do, and therefore I will not go further into this topic) and started to hit the limits of non-interactive tools to find and edit files. Indeed, I could go faster if I followed the temptation of monstrous IDEs, as I did in my innocent past.

I did not despair, as naturally I heard of the usefulness of interactive fuzzy finders such as fzf. After spending an afternoon evaluating the tool, I concluded that it indeed increases the complexity of my workflow. Still, this complexity is managed in a sensible way that follows the UNIX tradition.

I now ask you two general questions:

  • Did you reach similar conclusions to me and decide to use interactive fuzzy finders to solve working on software projects with many files?
  • If you use fzf or similar tools, what can you tell me about your workflow? Any other third-party tools? Do you integrate it into your scripts? Any advice that you can give me out of a long time of experience using the tool that is not easily conveyed by the documentation?

I also ask this very specific question:

  • The one part of fzf which I found missing was a way to interact with the results of grep, and to automatically place the selected file(s) in the prompt or an editor. For that, I created the following two commands. Do you have a similar workflow when you want to bring the speed of fuzzy finding to grep?
#! /usr/bin/env bash

# gf: grep + fzf
# basically a wrapper for 'grep <ARGS> | fzf | cut -f 1 -d:'

# print usage on -h/--help
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
    echo "Usage: gf <grep-args>"
    echo
    echo "~~~ that feel when no 'gf' ~~~"
    echo
    echo "- Basically a wrapper for 'grep <ARGS> | fzf | cut -f 1 -d:'"
    echo "- Opens fzf with grep results, and prints the selected filename(s)"
    echo "- Note: As this is meant to search files, it already adds the -r flag"
    echo
    echo "Example:"
    echo "  $ nvim \`gf foobar\`"
    echo "  $ gf foobar | xargs nvim"
    exit 0
fi

# run grep with arguments, pipe to fzf, and print the filename(s) selected
custom_grep () {
    grep -E --color=always --binary-files=without-match --recursive "$@"
}
remove_color () {
    sed -E 's/\x1b\[[0-9;]*[mK]//g'
}
custom_fzf () {
    fzf --ansi --height ~98%
}
grep_output=$(custom_grep "$@")
if [[ "$?" -ne 0 ]]; then
    exit 1
else
    echo "$grep_output" | custom_fzf | remove_color | cut -f 1 -d:
fi
#! /usr/bin/env bash

# ge: grep + fzf + editor
# basically a wrapper for 'grep <ARGS> | fzf | cut -f 1 -d: | $EDITOR'

# print usage on -h/--help
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
    echo "Usage: ge <grep-args>"
    echo
    echo "- Basically a wrapper for 'grep <ARGS> | fzf | cut -f 1 -d: | \$EDITOR'"
    echo "- Opens fzf with grep results, and edits the selected file(s)"
    echo "- Note: As this is meant to search files, it already adds the -r flag"
    echo "- Note: Internally, it uses the 'gf' command"
    echo
    echo "Example:"
    echo "  $ ge foobar"
    exit 0
fi

# takes output from 'gf' and opens it in $EDITOR
grep_fzf_output=$(gf "$@")
if [[ -n "$grep_fzf_output" ]]; then
  $EDITOR "$grep_fzf_output"
fi

Have a wonderful day, you CLI cowboys.

view more: ‹ prev next ›