r/devblogs • rashtal.com • Mar 15 '18

Using a graphics tablet as a programming tool

https://vyne.org/2018/using-a-graphics-tablet-as-programming-tool/
35 Upvotes

26 comments sorted by

4

u/TankorSmash programmer Mar 15 '18

That tool seems cool, I appreciate that the dev is committed to the purity of his idea.

1

u/Apostolique rashtal.com Mar 15 '18

Yeah, Milton is awesome! He is constantly making it better and he credits people if he implements their suggestions in the Github.

Before using that, I liked MyPaint, but that one gets exponentially slower as you draw more and more on the canvas.

1

u/alonest Mar 15 '18

May I ask what graphic tablet are you using and what is its typical use case (outside Milton)?

Really apperciate the post by the way!

2

u/Apostolique rashtal.com Mar 15 '18

I have the Wacom Bamboo. I bought it for ~€30 back in 2011. It used to be the entry level to the Wacom tablets. I believe they renamed that line to Wacom Intuos. Back then Wacom were the only real good tablets but nowadays they have some good competitors (Or so I heard.).

Outside Milton, it's a tablet meant for digital drawing. People use them with programs like Photoshop or Krita to do all kinds of digital paintings.

Tablets are nice because they are very similar to pen and paper since they handle pressure sensitivity.

If you compare them with your mouse, a mouse is like trying to draw with a brick. It's not that good for writing by hand. (Some people that have a tablet stop using their mouse completely, I have a friend that plays League of Legends with his tablet.)

1

u/[deleted] Mar 15 '18

Looks PERFECT for what I'm after. Is there a Linux build available? I see it says it's known to work, but I'm relatively new to Linux and have not build anything yet, so seeing if anyone has had success etc.

1

u/Apostolique rashtal.com Mar 15 '18

Which distro do you use? I could look up the commands if you want.

Building should be mostly painless on Linux.


If you can't get it to work, there's also MyPaint. That one should be available through your package manager. It also has an infinite canvas, but if you use the same canvas for a while, saving and loading files becomes incredibly slow. http://mypaint.org/downloads/

1

u/[deleted] Mar 15 '18

Thanks for the mypaint link. I do like the look of Milton for its infinite zoom as well as its speed etc. I'm using Ubuntu (EDIT: 16.04 LTS), I tried the commands on the github and got this:

./build-lin.sh
~/Desktop/milton-master/third_party/SDL2-2.0.3 ~/Desktop/milton-master
~/Desktop/milton-master/third_party/SDL2-2.0.3/build/linrelease 
~/Desktop/milton-master/third_party/SDL2-2.0.3 ~/Desktop/milton-master
./build-lin.sh: line 26: cmake: command not found

1

u/Apostolique rashtal.com Mar 15 '18 edited Mar 15 '18

Looks like you need cmake.

I found this post: https://askubuntu.com/a/953211/106590

Apparently you can install it easily with Python:

pip install --upgrade cmake


Edit: If that doesn't work, you can install it from a PPA: https://askubuntu.com/a/610352/106590

sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update

When cmake is not already installed:

sudo apt-get install cmake

When cmake is already installed:

sudo apt-get upgrade

1

u/[deleted] Mar 15 '18

Oh man thank you so much. That was running like a dream (the build) and then it finally gave error with this:

CMake Error at /usr/local/lib/python2.7/dist-packages/cmake/data/share/cmake-3.10/Modules/FindGTK2.cmake:642 (message):
  Could not find GTK2 include directory
Call Stack (most recent call first):
  CMakeLists.txt:113 (find_package)

1

u/Apostolique rashtal.com Mar 15 '18

I think all you need is GTK2.

This post might be of use: https://askubuntu.com/a/839609/106590

sudo apt-get install gtk2.0
sudo apt-get install build-essential libgtk2.0-dev

1

u/[deleted] Mar 16 '18

That's awesome, we were at the same page. I'm having a problem with my system though and I'm now stalled. I think I may need a full re-format.

This is the output:

sudo apt-get install build-essential libgtk2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgtk2.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgtk2.0-dev' has no installation candidate

and this is a thread I have about this issue: https://www.reddit.com/r/linuxquestions/comments/82vwlm/i_just_installed_and_ran_bleachbit_version_20_and/

I think I may be screwed until I do so.

1

u/Apostolique rashtal.com Mar 16 '18

This one might be harder(?). I found this: https://askubuntu.com/a/391186/106590

apt-cache search libgtk2.0-dev

Also apt-get update might help.

1

u/[deleted] Mar 16 '18

I think I'll do a full re-format, get my system back in order and see what I can do then. I love the look of this software. Thanks again for all your help.

1

u/Apostolique rashtal.com Mar 16 '18

np! Good luck, pretty glad I found that software too.

Btw if you're looking for a different distro than Ubuntu, my favorite is Antergos. https://antergos.com/

→ More replies (0)