16
submitted 1 month ago* (last edited 1 month ago) by shadowintheday2@lemmy.world to c/kde@lemmy.kde.social

Is it possible to bind a key (e.g. context/menu key) as right click in KDE plasma on wayland ?

14

I'm using task switcher with Recently used sort order, but I still feel unsure if it's the same behavior

[-] shadowintheday2@lemmy.world 31 points 2 months ago* (last edited 2 months ago)

I didn't know memes could smell like they're old through the screen until I saw this one

Google logo before Corporate Memphis bullshit and the dude using a feet to hold his cup of tea just like the classical antiquity raptor, it's just perfect

13
submitted 2 months ago by shadowintheday2@lemmy.world to c/linux@lemmy.ml

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 ?

[-] shadowintheday2@lemmy.world 36 points 3 months ago

IP is like an address to a big skyscraper where a company operates. You are the delivery man and must go to 201.154.76.19 and deliver something. When you get at the reception, you tell them you have a package to deliver to Mrs HTTPS, at room (port) 443. Since Mrs HTTPS is well known and has cleared your entry before, you're allowed to enter this room and only this room.

If you were to get at the same address and try to access other rooms you would either get refused because they are closed, or if open, someone would specifically need to be in the room so you can deliver something

Malicious actors that wanted access to the building could try to disguise their deliveries and enter the building, that's why the default policy of most firewalls is "reject" and you specifically need to open a port and have a program listening to it if you want incoming connections.

[-] shadowintheday2@lemmy.world 22 points 3 months ago* (last edited 3 months ago)

That'd be over 1TB with zram on

28
submitted 3 months ago by shadowintheday2@lemmy.world to c/linux@lemmy.ml

I have 2x PCIe X16 and 1x PCIe 1x slots that are not being used. Given that Linux has extensive hardware support, there are probably users with interesting PCI card usages

Aside from traditional usages like network/wireless/bluetooth/sound that can easily be used as USB (or built in advanced sound support in the MOBO), what are your use cases with PCIe?

[-] shadowintheday2@lemmy.world 18 points 4 months ago

Considering it's almost always 30°C+ 60%+ RH at least half of the year where I live, yes

Refrigerating them increases their shelf life significantly in these conditions

It's probably less effective in other cooler and drier climates

[-] shadowintheday2@lemmy.world 34 points 4 months ago

For those who use Wayland and autostart, don't forget to edit

/etc/sddm.conf.d/kde_settings.conf

from KDE5: Session=plasmawayland

to Plasma6: Session=plasma

to confirm the exact name, check what is available under /usr/share/wayland-sessions/

if you're stuck, try pacman -Q | grep -i kde and pacman -Q | grep -i plasma and remove everything related, then fresh install plasma-meta or plasma group and it should work

[-] shadowintheday2@lemmy.world 24 points 4 months ago

Already switched to AMD to enjoy it

13
SVP + MPV + Wayland (lemmy.world)
submitted 4 months ago* (last edited 4 months ago) by shadowintheday2@lemmy.world to c/linux@lemmy.ml

I was wondering if anyone else has had luck configuring SVP with MPV on wayland (AMD). I followed the archwiki https://wiki.archlinux.org/title/Mpv

This is ~/.config/mpv/mpv.conf

autofit-larger=100%x100%
hwdec=auto-copy
profile=svp
vf=format=fmt=yuv420p

[svp]
input-ipc-server=/tmp/mpvsocket     # Receives input from SVP
hr-seek-framedrop=no                # Fixes audio desync
watch-later-options-remove=vf       # Do not remember SVP's video filters
no-resume-playback

When SVP takes control of the video it pauses and never gets playing again

mpv stdout shows (pause) for a single sec, then proceeds normally, but the video stays frozen

[autoconvert] Converting nv12 -> yuv420p
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 3840x2160 yuv420p

SVP has no option to control the video at all; it just says "playing whatever at 60fps"

41
submitted 4 months ago* (last edited 4 months ago) by shadowintheday2@lemmy.world to c/linux@lemmy.ml

Through amdgpu_top several modes are available, with 1440x3440@159.96 being the preferred

however after turning on/off the display, it reverts to 144hz

how can I make 160hz the default ? kde settings shows "A new output has been added. Settings have been reloaded" when this happens; and the previous 160hz is saved "for any display arrangement"

radeon vega cezanne wayland kde

[-] shadowintheday2@lemmy.world 13 points 4 months ago* (last edited 4 months ago)

lol my cat actually meows and asks to be vacuumed

11
submitted 5 months ago* (last edited 5 months ago) by shadowintheday2@lemmy.world to c/kde@lemmy.kde.social

I'm getting a bug where left clicking a program open in the task manager triggers opening another instance of the same program instead of raising/focusing in the already opened window. This didn't happen using X11. It's not the behavior configured for the left click; a recently started session works fine. The only way for it to go away without restarting is entering Plasma's edit mode and exiting it - then task manager behaves ok for a while. How can I trace what causes this ? I tried checking journalctl for criticial errors or logs when I click and this behavior happens but couldn't find anything relevant

Plasma5, wayland, nvidia

[-] shadowintheday2@lemmy.world 42 points 5 months ago

My most paranoid config is disabling Ipv4

That's it. If someone wants to attack me, they will need to adopt IPv6!

988
14
Pacman force ipv6? (lemmy.world)

There are answers for disabling ipv6 is it possible to force ipv6 instead?

already using https://archlinux.org/mirrorlist/ to select ipv6-capable mirrors

[-] shadowintheday2@lemmy.world 95 points 5 months ago

"A qsort vulnerability is due to a missing bounds check and can lead to memory corruption. It has been present in all versions of glibc since 1992. "

This one amazes me. Imagine how many vulnerabilities future researchers will discover in ancient software that persisted/persist for decades.

4
encription (lemmy.world)

is there a way to encrypt obsidian vaults using either symmetric/asymmetric encryption with multiple devices?

[-] shadowintheday2@lemmy.world 29 points 5 months ago* (last edited 5 months ago)

I thoroughly backup up my slow nvme before installing a new faster one. I actually didn't even want to reuse the installation, just the files at /home.

So I mounted it at /mnt/backupnvme0n1, 2, etc and rsynced

The first few dry runs showed a lot of data was redundant, so I geniously thought "wow I should delete some of these". And that's when I did a classic sudo rm -rf in the /mnt root folder instead of /mnt/dirthathadthoseredundantfiles

22
submitted 6 months ago* (last edited 2 months ago) by shadowintheday2@lemmy.world to c/linux@lemmy.ml

I use https://github.com/slingamn/namespaced-openvpn to have a isolated namespace and VPN connection

On X, these two steps would allow me to run a GUI program in the protected namespace. So I could have .e.g an IDE configuration for my main user/personal projects, and another entirely different instance of the same IDE for work because they use different users

sudo xhost '+si:localuser:user'
sudo ip netns exec protected sudo -u user -i

On Wayland, although the protected shell is created fine, GUI programs don't start. E.g fgor Dolphin

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Failed to create wl_display (No such file or directory)

I've tried to preserve the env without success:


sudo -E ip netns exec protected sudo -u user -i

It seems that I access to the wayland socket is a must for this to work

This discussion has a nuke option - giving 777 access to the dir where the wayland socket is, and another less permissive approach adding the users to a group and giving access to a new location where the wayland socket is created

https://stackoverflow.com/questions/41736528/linux-wayland-display-multiple-user

Is this second approach secure? If not, which other steps could I take to achieve what I did in X?

21
submitted 6 months ago by shadowintheday2@lemmy.world to c/linux@lemmy.ml

On X I use

xmodmap -e "pointer = 3 2 1" // lefthand
xmodmap -e "pointer = 1 2 3" //righthand

On wayland/KDE, I must change it manually via system settings; and any other application that run on xwayland doesn't respect this

is it possible to change everything via cli, for both wayland and xwayland?

please help an old and tired boomer that is trying to stick with wayland and nvidia this time

[-] shadowintheday2@lemmy.world 16 points 6 months ago* (last edited 6 months ago)

Interception by a third party is highly unlike, as the transport layer of basically everything is encrypted nowadays. What is left unknown is what can Meta do once the file is on their servers, as you'll have to trust Zuckk's word and Zuckk's encryption

view more: next ›

shadowintheday2

joined 6 months ago