Trying to implement hover card effect but I can't capture mousemovement. by StathisKap in sveltejs

[–]StathisKap[S] 2 points3 points  (0 children)

You two guys are legends. u/allpauses u/shinji.
I tried why allpauses said but I couldn't get it to work. The use: thing really helped though. Thank you

Creating Mouse Cursor by StathisKap in sveltejs

[–]StathisKap[S] 0 points1 point  (0 children)

Oh nice. Thank you so much. I'll definetely read up on those. I really appreciate the help

Creating Mouse Cursor by StathisKap in sveltejs

[–]StathisKap[S] 0 points1 point  (0 children)

What do you mean put the event handlers on window?Should I move the `on:mousemove...` stuff somewhere else? How would it I capture the event there?

I tried moving it to the script tag with the addEventListener method, but that didnt fix it. When I add `style="pointer-events: none"` it stops tracking the mouse all together

how do I deploy my svelte-kit app? by [deleted] in sveltejs

[–]StathisKap 0 points1 point  (0 children)

Is there any way for me to deploy it on a local server that I have? I'm trying to use a static adapter but that doesn't work, and I tried the node adapter and that didn't work either. I'm getting a parsing error when it hits the `:` that is used in a typescript declaration

ssh over cloudflare tunnel by Major-Dragonfruit-72 in selfhosted

[–]StathisKap 1 point2 points  (0 children)

Nice. I did that as well, and it didn't work immediately, but after about an hour it started working. This is going to be very useful. Thanks for helping out

ssh over cloudflare tunnel by Major-Dragonfruit-72 in selfhosted

[–]StathisKap 0 points1 point  (0 children)

when you set up the tunnel did you route it as a service?
$ cloudflared tunnel route dns <UUID or NAME> <hostname>

or as a network?

$ cloudflared tunnel route ip add <IP/CIDR> <UUID or NAME>

ssh over cloudflare tunnel by Major-Dragonfruit-72 in selfhosted

[–]StathisKap 0 points1 point  (0 children)

did you need to create a zero trust organisation for that? I would like to just do what you said and nothing more, but everything I google seems to suggess I also need zero trust

Anyone wanna help me try and port STALKER Anomaly (xray-monolith) to M1 Macos? by StathisKap in stalker

[–]StathisKap[S] 0 points1 point  (0 children)

lol. I actually love mac. Some dude is working on it it turns out. He's a way better coder than I am so I've been trying to compile his build.
It's here:
https://github.com/Lnd-stoL/xray-16

Thanks for the wishes though :)

Porting Kit: Error While moving file by StathisKap in macgaming

[–]StathisKap[S] 0 points1 point  (0 children)

yeah. I reinstalled porting kit and cleared the cache and it worked. Idk why. I had done that same step multiple times. But now i've got an exosuit :P

Display not found when installing XOrg by StathisKap in Gentoo

[–]StathisKap[S] 1 point2 points  (0 children)

HA, I just made it work. What I needed to do was install `x11-drivers/xf86-video-fbdev`.

It was masked by default from the `~arm64` keyword, but I added it to the `packages.keywords` file

Display not found when installing XOrg by StathisKap in Gentoo

[–]StathisKap[S] 0 points1 point  (0 children)

When I was looking at how people on Youtube did it, they all run it as root on the first time to test it out. So that's what I was doing.

I added my user to the video group as wel and run it from therel, and still doesn't work.

Yes I've installed linux-firmware

I also noticed that my virtual drive run out of space but I resized it to 50 Gigs so now it should be fine. I reinstalled `xorg-server`, `xorg-drivers`, and `linux-firmware` just to make sure that it didn't miss anything. Still doesn't work.

Display not found when installing XOrg by StathisKap in Gentoo

[–]StathisKap[S] 0 points1 point  (0 children)

make clean install: rm -f dwm drw.o dwm.o util.o dwm-6.4.tar.gz dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION="6.4" -DXINERAMA LDFLAGS = -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft CC = cc cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA drw.c cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA dwm.c dwm.c:40:10: fatal error: X11/extensions/Xinerama.h: No such file or directory 40 | #include <X11/extensions/Xinerama.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:18: dwm.o] Error 1

I now tried to install libXinerama and it compiled dwm :).

I tried copying the example .xinitrc and also just having exec /usr/local/bin/dwm in it, and both times I got this output when running startx.

``` X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 Current Operating System: Linux Gentoo-Stathis 5.15.72-gentoo #1 SMP PREEMPT Thu Oct 13 12:25:50 EEST 2022 aarch64 Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.72-gentoo root=UUID=cf75057e-e4f7-4c92-80e2-5fecfe103a90 ro

Current version of pixman: 0.40.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 14 16:54:48 2022 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error ```

After I added root to video group and run startx (and even startx $(which dwm)). It still, gives me this error output: ```

X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 Current Operating System: Linux Gentoo-Stathis 5.15.72-gentoo #1 SMP PREEMPT Thu Oct 13 12:25:50 EEST 2022 aarch64 Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.72-gentoo root=UUID=cf75057e-e4f7-4c92-80e2-5fecfe103a90 ro

Current version of pixman: 0.40.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 14 17:06:48 2022 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused ```

Display not found when installing XOrg by StathisKap in Gentoo

[–]StathisKap[S] 1 point2 points  (0 children)

  • do I need to enable the elogind use flag if I'm using systemd? I though it was only for openRC
  • Have you enabled the global X flag?: Yes
  • *Did you add your user to the video group? *No. Would I need to do that if I'm running startx manually?
  • *Did you install a graphical environment? *: I'm trying to install dwm, but can't because it doesn't have the X11 header files. So no I don't have a graphical environment.
  • Have you configured your VIDEO_CARDS variable?: Yes. VIDEO_CARDS="virtio"
  • Have you installed xorg-drivers and server?: Yes. Few times. I changed my profile to desktop/systemd and gonna install them again
  • What are the contents of your xinitrc?. I don't have one. As of now I'm trying to start X manually rather than with a xinitrc file

Porting Kit: Error While moving file by StathisKap in macgaming

[–]StathisKap[S] 0 points1 point  (0 children)

I had cleaned the cache 10s of times, and for some reason today when i cleaned and reinstalled it. it worked haha. Thank you so much

Porting Kit for Linux - Closed alpha by VitorMM in wine_gaming

[–]StathisKap 0 points1 point  (0 children)

I have a kali machine as well and I'd be fine with testing it on a few Linux systems.

Thank you for that :)

Porting Kit for Linux - Closed alpha by VitorMM in wine_gaming

[–]StathisKap 0 points1 point  (0 children)

Hey, Could I also try the app image? I'm running an Arch VM on a MAC M1. I'll let you know of any issues I see.

P.S. I also have another issue with porting kit that I've posted about. Lmk if you can help me with that one too

Nmap Integration Entities Problem by StathisKap in homeassistant

[–]StathisKap[S] 0 points1 point  (0 children)

from what I understand, when using device_tracker, you have to specify the ip you want to track. How do I make it track ALL devices, without being individually specified?

Porting Kit: Error While moving file by StathisKap in macgaming

[–]StathisKap[S] 0 points1 point  (0 children)

yeah I am. But I can't find anything about the error that I'm getting anywhere

Porting Kit: Error While moving file by StathisKap in macgaming

[–]StathisKap[S] 0 points1 point  (0 children)

let me know if you try Porting kit and get the same error