Replies: 27 comments 79 replies
-
Link please. Kubuntu undoubtedly uses a number of GTK packages, so the GTK libraries are installed as automatic dependencies of these packages. The real strength of KDE is that it offers very extensive customization options. Most other DTEs are the way they are and that's it. If you just wanted to install AutoKey's Qt front end, you could do that in most distros. You don't need kubuntu or the KDE DTE. Installing autokey-qt (from a prebuilt package such as a deb should cause the Qt libraries to be automatically installed if no other application on the system has already done so. I have no idea what hoops you would have to jump through if you installed with pip. If you installed it with dpkg, then the dependencies would not be installed and you would get some installation error messages. This is fixed by subsequently running sudo apt install -f or something similar if your distro uses a different packaging system. While you're in kubuntu, check out the kate text editor. Out of the box, it's pretty nice, but like most things KDE, it is highly customizable and very powerful. Notably, it offers sessions. You can save your current session with a name and reopen it later. This will restore any tabs you had open and most of the display settings that you may have changed. Sessions are a bit tricky, but I have a couple that I use all the time. |
Beta Was this translation helpful? Give feedback.
-
My Qt editor is still a mess, but that may be because I'm still using AutoKey 0.95.10. I get around that by just using the GTK version all the time unless testing is needed in the Qt version. What's the panel menu problem? |
Beta Was this translation helpful? Give feedback.
-
Ah, yes, although in my case, the QT panel icon opens the context menu on right-click and opens the AutoKey main window on left-click. That's kind of interesting. It would take me a while to get used to if it were also done to the GTK front-end, but it sure would make it easier to make edits to scripts or view error messages. |
Beta Was this translation helpful? Give feedback.
-
I bring up these observations, but I don't see this as a major issue. It's the novelty of discovery in Kubuntu that made me post this. I never used QT in Linux Mint Cinnamon which is everything else but KDE and Qt, which I avoided because of past experience. Aside from this AK 96.0 always works well in either format, but I need additional understanding of app/clipboard/keyboard/mouse interaction. |
Beta Was this translation helpful? Give feedback.
-
Reading the answer you linked to seems to indicate that with some small changes to autokey-gtk we could get the main window to open up from middle clicking the panel icon. That's better than nothing and would be worth an enhancement issue. It's theoretically possible to get a middle click on my touchpad, but I've never tried it. I thought you already knew everything about the clipboard after all the work you've done. Somewhat unrelated: I just reviewed a PR from Sam and he has added a clipboard macro for phrases. It's only in develop for now. I'm not sure how to use it in practice, but it seems like it could be quite useful. |
Beta Was this translation helpful? Give feedback.
-
Reopened this to thank @Elliria and @josephj11, for suggesting to try Kubuntu with Autokey. I started this post after my first Kubuntu installation because of unexpected glitches related to Qt in both OS. Reinstalling them triggered the installation of the missing libraries, and Qt and Gtk work perfectly well in both OS. Using autokey-qt for the first time in Kubuntu, I finally had a chance to compare them because I only use Gtk in Linux Mint. After days of comparing Kubuntu with Linux Mint and recognizing their underlying familiarity, I learned that Linux Mint is originally based on Kubuntu from this article. My ongoing issues with the clipboard copy and paste have nothing to do with Autokey. I was expecting the MS-Windows experience where [Ctrl-c, Ctrl-Ins,] and [Ctrl-v, Shift-Ins] are synonymous (to the user). Using Parcellite, I am able to replicate this feature by synchronizing the CLIPBOARD and PRIMARY contents. Otherwise, I ended up pasting data, copied and abandoned from an open app in another window. Selecting this option doesn't affect Autokey copy & paste of selections. Thus, I removed all 'focus' and 'clipboard cleaning' code snippets because they are unnecessary. I plan to reply in context, to each of the issues I raised in past posts. Finally, like Icarus of Greek mythology, I flew too close to the sun, the wax melted, and I crashed. My attempts to learn and test everything all at once (in two languages), resulted in destroying the motherboard with the CPU, an empty 1TB SATA Seagate, and a 128GB SSD, so now working on a laptop. |
Beta Was this translation helpful? Give feedback.
-
Since I was working with AutoKey, I "assume" clipboard means "Clipbord" and selection means Primary selection. @Elliria and @sebastiansam55 : Looking at the API docs to answer this, I got more confused. fill_clipboard says "selection" and get_selection says "mouse selection". Neither of those seem right. It looks like the GTK documentation is the same. Aren't these descriptions wrong, or at best, misleading? And shouldn't the actual selection ones say "primary selection", not just "selection"? The old version of the documentation seems like it was slightly better than this. I have a programming followup question about this that I will post to Gitter shortly. I answered it myself and posted the resulting script on Gitter. |
Beta Was this translation helpful? Give feedback.
-
I believe that Parcellite is Ubuntu MATE's clipboard manager. |
Beta Was this translation helpful? Give feedback.
-
I bought a compressed-air machine so that I'd only have to pay for it once. It's amazing how much dust it will remove from a computer even after you've wiped out the inside and think it looks good. Wearing an industrial face mask specifically made to handle dust is advised. Better yet would be doing the job outdoors. |
Beta Was this translation helpful? Give feedback.
-
If it helps any, these are my notes on the clipboard after looking into it and running some tests:
Important: Make sure that "Prevent empty clipboard" is disabled in your clipboard manager. |
Beta Was this translation helpful? Give feedback.
-
I've now looked into editing the new documentation and have come to the conclusion that it's a bit convoluted. Clicking the Edit on GitHub link in the upper-right corner of any page lets you edit the heading of the page, but not the page contents, which makes it pretty well useless for the kinds of things we tend to do, unless we happened to find a heading that we wanted to change. I did notice, however, that the Edit on GitHub link takes me onto the master branch, so that's where edits will obviously need to be done. I went into the source code of the repository and found the location where the edits need to be done:
What do you think about editing those files on the master branch? |
Beta Was this translation helpful? Give feedback.
-
As long as we're careful, everything should be fine. |
Beta Was this translation helpful? Give feedback.
-
I am curious what services do clipboards offer naturally without viewers? This is where we should place our focus, at the basics. Clipboard behavior of copy and paste has been my concern going back to 95.xx and later. I should have also mentioned that Linux Mint Cinnamon does not install a default clipboard viewer, and my clipboard viewer installations were temporary. Installed them for a few hours to join the conversation, and then removed them when I realized that can't know whether the data I am looking at is stored in the CLIPBOARD, or in the PRIMARY storage areas. Developers can, and do write to either. I also mistakenly identified features as Klipper's, instead of Parcellite. I came to realize that I shouldn't comment on two different versions of Linux, because it's confusing for all concerned. Thus, I will keep on focusing on Linux Mint Cinnamon and gtk, as my primary OS and interest, and Kubuntu as the secondary. My desktop is waiting for the CPU. With luck I will be functioning normally by Sunday, if Intel's replacement chip is not defective, like the first I received days ago. In the meanwhile, I use the laptop Linux Mint, with a 24" monitor and Kubuntu plugged in a external USB port. |
Beta Was this translation helpful? Give feedback.
-
I think the primary service provided by clipboard programs is quick/easy access to the history. I wouldn't worry about referring to various operating systems, @ineuw, since if it's available in them, it's fair game. I'm a bit confused by the reference to PERMANENT, though. That's one that I hadn't come across before in reference to things that we copy in various ways. If that part is in reference to the data shown in the clipboard programs, I believe that's always CLIPBOARD only. At least it is in Klipper. Neither PRIMARY nor SECONDARY show up there. A quick way to test is to have two different words to copy, like one and two, for instance. Then select, right-click, and copy one followed by just selecting two without right-clicking or copying it. That puts one onto the CLIPBOARD and two into the PRIMARY selection. You can verify that by opening a text editor and middle-clicking to be given two or right-clicking and pasting to be given one. Now if you look in your clipboard program, chances are that you'll see one, but not two. |
Beta Was this translation helpful? Give feedback.
-
Ah, it does, indeed. Interesting. Thanks. It was disabled in my settings, too. I've since enabled it and am liking it so far. I suppose I'll change my mind if it makes the Klipper icon appear in the tray too often. |
Beta Was this translation helpful? Give feedback.
-
My clipboard is usually also there, but I tend to get rid of it when I notice it or when I don't want its history to possibly interfere with what I'm doing. I see what you mean about the selection. I enabled mine and tried it that way, but didn't like it for the same reason, so it's on Ignore selection again. |
Beta Was this translation helpful? Give feedback.
-
The discussion on clipboard behavior is such a crucial topic for Autokey that I want to collect all discussions. How to do that, would be best if I ask in the Github forum. Everyone has important comments about the subject and I want to organize them by date and categorize them. It's important for me to understand how users utilize Autokey, and in what environment. I haven't noticed any discussions about autokey-gtk, unless it was in issues. I only understand Linux Mint Cinnamon well, and comfortable with Kubuntu in the context of Autokey and browsers. I installed Brave and I am impressed at it's simplicity for the new user. I haven't had a chance to test it with Autokey and my Wikisource editing. |
Beta Was this translation helpful? Give feedback.
-
Maybe a generic scripiting advice topic would be useful. This sort of advice applies to everything, not just this particular problem. "Always verify your assumptions." |
Beta Was this translation helpful? Give feedback.
-
The issue report does ask for that information right after it asks for terms that describe the issue. This is what it says in that section: Should we word it differently? We're always open to suggestions and improvements. |
Beta Was this translation helpful? Give feedback.
-
Thanks on the arrowhead, but I can't take the credit. That was done by the Pinta program, which I adore. Now on to the possible rearrangement of the issue template. These are its current sections:
They sections are roughly broken up into related groupings that could be rearranged. What do you think of this arrangement, in which I moved around sections 2 through 9 and tried to still keep related groupings together?
|
Beta Was this translation helpful? Give feedback.
-
I'm not firm, but I think I like it better the way it is now. |
Beta Was this translation helpful? Give feedback.
-
@ineuw It's good to write the questions right away, but then let them age a bit before posting them. Sometimes being forced to be clear about a problem (so someone else will understand what you are asking) gets your mind to see a solution. And sometimes your mind keeps working on it in the background and will provide some inspiration a little while later. |
Beta Was this translation helpful? Give feedback.
-
If you're still thinking of rearranging them, one thing I noticed is that some of them group together because of how they relate to one another. As a result, the groups should be kept together, so you may have to move the "friends" of any one that you move. |
Beta Was this translation helpful? Give feedback.
-
This issue is probably more about human nature than it is about the order of the questions. It's natural for us to want to get to the part of an issue report that interests us and to either gloss over or skip the parts that don't. I've done it and I've seen lots of other people do it. In the end, the best we can probably do is what @josephj11 suggested, which is to ask the OP for the missing information. Another possibility is that we could make the environment question required. By the way, I just took a look at that Linux Mint issue template and I love the STOP! section at the top. We should maybe do something like that with our issue template, @josephj11. That would get the distracting hugeness of the Wayland question out of the beginning of every posted issue report and put it, instead, into introductory text that issue-reporters see first thing. |
Beta Was this translation helpful? Give feedback.
-
@Elliria I like the idea of the "stop" section. But I still want people to assert that they searched and that they're not using Wayland. Then I can be justifiably impatient with them if we find that they answered these questions incorrectly. :) I love helping people, but I really don't want lazy users wasting my time. Just keeping up with all your wonderful efforts lately is hard enough. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of the STOP! section, too. What I'm thinking, for the Wayland issue, is to put the bulk of the Wayland message into it, with something like this, perhaps: STOP! AutoKey is a Xorg (X11) application and will not function in a Wayland session. Etc... Then, the issue report could simply ask Do you use Xorg or Wayland? as its first question. That way, when we're reading the emailed issue reports, we're only looking at that short question instead of the whole warning followed by the question. The only one who would see the warning would be the person creating the issue. I really like the idea of that. We could also put other information into there the way that the Linux Mint team did. For instance, I could easily envision putting the information from the Has this issue already been reported? and the Is this a question rather than an issue? entries into the STOP! section, too, and not having them as questions at all. Note: We may want to rethink the wording on the Wayland warning since Wayland users report that it functions somewhat, but not fully. |
Beta Was this translation helpful? Give feedback.
-
This is definitely something we'll want to mess around with. I'll do it in my dummy repository first. That way we can see it and use it and know exactly what it will be like for issue-reporters and in email before we ever do it in the AutoKey project. |
Beta Was this translation helpful? Give feedback.
-
Installed Kubuntu to compare it with Linux Mint Cinnamon, as well as learn about Autokey-gtk vs Autokey-qt. My first surprise was that Kubuntu came with gtk installed as well. But, I was interested in Autokey-qt.
Soon after I mentioned the built in ak-qt editor's weakness, an update repaired the editor. It now functions as the gtk editor. The gtk version has the same panel menu problem as gtk in the LMC version. The cause is commented by someone in one of the Kubuntu forums that it's an outdated component that affects Autokey-gtk.
Beta Was this translation helpful? Give feedback.
All reactions