There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

cyclohexane , in My FOSS terminal clipboard manager is now at version 0.8.2!

Does this work over ssh? For example, I’m in a ssh session, I can pipe something into a terminal program, and I can paste it with Ctrl + V on the host machine?

bachatero OP ,

If your terminal supports something called OSC 52, then it should work great! I use Kitty which does support it and Alacrity should also too.

PlexSheep ,
@PlexSheep@feddit.de avatar

Oh I will have to look into this.

cyclohexane ,

Do you mean it should work regardless of this tool? Or it works because of this tool?

I use foot for the most part, and alacritty when I use X. I’ll check if foot has it. Thanks!!

bachatero OP ,

Synchronizing the clipboard over SSH uses the OSC 52 protocol, which both the terminal and the programs you run in the terminal have to support. Foot may or may not support it, and almost no regular software does, but CB got complete OSC 52 support recently.

rotopenguin , in Run Shell Script without sudo and with special bit permission using suid-wrapper
@rotopenguin@infosec.pub avatar

Do you know how many times I’ve made some little bit of shell code “setuid” by writing a shitty little C program that just calls system()?

exu , in How to write a 'tar' command

That looks really cool. And finally a guide that knows -z is not necessary all the time.

uzay , in Does this exist: flatpak-like sand-boxing with gentoo-like source-based package management?

Would running gentoo in a distrobox container work for you?

danielfgom , (edited ) in Help installing Bookworm (Debian) on Acer laptop
@danielfgom@lemmy.world avatar

Do yourself a favour and install Linux Mint Debian Edition (LMDE 6). It’s Debian without the pain.

They also have 32bit if your pc needs it.

Benjamin OP ,

I’ve got an even older machine, Intel Atom, 2Gigs RAM, and I’m running 64bit XFCE4 there quite decently, but thank you for the info. How much longer do you think 32bit has? I thought web browsers already switched to only 64bit?

ZRam is good stuff

danielfgom ,
@danielfgom@lemmy.world avatar

Really hard to say. I suppose as long as someone still uses it. But I’d guess it must be a handful of PC’s now. Maybe 1000 or so? 🤷

Sentau , in Is there a proper way to offload video workload to iGPU/APU?

Do you have a dedicated GPU¿?

axzxc1236 OP , (edited )

Yes, rx 7800 xt. I can confirm DRI_PRIME does switch to integrated GPU on demand


<span style="color:#323232;">DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
</span><span style="color:#323232;">OpenGL renderer string: AMD Radeon Graphics (gfx1101, LLVM 16.0.6, DRM 3.54, 6.5.5-arch1-1)
</span><span style="color:#323232;">DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
</span><span style="color:#323232;">OpenGL renderer string: AMD Radeon Graphics (raphael_mendocino, LLVM 16.0.6, DRM 3.54, 6.5.5-arch1-1)
</span>
Sentau ,

I am assuming you have the monitor connected directly to the 7800xt. Which is why it is the default GPU.

Is the decoding being done when watching the video¿? amdgpu_top shows if the application(vlc in this case) is using the decoding hardware(column named DEC).

Also using the iGPU for video decoding should be more efficient because the massive number of cores in dGPU aren’t needed while decoding yet are kept active because the dGPU is active

axzxc1236 OP ,

The problem has been solved, it’s caused by mesa’s video decoding package, I will answer anyway.

Yes, VCN (Video Core Next) column stays at constant value while playing video (3% for VA-API with mesa, 5% for VDPAU with mesa, 0% for libplacebo), GFX fluctuates between 0% and 1%.

Just playing a 1080P video (not even a high bit rate one) is enough to make GPU fan go spinning, disappointing.

Sentau ,

Hmm must be some bug in mesa or the way it interacts with vlc . I use VA-API with mesa for my decoding purposes on a system(laptop) with Vega iGPU and RDNA1 dGPU and I don’t see high energy usage. In fact I get much better battery life with vaapi hardware decoding.

dartanjinn , in real strange DNS issues, help!

Are you using /etc/resolv.conf?

I don’t use proton but I found with tailscale it’s much more stable to use systemd-resolved because it doesn’t overwrite resolv.conf. I don’t know if this is the case with proton as I don’t know how it treats different resolvers but I would look into it.

Skunk , in This is why people use Windows

Great edits ! I’m glad those worked, unlike your movie file name.

_I_ OP , in This is why people use Windows
@_I_@lemmy.world avatar

A LOT OF HURT NECKBEARDS HERE RIGHT NOW. OUCH! HOW COULD THE ALL MIGHTY LINUX FAIL AT SUCH A SIMPLE TASK! LET’S BURY THIS WITH DOWNVOTES 😂

vettnerk , in Linux Mint Debian Edition officially released

I would’ve jumped on this instantly, but I finally landed on a Min21 configuration that works well. New laptop => new hardware => need new nvidia driver => need new kernel.

Which kernel does LMDE currently ship with?

levi ,

6.1 like Debian 12.

vettnerk ,

I’ll probably give it a go, then, if I need to reinstall.

Bitrot ,
@Bitrot@lemmy.sdf.org avatar

Backports kernel is available too, currently 6.4.

nora , in Why does the breeze theme have 50 dependencies?

You could try this: aur.archlinux.org/packages/klassy

I don’t think it’ll need breeze to build but it does need breeze-icons. Idk if breeze-icons needs breeze Edit: nvm u need plasma installed for it :(

Harry_h0udini OP , in Do I need a firewall for my fedora 38?
@Harry_h0udini@lemmy.dbzer0.com avatar

Uncomplicated Firewall is easy to setup and understand. It blocks traffic and allows it. Install UFW

sudo apt install ufw

My recommended(Chris Titus)

`sudo ufw limit 22/tcp

sudo ufw allow 80/tcp

sudo ufw allow 443/tcp

sudo ufw default deny incoming

sudo ufw default allow outgoing

sudo ufw enable`

Is this enough?

NateNate60 ,

Yes, it is enough. Generally, the default handling of connections on Linux is enough but having ufw can’t hurt. Certain developer or server software may not work unless you add UFW exceptions for them. They don’t know how to do this on their own.

By default, without a firewall, any program can communicate through any port it wants as long as it can bind that port. Ports that are special or low-numbered (e.g. TCP port 21 is reserved for FTP) require root to be bound. Otherwise, a program can bind any port that isn’t already in use by something else. All incoming connections to a port that isn’t bound will be refused and the information discarded.

Edit: Your router also usually has a firewall that is strong enough for most everyday purposes.

zenharbinger ,

This is fedora, I would stick with firewalld.

sudo dnf install firewalld

sudo systemctl enable --now firewalld

sudo firewalld-cmd --add-service --permanent ssh

sudo firewalld-cmd --add-service --permanent https

sudo firewalld-cmd --add-service --permanent http

sudo systemctl restart firewalld

Benjamin OP , in Help installing Bookworm (Debian) on Acer laptop

The machine is an Acer Spin3, 7th gen Intel, 12Gigs RAM, Intel gfx

med , in Gnome: Is there a way to ahve any window available as a dropdown over all workspaces?

extensions.gnome.org/extension/…/focus-window/

Something like this would do it. Looks unmaintained as of Gnome 41. It may or may not work with higher versions

This will definitely be a problem if you upgrade to 45, as all plugins will need to be updated to work.

That’s a real shame, because your question reignited my own search for the same thing

yukijoou OP ,

welp, i’ll bookmark this. if i have some time in the future, i’ll look into porting it to recent gnome! thank you~!

beerclue , in [Help] go and perl5 folders in ~/

Try xdg-ninja to learn how to move them (and everything else) away from your home directory.

kariboka OP ,

Thanks!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines