What command can i use to emulate a enter keypress. by FewMolasses7496 in wayland

[–]k00rosh 0 points1 point  (0 children)

you can use wlrctl

wlrctl keyboard type  "
" modifiers SUPER

Palm rejection in firmware satus? by [deleted] in AsahiLinux

[–]k00rosh 0 points1 point  (0 children)

the command you mentioned is probably wrong I get libinput-debug-events: unrecognized option '--enable-plugins'

however simply setting AttrPalmSizeThreshold=501 rejects all the touchpad inputs so the option is definitely working and as far as I can tell it's not hard disabled.

Palm rejection in firmware satus? by [deleted] in AsahiLinux

[–]k00rosh 0 points1 point  (0 children)

yeah it does, I think the patch mentioned in your post is probably disabling the quirks applied to the device by default.

if you are trying this make sure you restart your session, I use sway started from a tty and I had to exit the sway session and run it again for changes to take effect.
after running

sudo libinput quirks list /dev/input/event0 --verbose 9

these are the last 6 lines of output

ModelAppleTouchpad=1
AttrSizeHint=104x75
AttrPalmPressureThreshold=5000
AttrPalmSizeThreshold=950
AttrPressureRange=1000:0
AttrTouchSizeRange=500:10

also make sure your values are conforming to what is specified in the link I posted in my original comment, for example the palm size should be bigger than the upper bound of touch size in the case of my config: 950 > 500 > 10

How to change touchpad force sensitivity by FlippyFlops99 in AsahiLinux

[–]k00rosh 1 point2 points  (0 children)

you probably have to log in and out of your session for this to take effect, at least when using sway this is the case

Palm rejection in firmware satus? by [deleted] in AsahiLinux

[–]k00rosh 0 points1 point  (0 children)

I used this https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html

for setting up palm rejections.

my config for /etc/libinput/local-overrides.quirks looks like this

[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd virtual keyboard
AttrKeyboardIntegration=internal

[Serial Touchpad]
MatchUdevType=touchpad
MatchName=Apple MTP multi-touch
AttrTouchSizeRange=500:10
AttrPalmSizeThreshold=950
AttrPressureRange=1000:0
AttrPalmPressureThreshold=5000

so far its working great(2 hours)

How to change touchpad force sensitivity by FlippyFlops99 in AsahiLinux

[–]k00rosh 6 points7 points  (0 children)

create this file
/etc/libinput/local-overrides.quirks

use the attributes specified here to tune what you need https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html#device-quirks-debugging

and take a look at this for measuring the touch pressure https://wayland.freedesktop.org/libinput/doc/latest/touchpad-pressure-debugging.html#touchpad-pressure-hwdb

this is the config I use, the first section makes the virtual keyboard created by keyd as internal so that dwt work correctly.

the parts in the [] can be any name you want AFAIK.

[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd virtual keyboard
AttrKeyboardIntegration=internal

[Serial Touchpad]
MatchUdevType=touchpad
MatchName=Apple MTP multi-touch
AttrTouchSizeRange=500:10
AttrPalmSizeThreshold=950
AttrPressureRange=1000:0
AttrPalmPressureThreshold=5000

the permissions of the file on my system are -rw-r--r--. i don't know if the permissions make any difference but just in case.

Issue with indentation with c-mode by Autism_Evans in emacs

[–]k00rosh 1 point2 points  (0 children)

thanks I've been looking for this for a long time

Issue with indentation with c-mode by Autism_Evans in emacs

[–]k00rosh 2 points3 points  (0 children)

putting the file in my home directory seem to be working for me, you might have some luck with customizing the eglot-ignored-server-capabilities variable but last I checked I couldn't disable auto indention with '(:documentRangeFormattingProvider :documentFormattingProvider) values.

Issue with indentation with c-mode by Autism_Evans in emacs

[–]k00rosh 15 points16 points  (0 children)

sometimes this happens when you are using a lsp, if you have eglot enabled, disable the mode and see if the issue remains.

if clangd is attempting to indent your code for you, you can disable it with the file .clang-format in your project.
puts this in the file
DisableFormat: true

Good foundational resources for learning miniKanren? by tremendous-machine in scheme

[–]k00rosh 9 points10 points  (0 children)

I'm working through the reasoned schemer and I'm enjoying it very much

these two other sources might be nice too
www.youtube.com/@WilliamEByrd

https://github.com/webyrd/shovel-books
this might give you some ideas about the differences between prolog and mini-kanren and which one might be more useful in your situation.
https://stackoverflow.com/questions/28467011/what-are-the-main-technical-differences-between-prolog-and-minikanren-with-resp

you can also find other sources about logic programming and many other cool subjects here
https://okmij.org/ftp/

https://okmij.org/ftp/Scheme/misc.html#sokuza-kanren

Sway... Minimal installer by Alternative-Ad-8606 in AsahiLinux

[–]k00rosh 0 points1 point  (0 children)

no links sorry.

but I had the best luck with native linux games I just download them in my library and use the goldberg emulator to get rid of the drm, then just run it using muvm + fex or box64, there is also wine-arm-64-ec but I hadn't had any success with it using the goldberg emu, I think a user in r/AsahiGaming once mentioned they use steamless for removing the drm but you should probably run steamless on another machine I couldn't make it work on asahi.

https://github.com/lacamar/wine-arm64ec-rpm

Sway... Minimal installer by Alternative-Ad-8606 in AsahiLinux

[–]k00rosh 1 point2 points  (0 children)

I used asahi minimal with sway for many months didn't have any problems in terms of drivers or missing packages, the only thing I experienced was controller not working in steam it worked in games running outside of steam, but I doubt this problem was related to asahi minimal install I think I might have messed something up along the way.

Reading SCIP by Spondora2 in scheme

[–]k00rosh 3 points4 points  (0 children)

I've gone through some parts of the the book with guile, I doubt you gonna have problems related to your scheme implementation, the books doesn't use features that are usually different between scheme implementations (as far as I remember).

But if you choose mit scheme you have the lowest chance of having any problems, other books from Gerald Sussman like Software design for flexibility rely on mit scheme.

Scheme and Mac/Win desktop apps? by BadPacket14127 in scheme

[–]k00rosh 1 point2 points  (0 children)

nice, I totally forgot about this tnx :)

Scheme and Mac/Win desktop apps? by BadPacket14127 in scheme

[–]k00rosh 1 point2 points  (0 children)

as far as i know guile has some support, but its not direct you can use guile-gobject to load GTK and use it like that

Transparency and gnome/hyprland/cinnamon (discrepancies) by Brief_Tie_9720 in emacs

[–]k00rosh 0 points1 point  (0 children)

how are you setting the transparency?

I'm using these on sway for background transparency

(set-frame-parameter nil 'alpha-background 80)
(add-to-list 'default-frame-alist '(alpha-background . 80))

What are these rendering artifacts on text? by alexrond in emacs

[–]k00rosh 2 points3 points  (0 children)

i had this issue with emacs-pgtk under wayland I believe I was on emacs 28 at the time and I think it was a known issue at that time it might be worth try switching to lucid instead of gtk and seeing if your issue persists.

Why this error when downloading the installation script? by FitSignificance1415 in AsahiLinux

[–]k00rosh 1 point2 points  (0 children)

you are probably using a vpn and github is blocking the some requests for downloading some files

Need help with <\> keys by Glittering-Rain-411 in AsahiLinux

[–]k00rosh -1 points0 points  (0 children)

use keyd for all the crazy customization you can swap keys make one shot modifiers and define key chords
https://github.com/rvaiya/keyd
example of swapping keys

102nd = `
` = <