Ubuntu Experiences Database

Ubuntu Edgy (ATI) Installation Guide (cline)

Posted by maximillan on January 5, 2007

for some people, commandline install for Ati graphic cards in ubuntu edgy

Read More..

Posted in Drivers, Howto, linux, ubuntu | Leave a Comment »

Installing Adobe Photoshop 7.0

Posted by maximillan on December 16, 2006

first, install wine > Install Wine in Ubuntu

then,

sudo wine /media/cdrom/Setup.exe

install with default options

Type

sudo gedit /etc/X11/xorg.conf

and Delete these Lines

Section “InputDevice”
Driver “wacom”
Identifier “stylus”
Option “Device” “/dev/wacom” # Change to
# /dev/input/event
# for USB
Option “Type” “stylus”
Option “ForceDevice” “ISDV4” # Tablet PC ONLY
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “eraser”
Option “Device” “/dev/wacom” # Change to
# /dev/input/event
# for USB
Option “Type” “eraser”
Option “ForceDevice” “ISDV4” # Tablet PC ONLY
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “cursor”
Option “Device” “/dev/wacom” # Change to
# /dev/input/event
# for USB
Option “Type” “cursor”
Option “ForceDevice” “ISDV4” # Tablet PC ONLY
EndSection

and these in the “ServerLayout” Section at the bottom of the file.

InputDevice “stylus” “SendCoreEvents”
InputDevice “cursor” “SendCoreEvents”
InputDevice “eraser” “SendCoreEvents”

lastly create shortcut on desktop, enter these to command box

wine "c:\Program Files\Adobe\Photoshop 7.0\Photoshop.exe"

Posted in applications, Howto, linux, ubuntu | 2 Comments »

Mounting mdf/mds Images

Posted by maximillan on December 13, 2006

not possible, but convert to iso and mount them.

converter:

http://freshmeat.net/projects/mdf2iso/

apt-get install mdf2iso

Posted in Howto, linux, ubuntu | 5 Comments »

Mounting Iso Images

Posted by maximillan on December 13, 2006

Applications -> Accessories -> Terminal

sudo mkdir /media/iso

sudo mount -t iso9660 -o loop filename.iso /media/iso

Posted in Howto, linux, ubuntu | Leave a Comment »

Moblock (peerguardian linux alternative)

Posted by maximillan on December 13, 2006

MoBlock and Peerguardian are both applications that enable you to block internet traffic based on large lists of ip address ranges in order to protect your privacy.

http://moblock-deb.sourceforge.net/

to install:

Add to /etc/apt/sources.list

deb http://moblock-deb.sourceforge.net/debian unstable main

deb-src http://moblock-deb.sourceforge.net/debian unstable main

Run these commands (on command line) to accept the new entries in sources.list. Adding the key to the apt keyring may be optional depending on your system’s settings.

gpg --keyserver subkeys.pgp.net --recv DEDA0559

gpg --export --armor DEDA0559 | sudo apt-key add -

sudo apt-get update

and

sudo apt-get install moblock-nfq

now little config:

Open /etc/cron.daily/moblock-nfq and go to line 34. One line is commented (#), one is not. inverse them like this


BLOCKLISTS="ads-trackers-and-bad-pr0n level1 level2 Microsoft spyware "
#BLOCKLISTS="nipfilter.dat ads-trackers-and-bad-pr0n"

and restart moblock to settings in effect

sudo /etc/init.d/moblock restart

done!!!

Posted in applications, Howto, linux, ubuntu | Leave a Comment »

Remove GUI Animations – Gnome

Posted by maximillan on December 13, 2006

to remove gui animations on gnome (opening/closing/minimizing)

gconf-editor

find /apps/metacity/general
and check “reduced_resources”

now gnome works well with beryl

Posted in Eye-candy, Howto, linux, ubuntu | Leave a Comment »

UDF support

Posted by maximillan on December 11, 2006

Ubuntu no support for UDF on default install,today we going to install UDF support tools.
easy as usual

universal disk format

sudo apt-get install udftools

what the heck is udf ? > wiki

Posted in Howto, ubuntu | Leave a Comment »

access ext3/ext2 volumes on windows

Posted by maximillan on December 10, 2006

in rare circumstances (system crash eg.) you may be want access ext3 / 2 volumes on windows. at this time this driver comes to help.

* Complete reading and writing access to files and directories of volumes with the Ext2 or Ext3 file system.
* Supports features which are specific to the I/O-system of Windows: Byte Range Locks, Directory Notification (so the Explorer updates the view of a directory on changes within that directory), Oplocks (so SMB clients are able to cache the content of files).
* Allows Windows to run with paging files on Ext2 volumes.

Download: Ext2 Installable File System For Windows 460kb

Posted in Drivers, Howto, ubuntu | Leave a Comment »

Howto Install Logitech Mx310 mouse

Posted by maximillan on December 6, 2006

In the Terminal window:

gksudo gedit /etc/X11/xorg.conf

find Section “InputDevice”

and enter:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
EndSection

done !!, now 5 button working.

Posted in Drivers, ubuntu | 3 Comments »

Installing Java

Posted by maximillan on December 6, 2006

enter these commands to terminal window

gksudo gedit /etc/apt/sources.list

check these lines

deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

if cannot find them, add to end of the file. save it.

and enter command again to terminal window

sudo apt-get install sun-java5-jre

done !!

Posted in Howto, ubuntu | Leave a Comment »

Improved subpixel font rendering packages

Posted by maximillan on December 5, 2006

if you want ‘windows-like’ font rendering in ubuntu, just follow the steps.

before > after

open up System -> Administration -> Software Sources from the menu

click on the Third Party tab and click
the Add button.

Copy the following info and click Add Sources.

deb http://www.elisanet.fi/mlind/ubuntu edgy fonts
deb-src http://www.elisanet.fi/mlind/ubuntu edgy fonts

now open Terminal window enter these:

gpg –recv-keys 937215FF
gpg –export –armor 937215FF | sudo apt-key add –

sudo apt-get update

sudo apt-get dist-upgrade

and lastly :

sudo dpkg-reconfigure fontconfig-config

Be sure to set subpixel rendering to “always” on the second screen (and bitmap fonts to “No”). The amount of hinting applied can be adjusted in the Gnome Font Settings dialog.

also consider : commandline way to install this packages (easier)

good luck (:

Posted in Eye-candy, Howto, ubuntu | Leave a Comment »

Install Wine in Ubuntu

Posted by maximillan on December 5, 2006

System->Administration->Synaptic Package Manager) and selecting Settings->Repositories. Then click add, select custom, and enter one of the following:

For Ubuntu Edgy (6.10):

deb http://wine.budgetdedicated.com/apt edgy main

and open up Terminal run

apt-get update

to update APT’s package information. Finally, to install Wine, do

apt-get install wine

done !!

if you want configure Wine settings,

Winecfg

if u want detailed information:

Wine user guide

Posted in Howto, ubuntu | 1 Comment »

Ubuntu Edgy (Nvidia) Installation Guide

Posted by maximillan on December 5, 2006

this article covers ubuntu edgy nvidia driver installation.

Read More..

Posted in Drivers, ubuntu | Leave a Comment »

Installing Beryl and Xgl

Posted by maximillan on December 5, 2006

Installing Xgl and Beryl in (X)ubuntu Edgy Eft is simple. just follow the steps:

This article covers graphical installation, also consider this :

How-to Installing Beryl and Xgl on Ati Graphic Cards (cline)

The Xgl X server requires 3D video acceleration. Most graphics cards should automatically support 3D acceleration in Edgy Eft; some graphics cards might need some tweaking though.

You can check whether direct rendering is enabled by invoking

$ glxinfo | grep direct

if something like:

direct rendering: Yes

For ATI Graphics-Card you can check with:

$ fglrxinfo

then you’re ready to install Xgl and Beryl. If it doesn’t, you might need to install the appropriate driver for your graphics card

check
Ubuntu Edgy (ATI) Installation Guide
Ubuntu Edgy (Nvidia) Installation Guide

The first thing we should do is to add the needed repositories to your
Ubuntu installation, this is done by starting
System -> Administration -> Software Sources from the menu

Now click on the Third Party tab and click
the Add button.

Copy the following info and click Add Sources.

deb http://ubuntu.beryl-project.org/ edgy main

Now we need to download and install the key used to verify the packages we are going to install are genuine, right click on this link and select Save Link As…
to save the key file needed.

if this is not work try this in terminal:


$ wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add –
$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add –

Save the file on your computer, but remember where, I save it on my Desktop.

Then select the Authentication tab from the Software Sources program and click the Import Key File button to import the file.

Browse to the root@lupine.me.uk file, select it and
press OK to import.

Click Close to exit.

Now a dialog should ask you to reload your repositories, click Reload.

Free Image Hosting at www.ImageShack.us

If you see this notification when the reload is completed you should update your system before continuing…

Next we need to install Beryl and Xgl.
For this we will use Synaptic which is a graphical front-end to our package management system.
Start Synaptic from the menu
System -> Administration -> Synaptic Package Manager.

Now we need to find and install 3 key packages xserver-xgl, emerald-themes and beryl. the easiest way to do this is by searching and selecting as show on the pictures.

Then click Apply to install the selected packages, and a Summary screen should appear where you have to click Apply once again, do this to continue the installation.

Next we need to create 2 new files in order to be able to run Xgl, for this we will again use gedit.

1. File – press Alt+F2 and run

gksudo gedit /usr/bin/startxgl

Copy this contents into the file, save the document and exit the text editor.

For ATI Cards:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch –exit-with-session gnome-session

(for Xfce(Xubuntu) …..session startxfce4)

For Nvidia Cards:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch –exit-with-session gnome-session

Now press Alt+F2 again and type and click Run

gksudo nautilus /usr/bin

for Xubuntu

gksudo Thunar /usr/bin

Find the file startxgl which we just created, this can be done by just writing startxgl.
Now right click on the file and select Properties and select the Permissions tab, and in the bottom there, check the box “Allow executing file as a program” and
then click Close.

2. File – again press Alt+F2 and run

gksudo gedit /usr/share/xsessions/xgl.desktop

And copy the following contents into this file.


[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl
Icon=
Type=Application

Save the document and exit the text editor.

The last changes we need is to get beryl to start up when logging in, this is done from the menu System -> Preferences -> Sessions under the tab Startup Programs we need to add the following entry

beryl-manager

Free Image Hosting at www.ImageShack.us

When you come to the login screen you will have to go down in the left corner and click sessions and select Xgl from the list and click Change Session.

Now you can login and try out Xgl and Beryl.

Free Image Hosting at www.ImageShack.us

By now you should see a fancy wobbely splash for Beryl, when it starts, and all the Beryl effects should be avaiable for you to use..

Posted in Eye-candy, ubuntu | 7 Comments »

Ubuntu Edgy (ATI) Installation Guide

Posted by maximillan on December 5, 2006

I ‘m completely moving this post to blogspot mirror,

why ? because stupid wordpress post editor.

can’t handle “”

anyway > Ubuntu Edgy ATI Installation Guide (fgrlx)

Posted in Drivers, ubuntu | 1 Comment »

Install rar support

Posted by maximillan on December 4, 2006

open up terminal

sudo apt-get install xarchiver

Download the latest rar http://files.rarlab.com/rar/rarlinux-3.6.0.tar.gz

Extract the contents.

sudo nautilus /usr/bin

Then copy the file “rar” to /usr/bin

you ONLY need that one file.

done!!

Posted in Howto, ubuntu | 1 Comment »

Install fonts on Ubuntu

Posted by maximillan on December 4, 2006

Install fonts on Ubuntu

1. Installing fonts for single login use
 1a. using kfontview
 1b. by hand
2. Installing fonts for system wide use
3. Installing Microsoft Windows Fonts (eg. Times New Roman)

1. Installing fonts for single login use

1a. using kfontview
The easiest way to install fonts is using kfontview. Try running “kfontview” from the command line.
If you do not have kfontview installed, as root run:

# apt-get install kcontrol

This will download a few dependencies, so if you are short on disk space or simply do not want to install KDE, use the instructions in step 1b

Run “kfontview” from the command line
From the kfontview window, open the font you have downloaded.
Click on the “Install” button
NOTICE: You will probably need to resize the window to see the “Install” button which is in the lower right hand corner.
Click on the “Personal” button

1b. by hand
If ~/.fonts does not exist, create it:

$ mkdir ~/.fonts


Copy the font, from the command line, run the following:

$ cp [fontfile] ~/.fonts


From the command line, run the following:


$ fc-cache -f -v ~/.fonts


or alternatively, log out, and log back in.


2. Installing for system wide use
Make the following directory as root:

# mkdir /usr/share/fonts/truetype/myfonts

Copy the font(s) into the newly created directory:

# cp [fonts] /usr/share/fonts/truetype/myfonts


Run the following:

# fc-cache -f -v


3. Installing Windows Fonts (eg. Times New Roman)

Make sure you have the “universe” repository added. If not, as root, modify your /etc/apt/sources.list and uncomment the deb line which will look something like this:

# deb http://us.archive.ubuntu.com/ubuntu dapper universe


Then update apt-get:

# apt-get update


Run the following as root:

# apt-get install msttcorefonts

Tested under Ubuntu Dapper.

taken from: link

Posted in Howto, ubuntu | 1 Comment »

Mac-style Menu Bar for GTK and Java/Swing applications

Posted by maximillan on December 4, 2006

hacked gtk2 to use mac-style menubars, and added panel applets for xfce (4.4+) and gnome.

GTK Patches: for gtk 2.10.x | 2.8.x | AUR

GNOME Panel Applet: see post http://ubuntuforums.org/showpost.php?p=1593123
Xfce Panel Applet (xfce 4.4): see post http://ubuntuforums.org/showpost.php?p=1586951 (need libwnck>=2.16)

Ubuntu Edgy Packages #1: Cwiiis’s http://chrislord.net/files/gtkmenubar/
Ubuntu Edgy Packages #2: flargen’s, see post http://ubuntuforums.org/showpost.php?p=1600937

Gentoo Packages: see post http://ubuntuforums.org/showpost.php?p=1672912
Lunar Linux Packages: see post http://ubuntuforums.org/showpost.php?p=1612710
Official Arch Linux packages (.tar.gz format): http://aquila.deus.googlepages.com/archlinuxpackages
(names are gtk2-aqd, gnome-macmenu-applet, xfce4-macmenu-plugin and xfce4-corner-plugin)

Screenshots (official):


Screenshots from zammi (left 2) and Cimi86 (right 1):

Environment variable GTK_MENUBAR_NO_MAC let you set a list app executable names to disable mac menubar for, separated by space (default "gnome-panel acroread"). Set it to 1 to completely disable mac menubar.

If you have KDE apps, set mac-style menubar [control center -> desktop -> behavior] and you will see it appearing in gnome or xfce panel applet. (be careful – the menubars will die when panel/applet quits)

To move/remove the panel applets, move mouse to the rightmost place, where you’ll see a flat button with no text inside, left-click on it to bring up the applet menu (right-click in xfce’s panel plugin). If you have turned on the title label, you can also get the menu by right-click on it.

Application compatibility:
– Perfect: Azuerus, Eclipse, Epiphany, Evince, Gaim, gFTP, GMPC, Listen, Nautilus, Terminal, Thunar, VMware, …
– Small problems: Bluefish, Evolution

– Big problems (need patch): all wxGTK-based programs, you would need my patches in here
– Crash: Acrobat Reader 7 (mac menubar disabled by default)

All the Alt+[A-Z] menu hotkeys cannot work with mac menubar – no fix yet.

To patch gtk2 manually:
0.Get gtk2 source
1.cd …../…./gtk+-2.10.X (X means the version number)
2.patch -p0 < ……./…./gtkmenubar.diff (gtkmenubar-2.8.diff)

3.configure and make & install

To build the panel applets:
0.Go to AUR entries: Xfce | GNOME
1.Download the files under "Source" box

2.See PKGBUILD for gcc arguments and install locations

My modifed GT4_white theme (gtk2, metacity, xfce) => http://www.deviantart.com/deviation/40625220/

For other themes, you can make the menubar thin (more accessible) by edit the /usr/share/themes/THEME_NAME/gtk-2.0/gtkrc, find the line style "menubar" {, and change the ythickness = XXX below it (inside the { and }) to ythickness = 0

taken from: link

Posted in Eye-candy, ubuntu | 2 Comments »