Autarchy of the Private Cave

Science, Society, Programming and Hobbies

  • Exits

  • Categories

  • Archives

  • Visitors' track

    Locations of visitors to this page
  • Tags list

  • Earn and spend


  • Exits

  • Ratings

    Science Blogs - Blog Top Sites website monitoring service
  • How to print a single page from PDF file using Linux command line interface (CLI)

    30th October 2008

    There are several ways to do that, I’ll describe the one which worked for me. Please note, that printing from CLI has an advantage of being able to print out something at work from the comfort of your home and ssh :) (provided that the printer is on and is loaded with paper).

    To extract a single page (or a range of pages), I used pdftops:
    Read the rest of this entry »

    Posted in *nix, Software, how-to | 2 Comments »

    Debian, fgl_glxgears: Using GLX_SGIX_pbuffer… Segmentation fault

    1st October 2008

    If you get Segmentation fault when trying to run fgl_glxgears in your Debian desktop environment, most often this would mean that 3D acceleration isn’t enabled.

    For the case of ATI (and ATI Mobility) Radeon series, the easiest procedure would be (doing all as root, or prepending sudo to all commands):

    1. aptitude update, to ensure you’ve got the list of latest packages
    2. aptitude install fglrx-driver fglrx-control fglrx-kernel-src, for the actual driver; I also installed fglrx-atieventsd and fglrx-glx (these are driver-recommended packages)
    3. aptitude install module-assisstant, required for building the kernel module
    4. module-assistant prepare, to verify that you have everything needed for the module build procedure
    5. module-assistant update
    6. module-assistant auto-install fglrx, to build and install the fglrx kernel module
    7. depmod -a
    8. modprobe fglrx, to load the fglrx kernel module
    9. aticonfig ––initial, to configure ATI’s device section in /etc/X11/xorg.conf (for more options, see aticonfig ––help)
    10. reboot

    Read the rest of this entry »

    Posted in *nix | No Comments »

    Installing libsbml on Debian (to make iBioSim start)

    30th August 2008

    There’s a troubleshooter for Ubuntu, which (expectedly) works quite the same for Debian (lenny in my case).

    I’m installing libsbml to make the iBioSim tool work under Debian GNU/Linux. First thing I had to do was to make Sun’s java interpreter do all the java interpretation work instead of gcj: sudo update-java-alternatives -s java-6-sun (this assumes you do have java-6-sun installed).

    Installing libsbml moved me one step further, now I’m getting another error from iBioSim:

    Exception in thread "main" java.lang.NoClassDefFoundError: biomodelsim/BioSim
    Caused by: java.lang.ClassNotFoundException: biomodelsim.BioSim
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    

    This yet has to be fixed somehow.

    If Zhou Xin’s blog becomes for any reason inaccessible (or moves to his own domain), below is the extract of the instructions from his post on how to install libsbml on Debian/Ubuntu Linux:
    Read the rest of this entry »

    Posted in *nix, Links, Science, Software, Systems Biology | 3 Comments »

    Iceweasel/Firefox 3: how to work-around random/erratic right-click action

    19th July 2008

    When right-clicking many links in FF3/IW3, it quite often happens so that a random action is performed instead of opening the context menu (bug report).

    One of the solutions work-arounds (suggested by Andre Pirard) is to slow-right-click, that is to hold the right mouse button down until the menu actually appears, then - and only then - release it. Or, you can even slow-right-click, move the pointer over the desired menu item, and then release - that will perform the desired action in a single long right click (instead of more common single right click with a following single left click.)

    This bug/behaviour is otherwise unsolved.

    Posted in Misc, Web | 3 Comments »

    Drupal theme development: where to start

    8th June 2008

    Simplest way to develop your custom Drupal theme is to start with some skeleton/wireframe theme.

    In this post, I’m briefly reviewing 4 themes (atck, blueprint, framework, and zen), made specifically to serve as theme developer’s starting point. All 4 are listed with their features (as per Drupal project page of each one), with my personal “impressions” (not based on actual use experience, yet). There’s also my choice and order of preference for the 4 candidates at the end.
    Read the rest of this entry »

    Posted in Drupal, Links, Notepad, Software, Web, XHTML/CSS | 6 Comments »

     
    Close
    E-mail It