[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I miss Autohotkey so much. With autohotkey I could navigate and

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 57
Thread images: 6

File: 7.jpg (1004KB, 2592x1944px) Image search: [Google]
7.jpg
1004KB, 2592x1944px
I miss Autohotkey so much. With autohotkey I could navigate and use shortcuts like a god. I had the same keybindings for every applications (global). I had in total maybe around 30-60 keybindings I used actively, no matter if it was progamming, word, facebook chat, url bar. You name it.
Examples:
> navigate cursor (jump one and one word to the left or right, beginning of line or end of the line, delete one and one world or just move cursor with something as simple as Alt+j,k,l,i instead of arrows.
> I used home button and end button frequently to navigate myself to the top or at the buttom on the current window. This could also be used for cursor.
> I scrolled tabs with ctrl+mousewheel, volume-control was alt+mousewheel.
> I opened up programs on the navigation with ctrl+1,2,3,4,5 etc.
> I closed, minimized, fullscreen very easily etc.
> I had alt-drag and alt-resize which is one of the better altdrag-quality I have ever used.

The list goes on, and I did all this in WINDOWS, not linux. Thanks to autohotkey.

Don't get me wrong. I love linux, I prefer linux as a programming environment because of many things. I still can't forget autohotkey. Simply because I felt like a keybinding god in Windows.

I still haven't had success keybinding already existing shortcuts (that are not practical to use), and as I can see it, they will never be global.

What should I do?
>>
>>60096713
Get a mac.
>>
>>60096732
Honestly this
>>
>>60096713
Stop being a winbabby. key binds are primarily useless. install plan 9. realize you have a mouse & mouse is superior.
>>
>>60096713
Erase the current key bindings. Also, all of what you just described and more can be accomplished with xbindkeys and xdotool.
>>
>>60096713
Post more monkeys.
>>
Look into xdotools and xbindkeys
>>
I've only ever configured rc.xml in Openbox to execute programs and resize windows, but I wouldn't be surprised if it could do most of the other things you're talking about too. You'd just have to find ways to do those actions with commands rather than keystrokes. (Though maybe that's even doable, I'm only a noob at that stuff.)

Now that I'm back on Windows, though, I'd like to hear more of your favorite AHK script elements. All I do so far is some text expansion, window management and making PrintScreen paste directly into MSPaint. I'm always open to finding more clever ideas.
>>
You just basically described Linux with tiling window manager, vim and firefox with vimperator. Linux can do the same. Install gentoo and read wiki pages for tiling window managers and vim (or emacs).
>>
>>60096776
xbindkeys and xdotool doesn't work
>>
>>60097348
Works for me perfectly.
>>
>>60097472
mousemove is the only thing working for me. keybinding, for example, the home button function to a keybinding with xbindkeys and xdotool is literally impossible.
>>
>>60096713
> navigate cursor (jump one and one word to the left or right, beginning of line or end of the line, delete one and one world or just move cursor with something as simple as Alt+j,k,l,i instead of arrows.
You can still do that, what applications do you need this for aside an editor?
> I used home button and end button frequently to navigate myself to the top or at the buttom on the current window. This could also be used for cursor.
This is how it works with firefox, but more often, home/end will take you to the start/beginning of the line.
> I scrolled tabs with ctrl+mousewheel, volume-control was alt+mousewheel.
I personally prefer tabs for hotkeys, but I am sure you can do this in most setups.
> I opened up programs on the navigation with ctrl+1,2,3,4,5 etc.
I don't see why you cannot do that.
On unity, the default was super+1,2,3.. but regardless of what system you use, you can make hotkeys for that.
>> I closed, minimized, fullscreen very easily etc.
depends on the window manager how easy that is, but most can do that.
> I had alt-drag and alt-resize which is one of the better altdrag-quality I have ever used.
this is default behavior on most window managers.
I mean, I am sure that some unique things could be achieved with autohotkey, but authotkey exists because windows does not provide hotkey features.

I personally prefer to write bash scripts, I find them more versitile, but then again, I never dove into autohotkey.
>>
>>60096836

This. I use xmonad, vim, and indeed, Firefox with vimperator.

The one thing I would add is your own xkb configuration. I have, for example: super+h,t,n,s (right hand home keys on dvorak) as left,down,up,right respectively,
super+x as backspace,
super+- is emdash.
>>
>>60096713
Almost all the shit you talk about can be done in Windows without Autohotkey
There are event default shortcuts for that shit
>>
>>60097869
>You can still do that, what applications do you need this for aside an editor?

Everything that includes writing. Even the url-bar. For me, only editing in a editor is troublesome. I like to have the some opportunties outside an editor as well as inside one. That's the magic of global keybindings.

> This is how it works with firefox, but more often, home/end will take you to the start/beginning of the line.

What I meant is everthing I do is through function keys and global shortcuts which I simply for my own good.
I'm a chrome-user because I need my extensions, maybe firefox can work around it, but I can tell you it's not easy and it will only work for firefox.

> I personally prefer tabs for hotkeys, but I am sure you can do this in most setups.

You can in some cases do this, but that being said, it will never be as perfect as an autohotkey script would do it.

>depends on the window manager how easy that is, but most can do that.

I agree, most WM can do this. and it works fine.
>>
>>60098132
Some default shortcuts are really messy to reach
>>
>>60097608
I just tried it and it works, what is the xdotool command that you're using?
>>
>>60096836
>you just basically described 100 different tools that you'd need to do this functionality in Linux, where in Windows it takes one
lmao
>>
>>60098557
if I remember correctly,
"xdotool key Home" is the command to press Home.
The keybinding underneath the command you can find through xbindkeys -k. which decide the keybinding.

All this being said. I have tried several different methods, no one works. I have tried hours, days maybe even weeks with this.
>>
>>60098664
linux faggots will defend this
>>
Do you still have that config?
>>
>>60098679
The xdotool command, what is it? And is xbindkeys running as a daemon? You can't just run it and close the terminal.
>>
>>60098834
The /.xbindkeysrc file is where I put the xdotool command. I run xbindkeys in terminal and close the terminal. then it's activated. the other xbindkeys works, just not making keybindings.
I have tried with Plasma, they have their own keybindings section for custom, no surprise. doesn't work either.

I don't know guys. Linux have many good keybindings, but they forget a lot of fundemental and important keybindings which makes me sad.
>>
>>60098834
The xdotool command is
"xdotool key Home"

Very simple, should work... doesn't work... linux... I need my keybindings to be happy.
>>
>>60098982
That command is working flawlessly for me, what is your xbindkeys configuration for that bind?
>>
>>60098664
>expecting windows users to understand Unix way of doing things
>muh one tool to rule them all
>>
>>60099109
>needing a 100 tools isn't objectively worse than needing one
every time
>>
>>60099133
>needing a 100 tools isn't objectively worse than needing one
>100 tools
>100
I know windows users are retarded, but not being able to count to 3 is beyond me.
>>
>>60099085
"xdotool key Home"
m:0xc + c:27
Control+Alt+r

This should in theory work. Doesn't work for me. The keybinding could be anything though, although it can collide with another shortcut. I don't think this keybinding collide. I have tested with many though.
>>
MacOS does not have this problem
>>
File: Screenshot_20170427-123537.png (311KB, 1080x1920px) Image search: [Google]
Screenshot_20170427-123537.png
311KB, 1080x1920px
>>60099191
I think you're missing the tab, here's my config. Read this page a bit, there is also a gui configuration tool for it.

https://wiki.archlinux.org/index.php/Xbindkeys

Finally, use the xdotool command in the terminal to make sure its working, but I'm leaning towards the config.
>>
>>60099191
Your window manager or some other program is probably binding to that shortcut.
>>
>>60099191
>>60099271
>>60099278
This. If you run xbindkeys verbose, it will tell you if it's intercepting the keys, and also let you know if the combo is already bound by something.
>>
>>60099184
>moving the goalposts this hard
keep trying
>>
>>60099338
Guys, we're playing tech support, stop arguing.
>>
>>60099271
you are using scripts. it's a little bit different from trying to keybind just an already existing shortcut, or a simply key.
>>
>>60099500
No? Look at my rofi section, it's just running a command. I used to use xbindkeys to move my mouse around with an xdotool command, it's all the same.
>>
File: DeepinScreenshot20170427201437.png (105KB, 900x749px) Image search: [Google]
DeepinScreenshot20170427201437.png
105KB, 900x749px
>>60099312
Thanks for the advice.
It's hard to understand any of this.
I know linux is not user-friendly and some parts of it is outdated but it shouldn't be this difficult to make it work.
>>
>>60099197
How is mac when it comes to shortcuts and keybindings?

I have never had a mac.
>>
>>60096713
All of what you described can be done on a razer keyboard. just checked out of sheer curiosity and what do you know, custom keybindings for every key on the keyboard from key to key, macro, system, and program shortcuts, it looks like there's a shit ton of customizability. plus you can set it to auto switch layouts for different progams

/thread lmao
>>
>>60099840
Yeah, Key was intercepted by your de, or something, go remove all of your desktop bindings.
>>
>>60099880
Or just use the DE's built in bindings.
>>
>>60098962
Linux doesn't have any keybindings, it's a kernel.
>>
File: DeepinScreenshot20170427202439.png (64KB, 847x627px) Image search: [Google]
DeepinScreenshot20170427202439.png
64KB, 847x627px
>>60099913
That would be easier and nice. Especially because I'm a KDE user. But sadly, that doesn't work either.
>>
File: DeepinScreenshot20170427202446.png (66KB, 847x627px) Image search: [Google]
DeepinScreenshot20170427202446.png
66KB, 847x627px
>>60099913
>>
>>60099880
I honestly don't think that's the problem, but it could be a last effort try. Kwin have tons of shortcuts already set.
>>
>>60099972
Just remove the alt+o bind. And you probably won't listen, but this is exactly why lots of us only use a Wm, de's mess things up sometimes. (not saying that's what's going on here, though)
>>
>>60096713
>What should I do?
Hackintosh
>>
>>60100179
I removed the alt+o line. and I logged into my i3-wm instead. No result and same error.

I suspect xbindkeys that can't handle xdotools anymore, but I might be wrong.
>>
>>60100261
Try changing the keys to something that is working, to make sure.
>>
>>60100341
Tried for hours.
I think it is safe to say xdotools doesn't work, I have also tried something called xve. Didn't work either.

I respect and enjoy Linux. But I guess, if you want to make tons of custom keybindings, maybe linux is not the right OS for you. That being said, I will keep use it, at least a little bit, I need it for computer science purposes. But I find this sad. I don't know how MAC is with this kind of thing. But I know I can make whatever I want on Windows. The CON with making custom keybindings on Windows is overriding of shortcuts in certain applications. So custom shortcuts is not always positive. But for workflow and speed, it truly is great and I do miss it. I don't like windows though. All the years, scripting things that already exists in Linux, finally I'm over to Linux and this keep haunting me. I don't know what to say. Maybe I will keep using Linux, maybe ill go back to windows although I doubt it, maybe ill try mac one day.
>>
File: Capture.png (30KB, 713x671px) Image search: [Google]
Capture.png
30KB, 713x671px
You can set any hotkey you want to any program you want.

If it doesn't work, use SharpKeys to remap whatever keys you want.

https://github.com/randyrants/sharpkeys
>>
>>60100650
Remapping and keybinding is two different things. I can remap in Linux too.

Now you talk about Windows, not Linux. Yes, I used sharpkeys. I remapped ctrl and capslock to make keybinding easier.
Autohotkey, sharpkey and some passion makes you amazingly fast on the computer. Very fun, and I loved it.

That being said, I feel Linux is the one I really am. I don't like how Windows are focused on end-users instead of creators.
>>
>>60096713
Autokey for scripts and text templates
xbingkeys and similar tools for custom global hotkeys, also look for wmctrl for window actions shortcuts.
Once you master those tools Authotkey seems laking.
>>
>>60096713

use emacs
>>
>>60096713
AHK really is a neat tool, I use it to bind hotkeys to a separate numpad I bought, it's very useful. Not sure if I could do this under Linux, some of the keys don't send a single keycode but instead send a sequence of Alt+Numpad presses, I have to detect those in an AHK script and bind them to whatever I want instead.
Thread posts: 57
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.