1
73
submitted 2 hours ago by [email protected] to c/[email protected]
2
10
submitted 1 hour ago* (last edited 36 minutes ago) by [email protected] to c/[email protected]

Every time I wake up PC from sleep I have to go to bluetooth settings -> select device -> enable connection to get sound on bluetooth speakers (Anker Soundcore). Bluetooth came with MBO and drivers were working out of the box after PopOS install.

I hope there is a command I can use instead of clicking in the GUI. Anyone know a command I could use?

[SOLUTION]

Using this command (with bluetooth speaker MAC address):

bluetoothctl connect A4:77:58:0A:DF:F1

[SOLUTION]

Bonus question: I was thinking I could map that command to a keyboard shortcut (like CTRL+ALT+B). What is the best way (or app) to accomplish this? I believe I could google this part quickly, but happy to hear suggestions anyway

[SOLUTION]

It's possible with PopOS: Settings -> Keyboard -> Keaboard Shortcuts -> Custom Shortcuts

[SOLUTION]

<3

3
22
submitted 3 hours ago by [email protected] to c/[email protected]
4
4
submitted 1 hour ago by [email protected] to c/[email protected]

While I was writing a shell script (doing this the past several days) just a few minutes ago my PC fans spinned up without any seemingly reason. I thought it might be the baloo process, but looking at the running processes I see it's names block-rate-estim . It takes 6.2% CPU time and is running since minutes, on my modern 8 core CPU. And uses up 252 KiB. The command is shown as block-rate-estim --help, which when I run on the commandline myself will just run the program without output and blocking until I end the process. Sounds alarming to me first. Is something mining going on?

I looked up where the command is coming from:

$ ls -l /usr/bin/block-rate-estim
.rwxr-xr-x 14k root 20 Dez  2023 /usr/bin/block-rate-estim

$ yay -F block-rate-estim
extra/libde265 1.0.12-1 [installed: 1.0.15-1]
usr/bin/block-rate-estim

$ yay -Si libde265
Repository      : extra
Name            : libde265
Version         : 1.0.15-1
Description     : Open h.265 video codec implementation
Architecture    : x86_64
URL             : https://github.com/strukturag/libde265
Licenses        : LGPL3
Groups          : None
Provides        : None
Depends On      : gcc-libs  glibc
Optional Deps   : ffmpeg: for sherlock265
qt5-base: for sherlock265
sdl: dec265 YUV overlay output
Conflicts With  : None
Replaces        : None
Download Size   : 270,31 KiB
Installed Size  : 783,53 KiB
Packager        : Antonio Rojas 
Build Date      : Mi 20 Dez 2023 20:06:16 CET
Validated By    : MD5 Sum  SHA-256 Sum  Signature

It's still going on the background, I have no idea what this is. The thing is, I didn't start any process that is related to video codec. Other than FreeTube being in the background with video in Pause mode since 2 hours or so. I use FreeTube since months and this never happened before, I see this block-rate-estim process the first time.

What should I do? I'm on an up-to-date EndeavourOS installation.

5
18
submitted 3 hours ago by [email protected] to c/[email protected]

Is anyone free to help the developer of sway notification center out? I have opened an issue about sway notification center's accessibility regressions in the notification list, and I have also suggested that when the notification appears, the accessible event is fired. The dev doesn't know how to do this however, so any input or PR's that mention this issue would be greatly appreciated! https://github.com/ErikReider/SwayNotificationCenter/issues/404 If we get this sorted, we will have a fully accessible notification daemon for all wlroots based compositors, which will soon include XFCE. This could be the Wayland equivalent of notification-daemon for X11, but even better if the GTK notification centre list can be fixed up too. #Linux #accessibility #a11y

6
2
Keybow OS (infosec.pub)
submitted 3 hours ago by [email protected] to c/[email protected]

Does anyone know if it's possible to have events from the Keybow keyboard cause effects on the Pi Zero W running the keyboard instead of outputting to another machine? Or do I need to go with a different OS and figure out the handling of the keys myself?

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

publication croisée depuis : https://lemmy.world/post/14573897

I'm asking this because I'm very new to the Yocto project. I'm going through the documentation but it's a bit overwhelming to me, looking at what Fishwaldo has achieved (link embedded in the title). I would like to learn how he did it and how I could create my own image based on a supported kernel with necessary drivers and boot the Star64 board.

From what I understand, he:

  1. Forked the kernel tree and created his own branch.
  2. Put in the necessary drivers (including OEM drivers) - I'm not really sure how he did it since I'm new to Linux (any tips would be appreciated!).
  3. I can't quite make out the layers he used to build the minimal image (I will study the guide more to figure this out).
  4. Finally, he compiled it, alongside compiling U-boot, partitioned the SD-card and booted the device.

Am I right? I'm missing a lot of steps in the middle, would really appreciate any help in understanding this. Thanks!

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

I have created a network namespace to separate connections through a VPN, and it runs as the same user account as I use for everything else; however, it is not able to play music/use microphone

inside the namespace:


aplay -l  
card 2: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0  


arecord -l

card 2: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 2: ALCS1200A Alt Analog [ALCS1200A Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0 

I also tried running as another user, but the effect is the same, which is why for simplicity I resorted to using the same user that can play/record normally

what should I look for in configuring it ?

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

Status:

There are bootable images of CentOS Stream.

CentOS-bootc images

Repo


Note: I got the info that the CentOS people are working on this. Still, I think thats too slow XD

Note 2: See below for word explanations


CentOS is the downstream of Fedora and upstream of the extremely stable RHEL.

Debian is stable and has a release cycle of 2 years, RHEL uses 5 years. So using RHEL on a desktop is overkill.

But unlike all the hate about RedHat converting CentOS to CentOS Stream, I think this makes it a very very good candidate for a normal workstation!

It has EPEL and COPR repo support, so you can get tons of external packages, desktops etc. You can also just clone COPR repos you like, or ask the maintainers to add CentOS Stream to the builds.

I would not want to use a "traditionally" package-managed distro anymore though, it is just not reliable enough for me.

rpm-ostree is perfect, Fedora Atomic Desktops (Silverblue, Kinoite, Sericea, ...), uBlue, Bazzite, Bluefin, Aurora. Even a COSMIC image is there.

rpm-ostree needs 2 things:

  1. An ostree remote OR OCI container registry, to pull the main image
  2. Optional, for layering: traditional RPM package repositories

The repos are already there, but an OCI image is needed. There are OCI images of CentOS stream.

But uBlues framework can not just be used, as they download the image from Fedora, chroot into it and use the builtin tools. This requires the presence of rpm-ostree and a kernel, which are both missing in the CentOS Stream image.

So, the question:

Do you know how to manipulate OCI images, to pull it in, add packages from the CentOS repos (kernel) and COPR (rpm-ostree), do some changes and build an OCI image again?

Word explanations

word explanation
OCI Open container initiative, a container format which docker, podman, ublue and more use. With ostree native containers these may replace ostree remotes in the future
upstream where code first occurs. The official developers repo for example.
downstream some place where code arrives later, for example through (distro) packaging, or in stable distros
distro distribution, a form of packaging the kernel, utils and software into a usable form
RHEL RedHat enterprise linux, product of RedHat
CentOS discontinued clone of RHEL, (ab)used by many companies to get a rock solid and compliant OS for free
CentOS Stream continuation of CentOS, upstream of RHEL, downstream of Fedora. The middleground so to say
EPEL extra packages for enterprise linux, a repo to get more software onto RHEL, CentOS Stream and RHEL clones like AlmaLinux and RockyLinux
COPR "cool other package repos" (I think), the AUR or OpenBuildService of Fedora, building RPMs and creating repos very easily
rpm-ostree a package manager that uses ostree and rpm, to manage the system using ostree, and add or remove packages using rpm, from traditional repos
ostree something like git for your OS, making sure it is 100% what is upstream on the servers, ensuring perfectly reproducable bugs, reducing entropy etc. Also has support for rebase other git-like concepts. In my opinion an incredibly awesome way to manage a distro
entropy physical concept of "chaos". Here: the amount of variables you can have in an OS, like adding and removing packages, installing external repos, changing configs, ...
Fedora Atomic Desktops Fedora Desktop variants using rpm-ostree. Silverblue=GNOME, Kinoite=KDE, Sericea=Sway, also Budgie and more
uBlue a project "consuming" Fedoras various images, adding packages, configurations etc, making them painless. They have a ton of desktops, HWE images, server images etc
HWE hardware enablement, here adding proprietary NVIDIA Drivers and the needed configs, using the Surface kernel or ASUS patches
Bazzite uBlues Gaming variant, to replace SteamOS or to use on other handhelds and desktops
Bluefin uBlues custom Silverblue variant with lots of cool modern stuff and also a developer edition
Aurora Bluefin but with KDE instead of GNOME
COSMIC System76' new desktop, Wayland only, written from scratch in Rust, using the Iced toolkit and the Smithay library
10
98
submitted 18 hours ago by [email protected] to c/[email protected]
11
167
submitted 22 hours ago by [email protected] to c/[email protected]

I'm working on a some materials for a class wherein I'll be teaching some young, wide-eyed Windows nerds about Linux and we're including a section we're calling "foot guns". Basically it's ways you might shoot yourself in the foot while meddling with your newfound Linux powers.

I've got the usual forgetting the . in lines like this:

$ rm -rf ./bin

As well as a bunch of other fun stories like that one time I mounted my Linux home folder into my Windows machine, forgot I did that, then deleted a parent folder.

You know, the war stories.

Tell me yours. I wanna share your mistakes so that they can learn from them.

Fun (?) side note: somehow, my entire ${HOME}/projects folder has been deleted like... just now, and I have no idea how it happened. I may have a terrible new story to add if I figure it out.

12
86
submitted 22 hours ago by [email protected] to c/[email protected]
13
107
Wine 9.7 released (gitlab.winehq.org)
submitted 1 day ago by [email protected] to c/[email protected]

The Wine development release 9.7 is now available.

What's new in this release:

  • Build system support for ARM64X.
  • Some restructuration of the Vulkan driver interface.
  • WIDL improvements for ARM support as well as SLTG typelibs.
  • Various bug fixes.

Bugs fixed in 9.7 (total 18):

#37246 Old C&C titles freeze after the map is loaded.

#44699 Clang 6.0 fails to run under wine

#44812 Multiple applications need NtQueryInformationProcess 'ProcessQuotaLimits' class support (MSYS2, ProcessHacker 2.x)

#48080 Oregon Trail II will not start in 32-bit mode

#50111 osu! crashes since 20201110 version with wine-mono (needs native -> managed byref array marshalling)

#54759 Notepad++: slider of vertical scrollbar is too small for long files

#54901 Medieval II Total War some units partly invisible with d3dx9_30 as builtin

#55765 The 32-bit d2d1:d2d1 frequently crashes on the GitLab CI

#56133 explorer.exe: Font leak when painting

#56361 Geovision Parashara's Light (PL9.exe) still crashes in wine

#56369 Advanced IP Scanner crashes on unimplemented function netapi32.dll.NetRemoteTOD

#56442 Totem Arts Launcher.exe garbled text

#56491 Videos in BURIKO visual novel engine

#56493 PresentationFontCache.exe crashes during .Net 3.51 SP1 installation

#56536 UI: Applications using ModernWPF crash, Windows.Ui.ViewManagment.InputPane.TryShow not implemented

#56538 Mspaint from Windows XP needs imm32.CtfImmIsCiceroEnabled

#56551 HP System Diagnostics crashes when clicking the Devices tab

#56554 ON1 photo raw installs but wont run the application

14
218
submitted 1 day ago by [email protected] to c/[email protected]
15
27
submitted 20 hours ago* (last edited 20 hours ago) by [email protected] to c/[email protected]

This is DeltaChat desktop client but not with the default Electron. Compile instructions for Debian, Arch Linux and openSUSE. One Linux distribution has this packaged : NixOS, package name kdeltachat-unstable. The software developer is also active in the DeltaChat forum. Posting this here to give this project some more attention cause it would be nice to see less Electron and more Kirigami (or Tauri ?).

16
23
submitted 20 hours ago by [email protected] to c/[email protected]
17
39
submitted 22 hours ago* (last edited 22 hours ago) by [email protected] to c/[email protected]

Passkeys seem like a great idea, and we are at a point where, although things are still very much in flux, software passkeys managed by password managers are starting to be usable. I thought I'd share the workflow that's working for me on Linux with some sites, and ask the community for more tips & tricks.

A passkey is a client certificate - which is an old idea, but now there are some new standards in place*. When you log into a website, instead of sending a password you send a message signed using the private key on your hardware security device, or stored in your password manager. If you use a password manager the flow is about the same as with passwords: your password manager pops up and asks if you want to log in to the given website. But instead of sending a password to the browser, message signing takes place in the password manager. Unlike passwords those signed messages can't be replayed. Arguably you can skip sending MFA codes and get about the same (or maybe better) security with passkeys than you were getting with passwords + MFA.

Complications come up because support for passkey APIs is still patchy. On Linux I think there is system-level support for hardware keys, but not for passkey managers (password managers that can do passkey signing). But you can close that gap using browser extensions! I'm using Enpass with it's Firefox extension. Signing into websites in Firefox using passkeys works quite well in some of the sites I've tried. (I've also tested with Bitwarden's browser extension, and it works just as well.**) Although creating passkeys doesn't work on all of those sites.

  • I was able to create a passkey on Github, and sign in with it.
  • I was able to create a passkey for the demo at https://www.passkeys.io/, and sign in with it.
  • I couldn't create passkeys for Google, but I could log in with passkeys created on another device, and synced by Enpass to my Linux machine.
  • I can use a passkey for MFA on Discord, but they don't seem to be using them for logins yet.
  • I'm not getting options to use my passkeys on Amazon or Paypal, but I was able to create passkeys for these sites on Android.

Without using a browser extension Chrome on Linux does have a feature to sign in with passkeys on mobile devices. I don't think this works with third-party passskey managers. On some sites Chrome gave me the option to log in using the automatically-generated, Google-managed passkey on my phone. It didn't actually worked for me - my phone showed a message saying "connecting to device" but never actually connected.

That brings me to the Android side. Since some sites will let me log in with passkeys but not create them it's helpful to have another option for creating passkeys. Android is further along in implementing system level passkey support (only in Android 14 or later). But it's not perfect yet. Firefox for Android is not working with passkey managers yet, but there is a ticket to track this. Third-party passkey managers work in Chrome for Android, but only if you enable an experimental flag:

  • open chrome://flags/
  • find the setting "Android Credential Management for passkeys"
  • set the value to "Enabled for Google Password Manager and 3rd party passkeys"

* "Passkey" seems to be an umbrella term for WebAuthn or FIDO U2F. It looks like WebAuthn is a part of FIDO2.

** From a cursory look at the two I feel more comfortable with Enpass' browser extension than with Bitwarden's. I'm not positive, but it looks like Bitwarden loads credentials in the extension itself which puts all of your secrets in the browser process. OTOH the Enpass extension uses IPC to send requests to the Enpass desktop app. But as many will point out, Bitwarden's clients are open-source and audited while Enpass' software is closed-source.

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

Debian or Arch or Ubuntu never ask for my confirmation ?

Example :

You acknowledge that openSUSE Leap 15.3 is subject to the U.S. Export Administration Regulations (the “EAR”) and you agree to comply with the EAR. You will not export or re-export openSUSE Leap 15.3 directly or indirectly, to: (1) any countries that are subject to US export restrictions; (2) any end user who you know or have reason to know will utilize openSUSE Leap 15.3 in the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, and sounding rockets, or unmanned air vehicle systems, except as authorized by the relevant government agency by regulation or specific license; or (3) any end user who has been prohibited from participating in the US export transactions by any federal agency of the US government. By downloading or using openSUSE Leap 15.3, you are agreeing to the foregoing and you are representing and warranting that You are not located in,under the control of, or a national or resident of any such country or on any such list. In addition, you are responsible for complying with any local laws in Your jurisdiction which may impact Your right to import, export or use openSUSE Leap 15.3. Please consult the Bureau of Industry and Security web page www.bis.doc.gov before exporting items subject to the EAR. It is your responsibility to obtain any necessary export approvals.

19
32
submitted 21 hours ago by [email protected] to c/[email protected]

I've heard LTS kernels offer more stability, but lack the latest features. How likely is my system to break with the standard kernel?

20
270
submitted 1 day ago by [email protected] to c/[email protected]
21
166
submitted 1 day ago by [email protected] to c/[email protected]
22
148
submitted 1 day ago by [email protected] to c/[email protected]
23
54
submitted 1 day ago by [email protected] to c/[email protected]

I'm having the hardest tine setting up a shared folder between a Linux host and Win11guest. I want to get rid of dual boot, but there are a few programs that I use which are Win only. I have set up a VB VM, but I want a fine tuned KVM VM. On VB sharing is trivial, but I can't get it to work in KVM. I have the host sharing the folder with Samba, and can see it from another Linux VM, but not from windows. Any clues?

24
13
I broke my flatpack (lemmy.world)
submitted 1 day ago by [email protected] to c/[email protected]

I tried to setup jellyfin, but jellyfin didn't see any subfolders in my home folder I tried to grant jellyfin the rights to read my home folder, but it looks like I did something wrong and now I can't update and install flatpak apps. This is what I see when I try to update flatpak apps:

Warning: Failed to get revokefs-fuse socket from system-helper: Flatpak system operation GetRevokefsFd not allowed for user Warning: Flatpak system operation Deploy not allowed for user

Are there any suggestions I need to make to fix flatpack?

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

EDIT: After reading all the responses, I’ve decided to allow cookies to persist after they close the browser, which I expect will make it so that 2FA doesn’t kick in as often, at least not on their most frequently used web sites. I may also look into privacy oriented browser extensions that might offer some protection, such as Privacy Badger. Thanks, all!

OP: I know two factor authentication is considered more secure than just passwords, but here’s the deal: One of my family members uses Linux Mint on their laptop (at my recommendation and yes, they are aware that it’s not a Mac), and while they’ve mostly adapted to the different workflows (coming from a macbook), one of their biggest pain points is that web sites are constantly challenging them because they don’t recognize their machine. It’s frustrating to them because they used to just allow all cookies in Safari, whereas I’ve configured Firefox on their Linux laptop not to keep any cookies after the browser is closed. I know this isn’t a Linux/Firefox issue, but I think they might not see it that way and I worry they’ll get frustrated to the point that they’ll go out and splurge on a new macbook air when they already have a perfectly functional laptop with functional OS.

Right now I’m thinking of adding their most frequently used web sites as exceptions in Firefox settings so at least those cookies would persist after closing the browser, making them easier to log into. Or maybe I’ll just allow all cookies indefinitely, although I’d rather not just throw in the towel on Big Surveillance. Is there another way to walk that line between convenience and security that I’m not thinking of? Should I just remove my tin foil hat and allow all cookies indefinitely?

Thanks in advance for your advice.

view more: next ›

Linux

43985 readers
2215 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 4 years ago
MODERATORS