44th studio

  • Archive
  • RSS
  • Ask me anything

Fix Bug on Pencil Export to PNG (and other format)

Pencil is a diagramming tool for creating mockup for application, either it a web application, android, or iOS. I found Pencil so useful, and start to replace yEd, which has been my favourite tool for creating mockups for this late two year. At some point (e.g creating flowchart), yEd still could beat Pencil, but surely not at creating mockups.

But one bug really annoys me since the first day I use Pencil. The export feature to PNG is not working. There are actually two ways to create PNG’s from it, and both successfuly failed! Ahahahaha …

And then I found the workaround for it. The basic problem was, there is no xulrunner installed on my Ubuntu (currently running Ubuntu 13.04), which is used to run some script (or something like it) on the export modules. And the worst part is, xulrunner is not exist on Ubuntu repository!!!! !@#$%^&

So … I found the solution from the web.

First of all, you should install xulrunner from Mozilla ftp site (source: http://askubuntu.com/questions/125980/how-do-i-install-xulrunner-in-12-04). Just run these line on the terminal

FFVER=`grep -Po  ”\d{2}.\d+” /usr/lib/firefox/platform.ini`

ARCH=`uname -p`

XURL= https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$FFVER/runtimes/xulrunner-$FFVER.en-US.linux-$ARCH.tar.bz2

cd /opt

sudo sh -c “wget -O- $XURL | tar -xj”

sudo ln -s /opt/xulrunner/xulrunner /usr/bin/xulrunner

sudo ln -s /opt/xulrunner/xpcshell /usr/bin/xpcshell

Second, fix line 264 on /usr/share/pencil/content/pencil/common/svgRasterizer.js (source: https://code.google.com/p/evoluspencil/issues/detail?id=526)

persist.saveURI(uri, null, null, null, null, localFile , null ); 

And third, purge cache from previous Pencil instances (this is what I think this command for)

/usr/lib/xulrunner/xulrunner —app /usr/share/pencil/application.ini -purgecaches 

Close Pencil, and start Pencil again normally (from Unity Dash or Menu or whatever you used to click), and try again the export module. Hopefully it works now ^^.

    • #ubuntu
    • #pencil
    • #xulrunner
    • #mockup
    • #diagramming tool
  • 6 days ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Rapid Photo Downloader on Ubuntu 13.04

Because of some critical bug on some recent version of Linux distro, including Ubuntu 13.04 (well, to be simple, the symptoms are the application is always stuck on ‘downloading 1 of nnn images’ state), all the user of Rapid Photo Downloader were recommended to upgrade to the 0.4.6 version.

The bad news is, until today the update is still not appear on default repository, so for you Ubuntu user, just add this PPA to your repository list.

https://launchpad.net/~dlynch3/+archive/ppa

    • #ubuntu
    • #rapid-photo-downloader
    • #13.04
    • #raring
    • #photo
    • #launchpad
  • 1 week ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Welcome Yahoo! Thanks Yahoo! Boo Flickr new look!

I just know that Yahoo! just bought tumblr, and also give 1TB space on flickr for their user … great!! Thanks!!!

PS: On second thought … i don’t like the new layout of flickr. I love the old one, plain and simple … maybe just me ^^

    • #yahoo
    • #tumblr
    • #flickr
    • #1terrabyte
    • #thanks
  • 4 weeks ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
To make Netbeans more ‘blended’ to Ubuntu’s Unity, here is what I’ve done
Install the Netbeans Ayatana plugin (http://plugins.netbeans.org/plugin/41822)
Use the Ambiance theme, change the font into Droid Sans 10pt
Add these on [netbeans_folder]/etc/netbeans.conf : -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
Change editor font into DejaVu Sans Mono 14pt
done!
Pop-upView Separately

To make Netbeans more ‘blended’ to Ubuntu’s Unity, here is what I’ve done

  1. Install the Netbeans Ayatana plugin (http://plugins.netbeans.org/plugin/41822)
  2. Use the Ambiance theme, change the font into Droid Sans 10pt
  3. Add these on [netbeans_folder]/etc/netbeans.conf : -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
  4. Change editor font into DejaVu Sans Mono 14pt

done!

    • #ubuntu
    • #ayatana
    • #netbeans
    • #ambiance
    • #theme
  • 1 month ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

TLP + Fan Cleaning = Less Heat

Ah yes … might be a brain suggestion, but after installing TLP and cleaning my laptop fan from the dust, the heat on my palm rest and the keyboard is significantly reduced …

*hurray*

    • #ubuntu
    • #tlp
    • #fan
    • #heat
    • #13.04
    • #laptop
  • 1 month ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Improve Power Usage / Battery Life In Linux With TLP ~ Web Upd8: Ubuntu / Linux blog

Improve Power Usage / Battery Life In Linux With TLP ~ Ubuntu / Linux blog

Gonna try this, hope the temperature of my laptop will decrease … 

  • 1 month ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Javascript beautifier with Geany

    • #geany
    • #linux
    • #javascript beautifier
    • #javascript
    • #uglifyjs
  • 8 months ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

PHP Beautifier with Geany 1.22

I just found out how to format php code with geany (and big help from php beautifier) ^^

    • #ubuntu
    • #geany
    • #linux
    • #php
    • #formatter
  • 8 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

The Germans Is Told Not Use IE ... haha!

via CNET

  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
It does not matter how slow you go so long as you do not stop.
Wisdom of Confucius
  • 9 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
Page 1 of 7
← Newer • Older →

About

Avatar Hi, I'm Alvonsius, developer on Gamatechno, and a weekend photographer.

Here you will find some photoblog and writings of my interest.

Visit my Flickr photostream

Tweet me @alvonsius

My Facebook Page

Top

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union