501
57
submitted 3 months ago* (last edited 3 months ago) by mfat@lemmy.ml to c/linux@lemmy.ml

Today I released a new version of SSH Pilot, a user-friendly SSH connection manager.

SSH Pilot packs some useful features:

  • Built-in terminal
  • Dual-pane SFTP file manager
  • SCP file transfers
  • SSH Key generation and transfer
  • Secure storage for SSH secrets using libsecret and automatic login
  • Server grouping and color taggings
  • and more

It is available for major linux distributions, and there is a Flatpak that should run on any distro with Flatpak support.

502
23
submitted 3 months ago by podbrushkin@mander.xyz to c/linux@lemmy.ml

Ubuntu, Gnome, Wayland, nVidia, Intel integrated graphics.

I have a wide-gamut OLED screen. When regular sRGB is mapped to it, it leads to oversaturation. I can use color profiles in color managed applications to get accurate colors, but it's not system-wide and it have no effect on most of the apps. On Windows 11, I was able to change hue/saturation both in Intel Command Center and in ASUS preinstalled bloatware. On Linux, I've spent a lot of time, built below markdown file and I still have no suitable saturation control. Did I miss something?

If you're using KDE and you have a swappedRedAndGreen.icc color profile preinstalled in your color management settings, can you enable it to check if it affects whole system or only color managed applications (like some of image viewers)? If you have SDR Color Intensity in your KDE Display settings and it works, can you check if CTM is supported by your system (xrandr --properties | grep ctm)?

Gnome Extensions

There are some saturation extensions which work nice for X11 but bad for Wayland+fractional scaling, they degrade performance in any case: https://extensions.gnome.org/ https://github.com/zb3/gnome-saturation-extension

nVidia Settings

In some systems nVidia control panel has color settings:

nvidia-settings

Should look like this: https://askubuntu.com/a/664299 but no such option for me. Maybe switching between Open/Proprietary nvidia drivers will enable color settings? When I switch Primary GPU from Intel to nVidia and reboot, new props appear, but no color props. ctm doesn't appear in xrandr either. xrandr display id changes to eDP-1-1. Performance and heat issues appear. Mouse lags a little bit.

xrandr and xcalib

X11 only.

# You can make white less white, but can't change black in xrandr with gamma/brightness props:
xrandr --output eDP-1 --gamma ('{0}:{0}:{0}' -f 1.9) --brightness 0.5

# This one changes black point!
xcalib -brightness 10 -alter 

xcalib defaults: gamma=1.0 brightness=0.0 and contrast=100.0.

To reset xcalib use one of these:

  • Restart PC;
  • Alt+F2 -> xcalib -clear -> Enter;
  • Ctrl+Alt+Delete and wait for 60s or press Right, Enter

xrandr BroadcastRGB

# Check Broadcast RGB available values (default: Automatic):
xrandr --props | sls 'Broadcast RGB' -Context 0,1 | select -f 1
#>       Broadcast RGB: Limited 16:235
#                supported: Automatic, Full, Limited 16:235

# Change to Limited:
xrandr --output eDP-1 --set "Broadcast RGB" "Limited 16:235"
# Black is now less black, white is less white, screen is softer.
# Will reset to default after reboot.

libvibrant

X11 only https://github.com/libvibrant/libvibrant https://unix.stackexchange.com/a/730078

git clone --depth 1 https://github.com/libvibrant/libvibrant.git
# sudo apt install cmake
# sudo apt install libx11-dev libxrandr-dev libxext-dev libxi-dev
# sudo apt install nvidia-settings libxnvctrl-dev
cmake ..
& ./build/cli/vibrant-cli --version

# FAIL
# CTM should be supported by driver/display for libvibrant to work:
# xrandr --properties | sls ctm

For non-laptop screens there are ddcutil and ddccontrol. They should work as if you're changing your settings using physical buttons on your display.

KDE has saturation settings? https://zamundaaa.github.io/wayland/2023/12/18/update-on-hdr-and-colormanagement-in-plasma.html "SDR Color Intensity" option. Maybe it relies on CTM?

KDE can affect whole screen appearance with regular ICC profiles without VCGT tag?

503
168
submitted 3 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
504
82
submitted 3 months ago by someacnt@sh.itjust.works to c/linux@lemmy.ml

I have been getting monitor tearing time to time, even with windows. It wasn't occurring often, and I could fix it by turning the monitor off and on, so I have been sleeping on it.

A few days ago, it began tearing like crazy, and it happens after turning the monitor on for a few minutes. It came to the point where the computer is nearly unusable, so I want to solve the issue once and for all.

How do I go with resolving a monitor tearing issue? Or, is it the faulty monitor? The issue also happens on Windows, after all..

505
137
submitted 3 months ago* (last edited 3 months ago) by underscores@lemmy.zip to c/linux@lemmy.ml

I realized I always make a source folder under home and then subfolders named after programming languages to organize projects but then I realized I somehow had my own convention for how to store my source code and I have no idea where I got it from

Then I thought. what about other Linux users ?

What sorts of conventions do you have that pertains to folder structure in Linux ?

506
19
submitted 3 months ago by qkall@friendica.world to c/linux@lemmy.ml

So, I finally got my #oneplus6 out from the shop.... That was the worst experience ever and they're a long-time spot I go to... That's a whole other story. #enshifification Anyway, the one plus (#ihavejokes) is that the battery replacement went great. I've expressed some reservation switching from my #pixel3a to the op6... But man. I'm happy. Nothing Fancy...

Apps
#btop
wf-recorder
#firefox (minima css, tridactyl)
#halloy
#nheko
#kdenlive

Tags
#qobuz
#postmarketOS
#sxmop6 #sxmo
#video
@linuxphones
@linuxphones
@linmob
@linux
@linux

Music - Bomb The Music Industry - 'Syke! Life Is AWESOME!'
quoteunquoterecords.com/qur004…

~video~
files.catbox.moe/0by4bk.mp4

507
48
submitted 3 months ago* (last edited 3 months ago) by TheTwelveYearOld@lemmy.world to c/linux@lemmy.ml

Edit: I'm now enlightened and use mpv, I really like the ModernZ OSC (on-screen controls), and uses config files.

IINA is only on macOS. I looked up linux alternatives but none of them seem to have similar looking UIs, at least out of the box. I want the player UI to float on top of the video + with a blurred background, it as shown in the image; or at least the ability to theme it like so.

508
5
submitted 3 months ago* (last edited 3 months ago) by trulyrandomguy@lemmy.world to c/linux@lemmy.ml

https://youtube.com/watch?v=Mq1drnqpxSg&pp=0gcJCR4Bo7VqN5tD

Video description: after trying to select volume control option at bottom right the screen turned black with white flashes.

This issue arises in two ways. First when booting the initial ASUS logo will show and then straight this black, flashing screen and second way it happens is when I try to select wifi, volume, network options present at bottom right area.

When this happens, pressing the power button also doesn't work, so I have to force power off the laptop by holding the power button for some seconds.

This doesn't happen every time i.e most of the times it boots correctly and most of the time trying to select options work as expected.


Operating System: Fedora Linux 43 KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 Kernel Version: 6.17.8-300.fc43.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-8300H CPU @ 2.30GHz Memory: 8 GiB of RAM (7.6 GiB usable) Graphics Processor 1: Intel® UHD Graphics 630 Graphics Processor 2: NVIDIA GeForce GTX 1050 Manufacturer: ASUSTeK COMPUTER INC. Product Name: TUF GAMING FX504GD_FX80GD System Version: 1.0

509
26
submitted 3 months ago by chazwhiz@lemmy.world to c/linux@lemmy.ml

I’ve used OpenMediaVault for years and liked it, but I’m just exploring some other options. I’ve got a new system with a Ryzen 370 and 890m iGPU, which Debian is fighting me on getting working. Meanwhile it looks like AMD is treating Ubuntu as a first class citizen for support. Just considering options, maybe Ubuntu plus Cockpit to abstract all the admin stuff?

510
27
submitted 3 months ago by crash_thepose@lemmy.ml to c/linux@lemmy.ml

Is this the right place to ask for help? Or is there another place? Anyways, feel free to delete this post if i'm in the wrong spot.

I use Pop OS on an Asus. Something has happened where i either have a 10 min plus boot time, or it doesn't boot at all. I have reinstalled Pop OS twice (and used recovery mode) and even took it into a computer shop to see if there was something wrong with my hardware (there isn't). When I first do a new install it will restart fine, but then it'll be the next day when it will either take over 8 minutes to load, or it will be stuck on boot.

Right now it is stuck on boot. I can get into a live usb stick just fine. I have done systemanalyze blame, and it didn't give me any helpful information. I have the same issue even if I try to press space bar and boot into an old kernel.

I should note that my computer has encryption enabled.

Any help would be awesome.

All hail the other linux noobs out there!

511
57
submitted 3 months ago* (last edited 3 months ago) by pewpew@feddit.it to c/linux@lemmy.ml

I've been trying the COSMIC store and it looks like it killed my apt somehow. Apt says that there is a version mismatch between some libc6 packages, but I checked with dpkg and it all looks correct.

Apt says that I've a newer version of some packages but that is not true. Is there any way to fix this?

EDIT: Fixed formatting

512
19
submitted 3 months ago* (last edited 3 months ago) by af1899@lemmy.world to c/linux@lemmy.ml

Hi all, I'd like some help with setting up Linux for gaming, I'm not a new user but I'm not expert either, I've been having problems with my current setup, before I had Bazzite 42 which worked perfectly, however I was afraid things would eventually break over with that layering thing, since I use some things like Pale Moon which has a dependency that needs to be layered (IIRC it was libdbus), MEGAsync, ZeroTier and Kvantum, all of which have to be installed to the system, so I switched to openSUSE TW (both distros using KDE Plasma 6 on Wayland session), which was been working excellently so far... well, except for one thing:

For some backstory and context (you can skip this paragraph): the computer I've been running these distros on is a GIGABYTE G5 MF with 16GB of RAM, which I bought back on May/2024 and it had winblows 11 Home, it was my fault not knowing I should've chosen a laptop with AMD hardware instead (I don't exclusively use it for gaming and sometimes travel with it but that's besides the point), but it's served as a lesson for next time and winblows was used for some time after tweaking it... until I had enough of it, because even with the patches people make to reduce telemetry, the way it's now just doesn't feel at home and any more trustworthy than 7 or XP both of which I've grown up with, so I've been hoping to have this laptop run any Linux distro, so long as I can game in it.

Anyway, the G5 MF ships with a big troublemaker Made in Nvidia™, it's has an RTX 4050, and in it I play a variety of things on and off my Steam library, but at least one game has been giving me serious problems every time I hit almost an hour after playing ever since I switched to openSUSE: Wuthering Waves (or WuWa for short), it lags gradually - it starts fine for a couple of minutes where it runs fluently before the lag kicks in and becomes worse and worse the more I play (on occasions it even hangs the system so I have to force a restart), although while the lag is there, it seems to happen primarily when I try to move the mouse regardless of the situation (if I'm in dialogue or exploring, but it's the worst when fighting), and during cutscenes where they always play slowly and voices go out of sync.

I tried everything I could think of as well, changing settings in game as well as launch options, DirectX version (11 or 12), and Proton forks, but the gradual lag still persists (this didn't happen in Bazzite).

Currently, these are my launch options for the game: STEAMOS=1 STEAMDECK=1 PROTON_USE_NTSYNC=1 WINE_GSTREAMER=1 VK_DRIVER_FILES=/usr/share/vulkan/icd.d/nvidia_icd.x86_64.json PROTON_DLSS_UPGRADE=1 PROTON_NVIDIA_LIBS_NO_32BIT=1 prime-run gamemoderun %command% -dx12. I found via ProtonDB (which I've been using to get different launch options from fellow Nvidia users) that adding that VK_DRIVER_FILES variable lets me run the game on the dGPU, otherwise it refuses to and runs on integrated, this wasn't required when I had Bazzite.

Another problem this laptop has is that [Secure Boot] is always active and I don't know how to disable it (mainly because there doesn't seem to be a way and I didn't find any info) otherwise I'd have long done it, also, my understanding about it is vague so I'm afraid of touching anything and bricking the machine, but I'm not looking to replace the machine yet since it still works great.

About [Secure Boot], here's the related settings I found in the BIOS settings, but I forgot one more option and it's like a boot list with two entries about openSUSE, one has "secureboot" on the name and the other doesn't, if it helps I'll add a picture of it to that album.

Worse, I don't have many distros I can pick from, as they must include support for [Secure Boot] out of the box so I can boot into the OS.

The drivers are installed and should be signed though since the game is offloaded every time I run it, here's some more info from commands I thought I'd add.

So here's the options I'm pursuing:

  1. Stay on openSUSE, if there's any fix to the gradual lagging.
  2. Switch to another distro while also trying XFCE on X11, I'd love to use Ksnip for my screenshotting needs while I'm at it, but Wayland is annoying with the portal thing because Ksnip isn't native and that's like the only thing I hate about Wayland from experience, so Spectacle is the closest best alternative for me wherever I end up stuck with Wayland and I'm satisfied with it. I'm kinda thinking about Fedora but I'm concerned about the possible use of AI even with their proposals/rules. Otherwise I've read XFCE is lightweight so it could maybe help?
  3. Just go back to Bazzite: perhaps the most suitable choice despite being based on Fedora, but if it works the best for my use case, then I guess I'll have to keep it as my daily driver.

Any other ideas on what I could try would be appreciated as well (so long as it's not coming back to winblows), or just possible fixes so I don't have to do distro hopping would be great, and if any info is missing I'd be glad to add it, just let me know what I should run on the command line, thanks for any help in advance.

513
44
submitted 3 months ago* (last edited 3 months ago) by curious_dolphin@slrpnk.net to c/linux@lemmy.ml

Problem Statement

I'm in the process of de-googling, and I'm about 60% there, but I still need gmail for the things that I cannot or have not yet migrated.

I've also recently experimented w/ the Thunderbird app for both Linux and Android, and it's okay. One thing that really irritates me is the fact that when I import my emails from gmail, all my labels are handled as folders in Thunderbird. This is an issue b/c I have rules to help organize incoming email by assigning one or more labels. I believe Thunderbird has the concept of tags, but by default Thunderbird routes gmail labels to folders instead of tags.

Question

Is there a mail client on Linux (and Android) that handles labels from gmail as tags instead of folders? Alternatively, is there a setting in Thunderbird that will use tags instead of labels that I'm just not aware of?

I've tried searching DDG, but came up with nothing useful beyond other posts on other social media websites asking similar questions.

514
52
Bash scripting question (sh.itjust.works)
submitted 3 months ago by BingBong@sh.itjust.works to c/linux@lemmy.ml

Hello everyone,

Hoping that this is a good place to post a question about Bash scripting. My wife and I have run into a problem in PhotoPrism where it keeps tagging pictures and videos with similar names together and so the thumbnail and the video do not match. I decided that rather than try to get her iPhone to tweak its naming it's easier to just offload to a directory then rename every file to a UUID before sending to photoprism. I'm trying to write a bash script to simplify this but cannot get the internal loop to fire. The issue appears to be with the 'while IFS= read -r -d '' file; do' portion. Is anyone able to spot what the issue may be?

#! /bin/bash
echo "This script will rename all files in this directory with unique names. Continue? (Y/N)"
read proceed
if [[ "$proceed" == "Y" ]]; then
	echo "Proceed"
	#use uuidgen -r to generate a random UUID.
	#Currently appears to be skipping the loop entirely. the find command works so issue should be after the pipe.
	   
# Troubleshooting
#Seems like changing IFS to $IFS helped. Now however it's also pulling others., don't think this is correct.
#verified that the find statement is correct, its the parsing afterwards that's wrong.
#tried removing the $'\0' after -d as that is string null in c. went to bash friendly '' based on https://stackoverflow.com/questions/57497365/what-does-the-bash-read-d-do
#issue definitely appears to be with the while statement
	find ./ -type f \( -iname \*.jpg -o -iname \*.png \) | while IFS= read -r -d '' file; do
	   echo "in loop"
	   echo "$file"
	   #useful post https://itsfoss.gitlab.io/post/how-to-find-and-rename-files-in-linux/
	   #extract the directory and filename
	   dir=$(dirname "$file")
	   base=$(basename "$file")
	   echo "'$dir'/'$base'"
	   #use UUID's to get around photoprism poor handling of matching file names and apples high collision rate
	   new_name="$dir/$(uuidgen -r)"
	   echo "Renaming ${file} to ${new_name}"
	   #mv "$file" "$new_name" #uncomment to actually perform the rename.
	done
	echo "After loop"
else
	echo "Cancelling"
fi

515
95
submitted 3 months ago by Grumpy404@lemmy.zip to c/linux@lemmy.ml

Over the past few years ive gotten desktops from various smaller thrift stores but not i feel like i have too many and im not sure what to so with them? Do i save them and turn them into a bugger project? Do i make a nas out of one of them? Im stumped theres so many things to do with a pc that i dont know where to start, or if this is even the right place to post in?

I pretty much saved theses from e-waste and scalpers but most of the machines are devices nobody wants or has a issue.

516
187
submitted 3 months ago by zknd@lemmy.world to c/linux@lemmy.ml

I’ve been working on a "Linux Inside Out" series and wrote a post that might interest folks here who like low(ish)-level / OS internals.

The idea is to dissect the components of a Linux OS, layer by layer, and build a mental model of how everything fits together through experiments.

The first part is about the kernel, in the post I:

  • take the same kernel image my distro boots from /boot
  • boot it directly with QEMU (no distro, no init system)
  • watch it panic
  • write a tiny Go program and use it as PID 1
  • build a minimal initramfs around it so the kernel can actually start our process

The goal isn’t to build a real distro, just to give a concrete mental model of:

  • that the Linux kernel is just a compressed file, you can boot it
  • without anything else
  • what the kernel actually does at boot
  • how it hands control to userspace
  • what PID 1 / init is in practice
  • what is kernel space vs user space

Link: https://serversfor.dev/linux-inside-out/the-linux-kernel-is-just-a-program/

I’m the author, would be happy to hear from other devs whether this way of explaining things makes sense, and what you’d add or change for future posts in the series.

Hope you find it useful.

517
19
submitted 3 months ago by kionite231@lemmy.ca to c/linux@lemmy.ml
518
68
submitted 3 months ago* (last edited 3 months ago) by Retro_unlimited@lemmy.world to c/linux@lemmy.ml

Does anyone have 4x6 thermal label printers working on Linux?

I have tried several thermal printers, zebra and off brands, none of them work on Linux, also tried arch, mint, manjaro, Ubuntu, and a few others.

Printers all detect and install, but never prints. I messed with CUPS settings, didnt help. I also tried LPrint. Didnt work. Nothing comes out any of the label printers. Not even the sample test labels.

Been using Linux for about 2 years full time. I only have windows to print shipping labels. I HATE using windows 10 and refuse to use 11. Now with no updates it’s the last thing I need to replace.

519
11
VNC Server setup (piefed.social)
submitted 3 months ago by ifiokambrose@piefed.social to c/linux@lemmy.ml

Is there anyone here who’s ever setup a VNC server with a desktop environment on a VPS and interacted with the remote computer thru a laptop?

520
25

Hi everyone,

I’m using Fedora Linux 43 with GNOME 49. By default, GNOME shows file icons based on the file type, not the application that opens them.

What I’d like to achieve is for file icons to show the icon of the program that is set as the default to open the file—similar to how it works in Windows.

For example, in my screenshot, I have three files that are all opened by the same program by default (VSCodium in this case), but each one has a different icon based on its file type. I’d like them all to show the icon of the program instead.

Is there a way to show file icons based on the default app?

Thanks in advance!

521
22
submitted 3 months ago by DirtyGadget@lemmy.sdf.org to c/linux@lemmy.ml

Hi,

I'm looking for a FLOSS way to have hardware resources usage ( cpu, mem, storage, network, etc.. ) over time ?

Any lightweight solution suggestion ?

It can be TUI or GUI ( XFCE )

It could be nice also to can filter result/graph by process, user etc..

Thanks

522
33
submitted 3 months ago by mumei@lemmy.world to c/linux@lemmy.ml

PoP_OS 22.04.

Recently upgraded GPU and went from nVidia to AMD. Since AMD drivers are already baked into the kernel, I simply uninstalled nVidia ones by

sudo apt purge ~nnvidia

but after doing so and rebooting with the new GPU, the game I had been playing until minutes before the swap started giving me an unbearable amount of audio crackling, mainly (but not exclusively) when there's audio besides the one from the game playing (e.g. background music player).

Searching online I found out it's an issue with pipewire, and found someone mentioning a solution that edited the quantum values, though that didn't work for me; specifically, making default.clock.quantum larger.

The second issue happens everywhere but fullscreen applications (e.g. games): if I quickly draw circles with my mouse, at some point the pointer starts drifting away in erratic ways, even though I'm still drawing circles with my mouse; other times, especially when there's a windowed app (such as FreeTube while playing a video), even simply moving the mouse across the screen results in the pointer lagging behind as if the screen were jelly, and if I start drawing circles, the video stutters to the point of freezing.

Now, the audio issue is extremely problematic since I have to keep volume very low, as even an average volume means crackling is loud to the point it hurts my ears; the jelly-pointer is less of an issue, but still very annoying.

Any ideas?

Anyone who had these issues and is now on PoP 24 beta? Long shot, but it releases next week and if the issue was fixed for you, I'll wait, otherwise I might just try a different distro.

Thanks in advance!

523
164
submitted 3 months ago by cyberwolfie@lemmy.ml to c/linux@lemmy.ml

I work in a corporation with an IT-department that is all in on whatever Microsoft is offering. My team has for some time gotten more and more autonomy in tooling as IT is overloaded and forced to relinquish some control, but we still rely on them for supplying compliant machines that have access to our resources.

I requested a Linux machine just over 5 months ago, and I finally got it this week. It is running Ubuntu with GNOME, not my first choice, but the only thing that is Microsoft Intune compliant as far as I know.

So far it is such a relief. A better specced machine with less bloat running on it. It should be far between any OOM-issue I get now... Slightly annoying having to use Edge for any service requiring corporate SSO, but I'll swallow that pill...

524
32
submitted 3 months ago by podbrushkin@mander.xyz to c/linux@lemmy.ml

I wanted a simple clipboard history on Win+V.

I've installed CopyQ - it's ugly, starts with a lag and doesn't quite work on Super+V shortcut. I've switched to Wayland and it silently stopped working altogether.

Next, I've installed Gnome Clipboard History Extension - it looks good, fast, works on Super+V, but for some reason it can't paste into Kate text editor.

Is it possible to get a reliable clipboard history manager on Gnome+Wayland, or should I stop wasting my time? Maybe someone has a working solution?

I am a little but frustrated by the obstacles I encounter trying to get this simple feature.

525
29
submitted 3 months ago by ZkhqrD5o@lemmy.world to c/linux@lemmy.ml

I use PopOS and I wonder does the TPM processor in my CPU get used for anything out of the box? If not, what could it be used for? Have you guys got practical advice?

view more: ‹ prev next ›

Linux

63789 readers
34 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 6 years ago
MODERATORS