Tuesday, November 28, 2006

dvd::rip

so I gave up on the Window's AutoGK thing and I am going to try out dvd::rip
I followed this guide http://gentoo-wiki.com/HOWTO_DVD-Ripping , http://gentoo-wiki.com/TIP_DVD-Rip

I'll let you know how it goes after tonight when I try and rip and compress a few videos

******UPDATE******
Well dvd::rip is nice it copies vobs and turns them into avis but here are my compaints... or maybe my lack of skills

1) The transcoding process took nearly 12 hours... I did set it how the tutorial told me though and how it wanted it was to go slow and accurate

2) Well I thought that going slow and accurate would have been a good choice but audio and video were off by a few micro sec. This was not totally a bad thing since with xine I can tune it... BUT I am not always going to use this machine to play videos once I can afford the media center pc that I want. I guess I will have to find out how to make the audio and video sync better maybe I'll try a rip with default settings and give that a go!

Wednesday, November 22, 2006

ERROR: kde-base/kde-env (is blocking kde-base/kdelibs-3.5.5-r5)

Well today I am greeted with a nice new error. I am so glad that linux is finding new ways not to work for me!

EXAMPLE!!!
mason@localhost ~ $ sudo emerge -av kscreensaver

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B ] kde-base/kde-env (is blocking kde-base/kdelibs-3.5.5-r5)
[ebuild U ] kde-base/arts-3.5.5 [3.5.2-r1] USE="alsa esd mp3 xinerama -artswrappersuid -debug -jack -kdeenablefinal -kdehiddenvisibility -nas -vorbis" 944 kB
[ebuild U ] kde-base/kdelibs-3.5.5-r5 [3.5.2-r6] USE="alsa arts cups ssl xinerama -acl -debug -doc -fam% -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -lua% -openexr -pertty% -spell -tiff -utempter% -zeroconf" LINGUAS="-he%" 15,159 kB [1]
[ebuild N ] kde-base/kscreensaver-3.5.5 USE="arts opengl xinerama -debug -kdeenablefinal -kdehiddenvisibility" 23,292 kB

Total size of downloads: 39,397 kB
Portage overlays:
[1] /usr/portage/local/layman/xeffects

!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

mason@localhost ~ $ sudo emerge -av Microsoft Windows XP Super Virus Mega Pack (Linux Port)

Now I need to find out how to make things work again... I get this error with man other kde emerges.

******UPDATE******
Well I got it up and running in about 10min of googling
" kde-env is not required (and is in fact incompatible) with the new kdelibs. Do "emerge -C kde-env" to remove kde-env and resolve these" - http://www.mail-archive.com/gentoo-amd64@lists.gentoo.org/msg06446.html

and also in the gentoo handbook it said to try and remove a conflicting package... but I did not want to mess up my system so I had to have some extra encouragement!

- mason

Monday, November 20, 2006

All You Do Is WINE About Windows!!!

So I have a few Windows apps that I need to run. I'll install WINE!
sudo emerge -av wine
Once wine is installed I followed this guide http://www.winehq.com/site/docs/wineusr-guide/index
IF I CAN READ YOU CAN TOO (I'll just list my problems)

Installing AutoGK:
wine "c:\program files\autogk\autogordianknot.2.27.setup.exe"
when I did that it ful screened and I couldn't do anything so I had to kill it
ps ax |grep wine < showed the wine server I killed it
ps ax |grep auto < showed the executable running i kill it and then i had my screen back

it looks like another guy has the same problem
http://forum.doom9.org/showthread.php?t=64266&page=99&pp=20

Looks like I will have to update this once I figure it out...

******UPDATE******
Well I tried cpuz.exe with WINE and that worked... so autoGK must just be the way it was made!
With autoGK I also tried to "Press Enter" and some "ALT + [Letter]" combinations but nothing worked for me!

- mason

Wireless Atheros Startup Script

Since I have Gentoo I need to make a script to startup wireless... I dont want it to start all the time though so I wont let it start at boot with "rc-update" I will just "sudo ./madwifi" to get it up and running
##################################################
#!/bin/bash
modprobe ath_pci rfkill=0 ### rfkill=0 disables pin13 on the minipci card so that the card is always enabled
modprobe ath_hal
modprobe wlan
modprobe wlan_wep
modprobe wlan_tkip
modprobe wlan_ccmp
modprobe wlan_xauth
modprobe wlan_acl
modprobe wlan_scan_ap
modprobe wlan_scan_sta
modprobe ath_rate_sample
ifconfig ath0 down
ifconfig ath0 up
iwconfig ath0 mode managed
dhcpcd ath0
##################################################

Just as a note I built the madwifi-ng by hand I did not use "emerge" if that makes a difference I am not sure.

"Monitor Goes Black When X Starts"

To fix this problem where the vga-out is the default screen I will edit the /etc/X11/xorg.conf file and add ***One*** line.

Section "Device"
Identifier "Card0"
Driver "radeon"
#BusID "PCI:1:0:0"
#Option "DynamicClocks" "on"
#Option "MergedFB" "true"
#Option "CTR2Position" "LeftOf"
# VideoRam 131072
Option "MonitorLayout" "LVDS, AUTO" ###this is the line that will enable your monitor
# Insert Clocks lines here if appropriate
EndSection


I have a problem when I do this though it makes it nearly impossible for me to have dual-head support. I suppose that my next task is finding out how to make a laptop screen the defualt instead of the vga-out!

P.S. I think this is a common problem with the "Radeon Mobility x700" cards on laptops.

- mason

Sunday, November 19, 2006

/etc/make.conf

I just thought I would keep a backup of my make.conf here(I will also update this frequently)...
##########################################
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="a52 avi rar aspell-en aspell gtkspell vlc xine pykde librsvg qt libcaca aalib mplayer qt3 pyqt3 PyQt pdf python 3dnowext xvid oss encode fame mpeg ogg quicktime subtitles vo
rbis dv dvdread divx4linux dts live mad acpi mplayer madwifi xinerama X dbus hal alsa qt3 arts esd bzip2 kde -gnome ieee1394 pcmcia png jpg jpeg samba sse sse2 gtk truetype mmx 3
dnow 3dnowext wifi win32codecs opengl xgl cairl glitz pango dvd dvdr dvdrw cdr cdrw mp3 firefox nsplugins"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
VIDEO_CARDS="radeon vga vesa"
LINGUAS="en"
INPUT_DEVICES="keyboard mouse"
source /usr/portage/local/layman/make.conf

###########################################

Mplayer ASCII Fun!

Alright, so I want to play videos in ASCII! I need to compile Mplayer with libcaca(color) and aalib(black &white) so I'll add libcaca and aalib to my USE="" since I use gentoo. Now I'll "sudo emerge -av mplayer" and say "Yes". Okay now Mplayer is ready for me to enjoy movies in ASCII!!! Let me tell Mplayer "mplayer -vo caca videos/movies/Pulp.Fiction.avi" WOO HOO it worked in color now let me try black & white "mplayer -vo aa videos/movies/PulpFiction.avi" YES that worked too now let me try it in a terminal (ctrl+alt+F1) "mplayer -vo caca videos/movies/Pulp.Fiction.avi" HUMMM Mplayer is generation some numbers at the same time let me try this "mplayer -quiet -vo caca videos/movies/Pulp.Fiction.avi" Good it works! All I need to try now is if it works over ssh and if it will work on Windows PUTTY (for ssh).

******UPDATE******
Yes mplayer does work over SSH and PUTTY.

Off to bed...

Mason