DarkSpectrum

joined 2 years ago
[–] DarkSpectrum@lemmy.world 1 points 19 hours ago

the world does collectively

[–] DarkSpectrum@lemmy.world 1 points 4 days ago

enter CBDCs conveniently

[–] DarkSpectrum@lemmy.world 17 points 6 days ago

there are other records of young girls being used as surrogate mothers and babies taken away so... this is so much worse than we can imagine and it's depravity will stun the world.

[–] DarkSpectrum@lemmy.world 2 points 3 weeks ago (1 children)

you mean: idk man, its pretty awesome being at the top of the pyramid

[–] DarkSpectrum@lemmy.world 14 points 1 month ago (2 children)

it would be hilarious if ICE was full of anti trump personnel

[–] DarkSpectrum@lemmy.world 2 points 1 month ago

Expecting financially savy individuals to just pay a tax instead of using 'state of residency' clauses to avoid it, is like thinking internet filters will stop people from accessing banned websites.

[–] DarkSpectrum@lemmy.world 8 points 1 month ago

A mass armed peaceful assertion of rights. I like it!

[–] DarkSpectrum@lemmy.world 4 points 1 month ago

Beautiful and mesmerising to watch

[–] DarkSpectrum@lemmy.world 1 points 1 month ago

This worked for me:

bash -c "sleep 2 && ydotool type abcde12345"

Thank you! I couldn't find any good instructions for the Command field of custom keyboard shortcuts.

[–] DarkSpectrum@lemmy.world 1 points 1 month ago

Thanks, unfortunately ydotool has removed their sleep command stating 'this should be your shell's job'. I tried using the standard shell sleep command and used the semicolon to chain commands. Maybe thats not how to use the command field of the custom shortcut.

[–] DarkSpectrum@lemmy.world 3 points 1 month ago (4 children)

That seems to have worked better, I can now run ydotool commands in terminal. Will a user level service have any specific limitations?

When use this command as a custom keyboard shortcut:

ydotool type abcde12345

It will miss the first few characters and type:

de12345

When I try chaining shell commands to pause and wait before typing, it doesn't work at all:

sleep 2; ydotool type abcde12345

Any ideas on how I could automate ydotool as a keyboard hotkey? Custom shortcut to run a bash script maybe?

[–] DarkSpectrum@lemmy.world 4 points 1 month ago (1 children)

Thanks for the reply Hades, the output of that command is:

/.

/usr

/usr/lib

/usr/lib/systemd

/usr/lib/systemd/user

/usr/lib/systemd/user/ydotoold.service

/usr/local

/usr/local/bin

/usr/local/bin/ydotool

/usr/local/bin/ydotoold

/usr/local/share

/usr/local/share/man

/usr/local/share/man/man1

/usr/local/share/man/man1/ydotool.1.gz

/usr/local/share/man/man8

/usr/local/share/man/man8/ydotoold.8.gz

 

I am a new Linux user and have settled on Ubuntu 24.04.3 LTS in Wayland. In Windows, I used AutoHotKey to automate the keyboard to type repetitive text strings with a hotkey e.g. pressing Alt+E to type my@email.com

I believe the solution in Linux is to install an application like dotool or ydotool and then create a custom shortcut command. The problem is I cannot get dotool and ydotool to work. I'll document the issues I'm having with ydotool as there seems to be more awareness and support for this application.

I am following the instillation instructions here:

https://askubuntu.com/questions/1413829/how-can-i-install-and-use-the-latest-ydotool-keyboard-automation-tool-working-o

Everything seems to go fine until I get to this step and get the following error:

sudo systemctl enable ydotoold

Failed to enable unit: Unit file ydotoold.service does not exist.

I came across this issue which suggests it could be a permissions issue on /dev/uinput and tried to the solution provided in that post but I still can't enable ydotoold after a reboot.

Running this command works:

ydotoold --version

v1.0.4-38-g708e96f

But I am stuck here and not sure how to troubleshoot or progress further. Any help would be appreciated, thank you!

 

The main barrier for me transitioning to Linux as my main OS is finding a suitable alternative to AutoHotKey (AHK) on windows. I use AHK for all kinds of automation but haven't found a usable alternative in Wayland.

Thought I'd check here to see if anyone has any suggestions?

 
 

Not sure if appropriate for this community but I found this video, made before Trump took office, to be very much in-line with the reality we are seeing unfold around us today and I just wanted to share it.

 

I have the setting that marks a post read when scrolling. Now I want to automatically hide read posts so I don't see the same content. Is this possible in Sync?

view more: next ›