Jin Liu

Results 27 comments of Jin Liu

kdotool calls `journalctl` from `systemd` to fetch debug logs. So if you are not using systemd, it will fail. I'll add a test to handle this scenario. Thanks for reporting...

@nitro322 Glad this is useful for you. I also changed the code to not call `journalctl` unless `--debug` is specified. And it won't fail when `journalctl` is not found on...

Thanks for reporting! I can reproduce the problem with: ``` $ kdotool --shortcut meta+k search kwrite windowactivate $ kdotool --shortcut meta+k search kwrite windowactivate thread 'main' panicked at /home/jin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dbus-0.9.7/src/strings.rs:187:1: called...

> I am running the command within a script so is there any way to avoid making a shortcut? It won't make a shortcut unless you specified `--shortcut`. Are you...

When the error happens, could you take a look in the journal to see if there are any error messages from kwin, especially those begin with "js:"? Thanks.

OK, perhaps I understand the problem here. You get "/Scripting/Script-1" when kwin's "loadScript" returns -1, that means a script with the same name is already loaded. And I send an...

OK. Thanks a lot. I'll change the code to use a random name when `--name` is not specified. Also will improve the error handling when name clashes.

I'm unclear with the use case. Where is the script file from? If you manually write a script, you can put a `registerShortcut(...);` at the end, no need to use...

This tool tries to duplicate functionality of [xdotool](https://github.com/jordansissel/xdotool), so when unclear, you can refer to [xdotool's documents](https://github.com/jordansissel/xdotool/blob/master/xdotool.pod). > I noticed that some commands can be chained, such as: kdotool getmouselocation...

> ``` > # Minimize all but focused window > kdotool windowminimize $(kdotool remove $(kdotool getactivewindow) $(kdotool search ".*")) > ``` > > Going further it could be helpful to...