plasticboy.de

About the art of building metaphoric solutions to real world problems.

Archive for the ‘Linux’ Category

You need to install http://gnome-gmail.sourceforge.net/ if  you want to use Googlemail as your preferred email application.

After the installation of the .deb file, go to "System -> Preferences -> Preferred Applications" and select Gmail. That’s it.

Ubuntu Preferred Applications for Gmail

Ubuntu Preferred Applications for Gmail

  • 0 Comments
  • Filed under: Linux
  • I installed Java 6 on a Strato V-Server today that a default installation of Ubuntu 8.04 LTS.
    Per default, the multiverse packages are all disabled, so you need to edit the file /etc/apt/sources.list to make it look like this:

    # See sources.list(5) for more information, especialy
    # Remember that you can only use http, ftp or file URIs
    # CDROMs are managed through the apt-cdrom tool.
    
    deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy main restricted universe multiverse
    deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy main restricted universe multiverse
    
    deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-updates main restricted universe multiverse
    deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-updates main restricted universe multiverse
    
    deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-security main restricted universe multiverse
    
    deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-security main restricted universe multiverse
    

    Then don’t forget to run

    sudo apt-get update
    sudo apt-get upgrade
  • 0 Comments
  • Filed under: Linux, Programming
  • These steps are for ubuntu users. the paths may differ for other linux distributions but i think the steps are the same.

    Be sure to have installed Ogre3D and code::blocks on ubuntu before you proceed. The ogre3d wiki is a good start if you search for installation how-to’s.

    Step 1:

    Open Code::Blocks and create an ogre3D project with the wizard.

    Step2:

    After creation right click the project in your workspace and choose the “Project Build Options“.

    Go to the  “Linker Settings” tab and change the libOIS and libOgre paths according to my screenshot:

    codeblocksogresettings

    Step 3:

    Goto the “Search directories” tab and in the “compiler” subtab add the path to the ExampleApplication.h file.

    in my case it’s

    /home/myuser/Development/lib/ogre/Samples/Common/include

    You should be able to compile your project now. :-) )

    Step 4:

    Now we need to make sure, that the the run command also works on our small project.

    Therefore we need to change the execution path of our project’s binary.

    This can be done by right-clicking  the project in the workspace again but this time select the “Properties…” option.

    Switch to the “Build targets” tab and alter the parameter for “Execution output dir:” to your ogre3d installations sample folder.

    In my case this is

    /home/myuser/Development/lib/ogre/Samples/Common/bin

    Now you can run the project.

    That’s it. Happy coding.

  • 2 Comments
  • Filed under: Linux, Programming
  • The solution for KDE 4 users is fairly simple:
    You may not have set the correct DPI for your system.

    In KDE this is done in the Apearance tab in the System Settings.
    Goto Fonts and there will be the drop down  for Force Fonts DPI.

    Set it to 96 DPI and restart Mathematica. That’s it.

    Forcing 96 DPI in KDE control center.

    Forcing 96 DPI in KDE control center.

  • 1 Comment
  • Filed under: Linux, Science
  • Yes, it is possible and it’s not that hard as you may think:

    sudo apt-get remove cabextract
    sudo apt-get install cabextract
    ./ies4linux

    try running this command that actually worked for me:

    ./ies4linux –no-gui
  • 2 Comments
  • Filed under: Linux, Programming
  • I trashed my vista installation on my dual boot system this weekend. As we all know, vista is quite keen on controlling the Master Boot Record (BMR) .

    All my tries to use update-grub failed.
    After yahooing for a while I found the Super Grub Disk – a stand-alone bootable CD-Rom Image that leads you through grub update (and many other grub related tasks) with easy menus and online help.

    It took me 3 minutes to get my grub installation working again.

    • http://www.supergrubdisk.org/
  • 1 Comment
  • Filed under: Linux
  • My Brother-2030 printer denied printing for the last month and I couldn’t find redemption.

    The IPP report message was:

    Unable to open device "hal:///org/freedesktop/Hal/devices/usb_device_":
    Permission denied

    But I figured it out. The final solution is easy:

    sudo chmod 700 /usr/lib/cups/backend/usb
    sudo chmod 700 /usr/lib/cups/backend/hal
    

    I post this, because I’m not the only one having these kind of problems with HAL and a USB printer while using ubuntu (with 64 bit architecture).
    Maybe this will help someone searching for a solution.

    UDATE:
    I updated the command with Jim Morris’ comment.

  • 11 Comments
  • Filed under: Linux

  • Recent Comments

    Links


    Add to Technorati Favorites

    Archives