maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Mypaint-0.7.1 for Fremantle (https://talk.maemo.org/showthread.php?t=41807)

Dousan 2010-05-08 09:00

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by phase315 (Post 649005)
I know these are not drawn with MyPaint but I figured I would just contribute anyway. I used Sketch and doodled for a while at work. If you guys have a tutorial or can point me to one to help me install MyPaint, that would surely help. =)

First you download this:
http://maemo.org/packages/package_in...0.8.2-1maemo9/
and then this:
http://maemo.org/packages/package_in...0.8.2-1maemo9/
Then follow the instructions in the first post.
You might need python-support but i think it's included in this version, if not you can install it from xterm with this code:
apt-get install python-support (sudo gainroot first)
That should do it :D

Btw Anders_gud is it possible for you to edit the first post so it's up to date on how to install mypaint. You know with links and everything else needed for the new version :D

twenty90seven 2010-05-08 11:07

Re: Mypaint-0.7.1 for Fremantle
 
does anyone know the keys to use layers? mypaint refers to page up keys what is the equivalent key on the n900 keyboard? cheers

Dousan 2010-05-08 11:21

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by twenty90seven (Post 649160)
does anyone know the keys to use layers? mypaint refers to page up keys what is the equivalent key on the n900 keyboard? cheers

I don't know but you should be able to change them by tapping and holding and then choose the new key while holding and then let go :)

AapoRantalainen 2010-05-08 11:21

Re: Mypaint-0.7.1 for Fremantle
 
Installing:
No need for downloading anything manually (this is the whole point of package management and repositories)

1) enable extras-devel repository
2) update package-lists
3) install package named mypaint
4) start mypaint

(These steps can be made with graphical application manager or xterm+gainroot)


It installs (or updates) newest mypaint (0.8.2-1maemo10 at this moment). It also installs (or updates) corresponding mypaint-data and newest versions of all needed libraries.

Additionally it fixes python-numpy bug if it not fixed manually before (this is the ln -s libblas.so.3gf libblas.so ; ln -s liblapack.so.3gf.0 liblapack.so)


So this should work just flashed phones or phones with any mypaint installed before. (If not send bug report.)

On the first starts it starts color chooser and brushes windows visible/top.

Default settings:
global pressure mapping: [(0.0, 1.0), (0.0, 0.0), (0.070652173913043473, 0.0), (0.11956521739130435, 0.95833333333333337), (1.0, 1.0)]
input mode: screen (this is needed for pressure?)
brush: originals+tone's set
first brush: pointy_ink

NOTE: this input mode (screen) and this brush (pointy_ink) doesn't work for me, it doesn't draw anything. So could somebody test this without your own .mypaint-directory and then send me a list of working brushes? Is this even brush relating?


There are also key shortcuts that is not usable with N900, so who wants make a new list of default shortcuts (of course everybody can use own set, but I think it would be nice if there are working default set).

Dousan 2010-05-08 11:29

Re: Mypaint-0.7.1 for Fremantle
 
Thats good to know Aapo :)
I just did an update yesterday to maemo8 in app manager and it didn't update my mypaint data so I had to do like i described hence my post about how to install.
Will try it now with the maemo10 and see how that goes ;)

e: It worked just perfekt Aapo thanks :) Sorry for the miss guidence.

harp 2010-05-08 11:46

Re: Mypaint-0.7.1 for Fremantle
 
I can list what I have for modified hotkeys.

Fullscreen - ctrl + f
Show Menu - m
Rotate Counterclockwise - ctrl + left
Rotate Clockwise - ctrl + right
zoom in - ctrl + up
zoom out - ctrl + down
Brush List - b
Brighter - K
Darker - .
Layers - L
Background - C

Some regions didn't get the up and down arrow so take that into account as well.

Creativetone 2010-05-08 12:01

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by AapoRantalainen (Post 649182)

On the first starts it starts color chooser and brushes windows visible/top.

Default settings:
global pressure mapping: [(0.0, 1.0), (0.0, 0.0), (0.070652173913043473, 0.0), (0.11956521739130435, 0.95833333333333337), (1.0, 1.0)]
input mode: screen (this is needed for pressure?)
brush: originals+tone's set

first brush: pointy_ink

NOTE: this input mode (screen) and this brush (pointy_ink) doesn't work for me, it doesn't draw anything. So could somebody test this without your own .mypaint-directory and then send me a list of working brushes? Is this even brush relating?


There are also key shortcuts that is not usable with N900, so who wants make a new list of default shortcuts (of course everybody can use own set, but I think it would be nice if there are working default set).

Hi, Aapo!

I updated MyPaint to maemo9 -> maemo10 .. and I used App Manager.

I renamed /home/user/.mypaint -folder.
So I tested without my .mypaint folder and mine default settings.

Everything is fine here.

Default brush pointy ink works also fine... so pressure working?!

-----
no problems with Customising keys... sorry!
I have of course old accelmap.confg in use..

apol657 2010-05-08 12:09

Re: Mypaint-0.7.1 for Fremantle
 
Hmm it seems i am not able to edit keys... I also updated to maemo10 but still not working... I noticed that I dont have Fullscreen or Show Menu buttons in the menu too. Do you use the gtk_menu thing or the hildonized menu? (not sure if hildonized means what i mean,from other posts i think its the normal maemo style menu. Sorry if it means something else.)

Creativetone 2010-05-08 12:19

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by apol657 (Post 649233)
Hmm it seems i am not able to edit keys... I also updated to maemo10 but still not working... I noticed that I dont have Fullscreen or Show Menu buttons in the menu too. Do you use the gtk_menu thing or the hildonized menu? (not sure if hildonized means what i mean,from other posts i think its the normal maemo style menu. Sorry if it means something else.)

Oh.. maybe I misunderstand :o
.. gtk_menu should allow you to edit keys.

harp 2010-05-08 12:33

Re: Mypaint-0.7.1 for Fremantle
 
1 Attachment(s)
Hope you guys don't mind me attaching these images all the time.

apol657 2010-05-08 12:37

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by Creativetone (Post 649245)
Oh.. maybe I misunderstand :o
.. gtk_menu should allow you to edit keys.

Ah ok, I will try gtk_menu later!

I just found a problem on saving my file... It has two layers, but i cant save it as .ora or .jpg ... I get the following error:

Traceback (most recent call last):
File "/opt/mypaint/share/mypaint/gui/filehandling.py", line 259, save_as_cb(self=<gui.filehandling.FileHandler object at 0x4268fd70>, action=<gtk.Action object at 0x43711b20 (GtkAction at 0x1a3ae78)>)
dialog.hide()
self.save_file(filename, **options)
break
variables: {'self.save_file': ('local', <bound method FileHandler.wrapper of <gui.filehandling.FileHandler object at 0x4268fd70>>), 'options': ('local', None), 'filename': ('local', '/home/user/MyDocs/.images/Mypaint/Tree.ora.ora')}
File "/opt/mypaint/share/mypaint/gui/drawwindow.py", line 36, wrapper(self=<gui.filehandling.FileHandler object at 0x4268fd70>, *args=('/home/user/MyDocs/.images/Mypaint/Tree.ora.ora',), **kwargs={})
self.app.drawWindow.window.set_cursor(gdk.Cursor(g dk.WATCH))
self.app.drawWindow.tdw.window.set_cursor(None)
# make sure it is actually changed before we return
AttributeError: 'NoneType' object has no attribute 'set_cursor'


edit: merging the layers also didnt work... I am sorry that I wont be able to provide more information,but i have to go... I use the maemo10 version by the way.

object 2010-05-08 12:59

Re: Mypaint-0.7.1 for Fremantle
 
http://1.bp.blogspot.com/_NRWUGak3PF...throbotics.jpg

Creativetone 2010-05-08 15:04

Re: Mypaint-0.7.1 for Fremantle
 
Hi!
apol657 - I am using maemo10 and I have no problems to save the files with layers or not. Interesting.. hmm.

object - very nice painting... "android" n-900? :D ... grrr... I must learn to draw.. figuratives.

harp - I do not mind if you attach images :).. I like to see what you can do with this great painting app.

xpsj 2010-05-08 15:42

Re: Mypaint-0.7.1 for Fremantle
 
okey..im a long time reader but this is my first post and question about this nice piece of software..
after a lot of try and error I was able to get this thing to work.

but after the update to maemo10 I cant get it to start up again...
and when I try to start the app using xterm I get the following error:

/home/user # mypaint
process 5247: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 5247: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted

Does anyone know what kind of error this is? And is it easy fixable;)?

Thx in advance!!
grtzz Xpsj

anders_gud 2010-05-08 15:52

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by xpsj (Post 649418)
/home/user # mypaint

I presume you are trying to run it as root. Don't do that... Run as user.

xpsj 2010-05-08 16:04

Re: Mypaint-0.7.1 for Fremantle
 
I see!! thx for your quick reply...but..Now I get a new error:P

~ $ mypaint
confpath = /home/user/.mypaint/
/home/user/.mypaint/brushes/order_default.conf: Warning: brush appears twice in the same group, ignored
/opt/mypaint/share/mypaint/brushes/order.conf: Warning: brush appears twice in the same group, ignored
Merging upstream brush changes into your collection.
Traceback (most recent call last):
File "/opt/mypaint/bin/mypaint", line 124, in <module>
main.main(datapath, confpath)
File "/opt/mypaint/share/mypaint/gui/main.py", line 27, in main
app = application.Application(datapath, options.config, args)
File "/opt/mypaint/share/mypaint/gui/application.py", line 50, in __init__
self.brushmanager = brushmanager.BrushManager(join(datapath, 'brushes'), join(confpath, 'brushes'))
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 43, in __init__
self.load_groups()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 129, in load_groups
self.save_brushorder()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 162, in save_brushorder
f = open(os.path.join(self.user_brushpath, 'order.conf'), 'w')
IOError: [Errno 13] Permission denied: '/home/user/.mypaint/brushes/order.conf'

I have to add that I am a bit noobish deciphering these logs..

anders_gud 2010-05-08 16:21

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by xpsj (Post 649440)
I see!! thx for your quick reply...but..Now I get a new error:P

~ $ mypaint
confpath = /home/user/.mypaint/
/home/user/.mypaint/brushes/order_default.conf: Warning: brush appears twice in the same group, ignored
/opt/mypaint/share/mypaint/brushes/order.conf: Warning: brush appears twice in the same group, ignored
Merging upstream brush changes into your collection.
Traceback (most recent call last):
File "/opt/mypaint/bin/mypaint", line 124, in <module>
main.main(datapath, confpath)
File "/opt/mypaint/share/mypaint/gui/main.py", line 27, in main
app = application.Application(datapath, options.config, args)
File "/opt/mypaint/share/mypaint/gui/application.py", line 50, in __init__
self.brushmanager = brushmanager.BrushManager(join(datapath, 'brushes'), join(confpath, 'brushes'))
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 43, in __init__
self.load_groups()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 129, in load_groups
self.save_brushorder()
File "/opt/mypaint/share/mypaint/gui/brushmanager.py", line 162, in save_brushorder
f = open(os.path.join(self.user_brushpath, 'order.conf'), 'w')
IOError: [Errno 13] Permission denied: '/home/user/.mypaint/brushes/order.conf'

I have to add that I am a bit noobish deciphering these logs..

When you ran mypaint as root the .mypaint directory got wrong file permissions
remove the old .mypaint directory
as root:
cd /home/user/
rm -R .mypaint/
exit

xman 2010-05-08 16:22

Re: Mypaint-0.7.1 for Fremantle
 
I've remaped my keyboard to include pageup, page down, home and end + tab too. It make getting around site and document list just about every thing easier. It's not hard, you just have to make sure you do it right.

Wiki how page here


A post that help me here

Quote:

Originally Posted by twenty90seven (Post 649160)
does anyone know the keys to use layers? mypaint refers to page up keys what is the equivalent key on the n900 keyboard? cheers


I don't mine either, but don't forget post them the thread you started Look what I drew on my phone thread .... to keep that going too ... :D

Quote:

Originally Posted by harp (Post 649256)
Hope you guys don't mind me attaching these images all the time.

Just thought I add to what Dousan said; in that with the gtk_menu on after you tap once you can use the arrow keys to navigate to the menu item you want to change, now you have both hand availible to make a shortcuts like shift-fn-P or whatever you can think of. It a lot easier this way for me. Unless I'm stating the obvious....lol oops.

Quote:

Originally Posted by Dousan (Post 649181)
I don't know but you should be able to change them by tapping and holding and then choose the new key while holding and then let go :)


Tiboric 2010-05-08 16:40

Re: Mypaint-0.7.1 for Fremantle
 
Thanks for this, its so good, got my creative juices flowing. :)


My first drawing... of any kind... ever

http://img132.imageshack.us/img132/9020/scrap001m.jpg

my gf wouldn't belive me coz she's seen my biro doodles.

apol657 2010-05-08 16:58

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by Creativetone (Post 649390)
Hi!
apol657 - I am using maemo10 and I have no problems to save the files with layers or not. Interesting.. hmm.

object - very nice painting... "android" n-900? :D ... grrr... I must learn to draw.. figuratives.

harp - I do not mind if you attach images :).. I like to see what you can do with this great painting app.

Thanks for your interest Tone! Ok everything got magically working after the gtk_menu! It could be a coincidence,or not idk... But what matters is that now i can save files, make shortcuts and have fullscreen(and a very small working menu at the same time if i want :D)! Mypaint became even more awesome with your help people,thanks again!!!

By the way as i see many of you know very much about mypaint, do you know how to save to *.ora again after i saved to *.jpg ? I tried save as file.ora but it creates a file named file.ora.jpg .I can always save as *.ora before exporting to jpg and then restart mypaint and open the *.ora file and saving format reverts to *.ora again... So its not that important, just kinda useful..

xpsj 2010-05-08 17:00

Re: Mypaint-0.7.1 for Fremantle
 
1 Attachment(s)
@anders_gud

Thx for your help!it's working like a charm:D!
Here a little Ctoon I made(A):

crail 2010-05-08 17:28

Re: Mypaint-0.7.1 for Fremantle
 
brilliant app but its stolen 10mb of root. can that be sorted out?

anders_gud 2010-05-08 17:41

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by crail (Post 649566)
brilliant app but its stolen 10mb of root. can that be sorted out?

That must be the package lists from extras-devel...
Always disable extras-devel when you are finished installing packages from there...

lostinmirkwood 2010-05-08 18:17

Re: Mypaint-0.7.1 for Fremantle
 
http://lh5.ggpht.com/_LS2mLnOjvkU/S-...wemocCreek.jpg


Quite exciting what you can do on the device.

shreif 2010-05-08 20:29

Re: Mypaint-0.7.1 for Fremantle
 
why can it scroll at brushes gallery and brushes settings there is a slider but i cant go down ? is this a bug or something?

Creativetone 2010-05-08 20:51

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by shreif (Post 649757)
why can it scroll at brushes gallery and brushes settings there is a slider but i cant go down ? is this a bug or something?

This could be a bit tricky because the slider is so small.. and it is the edge of screen. How is your Screen Calibrated?

harp 2010-05-09 00:07

Re: Mypaint-0.7.1 for Fremantle
 
1 Attachment(s)
Here's one I did with just the oil brush. It's quite flexible.

shreif 2010-05-09 01:27

Re: Mypaint-0.7.1 for Fremantle
 
Creativetone what do u mean by how ? normal calibration ..!

Creativetone 2010-05-09 01:44

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by shreif (Post 649972)
Creativetone what do u mean by how ? normal calibration ..!

Oh.. I point that "normal" Nokia screen calibration utility.

Creativetone 2010-05-09 02:46

Re: Mypaint-0.7.1 for Fremantle
 
Here we come,
There is one funny video on Youtube about N900 and MyPaint 0.8.2.

It is my first one ever...
and done with
Amazing Windows Movie Maker+
crappy old Webcam

If someone do not like it, I can remove it.
http://www.youtube.com/watch?v=LAUcrUO8rQQ

Tone

crail 2010-05-09 07:37

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by anders_gud (Post 649595)
That must be the package lists from extras-devel...
Always disable extras-devel when you are finished installing packages from there...

thanks for letting me know it wasnt mypaint. i did an autoclean and sorted it.

Dousan 2010-05-09 07:42

Re: Mypaint-0.7.1 for Fremantle
 
Nice vid Tone :)

crail 2010-05-09 08:04

Re: Mypaint-0.7.1 for Fremantle
 
nice one tone. can someone post a screenshot of their pressure settings please. how do you turn lines off? im stuck on lines now lol

crail 2010-05-09 08:24

Re: Mypaint-0.7.1 for Fremantle
 
are the pressure settings on the first page still right?

apol657 2010-05-09 08:49

Re: Mypaint-0.7.1 for Fremantle
 
http://img80.imageshack.us/img80/699...0050911473.png

This works quite good for me, but i bet somebody else have found something better!

Creativetone 2010-05-09 10:18

Re: Mypaint-0.7.1 for Fremantle
 
Hi, apol657!

I thought that the Global Pressure Mapping is already right...
when you make clean install?

Or is it that Pressure works bit different on the N900 device?

BUT.

In the page 10 are Screenshot of mine Global Pressure Mapping values... page 11 there is also a Zip file which include brushes and my settings.conf..

and.. the same page there is also qole's post where he shows those values of mine.

Hope that helps?

----------------------------------------------------------------------------
btw. I am very pleased to those Global Pressure Mapping values..
can you somebody confirm that they are working right or is there differences... of course we use each other different kind of pressures and we have own style to draw and press pen..

I have noticed that there can be quite dramatic difference when using pen, like I do... or even when using default bit lighter stylus.. not to mention using finger (this also can be advantage when customising MyPaint brushes).

Sorry for long long post... :D

---------------------------------------------------------------------------
EDIT: crail - for me those settings in first page do not work!
---------------------------------------------------------------------------

I share this link again and again, if you do not mind.
This shows how the pressure should now working...

http://www.youtube.com/watch?v=LAUcrUO8rQQ

-------------------------------------------------------------------------
VOTE FOR THE BUG!
-------------------------------------------------------------------------

Quote:

Originally Posted by anders_gud (Post 648980)
Remember that things could be much better if we got this bug fixed:
https://bugs.maemo.org/show_bug.cgi?id=8435
I don't know if any of you have tried mypaint on diablo (n8xx) - it is pressure sensibility is a dream compared to fremantles crippled version... I believe it is a software bug not related to hardware - Mer on n8xx also had this pressure bug.

Vote for the bug now or it will be forgotten as Nokia moves towards capacitive screens!

Good luck!

Dousan 2010-05-09 10:21

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by crail (Post 650212)
are the pressure settings on the first page still right?

Is it not set to tones settings by default when you install the new mypaint from extras-devel (maemo10)?

Aapo and tone has posted the settings a few times some pages back, those settings work ;)

e: haha you beat me to it tone :D

E: My pressure works just fine and it's your settings and pressure settings from the first post doesn't work for me either it just made the brushes work without the connecting lines ;)

Btw Tone could you please post the settings for the 'line' brush that you show in the utube vid ;)

apol657 2010-05-09 10:35

Re: Mypaint-0.7.1 for Fremantle
 
Quote:

Originally Posted by Creativetone (Post 650298)
Hi, apol657!

I thought that the Global Pressure Mapping is already right...
when you make clean install?

Or is it that Pressure works bit different on the N900 device?

BUT.

In the page 10 are Screenshot of mine Global Pressure Mapping values... page 11 there is also a Zip file which include brushes and my settings.conf..

and.. the same page there is also qole's post where he shows those values of mine.

Hope that helps?

----------------------------------------------------------------------------
btw. I am very pleased to those Global Pressure Mapping values..
can you somebody confirm that they are working right or is there differences... of course we use each other different kind of pressures and we have own style to draw and press pen..

I have noticed that there can be quite dramatic difference when using pen, like I do... or even when using default bit lighter stylus.. not to mention using finger (this also can be advantage when customising MyPaint brushes).

Sorry for long long post... :D

---------------------------------------------------------------------------
EDIT: crail - for me those settings in first page do not work!
---------------------------------------------------------------------------

Good luck!

Sorry i was just posting the screenshot of my settings for crail. Thanks though! I know about your settings on these pages but I didnt downloaded it cause till May ends I am not using my pc (where i would unzip the file) :( ... So i just copied your settings with my eyes, but I also played around a bit with them. But now i am posting this from a laptop ( I wanted to see Mypaint on a pc) so i will also download your settings and try them.

By the way the settings where probably right when i installed the maemo9, i just hurried to change them to my old ones, not knowing that the settings there where the best...


Edit: I just put your settings.conf and it is indeed working better! So for one more time thank you!

Creativetone 2010-05-09 10:59

Re: Mypaint-0.7.1 for Fremantle
 
1 Attachment(s)
Quote:

Originally Posted by Dousan (Post 650301)
Tone could you please post the settings for the 'line' brush that you show in the utube vid ;)

Hi! There is The Liner_Brush... shows the my youtube video..
http://www.youtube.com/watch?v=LAUcrUO8rQQ

BUT NOTICE!

That Brushes folder "order.conf" are not updated...
I do not know could you just drop the brush in the current default folder.. I think that you must edit order.conf file to add it there.

so be careful..

anders_gud 2010-05-09 11:38

Re: Mypaint-0.7.1 for Fremantle
 
Really fantastic video Creativetone - I almost cried - looks very professional!
You are now appointed head chief of Maemo MyPaint PR!


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8