5/20/2023 0 Comments Mypaint linux![]() Here's a link to the "source code" of the script and additional notes. Here's a screen capture of the new toolbar I did with "YAD":Īnd my entire setup, really which I guess is pretty much non-standard. The color-picker part is also improved regarding how the script distinguishes between the GIMP image window versus some others, which in this old version would have the "right click" stylus button affected, transformed into an inherent Ctrl+button. Or yet, incorporated the principle into another, that may be of interest on those who'd like if GIMP had a few features more similar to MyPaint or Krita, namely this color-picking with the stylus button click, without holding "control" on the keyboard, but also some extra buttons such as undo, redo, zomm in, zoom out, mirror view, and deselect. I've updated/improved and expanded this script. ![]() Last edited by noob on Wed 6:35 pm, edited 2 times in total. Maybe the sleep time can be considerably extended without causing any trouble, to make it lighter, CPU-wise, even though I guess it's not really heavy. If you remove ">/dev/null" it will "echo" the active window title containing "GIMP". It has no output whatsoever on the screen. ![]() It's not perfect, holding the button and hovering around won't change the color picked on first button click, but it does not require holding control and touching the tip, so it's a much closer dynamic.Īnother potential issue is that, while it's running, it will change the stylus button in any window that may have its title ending with "GIMP" for some reason. When GIMP is not focused, it restores the button to its default value. You just leave the script running as you run GIMP, and it will loop checking whether the focused window has "GIMP" in its title, and if it is, it changes the third button to "control click", which "automates" GIMP's way of activating the color picker, in a way that mimics MyPaint's somewhat. ![]() That's for my Wacom tablet model specifically, one of the simplest bamboo ones, it needs to be adapted with the proper device names for different models, and I have no idea about non-Wacom tablets. Xsetwacom set "Wacom Bamboo Pen stylus" Button 3 "button 3" Xsetwacom set "Wacom Bamboo Pen stylus" Button 3 "key Control button 1" If xdotool getactivewindow getwindowname | grep GIMP$ > /dev/null then
0 Comments
Leave a Reply. |