Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
9 years, 7 months ago
AutoKey / autokey-gtk it has a predefined shortcut "adr" which should write an address after hitting space
and a shortcut "date" which should write the current date (after hitting tab)
no matter what I define, "adr" or "date" it always inserts as much blank lines as the template uses
"date" should autocomplete after pressing space to "13/08/01" but it inserts one empty line
"adr" should do my full address but it inserts 4 empty lines
What could be wrong with my AutoKey?
Do you need additional information?
Aug 11, 2013 at 8:18
275 3 3 silver badges 11 11 bronze badges
Solution for me (running Xubuntu 14.04) was to provide a .service file in
First I deleted all the example files and scripts, and created a new file. (This was on a fresh install of AutoKey.)
Then I created an empty file
org.autokey.Service file I put the following text:
Then I killed AutoKey via the taskmanager (AK already hang), and restarted AutoKey
Tested it, and it works. No more blank lines. Text gets replaced like it should.
(I did not test the script functionality of AutoKey)
13.9k 4 4 gold badges 46 46 silver badges 95 95 bronze badges
Jun 6, 2014 at 0:28
111 1 1 silver badge 3 3 bronze badges
Since I came across this when googling: I had the original problem with Ubuntu 18.04 too, but thankfully the original answer still worked for me 5 years later.
Create a new .Service file by typing
touch /usr/share/dbus-1/services/org.autokey.Service and open it in an editor such as nano by typing
sudo nano /usr/share/dbus-1/services/org.autokey.Service. Copy the lines provided by Dex:
Restart Autokey and you're done.
Apr 10, 2019 at 8:36
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only