You are currently browsing the category archive for the ‘linux’ category.

Here is a great link to install the latest version of ffmpeg. http://www.apaddedcell.com/installing-the-latest-ffmpeg-on-ubuntu-feisty-fawn-7-04

I have been using DVD::RIP to convert VOB Files to MPEG. But, with the older version for some reason I kept getting a  strobe effect along the top for the first 20 seconds. weird? But, when installing the latest version of ffmpeg it converted like a champ.

Here is a guide found from http://news.softpedia.com/news/How-to-Install-Compiz-Fusion-on-Ubuntu-58113.shtml.

How to Install Compiz Fusion on Ubuntu

– For GNOME and KDE users

By: Marius Nestor, Linux Editor

Cube reflection
Enlarge picture

We talked a few days ago about the Compiz and Beryl mergence and the name of the newly born project resulted from this fusion, Compiz Fusion. The Compiz Fusion project tries to bring us all the latest 3D technologies, such as Cube reflection, paint fire on your desktop and a lot of new eye candy animations.

The following guide will teach you (step by step) how to install Compiz Fusion on your Ubuntu (Kubuntu) 7.04 operating system. Be aware that Compiz Fusion is still in heavy development, so it may not be very stable. For me (at this moment) it’s pretty stable, as I didn’t encounter any bugs.

Open a terminal (Applications -> Accessories -> Terminal for GNOME users or KMenu -> System -> Konsole for KDE users) and type:

CODE


sudo apt-get -y remove compiz-core desktop-effects

Leave the terminal open and go to System -> Administration -> Software Sources, click on the second tab (Third-Party Software), then click on the “Add” button and paste the following code:

CODE


deb http://download.tuxfamily.org/3v1deb feisty eyecandy

Click the “Add Source” button after you pasted the above code and do the same for the following code:

CODE


deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy

Don’t close the Software Sources window yet!

In the terminal window, type:

CODE


wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg

CODE


sudo apt-key add DD800CD9.gpg

Now click the “Close” button on the Software Sources window and you will be asked if you want to reload the information about available software, so click the “Reload” button and wait for the window to disappear.

Copy/Paste the following lines in the terminal window:

CODE


sudo apt-get update

sudo apt-get -y upgrade

FOR GNOME USERS:

CODE


sudo apt-get -y install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-gconf

FOR KDE USERS:

CODE


sudo apt-get -y install compiz compiz-kde compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-kconfig

Now, if everything was correctly installed and you didn’t encounter errors, press ALT+F2 and type:

CODE


compiz --replace

That’s it! Enjoy the latest 3D eye candy effects on your (K)Ubuntu OS.

Some quick tricks:

– Hold CTRL + ALT keys and with the left mouse button rotate the cube
– Super + E activates the Expo plugin
– Hold Super + Shift and with your mouse paint fire on your desktop
– Super + Shift + C will erase the fire paint
– Super + Tab activates the Ring Switcher plugin

Now, I was having the damnest time with font rendering. I installed almost every font I could get for Feisty (for graphics design). Now, in Firefox, code snippets would be unreadable. I tried to change the Fixed font in Gnome. Then I tried to change the font in firefox’s preferences. Nothing. After a little bit of research, here is my solution:

1. Create a file ~/.fonts.conf

2. Paste:

<?xml version=”1.0″?>
<!DOCTYPE fontconfig SYSTEM “fonts.dtd”>
<fontconfig>

<!– Give all fonts light hinting and subpixel smoothing –>
<!–
<match target=”font”>
<edit mode=”assign” name=”rgba”>
<const>rgb</const>
</edit>
<edit mode=”assign” name=”hinting”>
<bool>true</bool>
</edit>
<edit mode=”assign” name=”hintstyle”>
<const>hintslight</const>
</edit>
<edit mode=”assign” name=”antialias”>
<bool>true</bool>
</edit>
</match>
–>

<!–
<match target=”font”>
<test qual=”all” name=”rgba”><const>unknown</const></test>
<edit name=”rgba” mode=”assign”><const>rgb</const></edit>
</match>
–>

<!–  Do not smooth Fixedsys  –>
<match target=”font”>
<test name=”family”>
<string>FixedsysTTF</string>
</test>
<edit name=”antialias”>
<bool>false</bool>
</edit>
</match>

<!–  Do not smooth Tahoma 8pt and under  –>
<match target=”font”>
<test name=”family”>
<string>Tahoma</string>
</test>
<test compare=”less” name=”size” qual=”any”>
<double>9</double>
</test>
<edit name=”antialias”>
<bool>false</bool>
</edit>
</match>

<!–  Do not smooth Times New Roman or Courier New for 12pt and under  –>
<match target=”font”>
<test name=”family”>
<string>Times New Roman</string>
</test>
<test compare=”less” name=”size” qual=”any”>
<double>13</double>
</test>
<edit name=”antialias”>
<bool>false</bool>
</edit>
</match>

<match target=”font”>
<test name=”family”>
<string>Courier</string>
<string>Courier New</string>
<string>Courier 10 Pitch</string>
</test>
<test compare=”less” name=”size” qual=”any”>
<double>11</double>
</test>
<edit name=”antialias”>
<bool>false</bool>
</edit>
</match>

<!– Do not autohint Courier New, Fixedsys, Tahoma, or Times New Roman –>
<match target=”font”>
<test name=”family”>
<string>Courier New</string>
<string>Times New Roman</string>
<string>Tahoma</string>
<string>FixedsysTTF</string>
</test>
<edit mode=”assign” name=”hintstyle”>
<const>hintslight</const>
</edit>
<edit mode=”assign” name=”autohint”>
<bool>false</bool>
</edit>
</match>

<match target=”pattern”>
<test qual=”any” name=”family”>
<string>Bitstream Vera Sans</string>
</test>
<edit name=”family” mode=”assign”>
<string>Arial</string>
</edit>
</match>
<match target=”pattern”>
<test qual=”any” name=”family”>
<string>Helvetica</string>
</test>
<edit name=”family” mode=”assign”>
<string>Arial</string>
</edit>
</match>
<match target=”pattern”>
<test qual=”any” name=”family”>
<string>Palatino</string>
</test>
<edit name=”family” mode=”assign”>
<string>Georgia</string>
</edit>
</match>
</fontconfig>

Works like a charm.

During my daily use of linux, I use the terminal anywhere from 2 to 10 tens a day. Found a great little program. Tilda. I setup the hotkey (F10) and it drops down for quick use and hardly takes up any memory. Highly recommended.

Ubuntu: sudo apt-get install tilda
Others: tilda.sourceforge.net/

Tilda at work

Damn! When I install Ubuntu Edgy, everything worked out of the box for me on my Dell Inspiron 6000 (1.73ghz, 1gb RAM, i915 Video, ipw2200 wireless). It was nice. The wireless worked no problems (Fedora 3-6 I had to configure Network-Manager and install firmware). Suspend & Hibernate worked just fine. Well, after about three weeks, I had this problem, where I didn’t do any updates & install anything new. I was happy with my system as it was. But, the suspend/hibernate functions quit working.

When, I would suspend, it would goto standby just fine. Then I would either open the laptop lid or press the power button to start it back up, and it would hang when trying to load the X Server. Now, I looked at every possible problem. Maybe, my grub settings where wrong, an error in the xorg.conf file or how about the /etc/defaults/ folder?

Today, I had a few minutes to play around with it. Later today, I have a meeting and not a lot of battery life, so I wanted to have the presentations all ready to go, then resume. I played around with the VBERestore=true option in the xorg.conf file. No difference. After going through all of the system logs, I noticed ‘Resume Failed’ after trying to load the ieee architecture with works with the ipw2200 wireless drivers. So I played around with the /etc/defaults/acpi-support file. I added ‘STOP_SERVICES=”network-manager 915resolution”.  And nothing. So then I added ‘nm-applet’ to the STOP_SERVICES. Works like a charm. No more problems, suspends & hibernates.

July 2021
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Blog Stats

  • 9,047 hits