Archive for the ‘linux’ Tag

SD card mounting and right clicking in Thunar 1.2.2 via Linux Mint xfce

I just installed Linux mint xfce and I only have/had 2 problems. My SD card was not always mounted when I inserted it into the built in card reader. Go to Menu>Settings>Removable Drives and Media. Under Removable Drives I checked 3 options that seemed to have fixed the problem.
Mount removable drives when hot-plugged
Mount removable media when inserted
Browse removable media when inserted
Plus I installed pmount from the repositories.
All is well with auto mounting SD cards, media players and usb sticks.

I was trying to sort pictures into separate folder via Thunar 1.2.2. While right clicking files, the options menu would flash, then disappear. If I held the right mouse button down the menu would stay. That ain’t right. After scouring the Internet I found that changing the “Style” would fix this problem. Go to Menu>settings>Appearance and for the style select Xfce-4.6 . Fixed. Don’t know why but it’s fixed.

xfce version: 4.8.0
Thunar version: 1.2.2
I ran away in horror from Linux Mint 12 main edition do to bugginess and performance issues on my laptop. I’ll revisit version 13.

Speeding up Iceweasel

This is being done on Iceweasel 3.5.16,
which is what comes with Debian 6 (Squeeze)
Open Iceweasel and type about:config in the address bar and press Enter.
Promise that you’ll be careful.
Change the following preferences to the new values shown.
Change a setting by double clicking it.

browser.display.show_image_placeholders: false
network.prefetch-next: false
network.http.max-persistent-connections-per-server: 8
network.http.pipelining: true
network.http.pipelining.maxrequests: 8
network.dns.disableIPv6: true

That should do it.

Installing Urban Terror 4.11 on Debian Squeeze (64 bit)

I upgraded to Squeeze 64 bit, carried over the UT folder, started UrbanTerror and Crash! For some reason It would not run. I was running UT 4.1 on Debian Lenny (32 bit). Yes I did start the 64 bit launcher… Crashed! So I downloaded UT 4.11. Still crashed. It seems to be a bug, but I did find a fix.
Here > Optimized executable; builds of ioq3 engine for urt
I’ll reproduce it here in case that one goes away. I just merged the UT folder and the optimized folder. oq3-urt is the launcher.

I pretty much followed my old instructions here. I just had to merge in a few optimized files in the install folder.

The file below will download as ioq3-1807-urt-251210-linux64-tar.odt. After it is downloaded, rename it to ioq3-1807-urt-251210-linux64-tar.bz2

I had to change the extension to get it on the server.
ioq3-1807-urt-251210-linux64.tar.odt

Or just download it from here without having to change the file name: www0.org.

Extract ioq3-1807-urt-251210-linux64-tar.bz2 into urt’s executable binary directory (tar jxpvf in console or with a file manager).

run ./ioq3-urt (if it’s not executable, chmod +x)
ioq3-urt now starts the game.
You should be in business. I fixed my install.

Thanks again to www0.org for the help.

Installing Debian 6 (Squeeze)

I just installed Debian squeeze on 2 of my machines. I’ve documented the process the best that I could. I started to document the process since 5 (Lenny) came out so install would be a no brainer. I’ve decide to put it out there/here in pdf and odt format. Why? Because I think it’s easier to read… plus with the odt, you can save and change the process to fit your situation. Ayway there they are. Use any pdf reader to view the pdf and use LibreOffice to view the odt.

Debian_Squeeze _Setup.odt
Debian_Squeeze _Setup.pdf

OK, I copy and pasted the document below. I would still open one of the above documents on go off of that. It looks the way I want it to in the above documents. If I make any major changes to the document, I’ll make another post.
I actually did the 2nd machine/install with the netinstall from a usb stick. The process is the same.

Like I’ve always said, this site is mainly notes for myself.
My notes are your notes…

Debian Squeeze Setup
November 9th 2011

I will be installing Debian Squeeze with the 1st installation DVD. The first one is all I need for
my needs. It gives me the basic Gnome desktop install and I’ll add the rest later. Lets start.
Put DVD in drive and boot/reboot machine. I choose the “install” option. There is a “Graphical
install” but I prefer the old one. It’s pretty looks the same but I prefer the old one. A few screens with
answers.
Select a language: English
Select your location: United States
Select a keyboard layout: American English
Configure the network:
Hostname: debiandesktop
I put debian desktop because this machine will me my main desktop. Command prompt will
look like this terry@debiandesktop . Put whatever you want.
Domain name: ___________
I leave this one blank.
Set up users and passwords:
Root password: ***********(use a good password)
Re-enter password to verify: ***********
Full name for new user: terry
Username for your account: terry
I t auto filled that one.
Choose a password for the new user: **********
Re-enter password to verify: **********
Select your time zone: Central
Partition Disks:
Partitioning method:
“Guided – use entire disk” (my choice)
Select disk partition:
“select the partition”
Partitioning scheme:
“All files in one partition” (recommended for new users) (my choice)
This screen has the partitioning overview. If everything looks good, Select:
“Finish partitioning and write changes to disk.”
Write changes to disk?:
“Yes”
Base system is installed/installing (Installing base system)

Configure the package manager
Your CD or DVD has been scanned: “More CD/DVD scanning options. We only have 1 DVD”
Scan another CD or DVD now?:
“No”
Use a mirror?:
“Yes”
Debian archive mirror country:
“United States”
Debian archive mirror:
“ftp.uwsg.indiana.edu”

HTTP proxy information (blank for none):
“blank”
Configuring popularity contest: “no”
Software selection:
*Graphical desktop environment
*SSH Server
*Standard system utilities

45mins later…

Install the GRUB boot loader on a hard disk
Install the GRUB boot loader to the master boot record?:
“Yes”
Finish installation (disk is ejected)
“continue”
System Reboots

Log in!

Debian Squeeze setup

First thing I do is open up Iceweasle and install xmarks. I use it to sync bookmarks.

**Add myself to the sudoers list.
Open up a terminal and type:
su
Then enter the root password.
Now in the terminal, type:
visudo
Now add your username to the list.
Under:
root ALL=(ALL) ALL
add
terry ALL=(ALL) ALL
It should look like this:
root ALL=(ALL) ALL
terry ALL=(ALL) ALL
Now press Ctrl +x and when prompted to save, press y. Then press Enter.

**Add Repositories
In a terminal type:
cd /etc/apt
Then type:
sudo gedit sources.list
Type your password.
Your sources.list file should look something like this:

# deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ – Official i386 DVD Binary-1 20110322-
15:11]/ squeeze contrib main

deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ – Official i386 DVD Binary-1 20110322-15:11]/
squeeze contrib main

deb http://ftp.uwsg.indiana.edu/linux/debian/ squeeze main
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

# squeeze-updates, previously known as ‘volatile’
deb http://ftp.uwsg.indiana.edu/linux/debian/ squeeze-updates main contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ squeeze-updates main contrib

Change them to look like this:

# deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ – Official i386 DVD Binary-1 20110322-
15:11]/ squeeze contrib main

#deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ – Official i386 DVD Binary-1 20110322-15:11]/
squeeze contrib main

deb http://ftp.uwsg.indiana.edu/linux/debian/ squeeze main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as ‘volatile’
deb http://ftp.uwsg.indiana.edu/linux/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ squeeze-updates main contrib non-free

# I added multimedia repo below
deb http://www.debian-multimedia.org squeeze main non-free

I put a # in front of the 2nd deb cdrom entry. We will not be updating from the CD/DVD rom drives. I
also added “contrib non-free” to the end of all of the existing entries. I also added a multimedia repo.
Check out this page http://debian-multimedia.org
There’s one more step after the update.
Now hit “save” and close the document. Open a terminal and type:
sudo aptitude update
It complained about a key. In a terminal type:
sudo aptitude install debian-multimedia-keyring
When asked, type the word “yes”
Done!

**Install flash
In a terminal type:
sudo aptitude install flashplugin-nonfree
Done! Freedom hater!

Install DVD playback packages:
sudo aptitude install libdvdcss2 w32codecs gstreamer0.10-lame gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly vlc

These are the individual packages in the previous string. Some might already be installed.
I added a few extra that I like.

libdvdcss2
w32codecs
gstreamer0.10-lame
gstreamer0.10-plugins-good
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-ugly
vlc
audacity
radiotray
convertall
chromium-browser
filezilla
handbrake-gtk
handbrake-cli

I’m now showing 15 updates available in the upper right notification area. I’ll go ahead and let it do it’s
thing. More in a bit.

Video Driver Installation (64 bit)
nvidia GeForce 7300 GT / 7600 GS

I’m installing the 195.36.31…. driver because that’s what’s available in the repos.
Using Synaptic Package Manager I installed:

nvidia-kernel-2.6.32-5-amd64 195.36.31+2+4+2.6.32-24 NVIDIA binary kernel module
for Linux 2.6.32.5-amd64
nvidia-kernel-common 20100522+1 NVIDIA binary module support files
nvidia-glx
nvidia-xconfig

Then from a terminal I ran:
sudo nvidia-xconfig

Using X configuration file: “/etc/X11/xorg.conf”.
VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
At least one Device section is required.
Backed up file ‘/etc/X11/xorg.conf’ as ‘/etc/X11/xorg.conf.backup’
New X configuration file written to ‘/etc/X11/xorg.conf’

I then rebooted. I usually get the NVIDIA splash screen during the boot. I didn’t this time but I did verify that the driver is installed and working.

Now from Synaptic Package Manager I installed:
nvidia-settings
Your resolution should be set to auto which is the native resolution of the monitor. With the next command, you should be able to change that.
At a terminal type:
sudo nvidia-settings
to get to the NVIDIA X Server Settings window (GUI) to adjust settings. Everyones happy…. I hope.

“EVOLUTION” – Linux Commercial

Mozilla Thunderbird 2.x backup

Linux Mint 6 (Felicia)
Linux Mint 8 (Helena)
Mozilla Thunderbird 2.x

I just updated my dads laptop from Linux Mint 6 to Linux Mint 8. Actually, I Just installed 8 over 6. He uses Firefox web browser so I used xmarks to backup his bookmarks. He also uses Thunderbird… quite heavily. He has a pop account with verizon so he wanted all of his saved email/folders/settings moved to the new install. A little searching on the net and I found an easy solution. Before I wiped out Mint 6, I went into his home directory and copied his .mozilla-thunderbird folder to a thumb drive. It’s a hidden folder so you’ll have to select Show Hidden Files in Nautilus. It’s under View on the nautilus toolbar. The folder was around 700MB.

After I installed Mint 8, I checked to see if there was already a .mozilla-thunderbird folder in his home directory. Thunderbird is installed with the OS so I thought it might be there. It wasn’t there. That folder must be created when you set up an account. I copied his backed up .mozilla-thunderbird folder from the thumb drive to his home directory. I opened up Thunderbird for the first time and it was exactly like it was on Mint 6. Everything was there. Account settings… everything. Great. Email backup can’t get any easier.

ListGarden RSS Feed Generator

Debian 5 (Lenny)
Linux kernel: 2.6.26-2-686
Gnome: 2.22.3

Looking for an rss / podcast feed generator? This is a good one. It’s more predictable than the feed generator built into wordpress. More control.
I’m looking for and alternate feed for a podcast that I participate in. The Juiced Penguin. The feed that the wordpress plugin produces also includes posts that don’t have a podcast associated with it. I want a feed that is purely a podcast feed. I think ListGarden is it.
First we need to download the program.
ListGarden : The download is at the bottom of the page I linked to.
There are 3 versions to choose from. A Windows, Mac and generic perl version. Since we’re using Debian, we want the generic perl version (listgarden-1-3-1.tar).
I downloaded the tar file to my home folder. Now you can right click the (listgarden-1-3-1.tar) file and select Extract Here.
Or we can do it from the command line:
**************************************
Open a terminal window.
Application > Accessories > Terminal
Navigate to where you saved the list garden file (listgarden-1-3-1.tar).
When you open the terminal, you should be there if you saved it in your home directory. Type:
$ ls
And you should see the listgarden-1-3-1.tar file. Once your there, type:
$ tar -xvf listgarden-1-3-1.tar
**************************************

Either way should leave you with a listgarden folder in your home folder loaded with goodies.
Alright, now what? Start up the program.
The only way I’ve been able to start this thing up is from the command line. You have to open a terminal and navigate to where it is installed. In the home directory, in the listgarden folder. Type:
$ perl listgarden.pl
You should get this notice: To access UI, display in browser: http://127.0.0.1:6555/
Go to that address in your web browser and you’re in business.
I’m not going to explain how to use it but I do know that to save or use this program with saved rss feeds on another computer, all you do is save and move the listgarden folder. It’s that easy.

How to use ListGarden

Debian Lenny: System Sounds

Debian 5 (Lenny)
Linux kernel: 2.6.26-2-686
Gnome: 2.22.3

So far I don’t have system sounds working on my install. Sound does work, I just don’t have start-up and shut-down sounds. Things like that.
When I go to System > Preferences > Sound, and go to the Sound tab, play system sounds is checked. Still no system sounds. Let’s try this. Through synaptic, I installed gnome-audio and esound. Still no sound. I then, through synaptic, installed libesd-alsa0. Installing libesd-alsa0 replaces libesd-0. Now the system sounds work. If not… reboot. They should now.

Update: System/Gnome sounds are a bit annoying. I think I’ll turn them off.

Debian Lenny: Installing the Nvidia Driver the Debian Way

nvidia settings

nvidia settings

Debian 5 (Lenny)
Video Card: Nvidia GeForce 7300 GT
Linux kernel: 2.6.26-2-686
Gnome: 2.22.3

The following was done after I set up Debian. See my previous post.

The Nvidia site says I need the 185.18.31 driver.
I’m installing an older 173.14.09…. driver because that’s what’s available in the repos. You can install the 185.18.31 driver the Nvidia way but that’s much more involved. If I’m unhappy with the 173, I’ll do the 185 by hand.

Using Synaptic Package Manager I installed:
nvidia-kernel-2.6.26-2-686 (version: 173.14.09+3+lenny1)
nvidia-glx (version: 173.14.09-5)
nvidia-kernel-common (version: 20080825+1)
nvidia-xconfig

Then from a terminal I ran:
$ sudo nvidia-xconfig

That produced this:

Using X configuration file: “/etc/X11/xorg.conf”.
VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
At least one Device section is required.
Backed up file ‘/etc/X11/xorg.conf’ as ‘/etc/X11/xorg.conf.backup’
New X configuration file written to ‘/etc/X11/xorg.conf’

I then rebooted. I got the NVIDIA splash screen during the boot.
Driver install done.

Now from Synaptic Package Manager I installed:
nvidia-settings
Your resolution should be set to auto which is the native resolution of the monitor. With the next command, you should be able to change that.

At a terminal type: $ sudo nvidia-settings to get to the NVIDIA X Server Settings window (GUI) to adjust settings. Everyones happy…. I hope.

Some problems I have had in the past:
A Monitor out of range error is a HorizSync VertRefresh issue.
If this happens, you will find yourself at an unusable
scrambled screen. Type: ctrl-alt-f1
Now fix it. Open etc/X11/nano xorg.conf and make the
adjustments…or you might have installed the wrong driver. Doh!
Adjust your HorizSync VertRefresh to:
HorizSync 31.5 – 57.0
VertRefresh 50.0 – 70.0

Debian Lenny setup

Screenshot
Ok. A fresh install of Debian Lenny. I used the net install. I started the install and let it do it’s thing. It took about an hour and a half with my connection. I went and watched Bourne Supremacy while it was installing. I’m not going to go over the install. There are a bunch of guides and examples on the net Here’s a link to a quick over view. Remember, you do want the base system and desktop environment installed.

Debian 5 (Lenny) Step-by-Step

First thing I want to do is add myself to the sudoers list. This is how.

Add user(me) to sudoers list. In a terminal type:
$ su
Then type in the root password.
Then type:
# visudo
Now you can add a username to the list.
Under: root ALL=(ALL) ALL
Add:Your_username ALL=(ALL) ALL
Now press Ctrl+X and press Y when prompted to save. Then press enter.
Now you should be on the sudo list.

ADDING REPOSITORIES.

In a terminal type:
$ su
Type in root password.
Then navigate to etc/apt
then type:
# nano sources.list

My sources list looked like this:

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

I changed to to this:

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

Now press Ctrl+X and press Y when prompted to save. Then press enter.
At a terminal type:
$ sudo apt-get update
Done.

AUTO MOUNT USB STICKS.

In a terminal type:
$ sudo apt-get install ntfs-3g
This will also mount external hard drives formatted as NTFS.
Done

INSTALL FLASHPLAYER PLUGIN

To do this we must add backports. Here’s how.
In a terminal type:
$ su
Type in root password.
Then navigate to etc/apt
then type:
# nano sources.list
Add this to the source list.
deb http://www.backports.org/debian lenny-backports main contrib non-free
Now press Ctrl+X and press Y when prompted to save. Then press enter.
At a terminal type:
$ sudo apt-get update
Now from a terminal type:
$ sudo apt-get install debian-backports-keyring
Press y when asked.
Now the backports work. Lets install flash.
In a terminal Type:
$ sudo apt-get install flashplugin-nonfree
Press Y when prompted.
Done.
Now you are officially a freedom hater. Congratulations.
That’s enough for tonight.