kde KDE AMD + Wayland - sometimes Firefox gets on top of all other windows, specially XWayland, and only killing kwin_wayland_r fixes it
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    1 month ago 100%

    Another section of the log when this happened:

    Aug 15 18:00:48 arch kwin_wayland[3328]: This plugin does not support raise()
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)
    Aug 15 18:00:48 arch kwin_wayland[3328]: kwin_scene_opengl: 0x2: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
    
    3
  • kde
    KDE shadowintheday2 1 month ago 94%
    AMD + Wayland - sometimes Firefox gets on top of all other windows, specially XWayland, and only killing kwin_wayland_r fixes it

    Pretty much the title. I have been trying to pinpoint what's causing it and the proper logs, but the only thing in common so far in all times it has happened is firefox and another xwayland application are present. logs show several errors, including this one - but how could I file a bug report, if I don't know how to reproduce it ? `Aug 15 17:09:37 hostname konsole[3721]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce`.

    16
    1
    archlinux Arch Linux Any way to force pacman to prefer IPV6?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    1 month ago 100%

    tyvm

    seems to be working, even with some 404s returned

    /var/lib/pacman/sync/multilib.db.part 100%[===================================================================================================================>] 137.53K --.-KB/s in 0.007s

    2024-08-14 11:06:10 (19.4 MB/s) - ‘/var/lib/pacman/sync/multilib.db.part’ saved [140827/140827]

    --2024-08-14 11:06:10-- https://mirror.osbeck.com/archlinux/multilib/os/x86_64/multilib.db.sig Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving mirror.osbeck.com (mirror.osbeck.com)... 2606:4700:20::6819:5e05, 2606:4700:20::ac43:6136, 2606:4700:20::6819:5f05 Connecting to mirror.osbeck.com (mirror.osbeck.com)|2606:4700:20::6819:5e05|:443... connected. HTTP request sent, awaiting response... 404 not found 2024-08-14 11:06:10 ERROR 404: not found.

    1
  • archlinux
    Arch Linux shadowintheday2 1 month ago 95%
    Any way to force pacman to prefer IPV6?

    I'm using IPV6-able mirrors is it possible to force pacman to use IPV6 only, other than disabling IPV4 in the whole system?

    18
    6
    kde KDE How to right click with keyboard?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    4 months ago 100%

    I realized it works in most programs, however it doesn't in xwayland

    And it's precisely those xwayland programs (IntelliJ and Android Studio) that I would use this key most times

    2
  • kde
    KDE shadowintheday2 4 months ago 100%
    How to right click with keyboard?

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

    15
    4
    privacy Privacy addressing misconceptions about the recent TunnelVision vulnerability
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    4 months ago 100%

    Sure, someone helped me setting up a script to share the wl socket between namespaces so I can run GUI programs in isolated namespaces, and if you look at this post you can check the namespaced-openvpn; also check vole's answer if you want to run GUI programs

    3
  • privacy Privacy addressing misconceptions about the recent TunnelVision vulnerability
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    4 months ago 100%

    Thank you for summarizing it up

    I've been using network namespaces in Linux where each one also use a different user; this way you can have multiple profiles of apps separated not only by permissions but also by the VPN connection that is the only route out

    So you can have a connection that will supply your favorite iso sharer, a VPN connection to work, all unaware of each ot

    I still haven't figured how to make GUI media applications work on them though

    5
  • kde
    KDE shadowintheday2 4 months ago 88%
    how to mirror Windows alt+tab behavior in KDE?

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

    14
    3
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    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

    31
  • linux Linux Alsa multimedia inside namespace
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    It seems that a namespace only has access to process that originates inside itself

    systemctl --user list-units 
    Failed to connect to bus: No medium found             
    

    as we can see, the same user doesn't have access to other processes so we would need to duplicate every process above the namespace until we could acess the media

    would duplicate of everything - pulsewire, dbus, etc - even work ?

    1
  • linux
    Linux shadowintheday2 5 months ago 100%
    Alsa multimedia inside namespace

    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 ?

    13
    1
    linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    you install program A, it needs and installs libpotato then later you install program B that depends on libfries, and libfries depends on libpotato, however since you already have libpotato installed, only program B and libfries are installed The intelligence behind this is called a package manager

    In windows when you install something, it usually installs itself as a standalone thing and complains/reaks when dependencies are not met - e.g having to install Visual C++ 2005-202x for games, JRE for java programs etc

    instead of making you install everything that you need to run something complex, the package manager does this for you and keep tracks of where files are

    and each package manager/distribution has an idea of where some files be stored

    8
  • linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    You can freely manipulate NTFS in Linux. Just make sure your distribution has, after kernel >=5.15, enabled it, otherwise you may need to install the ntfs-eg driver. Other than that, Ach Wiki has info that may help you on any distro:

    https://wiki.archlinux.org/title/NTFS

    I have done something similar to what you want to do, just needed the ntfs-3g driver installed and "Disks" (gnome disks) application would mount/read/write the disks as usual

    6
  • linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    You can configure this behavior for CLI, and by proxy could run GUI programs that require elevation through the CLI:

    https://wiki.archlinux.org/title/Sudo#Using_visudo

    Defaults passwd_timeout=0(avoids long running process/updates to timeout waiting for sudo password)

    Defaults timestamp_type=global (This makes password typing and it's expiry valid for ALL terminals, so you don't need to type sudo's password for everything you open after)

    Defaults timestamp_timeout=10(change to any amount of minutes you wish)

    The last one may be the difference between having to type the password every 5 minutes versus 1-2 times a day. Make sure you take security implications into account.

    5
  • linux Linux Noob Question Thread: Ask Any Questions About Linux!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    Timeshift, make sure to "include hidden files" to recover any configuration for desktop environments

    After a few mess ups, you may find yourself not needing to backup everything, only the file(s) that messed up, and that's still a good thing to have Timeshift for

    3
  • asklemmy Asklemmy Can someone demystify computer Ports for me? Please? Blocking, unblocking, opening, allowing, VPNs and their effect, what ports are and what they do, step by step, when you have to interact with them?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    5 months ago 100%

    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.

    36
  • linux_gaming Linux Gaming Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 83%

    Arch is having internal discussions to increase it. Might be something upstream may adopt if all major distributions end up increasing it.

    4
  • linux_gaming Linux Gaming Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming
    Jump
    linuxmemes linuxmemes What is the most difficult problem that you have fixed in linux?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    Used to be messing with kernel arguments and installing/tweaking boot parameters. That was until Grub broke, I learned systemd-boot and chrooting into the system via live USB

    Now if I break anything it's just a matter of "sigh, let me get the USB and type a few commands"

    1
  • linux Linux First day using Linux Mint instead of Windows 11
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    After the initial learning curve when starting in Linux to solving advanced problemas that may or may not occur (will depend on Nvidia/exotic hardware/DE updates), you find it's easier to solve these because there are questions and answers in the internet, than finding another way to remove Edge, Cortana and restore the look and feel of windows 7 after every major update in windows

    2
  • linux Linux What PCI cards do you use ?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    Mind sharing whhich situations would a timecard be useful ? Probably something that requires enhanced time precision, I just can't figure it out

    1
  • linuxmemes linuxmemes Don't run out of memory
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    Depends on config, ArchWiki recommends optmizing some sysctl values to take advantage of it

    it generally starts kicking in after >60% RAM usage even with this config

    2
  • linux Linux Introducing GNOME 46, “Kathmandu”
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    These updates land on testing quickly, however due to the several packages updated at once, they all need to be tested by volunteers, and only when all of them are signed it's pushed out of testing

    2
  • linux
    Linux shadowintheday2 6 months ago 85%
    What PCI cards do you use ?

    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?

    28
    24
    memes Memes potatoes are fruit
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    6 months ago 100%

    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

    18
  • archlinux Arch Linux Plasma 6 just landed in Arch
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    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

    34
  • archlinux Arch Linux Plasma 6 just landed in Arch
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 86%

    For those who use Wayland, 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 + remove orphans , then fresh install plasma-meta or plasma group and it should work

    11
  • linuxmemes linuxmemes Always have usb with linux for repair that
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    Happened once around two years ago, s botched update from mainstream or something like that. Made me learn systemd boot which is simple and never EVER use grub again

    3
  • linux Linux SVP + MPV + Wayland
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    I figured the root cause of the problem and a workaround. Journalctl shows this info when starting SVP:

    • Video: 0 GPU OpenCL device(s) on rusticl [OpenCL 3.0] (Mesa/X.org)*

    this thread says rusticl is broken

    https://www.svp-team.com/forum/viewtopic.php?id=3167&amp;p=17

    therefore disabling hardware acceleration, for now, makes svp work again

    4
  • linux
    Linux shadowintheday2 7 months ago 88%
    SVP + MPV + Wayland

    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"

    13
    1
    kde KDE cant wait for plasma6
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 85%

    3rd gen i7 is outdated

    Even a 8th gen i7 struggles to keep cool and quiet compared to Ryzens from 2019 onwards running the same stack

    5
  • selfhosted Selfhosted Looking to build my first PC in almost 30 years; What should I be on the look out for?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    AMD is the gold standard for general user PCs in the last 5+ years. Intel simply cannot compete at the same energy expenditure/performance. At the same/close price/performance, Intel either burn a small thermonuclear power plant to deliver comparable performance, or simply is worse compared to similar Ryzens

    Ryzens are like aliens compared to what AMD used to be before them

    So I'd go with them

    As for the GPU, if you want to use Linux forget Nvidia

    10
  • linux Linux Display refresh rate reverts back to 144hz after turning off the display
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    Yeah, it's advertised as 160hz and even amdgpu_top (which uses xrandr or something like it) says 159.96hz is the first preferred mode, the second being 100hz

    I had this problem before with a Nvidia card which reset to 144hz after an update and I could never enable it again. However it's a mystery as to why it boots up at 160hz in systemd-boot console, and goes back to 144hz when entering KDE or turning the display off

    2
  • linux
    Linux shadowintheday2 7 months ago 100%
    Display refresh rate reverts back to 144hz after turning off the display

    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

    41
    4
    linuxmemes linuxmemes Average NVIDIA driver experience
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    I finally switched to AMD after 3 years in Linux, and man I didn't even know I was suffering until I booted with AMD and didn't have to take care of several env variables and separate modules for hw acc

    It just works

    9
  • kde KDE Left clicking an open program in task manager is opening another instance of it
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    shadowintheday2
    7 months ago 100%

    ctrl isn't stuck because entering and subsequently exiting plasma edit mode makes the default left click behavior work again, at least for some time

    1
  • kde
    KDE shadowintheday2 7 months ago 100%
    Left clicking an open program in task manager is opening another instance of it

    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

    11
    3
    archlinux
    Arch Linux shadowintheday2 8 months ago 100%
    Pacman force ipv6?

    There are answers for disabling ipv6 is it possible to force ipv6 instead? already using https://archlinux.org/mirrorlist/ to select ipv6-capable mirrors

    14
    5
    obsidianmd
    ObsidianMD shadowintheday2 8 months ago 75%
    encription

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

    4
    3
    linux
    Linux shadowintheday2 8 months ago 96%
    Wayland running GUI program as another user

    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?

    24
    4
    linux
    Linux shadowintheday2 8 months ago 100%
    Is it possible to change mouse to left/right handed mode via CLI on wayland?

    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

    23
    2
    linux
    Linux shadowintheday2 8 months ago 94%
    Is it possible to isolate which GUI programs are seem by a screensharing program in xorg or wayland ?

    Think Zoom, Teams, google meet etc When sharing the screen, it can see everything the user sees. Would it be possible to isolate what it sees only to GUI applications ran by the same user? If I run these as an unprivileged user via xhost, they don't really work well. Sandboxing via bubblewrap requires knowledge beyond my current skills and I'm not sure if it would work. Has anyone

    33
    12
    selfhosted
    Selfhosted shadowintheday2 9 months ago 97%
    Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose?

    I want to configure a local webcam to stream (and possibly record) a live feed open to the internet, and acess it half-world away while traveling, using FOSS only acessing it via Android VLC [This guide](https://opensource.com/article/19/1/basic-live-video-streaming-server) was quite comprehensive; however the packages for nginx-rtmp are quite abandoned in arch linux. So I thought maybe WebRTC could be an alternative - the communication itself should be encrypted, which WebRTC seems to do; however, I still can't figure out if VLC will handle this well Also, it seems that I might need to self-host a VPN to achieve this? What are my options? Has anyone else done this ?

    41
    19
    opensource
    Open Source shadowintheday2 9 months ago 96%
    Open Source Data Recovery for Android?

    Is there an open source app or tool like TestDisk/PhotoRec, but for Android?

    30
    5