LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2005, 07:26 PM   #1
xbennyboy
Member
 
Registered: Jul 2004
Distribution: openSUSE 10.2
Posts: 141

Rep: Reputation: 15
$PATH, vlc, and monitor woes in suse 10. HELP!!!


I recently upgraded to SuSE 10.0 OSS and so far I have to say I am relatively happy with it. It's speedy, has great features, and looks awesome. However, I have three problems with SuSE 10.

(#1)
I looked through my /etc/profile file to configure my $PATH variable so that my console would recognize java.
Code:
#
# Make path more comfortable
#
if test -z "$PROFILEREAD" ; then
    PATH=/usr/share/jdk1.5.0_03/bin:/usr/share/netbeans-4.1/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin
    if test "$HOME" != "/" ; then
	for dir in $HOME/bin/$CPU $HOME/bin ; do
	    test -d $dir && PATH=$dir:$PATH
	done
    fi
    if test "$UID" = 0 ; then
	test -d /opt/gnome/sbin && PATH=/opt/gnome/sbin:$PATH
	test -d /opt/kde3/sbin  && PATH=/opt/kde3/sbin:$PATH
	PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
    fi
    for dir in  /var/lib/dosemu \
		/usr/games \
		/opt/bin \
		/opt/gnome/bin \
		/opt/kde3/bin \
		/opt/kde2/bin \
		/opt/kde/bin \
		/usr/openwin/bin \
		/opt/cross/bin
    do
	test -d $dir && PATH=$PATH:$dir
    done
    unset dir
    export PATH
fi
Problem is this only changes the $PATH for my regular user accounts, not root. How do I change the PATH for root? Any suggestion appreciated!

(#2)
I tried to install vlc (which i think is an awesome media player kudos to the guys at videolan) via the RPM. Problem is they don't have a SuSE 10.0 version. I downloaded the latest SuSE 9.3 version and tried to install it, but it required me to downgrade my FLAC to libFLAC.so.6 when I have libFLAC.so.7 and it also required me to install wxGTK which is not present in any of the repositories that I have. Any tips on which repositories to add? alternative installation method?

(#3)
Using SaX2, I configured my monitor, which is a 15 inch LCD with H: 30-60Khz and V: 56-75Hz. In the Change monitor dialog, I picked 1024@768 @ 60 but that mode didn't work when I switched my resolution to 640X480 or 800x600. Next I tried 1024x768 @ 75 but that was worse. Finally I switched back to the first option and I manually inputed the horizontal and the vertical ranges listed above. Problem is at 1024x768, the vertical refresh rate is only at 73Hz. I can't get it to 75Hz or better yet 60Hz (with my monitor it's better at lower refresh rates, I dunno why). You see I have a Windows partition and a Linux partition. My Windows partition is set at 60Hz, when i switch to Linux it goes to 73 Hz and the screen shifts to the left with a small portion completely off the LCD, forcing me to press the auto adjust button every time. My Windows can't set my monitor to 73 Hz, only 60, 70, and 75. Any tips on how I can adjust my monitor in Linux so that it is 75 or 60, so that I can make it match Windows?

PLEASE HELP! I am not quite a so feel free to use most technical terms if you want!
 
Old 10-20-2005, 10:13 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
#1 - should be in /.profile ... me thinks (not /etc/profile)

cheers
 
Old 10-22-2005, 02:06 AM   #3
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
You could try using the gtf program to produce a pair of modelines for 60hz and 75hz.
gtf 1024 768 60 -x
gtf 1024 768 75 -x
 
Old 10-25-2005, 10:42 PM   #4
xbennyboy
Member
 
Registered: Jul 2004
Distribution: openSUSE 10.2
Posts: 141

Original Poster
Rep: Reputation: 15
Yeah, actually the $PATH config I have up there works. I just forgot to reboot. DOH! jschiwal, thank you so much, I used the gtf program to generate the modelines and then I put them into my xorg.conf file manually. It works GREAT! Everything works!!! 640x480, 800x600, you name it, it works!!! Hopefully SaX2 won't mess it up. After all it does say don't edit in the xorg.conf. Thanks all the help guys!!!

Now I just gotta wait for PackMan to create a vlc package for suse 10. Or compile it from source, but I hate doing that.

Last edited by xbennyboy; 10-25-2005 at 10:44 PM.
 
Old 11-08-2005, 12:53 AM   #5
void_linux
Member
 
Registered: Aug 2003
Distribution: SuSE
Posts: 73

Rep: Reputation: 15
Quote:
Originally posted by xbennyboy
Now I just gotta wait for PackMan to create a vlc package for suse 10. Or compile it from source, but I hate doing that.
Try:
http://www.linux-administrator.com/
Go to RPM Packages, and select the .i586 version for SuSE-10.0. It works for me.
 
Old 11-08-2005, 05:54 PM   #6
xbennyboy
Member
 
Registered: Jul 2004
Distribution: openSUSE 10.2
Posts: 141

Original Poster
Rep: Reputation: 15
Sweet! Thanks for all the help guys!!!
 
Old 11-10-2005, 05:52 AM   #7
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
FYI. On SuSE 9.3 at least, you should edit /etc/profile.local instead of /etc/profile to make global changes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC + SuSE 10 OSS Twaize Linux - Software 7 11-03-2005 10:53 AM
VLC for Suse Fraudulent Suse/Novell 3 02-20-2005 01:09 AM
vlc and kde sound woes bobbens Linux - Software 0 02-03-2005 04:02 PM
Sax2 / Xserver / Monitor woes Judah Linux - Hardware 5 01-05-2005 04:11 PM
$PATH woes... kontrabass Linux - Newbie 1 10-15-2003 10:33 AM


All times are GMT -5. The time now is 12:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration