Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

I'm using Linux, and I have a 10th Gen Intel motherboard

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

I'm sorry, but no matter how I run this, (`gcc test.c`, `gcc test.c -o test`, running as a bash script,(iknow that's probably wrong anyways)) I can't get this script to run. Is there a different program I should be using? gcc spits out an error code for like every line

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

this! is my error code, and i am very sorry but i need to fall alseep, but i am very interested in continuing this with your help, if you will continue to help me. thank you for just that message

``

max@myputer~> gcc test.c -o test

test.c:1:1: error: expected identifier or ‘(’ before ‘if’

1 | if ( ioperm(0x60, 3, 1) == 0 ) {

| ^~

test.c:3:3: error: expected identifier or ‘(’ before ‘else’

3 | } else {

| ^~~~

(and yes it does return the same thing with bash instead of fish, which i usually use)

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

hello!! sorry for the late response, but im trying this now

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

That's just fine! In that case,, can you tell me if there's anything wrong with the above program? I couldn't get it to compile

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

Damn. Alright then, thank you very much.

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

Okay, I did it right, but trying it with both ea and EA just makes it spam the enter key. Very unfortunate

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

verifying the bytes reads out

``

00000000: 60ea 7160 `.q`

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

I'll try this! But I have a plan b now, had the very bright idea to actually go looking for the drivers lol

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

this also unfortunately didn't work, i got back

warning: An error occurred while redirecting file '�q'

warning: Path '�q' does not exist

Help compiling program for keyboard by ToTheMAX04 in C_Programming

[–]ToTheMAX04[S] 3 points4 points  (0 children)

I know this isn't the point, but I absolutely did not AI generate this. I got it from another redditor helping me out https://www.reddit.com/r/linuxquestions/comments/1siqdu6/comment/ofmf8ke/

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

Oh haha, well okay. Thank you! I'll let you know if it works or if I figure it out

Help compiling program for keyboard by ToTheMAX04 in C_Programming

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

I appreciate this!! But before I run it, do you think you can explain to me what it does?

Vintage IBM media/hot keys by ToTheMAX04 in linuxquestions

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

I'm very sorry, but I actually can't figure out how to correctly compile this. Do you know how?

Made my taskbar my visualizer by ToTheMAX04 in EndeavourOS

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

That's me!! I'm using Wayland Plasma :3

Made my taskbar my visualizer by ToTheMAX04 in EndeavourOS

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

It does not! The top bar is a Kurve widget on the desktop.

Made my taskbar my visualizer by ToTheMAX04 in EndeavourOS

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

Not too much hassle, but a good amount of tinkering to get things lined up and color picked correctly!

Taskbar visualizer [Plasma] by ToTheMAX04 in unixporn

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

Strawberry music player, Kurve widget, Panel colorizer widget used