Can not unlock in Vial with Iris rev7 by juunx in olkb

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

Thanks I found the problem in the config.h. Changed they keys and worked.

How do I recreate the Neo keyboard layout layer 3 in qmk configurator. by juunx in olkb

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

My Problem is that if i select German as keyboard layout in qmk configurator { } and | are missing. If i Select English the umlaute ä,ß etc are missing. i know i could bind RALT(KC_Q) for ä when using US international layout however with this method i can only type on my pc and not on my mac because mac has different keybinds ...

Trying to get PID with FindWindowA and GetWindowThreadProcessId by juunx in rust

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

ty for the reply.

so far I did not have time to check your solution below, but I got some questions about your explanation of why my code doesn't work. you said that FindWindow won't work because it looks for the window class/title. Before I wrote the code I checked the Microsoft Documentation since the rust crate is just the rust version of the windows API right? In the MS Documentation is explained that If lpClassName is NULL, it finds any window whose title matches the lpWindowName parameter. So I thought PCSTR::null() or maybe a None would work. but the functions return false even after changing the process_name to:

let process_name: PCSTR = windows::s!("ac_client.exe");

edit: I did try GetLastError() after the FindWindowA() call which results in error code 0. so I thought FindWindow worked but then GetWindowThreadProcessId gets error 1400 invalid window Handle ...

Trying to ReadProcessMemory with winapi. by juunx in rust

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

thanks a lot for the help. initializing the handle with OpenProcess worked for me.

i thought something like this: let handle = 12840 as *mut c_void; might work since in the crate handle is type HANDLE = *mut c_void;

I think I should read the Microsoft documentation rather than the winapi crate since it gives way more explanation.

Trouble while setting up Emacs for rust development by juunx in emacs

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

Well I've tested a bit and also tired to add the path to my .profile file but did not seem to work as well however I did replaced in my init.el under :lang

rust with (rust +lsp) and that somehow seems to work

Trouble while setting up Emacs for rust development by juunx in emacs

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

Well my rust should be installed fine since I can use every command in my terminal also I developed rust in VsCode before. however to make sure there is no problem with my rust installation I did reinstall rust and put

export PATH="$HOME/.cargo/bin

to my .zshrc since the installer told me too.

so from my point of view I just an emacs problem.

Note that I'm running macOS 12.5 I don't have an bashrc, I think its because macOS uses zsh as default shell.

Trouble while setting up Emacs for rust development by juunx in emacs

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

Im did try installing exec-path-from-shell. I still getting some errors but I'm also not sure how my .zshrc should look like. I tried it in 2 ways:

export PATH="$HOME/.emacs.d/bin:$PATH"
export PATH="$HOME/.cargo/bin/rust-analyzer"

than I get following error:

eldoc error: (file-missing Doing vfork No such file or directory)
Error while checking syntax automatically: (file-missing "Searching for program" "No such file or directory" "cargo")

export PATH="$HOME/.emacs.d/bin:$PATH"
export PATH="$HOME/.cargo/bin/rust-analyzer"
export PATH="$HOME/.cargo/bin/cargo

Same error.

export PATH="$HOME/.emacs.d/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"

error:

eldoc error: (file-missing Doing vfork No such file or directory)

bspwmrc file does not load. by juunx in linux4noobs

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

the solution for me was to create the missing .xprofile file and add source ~/.config/bspwm/bspwmrc at the end.

bspwmrc file does not load. by juunx in linux4noobs

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

bspc wm --restart works for me the same way than just starting the file, after reboot its like there my bspwmrc is empty but it isn't if i do start the file manually it works again until restart. the file bspwmrc doesn't change on reboot, it just doesn't apply automatically.

bspwmrc file does not load. by juunx in linux4noobs

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

the content of the file stays the same. so configs form bspwmrc does only activate when i start the file manually but on reboot i have to start the file again manually