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+
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+

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+

Darktable Tethering Tutorial

Before that, please read about Darktable 1.0 release post http://www.darktable.org/2012/03/darktable-1-0-released/

I just know that Darktable supports tethering mode, because the developer put the link to the mode right on top side of the application. And here are the simplest tutorial on how to make it usable.

By reading this post here, seems that the new generation of digital camera is supported by this mode. Okay, if your camera is on the list, then let’s skip the testing part, and let get it done.

  1. Plug your camera to your computer
  2. Make sure that the Memory Card / SD Card is not mounted. You can do this by go to Nautilus (Gnome) or Dolphin (KDE), and unmount the respective drive. Remember, this is the important part, so make sure you unmount it.
  3. Start Darktable
  4. Click the Tethering link on top-right of the application.
  5. Now you’re up and runnig …

See?? Easy huh? Now I just have to find a longer USB cable to play with ^^

    • #ubuntu
    • #darktable
    • #tethering
    • #nikon
    • #d7000
    • #linux
    • #raw
  • 1 year ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Keeping Wireless Enabled After Sleep on Ubuntu

It’s been a while since I realized that sometimes my wireless device is disabled after a sleep action (that is, when you put your Ubuntu on Suspend mode).

A quick google bump me to this page on Ubuntu Forums.

The trick is pretty simple. First, you must find out what driver does your wireless card used. To find out, just run this command on the terminal.

sudo lshw -C network

The result, is something like this

 *-network DISABLED     
       description: Wireless interface
       product: Centrino Advanced-N 6200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:44:00.0
       logical name: wlan0
       version: 35
       serial: 58:94:6b:af:08:0c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlagn driverversion=3.0.0-16-generic firmware=9.221.4.1 build 25532 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:49 memory:90300000-90301fff

Note the part that I put the bold emphasis. That is the driver of your wireless card. Note that one.

Second, open the file /etc/pm/config.d/config (or create it if there are none)

sudo nano /etc/pm/config.d/config

And put this line on it

SUSPEND_MODULES=”iwlagn”

Please note that the ‘iwlagn’ part is adjusted according to your driver.

    • #ubuntu
    • #oneiric
    • #wireless
    • #linux
    • #kde
    • #gnome
  • 1 year ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Disable Gnome Shell ‘Activities’ Button Hover Behavior

If you feel that the hover behavior of Activities button on gnome shell annoying, you could remove it by modify this file

/usr/share/gnome-shell/js/ui/panel.js

And commenting line 630 :

// hot corner this._hotCorner.actor.allocate(hotBox, flags);

After that restart gnome shell or simply hit Alt+F2 and type

gnome-shell —replace

    • #ubuntu
    • #gnome-shell
    • #linux
  • 1 year ago
  • 4
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

It seems that the bug on Gnome Shell not showing File Operation window in the Alt-Tab and Activities Lense is now solved on the last update of Ubuntu Oneiric.
Thanks developers ^^
View Separately

It seems that the bug on Gnome Shell not showing File Operation window in the Alt-Tab and Activities Lense is now solved on the last update of Ubuntu Oneiric.

Thanks developers ^^

    • #ubuntu
    • #gnome-shell
    • #bug
  • 1 year ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Tomboy Slows Ubuntu 11.10 Shutdown Process

After reading some post in the internet, it seems than Tomboy was the source of slow shutdown on Ubuntu 11.10. After replacing it with Gnote, everything is normal again, and I could shutdown less in 30 seconds ^^

Don’t worry about loosing all your notes, since Gnote automagically import your previous Tomboy notes into itself.

To install Gnote, just run:

sudo apt-get install gnote

After installation, running gnote itself won’t show the systray icon on Unity panel. This because Unity need to ‘whitelists’ all the application that would showed on the panel (seems ridiculous, but that is how it’s work). To whitelist gnote, just run these line on the terminal.

gsettings set com.canonical.Unity.Panel systray-whitelist “[‘JavaEmbeddedFrame’, ‘Mumble’, ‘Wine’, ‘Skype’, ‘hp-systray’,’gnote’]”

And after that, don’t forget to put gnote on Startup Application, so it would run everytime you login.

gnote -systray

    • #ubuntu
    • #unity
    • #gnome
    • #11.10
    • #gnote
    • #tomboy
    • #linux
  • 1 year ago
  • 3
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
Page 1 of 2
← 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