submitted 28 minutes ago by [email protected] to c/[email protected]

I'm a i3 user that has been trying to migrate to sway.

I use it with these environment variables:

export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/var/state"
export XDG_CONFIG_HOME="$HOME/.local/config"
export XDG_CACHE_HOME="$HOME/.local/var/cache"

Which gives me a clean home with only ~/.local for my dotfiles.

And issue that I've noticed that I haven't been able to fix is that every time that I start sway, hyprland and also the alpha of cosmic is that I get a new ~/.cache directory created in my home that contains a mesa_shader_cache directory.

Btw in the middle of writing this post I just ran into another bug, thunar for some reason decided to steal my key presses from the web browser, and even though I had the browser window focused as I have sway configured to change the border color of the window with focus, thunar was like nope wtf.

submitted 1 hour ago by [email protected] to c/[email protected]

I'm trying to mount one of my SSDs on my systems but it gives me this error when trying to mount from File System: "Failed to mount "New Volume" - No object for D-Bus interface." If I go into Gparted and check the description of the device in question it gives me this: $MFTMirr does not match $MFT (record 3). Failed to mount '/dev/nvme0n1p2': Input/output error NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software.

Failed to open '/dev/nvme0n1p2'.

$MFTMirr does not match $MFT (record 3). Failed to mount '/dev/nvme0n1p2': Input/output error NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software.

Unable to read the contents of this file system! Because of this some operations may be unavailable. The cause might be a missing software package. The following list of software packages is required for ntfs file system support: ntfs-3g / ntfsprogs.

If I run fsck -l in the terminal It returns this:

fsck from util-linux 2.40.1 e2fsck 1.47.0 (5-Feb-2023) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/nvme0n1

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>

/dev/nvme0n1 contains DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system"; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x30,254,63), startsector 1, 4294967295 sectors' data

Any advice? Thanks in advance.

submitted 3 hours ago* (last edited 2 hours ago) by [email protected] to c/[email protected]

I wondered, Browsers work really well, are already there anyways, have all the GPU stuff etc already dealt with. They also have portal support so Wayland works great.

It could use the Browsers screencast ability on all platforms, and run with Javascript and WASM.

The stuff could be installed in a local Podman container and thus also work natively on Linux.

Do you know an app that does this, client-side?

submitted 5 hours ago by [email protected] to c/[email protected]
submitted 6 hours ago* (last edited 6 hours ago) by [email protected] to c/[email protected]

Hi everyone!

Today I tried to install KDE alongside Gnome to give it a try on Fedora on something else than a virtual machine.

For a reason I can't understand, the terminal couldn't finish the installation of KDE as something failed. Despite all of this, all the KDE apps were installed and Plasma is appearing as an option on the login screen under Gnome and Gnome Classic. Still I couldn't launch KDE plasma and nothing was happening after typing my login.

I took it as a sign that KDE isn't for me, especially because I'm 99% happy with Gnome.

So I removed KDE via the terminal and the remaining apps via the software center. Sadly, there is one app called "Centre de bienvenue" or "Welcome center" from KDE that I can't remove. Nothing is happening when I try removing it.

I tried removing it via the terminal, but when I type "dnf list installed" I can't find it as there are too many packages. Could anyone help me?

I also tried « dnf list installed » with the words « welcome », « bienvenue », « kde » and « plasma ».

submitted 7 hours ago by [email protected] to c/[email protected]
submitted 10 hours ago* (last edited 10 hours ago) by [email protected] to c/[email protected]
submitted 5 hours ago* (last edited 5 hours ago) by [email protected] to c/[email protected]

due to reasons I only have my tbb/ff bookmarks saved as jsonlz4 files, 10 backups.

Ideally, I could recover all those including the structure, but Id settle for the urls (and hopefully the names).


submitted 7 hours ago by [email protected] to c/[email protected]

Hello everybody! I can say I'm a newbie at Linux. Wanted to ask about Linux' task viewers. On the famous task viewers such as bpytop, htop etc., can viruses hide from them? Excluding the injected codes, can virus & tracker/logger softwares hide from classic task viewers of Linux? Do they show all kinds of services and running tasks?

submitted 7 hours ago by [email protected] to c/[email protected]

upgrading xubuntu to 24.04, fresh install, but I'd like to copy the output of both dpkg -l and history to a usb stick.

About history: will it copy all commands I executed on all tabs? I work with several tabs simultaneously.

submitted 10 hours ago* (last edited 9 hours ago) by [email protected] to c/[email protected]

Hello Lemmy,

I am the author of bluetuith, an open-source TUI-based bluetooth manager for Linux only. I have been working on this project for over 2 years on and off, and I was wondering about extending support to other platforms as well.

To begin with, the Bluetooth Classic (BR/EDR) implementation on Linux is fairly standardized (via bluez APIs), but on other platforms, especially windows, Bluetooth APIs are finicky, and tricky to deal with, and also there is no standardized management in general.

I would like to start creating a centralized Bluetooth server or a daemon for other platforms (natively maybe), mainly Windows and Linux, which can expose relevant APIs so that clients can use them to handle Bluetooth-based operations. I know this is quite an uphill task, but I would like suggestions on how to implement it, or if anyone has a better idea, please do suggest that as well.

To summarize, my current plan is this:

  • Create bluetooth servers natively for each platform, utilizing the platform's proven APIs to handle bluetooth-based functions and expose a standard API to clients
  • Adapt clients to use said APIs provided by the daemons to allow the user to control bluetooth in general.

For the server implementation (mainly to other platforms), I will require contributors, so contributors are highly welcome to be involved in the project. I am in the process of securing an NLnet grant to invest into this project and mainly pay contributors to implement this platform-wise (the proposal has been accepted, and the negotiation call will be hosted in a few weeks, more details about this can be further published if anyone has questions about this. If contributors are confirmed, maybe the budget could be adjusted as well).

I apologize if the post is naive or does not fit this community's guidelines, and if it doesn't, a comment on where to redirect this question would be great.

Constructive feedback is appreciated. Thank you.

Note: By Bluetooth operations, I mainly mean Bluetooth Classic based operations.

submitted 11 hours ago by [email protected] to c/[email protected]
submitted 12 hours ago by [email protected] to c/[email protected]

The ELF object file format is adopted by many UNIX-like operating systems. While I've previously delved into the control structures of ELF and its predecessors, tracing the historical evolution of ELF and its relationship with the System V ABI can be interesting in itself.

submitted 12 hours ago* (last edited 10 hours ago) by [email protected] to c/[email protected]

Hi there, I'm on Bazzite KDE and recently somehow lost a my "gaming" folder..? No idea how but must gave been user faulty, e.g me. Therefore wondering if it's possible to lock certain folders so that this cannot accidentally happen?

submitted 11 hours ago by [email protected] to c/[email protected]
DBus and systemd (uyha.github.io)
submitted 12 hours ago by [email protected] to c/[email protected]

systemd uses DBus as the mechanism to interact with it. This article introduces just enough DBus concepts and the usage of busctl to communicate with systemd. These concepts should be useful when using DBus libraries.

submitted 15 hours ago by [email protected] to c/[email protected]

Hi everyone,

I have a Python program (A) that run under a regular user account. (good)

When some events occur in (A) I need to modify my nftables and only the root is allowed to do so.

I've come up with 3 ways to do that (if you know other please share) but I don't which would be the best.

  1. Make a sudo call from (A) with from subprocess import run but I will need to store the password ! and I don't think is possible to keep it encrypted and decrypted when need it (it's a flaw)
  2. Make (A) writing a file with the requests. Create a (B) daemon (that run as root) that check that file every X and do the necessary
  3. Make (A) do an IPC ( Linux socket ) to (B) daemon (that run as root) and does the necessary.

I suppose that the solution 2 is less heavy that the 3 ? But if I'm not mistaken it will react also slower ?



submitted 18 hours ago* (last edited 18 hours ago) by [email protected] to c/[email protected]

I've been using arch for a while now and I always used Flatpaks for proprietary software that might do some creepy shit because Flatpaks are supposed to be sandboxed (e.g. Steam). And Flatpaks always worked flawlessly OOTB for me. AUR for things I trust. I've read on the internet how people prefer AUR over Flatpaks. Why? And how do y'all cope with waiting for all the AUR installed packages to rebuild after every update? Alacritty takes ages to build for me. Which is why I only update the AUR installed and built applications every 2 weeks.

submitted 1 day ago by [email protected] to c/[email protected]

I'm currently learning how to code (currently Python, then maybe JavaScript), but I'm not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I'm looking into purchasing a laptop just for learning how to code and stuff.

I don't want to get a Chromebook because I want to be able to wipe the drive and install Linux on it (probably Linux Mint). Maybe it's changed since 2013, but the last time I had a Chromebook, it was a pain in the ass to install even bog-standard Ubuntu on it.

Problem is, I'm also heavily limited by space & budget: no more than 11 in (280 mm) total laptop width and 330 USD base price.

Does anyone have any suggestions?

Please forgive me if this is not the right space for this kind of question. Lemme know if it is and I'll delete it. :)

submitted 1 day ago by [email protected] to c/[email protected]

I've used distrobox more and more and am at the point where I need to start saving and integrating history differently. Or like, when I'm installing and building something complicated, I need to start saving that specific session's history. I am curious what others might be doing and looking for simple advice and ideas.

submitted 1 day ago by [email protected] to c/[email protected]

Like OneDrive for Windows or iCloud on MacOS. So files only her downloaded when needed and you can specify directories/files to be available offline.

Needs to integrate into nautilus context menu with the option to get a shareable link through that. Though I'm open to switching my file manager. Nextcloud can do it but the feature is experimental and every time I restart it just syncs everything again.

Gnome online accounts doesn't let you specify folders to be available offline. Onedriver is the same and I'd like to stop paying MS money. Plus neither integrate into nautilus' context menu.

It's the one thing I really miss from win 11. Basically all folders I worked were synced and for a secondary backup I synced OneDrive to a NAS. My Cloud Storage is bigger than the available space on my machine. I could do insync with selective sync, it nautilus integration as well. But that's just not as elegant as smart/on demand sync, having everything available in your file manager when you need it.

submitted 1 day ago by [email protected] to c/[email protected]
submitted 1 day ago by [email protected] to c/[email protected]
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

notebook is a 10 year old macbook pro without macos I installed xubuntu 24.04 in. It comes with an embedded battery.

First notebook I bought, not from apple, had a removable battery. The vendor told me to maximize its life I shouldn't plug the battery in, unless I need it (like for traveling). This way, I've managed to keep the original battery in good working condition for 8 years so far.

Back to the macbook: I cannot remove the battery and constantly loading it to up to 80% and discharge it up to 20% seems ridiculous. Furthermore, this would deplete the battery even faster, I believe.

What can I do to spare the battery as much as possible?

submitted 1 day ago by [email protected] to c/[email protected]

command: sudo tlp-stat -b


TLP 1.6.1 --------------------------------------------

+++ Battery Care

Plugin: generic

Supported features: none available

+++ Battery Status: BAT0

/sys/class/power_supply/BAT0/manufacturer = DP

/sys/class/power_supply/BAT0/model_name = bq20z451

/sys/class/power_supply/BAT0/cycle_count = 666

/sys/class/power_supply/BAT0/charge_full_design = 6330 [mAh]

/sys/class/power_supply/BAT0/charge_full = 5043 [mAh]

/sys/class/power_supply/BAT0/charge_now = 4936 [mAh]

/sys/class/power_supply/BAT0/current_now = 0 [mA]

/sys/class/power_supply/BAT0/status = Full

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)

/sys/class/power_supply/BAT0/charge_control_end_threshold = (not available)

Charge = 97.9 [%]

Capacity = 79.7 [%]

my take:

this is an apple battery, meaning this command won't load it up to a threshold I choose (not available)

charged currently at 97.9%, even if the gui says it's 100%

capacity is 79.7%, what for me is a very high value, considering this is a 10 year old notebook (maybe it hasn't been used much?)

your take?

view more: next ›


44737 readers
1166 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.


Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago