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

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

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

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

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

Also known as (close) to max signed int32

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

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

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

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

[-] shadowintheday2@lemmy.world 9 points 6 months ago

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

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

lol my cat actually meows and asks to be vacuumed

[-] shadowintheday2@lemmy.world 11 points 6 months ago

Most things would be solved if mainteners EVER updated their app's electron version or stopped doing custom things with it and just let electron read $XDG_CONFIG_HOME/electron-flags.conf

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

...no ? years ago I couln't even dream of using bluetooth in linux; few weeks ago I found an old bluetooth dongle and now my usb speakers work just fine - even better than connecting via smartphone because plasma has sbc-xq codec easily selectable. It auto connects everytime I boot the pc, I just had to add btusb.enable_autosuspend=0 to kernel cmdline parameters

make sure you follow these guides, whicever distro you use

if it crashes, try sudo systemctl stop bluetooth.service and sudo systemctl start bluetooth.service

remember, bluetooth is a very cursed embrace-it-all protocol and may randomly crash/refuse to pair/connect unless you reset the devices manually, and this may happen with any hardware/software

[-] shadowintheday2@lemmy.world 10 points 6 months ago

Just don't upgrade for a while and you become debian

It's not like windows forcing you to reboot every Tuesday so Edge can come back

[-] shadowintheday2@lemmy.world 7 points 7 months ago

It's not exempt from happening; however, it rarely ever updates and has less complexity/functionality than grub, which makes it less prone to error happening (be it from the developers, or from the user like me trying to theme it :))

[-] shadowintheday2@lemmy.world 10 points 7 months ago

I switched to systemd boot when that happened, and it's been so smooth ever since

22
submitted 7 months ago* (last edited 3 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 7 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

33
submitted 7 months ago by shadowintheday2@lemmy.world to c/linux@lemmy.ml

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

44

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 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 ?

30

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

view more: ‹ prev next ›

shadowintheday2

joined 8 months ago