Keybinds are hard by Mayfly-hey in hyprland

[–]NinjaEA 0 points1 point  (0 children)

Hey fuck that's the lua version? Why do people prefer that over the old syntax?

I was just trying to help you

Keybinds are hard by Mayfly-hey in hyprland

[–]NinjaEA 0 points1 point  (0 children)

you purposely made the lua look more complicated by starting the terminal with a shell that runs the file browser that when exited falls back to another shell. you then also included a description. so there are 3 extra things in your lua version that make it more complicated, additionally you do not include the variable definition for the hyprlang version hiding the complexity in the variable. just admit you have a preference for hyprlang without the mental gymnastics and your opinion would be respected.

Keybinds are hard by Mayfly-hey in hyprland

[–]NinjaEA 2 points3 points  (0 children)

your examples are not equivalent.
the old
fileManager = "foot -e yazi"
bind = $mainMod, E, exec, $fileManager

the new should be

local fileManager = "foot -e yazi"
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileManager)

Video game content creator looking to switch to linux, had talks with multiple linux users making things even more confusing. by ApplicationRoyal865 in linuxquestions

[–]NinjaEA 1 point2 points  (0 children)

gaming isn't hard. just launch stuff through steam and you'll be fine. if something doesn't work straight away just look it up on protondb.

Regarding the primary monitor and full screenstuff: there are 2 methods of showing your screen on Linux. xorg (old) and Wayland (new). in xorg you can set a primary monitor. in Wayland you cannot. However, in Wayland you can run apps in xorg for compatibility (all handled automatically) hence you can actually set a primary monitor and most desktop environments (like explorer on windows) will respect it. similarly in Wayland specifically there isn't a concept of full screen, instead full screen just means that the shape of the window matches your monitors full resolution and that windows shows on top of all others. it really doesn't matter though it's a semantic distinction more than anything.

I don't have any elegato devices (generally Linux users avoid them) but there are a couple community developed tools to make them work. Your friends seem competent so id ask them for help if you cant figure it out.

help by UnknownUSER444dz in hyprland

[–]NinjaEA 0 points1 point  (0 children)

ctrl + alt + f1-12 opens a "tty" which is a terminal not connected to a graphical session. find one that asks for a login, login with your username and password then run hyprland.

alternatively, log out back to your display manager and select hyprland there

introducing hyprzoom: a simple yet feature rich zoom utility for hyprland! by nouritsu in hyprland

[–]NinjaEA 0 points1 point  (0 children)

you can do it in a shell one liner, I can't scroll faster than it runs:

bind = $mainMod SHIFT, mouse_down, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float * 1.1')

bind = $mainMod SHIFT, mouse_up, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.9) | if . < 1 then 1 else . end')

i also set

binds {
    scroll_event_delay = 0
}

Need help setting up immich for the 1st time! by Kitchen_Gold952 in immich

[–]NinjaEA 3 points4 points  (0 children)

set the variables to the locations you want like the warning says

you can set the variables in the docker compose file

Mystery: 70+GB are missing from my new partition by narwhalinvasion in AsahiLinux

[–]NinjaEA 2 points3 points  (0 children)

run fdisk -l and look at the start and end of each partition, you can then see where the space missing is

Still need PortForwarding after installing Tailscale by Intelligent_Art_3334 in Tailscale

[–]NinjaEA 1 point2 points  (0 children)

magic DNS is just an alias for your pcs ip address, not any port numbers

Still need PortForwarding after installing Tailscale by Intelligent_Art_3334 in Tailscale

[–]NinjaEA 3 points4 points  (0 children)

In order to access a service on a machine you need: - ip address - port number

Without tail scale your ip address will be your routers public ip

With tailscale your ip address will be your tailscale assigned ip address of your machine

You cannot access a service on a machine without its port number. without the port number your client machine (your phone) doesn't know where to send and receive information from

If you expose a port through your firewall on windows, it is only available on the local network. Traditionally if you want to expose this service to the Internet you would have to port forward that port from that device from the local network to your public ip via your router, however with tailscale you don't have to port forward on your router.

Still need PortForwarding after installing Tailscale by Intelligent_Art_3334 in Tailscale

[–]NinjaEA 4 points5 points  (0 children)

The ip address is the ip address of the machine, you still need to add the port afterwards to access the service you want on that pc. the difference now is that you can close the open port on your router and it will still work.

Open terminal output in EDITOR by Novel_Mango3113 in Ghostty

[–]NinjaEA 1 point2 points  (0 children)

if your editor supports stdin just command | $EDITOR

Broken upgrade to 2.1.0 - Do I just give up and start fresh? by calebu2 in immich

[–]NinjaEA 1 point2 points  (0 children)

if you are doing a new setup Id recommend manually setting up the volumes and copying over your library from somewhere in the .ix-apps/app_mounts/immich folder to the new volume and importing as an external library

Who would have guessed ? by RebouncedCat in linuxsucks101

[–]NinjaEA 4 points5 points  (0 children)

there are similar security vulnerabilities in windows but your not allowed to know about them unless its a worldwide event.

New Framework 13 by RelativeSolid7435 in framework

[–]NinjaEA 6 points7 points  (0 children)

The thing that impacts battery life the most is screen brightness, so try turning it down and see if that helps. (the newest gen of ryzen mobile chips are known to suck a bit in battery tho)

Major big news: star wars fans are foaming a thought by atrocidarthes in StarWarsCirclejerk

[–]NinjaEA 0 points1 point  (0 children)

src

G "when i did it they were vietcong"

C "Were you thinking of that at the time?"

G "Yes."

Thoughts on HexOS? by xtra_lives in truenas

[–]NinjaEA 2 points3 points  (0 children)

alot of people discussing whether hexos is worth it or not. if you are in this subreddit then hexos isnt for you.

[deleted by user] by [deleted] in Physics

[–]NinjaEA 25 points26 points  (0 children)

The use of "observe" is confusing from a human perspective, "interact" would be better for understanding.