LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2024, 05:01 AM   #1
_galen
LQ Newbie
 
Registered: Mar 2024
Posts: 8

Rep: Reputation: 0
Debian. Trying to find ways to replace my AutoHotKey tools I used to use on Windows...


I first started using Linux through Debian yesterday, and so far so good. However, something that's pretty essential to how I use my computer is the various shortcuts AutoHotKey provided in Windows.

In AutoHotKey, I had a script that would play a short MP3 file, located in my files, every 20 minutes, which was an alarm-notice for me; I had various text-replacement tools, that enabled me to enter long strings of text wherever I happened to be typing by just typing an arbitrary code-phrase and pressing Space; and I had macros that would do things like run a Java-file from the Command Prompt just by pressing F9.

I've seen that there are programmes available called "sxhdk" and "xdotool". But trying to find tutorials for these is proving to be very difficult. The YouTube guides are bad, honestly, intentionally or unintentionally assuming a lot of prior experience and knowledge from the viewer, rushing through things, and just generally made by people who have little to know teaching-sense nor inclination for it. I've had little better luck trying to find manuals for these programmes on the internet otherwise.

I'm aware of how tempting it is for people with knowledge of IT to just hurl esoteric terms at learners in order to baffle them rather than to help them and to implicitly tell them to "figure it out yourself, or go and submit to Microsoft or Apple. I'm not telling you anything!"--it's the whole 'knowledge is power' complex that's existed since the dawn of time and isn't going anywhere anytime soon.

I hope there are sympathetic people here regardless.
 
Old 03-30-2024, 08:23 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Hello _galen & welcome to LQ.

I'm not the last word, but I have never heard of a linux equivalent to what you describe. You're coming to linux from windows because it's secure & doesn't get hacked, or it doesn't crash. And it's free.

Copy & paste we have. Just about everything else, we don't. Many screens lock and require your password to unlock them. Everything has permissions. I can do anything in my own directory, and to things I own. I can read most (but not all) things and run some programs. The idea of letting a keyboard shortcut run some random script or program is NOT secure.

OTOH, scripting is very powerful. You can write your own scripts to do stuff.

EDIT: In nearly all systems, Alt_F2 allows you to enter any command. You can create a desktop shortcut to any command.

Last edited by business_kid; 03-30-2024 at 09:57 AM.
 
Old 03-30-2024, 08:36 AM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 974

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
https://github.com/autokey/autokey, https://github.com/phil294/AHK_X11
 
1 members found this post helpful.
Old 03-30-2024, 09:03 AM   #4
_galen
LQ Newbie
 
Registered: Mar 2024
Posts: 8

Original Poster
Rep: Reputation: 0
@business_kid Thanks for that brief, it gave me some perspective.
 
Old 03-30-2024, 09:04 AM   #5
_galen
LQ Newbie
 
Registered: Mar 2024
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you very much, that looks much more promising, and the manuals look to be good also.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need auto run in games without an auto run, used to use AutoHotKey in Windows, trying AutoKey, but having problems eric1234 Linux - Games 15 02-01-2019 11:58 AM
AutoHotkey on Linux? kktsuri Linux - Software 9 11-03-2014 12:54 PM
LXer: Non-Linux FOSS: AutoHotkey LXer Syndicated Linux News 0 09-11-2014 06:33 PM
AutoHotkey like utility for X? kcin Linux - Software 2 02-18-2008 01:29 AM
Hey there, I'm here to promote my autohotkey-like program peabodyman LinuxQuestions.org Member Intro 1 02-18-2008 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration