How to fix VMware's network bridge on Ubuntu 7.10

When you can't get your network device to work with Ubuntu 7.10 on VMware Fusion, simply enter the following command in your terminal:
    sudo dhclient eth0
This will force your system updating it's IP-address with VMware's DHCP server.
Related Entries:
Get JOGL working on Linux
Comments (0)  Permalink

Get JOGL working on Linux

To get JOGL (Open GL for Java) working under Linux, download the latest archive for your system from https://jogl.dev.java.net/.
Extract the archive, and copy the extracted files to /usr/lib/jvm/java-6-sun/jre/lib/ext/ with your terminal like this:

  1. Open terminal
  2. type:
    sudo su
  3. move all the jogl files to the terminal window
  4. add "cp /usr/lib/jvm/java-6-sun/jre/lib/ext/
  5. press return
  6. done
Related Entries:
How to fix VMware's network bridge on Ubuntu 7.10
Comments (1)  Permalink

Mac OS-like Metacity button position

You can change metacity window button position (minimize,maximize, close) from the right position as Ubuntu default position to the left position like the window of OSX.

  • Open Terminal and start gconf by typing: “gconf-editor” (without quotes) and hitting enter. This program is a bit like the registry editor for windows.
  • In the tree on the left you need to go to “/apps/metacity/general/”. Search for a key in the right pane called “button_layout“.
  • Edit this key so that it reads: “close,minimize,maximize:menu".
  • Comments (0)  Permalink

    Setup Beryl on Ubuntu Edgy

    Make sure you have installed graphics drivers.

    For NVidia
    Add this repo:
    deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable
    Install drivers:
    sudo apt-get update && sudo apt-get install linux-restricted-modules-$(uname -r) nvidia-glx
    Backup and update xorg.conf:
    sudo nvidia-xconfig 
    restart

    Composite
    Active composite in X:
    gksudo gedit /etc/X11/xorg.conf
    Add these lines:
    Option "TripleBuffer" "true" Option "AddARGBGLXVisuals" "true
    Installing Beryl
    sudo apt-get install beryl
    Startup Beryl
    beryl-manager

    After this, beryl should be working fine.
    In my case, it didn't.
    I fixed it after adding this line to my xorg.conf:
    Option "DisableGLXRootClipping" "True"
    Run Beryl on startup
    Go to System -> Preferences -> Sessions
    Tab: Startup Programs -> Add
    Startup Command: beryl-manager
    and add: beryl-xgl
    Comments (0)  Permalink

    How to Monitor resolution

    For NVidia Drivers: http://doc.gwos.org/index.php/Latest_Nvidia_Dapper

    First, just in case, make a back up of you current file:


    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.org
    For restoring:
    sudo cp /etc/X11/xorg.conf.org /etc/X11/xorg.conf

    Step 1.

    First, try a quick fix. It may not work, but if is does you are done.

    sudo dpkg-reconfigure -phigh xserver-xorg
    • The -phigh option selects the defaults for everything but the screen resolution.
    • To select a resolution, use the arrow keys to move up and down, hit the "Space bar" to select/unselect a resolution.
    • You will recieve a message indication your old file was backed up.

    If that fails you will need to know the specifications of your monitor and video card.

    Step 2.

    Monitor information
    Google search your monitor by make and model. You are looking for the technical specifications for the horizontal and vertical refresh rates.

    Videocard information In a terminal run this command:

    lspci | grep VGA

    Next step is editing the /etc/X11/xorg.conf file

    If you have Gnome running:

    sudo gedit /etc/X11/xorg.conf
    If you have no video and are stuck at the CLI:
    sudo nano /etc/X11/xorg.conf

    You are looking for the following sections:

    Monitor:

    Quote:
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "DEL"
    ModelName "DELL P1110"
    HorizSync 29-121
    VertRefresh 50-180
    EndSection

    Enter you monitors horizontal and vertical refresh rates:
    If you do not know what they are, google search for your monitor.
    I put an entry in my xorg.conf with my monitors web site for reference:
    Section "Monitor"Identifier "Generic Monitor"HorizSync 30.0 - 70.0VertRefresh 50.0 - 160.0Option "DPMS"EndSection

    After editing your xorg.conf you need to re-start X: Ctrl-Alt-Backspace
    This will bring you to the log-in screen (GDM).

    Step 3.
    Screen section

    If this fails, next reduce the color depth:
    Again open xorg.conf with an editor (vi, nano, gedit)

    This time you are looking for the "Screen" section:
    Quote:
    Section "Screen"
    Identifier "twinviewscreen"
    Device "twinview"
    Monitor "Monitor1"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 32
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection
    1. Reduce the DefaultDepth (this is color depth, 16 is more then adequate for most people and 24 may be excessive).
      Change it to 16:
      Code:
      DefaultDepth 16    Subsection "Display"        Depth       16        Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"    EndSubsection
    2. Make sure the Subsection "Display" lists your desired resolution.
      On occasion I have "fooled" X into giving me my desired resolution by setting the resolution 1 step higher.
      If you are not sure, you can use "1600x1200" and reduce it later.

    After editing your xorg.conf you need to re-start X: Ctrl-Alt-Backspace
    This will bring you to the log-in screen (GDM).

    Comments (0)  Permalink
    1-5/5