jump to navigation

Adobe Flash missing some mouseclicks November 3, 2009

Posted by claudio in Desktop, GNU/Linux, UNIX.
Tags: , , ,
add a comment

bugWhile trying to play a flash game with my daughter, I noticed that flash wasn’t working properly on Ubuntu 9.10 on some sites. The fix is trivial, and can be found here.

As Internet posts tend to disappear or move after a while, I copy the fix just in case:

First you need to edit /usr/lib/nspluginwrapper/i386/linux/npviewer file from terminal

gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer

Add the following line before the last line of text

export GDK_NATIVE_WINDOWS=1

Save and exit the file.

Fix for slow virtual desktop switching with Nvidia 96.* and Ubuntu 9.04 August 14, 2009

Posted by claudio in Desktop, GNU/Linux, Hardware, Ubuntu, Uncategorized.
add a comment

nvidiaI have a dual-cpu Sun W2100z workstation I really like. It’s getting rather old, but it’s pretty fast for things like programming and Internet use. Until the release of Ubuntu 9.04, the machne was running fine. After installing the new release it was pretty obvious that the X performance was terrible. Things like glxgears ran fine on this dual screen setup, but things like switching virtual desktops (I use the shortcut ctrl+alt+arrows a lot) took a few seconds when windows were maximized. Sadly, the free driver didn’t work with the 3300 x 1050 resolution I use.

After playing around with the millions switch and config options of the nvidia driver, I found a working setting:

nvidia-settings -a InitialPixmapPlacement=2

To enable this permanently, you can add it to System – Preferences – Startup Applications:

nvidiasettings

(put “nvidia-settings -a InitialPixmapPlacement=2″ (without “”) in the command field).

Install DBD::mysql for Solaris 10 system perl August 13, 2009

Posted by claudio in Perl, Solaris, UNIX.
Tags: , , , , ,
add a comment

perlInstalling DBD::mysql on Solaris 10 seems to be less trivial than “cpan DBD::mysql” when you want to use the system-supplied perl (5.8.4) and mysql (4.0.31) installation. Google shows a lot of people asking how to proceed, but surprisingly no answers. Typically, one gets this error at make time:

[...]
"dbdimp.c", line 4468: improper member use: com
"dbdimp.c", line 4468: improper member use: com
"dbdimp.c", line 4468: improper member use: com
"dbdimp.c", line 4630: undefined struct/union member: pmysql
"dbdimp.c", line 4653: undefined struct/union member: pmysql
cc: acomp failed for dbdimp.c
make: *** [dbdimp.o] Error 1

To install the module do this:

  1. Install the following Solaris mysql packages (if not already installed): SUNWmysqlr, SUNWmysqlu, SUNWmysqlS, SUNWmysqlt.
  2. Type the following as root:
    cd /usr/sfw/share/src/mysql
    ./configure
  3. Download the tar ball of the modules or, easier, go to your cpan build directory (set at cpan configure time), typically at ~/.cpan/build/DBD-mysql-<VERSION> (already there if you previously tried to install the module with cpan).
  4. Run the makefile with the following arguments (adapt to your own needs if necessary):
    cd ~/.cpan/build/DBD-mysql-<VERSION>
    perl Makefile.PL --libs '-R/usr/sfw/lib -R/usr/sfw/lib/mysql -L/usr/sfw/lib -L/usr/sfw/lib/mysql -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm' --cflags '-I/usr/sfw/include -I/usr/include -I/usr/sfw/share/src/mysql/include'Installing /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/DBD/mysql/mysql
  5. Complete the normal installation (make, make test (if you have a test db running), make install).

That’s it.

JavaFX compiler for Linux very soon? May 11, 2009

Posted by claudio in Desktop, GNU/Linux, Java, Programming, Solaris.
Tags: , , ,
1 comment so far

javafxGood news. It seems that Linux and Solaris are getting the JavaFX development kit. Finally. In the fight against Silverlight and AIR every developer counts. Still some questions remain open:

  • Will SUN open JavaFX completely now (don’t make the JDK error twice!)?
  • When will -at least- Netbeans get a JavaFX graphical editor in the same level as the Netbeans’ Matisse Swing editor?
  • And last but not least, what will Oracle do with JavaFX when it owns SUN?

Anyway, if the apparently well-informed rumour is true, it is indeed good news.

Add rar extraction to Gnome’s Archive Manager (file-roller) May 11, 2009

Posted by claudio in Desktop, Ubuntu.
Tags: , , , ,
1 comment so far

You may see this when trying to decompress a rar file:
ArchiveTypeNotSupported

Too bad that file-roller does not tell you what to do (in contrast to Rhythmbox when new codecs need to be installed).

The solution is very simple, just install unrar like this:

sudo apt-get install unrar

That’s it. The Archive Manager can uncompress rared files now.

Install 64-bit upstream Vuze (aka azureus) on Ubuntu 9.04 April 28, 2009

Posted by claudio in Desktop, Ubuntu.
Tags: , , , ,
3 comments

logo-azureusOn our 64-bit series, we continue today with Vuze. There is a slightly older version on the Ubuntu repositories, so if you just want a running vuze, you can be happy and stop reading.

However, if you prefer to use the upstream latest version (vuze has its own update mechanism) on Ubuntu 64-bit, this is what you can do:

1. Create a local directory for applications. I use ~/bin.

mkdir ~/bin

2. Download and uncompress vuze.
cd ~/bin
tar xvjf  Vuze_Installer.tar.bz2

(Alternatively you can use the Archive Manager and copy the vuze directory to bin in your home directory).

3. Download swt (SWT binary and source, Linux (x86_64/GTK 2)) for Linux 64-bit. Open it with the Archive Manager and copy swt.jar to ~/bin/vuze (~ is your Home Directory). (The download page is rather confusing, make sure you download swt and not eclipse).

4. Create a launcher for  vuze by right clicking on Applications and choosing “Edit Menus”. The command is “/home/<YOUR USERNAME HERE>/bin/vuze/azureus %f” and the icon can be found in “/home/<YOUR USERNAME HERE>/bin/vuze/”

That’s it.

Vuze 4.2

Ubuntu release party: Installeer Ubuntu Linux op je computer! (Belgium, dutch) April 28, 2009

Posted by claudio in Desktop, Misc, UNIX, Ubuntu.
Tags: , , ,
add a comment

I received this invitation for the Ubuntu Release Party of Indymedia.be:

Ubuntu release party: Installeer Ubuntu Linux op je computer!

Georganiseerd door: Indymedia.be
Wat: Other …
Wanneer: Zondag 03.05.2009, 14:0019:00
Waar: Indymedia.be mediacentrum
Adres: Haachtse Steenweg 51, Brussel

Op 24 april verschijnt de nieuwe versie van Ubuntu Linux, een alternatief besturingssysteem voor je computer. Indymedia.be nodigt je uit op een ‘release party’: breng op zondag 27 april je computer mee, en we installeren samen Ubuntu.

Het Indymedia.be mediacentrum bevindt zich vlakbij de Botanique, 5 min. wandelen van het Noordstation). Klik hier voor een wegbeschrijving.

releaseparty

Wat is Ubuntu?

Ubuntu is een eenvoudig te gebruiken besturingssysteem voor je computer. Het bevat alle nodige programma’s om je computer te gebruiken, netjes verzameld op één enkele cd. Bovendien bevat Ubuntu tekstverwerkings- en spreadsheetprogramma’s, kan je ermee op het web surfen en je e-mail lezen.

Dit alles maakt van Ubuntu een prima alternatief voor Microsoft Windows of Apple’s OS X. Je kan er alle huis-tuin-en-keuken-computerwerk zonder problemen mee verrichten (en nog veel meer) – en het is volledig gratis te verkrijgen en te onderhouden. Ubuntu staat ook bekend als een uiterst stabiel en veilig systeem.

Ubuntu is vrije software: je mag het systeem vrij gebruiken, kopiëren, aanpassen en verder verspreiden. Het is ook ‘community developed’: het wordt door talloze vrijwillige programmeurs van over de hele wereld ontwikkeld.

Meer weten over Ubuntu? Surf naar http://www.ubuntu.com, of bezoek de website van de Belgische Ubuntu community: http://www.ubuntu-be.org.

Wat doen we op zondag 3 mei?

We houden een zogenaamde ‘release party’: naar aanleiding van de nieuwe versie van Ubuntu, nodigen we je uit om samen Ubuntu te installeren op je computer, problemen met bestaande installaties proberen op te lossen of gewoon een koffieklets houden over Ubuntu, vrije software, …

  • Als je Ubuntu wil installeren op je computer, maak dan zeker en vast op voorhand een kopie van al je documenten, foto’s, e-mails, … die op je computer staan. Er kan immers altijd iets fout lopen.
  • Wil je Ubuntu uitproberen maar niet noodzakelijk installeren op je computer? Dat kan. De Ubuntu-cd laat je toe de volledige Ubuntu-omgeving te testen, zonder ook maar iets op je computer te installeren (aan de hand van een zogenaamde live cd).
  • Het is ook mogelijk om Ubuntu en een ander besturingssysteem (bijvoorbeeld Windows) naast elkaar te gebruiken op dezelfde computer – op voorwaarde dat je computer over voldoende schijfruimte beschikt.

Zin om mee te doen?

Als je op 3 mei naar de Ubuntu release party komt, stuur dan een mailtje naar Bruno De Bondt: bruno@indymedia.be. Vermeld in je mail met hoeveel personen je komt en hoeveel computers je in totaal meebrengt – liefst ook wat je met die computer wil doen (installeren of enkel testen). Zo krijgen we een idee van de nodige netwerkinfrastructuur, installatie-cd’s, …

Aan de Ubuntu-kenners onder jullie:

Als je zin hebt om mee te helpen met installeren, of mensen mee op weg wil helpen met Ubuntu, contacteer dan Bruno De Bondt (bruno@indymedia.be) of Han Soete (han@indymedia.be).

Install 64-bit Adobe Flash Player on Ubuntu 9.04 April 26, 2009

Posted by claudio in Desktop, Ubuntu.
Tags: , , , ,
50 comments

FlashNow that there is a java browser plugin and a working wine for 64-bit on the Ubuntu repositories, there is not much holding back 64-bit Linux on the desktop. Maybe the only thing missing is the Adobe Flash player. Most of the time Flash is just annoying, nevertheless sometimes needed. Luckily, there is now a Flash Player release for 64-bit Linux (however, still beta alpha but stable so far) . I am pretty sure the instructions are identical for other Linux distributions.

To install it:

1. Download it from here.

2. Unpackage it using a terminal (with the assumption your firefox downloads into your Desktop as default):
cd Desktop
tar xvzf
libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz

(The name of the tar.gz file may change when a new version is released, change accordingly).

3. Create a plugin directory in your $HOME (instead of a system directory):

cd
mkdir -p .mozilla/plugins

4. Move the file to the plugin directory:
mv Desktop/libflashplayer.so .mozilla/plugins

5. Restart firefox. Go to about:plugins to see if it’s enabled:
about:plugins
That’s it.

Edit: Alternatively, you can use the graphical approach:

1. go to the download pages and click on “Download 64-bit Plugin for Linux (TAR.GZ, 3.64 MB)”.
2. select “Open with ” in firefox (you have to click on open to enable the ok button) and clck on OK.
3. The archive manager will open and show you the libflashplayer.so file.
4. Click on extra and a save window will open.
5. Type ctrl + h to show hidden files. Go to .mozilla (dubble click).
6. If no “plugins” directory is present, click on “Create Folder” on the top right and type as name “plugins” (without the quotes). Press Ener.
7. Click on Extract.
8. Click on Close on the windows showing the result.
9. Close the archive manager.
10. Restart firefox.

I don’t like monkeys in the house April 24, 2009

Posted by claudio in Desktop, General UNIX, Java, Programming, Ubuntu.
Tags: , ,
2 comments

monkeygunThere have been some controversy about the .Net clone on Gnu/Linux: Mono.

I have been running Linux before Mono appeared and I remember the discussions. To be short: most reasons to introduce .Net on Linux are clearly bogus today. If you really want to use a high-level language with a VM, well … use Java (there are java-gtk2 bindings if you prefer a more native look than swing-gtk or swt-gtk). If you want to make it perfect, spend a fraction of the time and money of copying/rewriting a full stack (including a VM) and fix what need to be fixed on Java (specially now that’s GPL2). Besides, there are pretty decent IDEs that make you productive . If Java isn’t your cup of coffee tea (It should be as C# looks pretty similar to me), there are tons of other languages with gtk-bindings (I use gtk2-perl).

Anyway, being a user of a minority OS, there was one argument that stuck then: “we will enable thousands of windows programmers to run their programs unchanged on Linux”. I remember the apocalyptic warnings of “jumping on the .Net boat or drown and disappear”. Guess what, it didn’t happen. And it won’t happen. Windows developers prefer to write for the full and up-to-date .Net stack instead of an outdated Linux-clone. Nothing earth-shocking here. As long as the complete stack is not open (libraries), you will always play -incompatible- catchup.

What did we get instead? Beside a few proprietary applications (that can be counted on one hand), we’ve got some tools and applications that mainly run on Linux. Some of them are very nice, but nothing revolutionary that can not be written in an other language.

Do we need to live in fear of Microsofts lawyers for a few applications that can be written in a risk-free language or stack (e.g. Tomboy => Gnote)? To be honest, as long as the OS and my DE (Gnome) don’t depend on Mono, I don’t really care. If Microsoft sends its lawyers, there is always “apt-get purge libmono0 mono-common”. The problem I see is that Novell is pushing really hard to make Gnome dependant on Mono.

Removing Mono in that situation will mean holding the broken pieces of the Desktop in your hands.

Indymedia.be FOSS tech call March 20, 2009

Posted by claudio in GNU/Linux, Misc, UNIX, Ubuntu.
Tags: , , ,
add a comment

be_the_mediaI received this very interesting mail from indymedia.be. They are a 100% free and open source based organisation heavily based on drupal and GNU/Linux.

Hello,

Indymedia.be, the belgian chapter of the global Indymedia network, is forming a tech volunteer team to work on their website. The goal is to build an advanced participatory news website, based on Drupal. Features will include: an on line newsroom, sub websites to allow local and thematic groups to operate their own part of the site, automated video transcoding, and much more. If you’re interested in helping out and being part of a group of highly motivated tech people, read on at http://www.indymedia.be/en/node/32264.

thanks,
- bruno

Specially for people on the belgian planet grep, this is a great opportunity to combine foss ideals, technical knowledge and social commitment.