LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2004, 07:12 PM   #1
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Has anyone managed to get tv out from ati control panel?


I have ati radeon 9600 pro properly configured(3d acceleration is oketc)I use my pc quite a lot of times for watching dvd´s on my tv.Doing the fglrxconfig way to c movies through my tv is quite painful. I was wondering if anyone manged to have tv output from ati´s control panel simply with a click. If yes which distro and what driver version do u have?
 
Old 06-14-2004, 08:52 PM   #2
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Instead of doing a 'fglrxconfig' every time you want to enable TV out.. .
Why not just find the line in your /etc/X11/XF86config-4 file?
Comment it out when you don't want to use it. . .
And uncomment it when you do.

Save the file each time.. Ctrl+Alt+backspace. and your good to go.
You could even write a script that does that for you. Bind the script to a launch button (depending on your desktop environment). Then bind a keystroke (ctrl+alt+backspace) to another button.

So in two clicks you will have TV out. How about that.
 
Old 06-15-2004, 02:24 AM   #3
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Sounds nice. But how can i do that ( i mean the script)?Has anyone else done that ? If yes how exactly?
 
Old 06-15-2004, 10:05 AM   #4
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Sigh. . ..

I was hoping you would figure this out on your own. (that's why my post was so cryptic)

But if you are asking then I will help. . .

A very quick and dirty way of doing this is:

As root,

copy your XF86config-4 file as it is now. (cp /etc/X11/XF86config-4 /etc/X11/XF86config-4.TVoff)
Then copy it again. (cp /etc/X11/XF86config-4 /etc/X11/XF86config-4.TVon)

Note what each name of the copies are. (.TVoff/.TVon)
So now you have three files.
Edit the .TVon file to use TV out. (you can do this by hand or just do the fglrxconfig again, set for TVout and then copy it over to the .TVon file again.)
Make sure that the .TVoff file is set to not use TVout.

Now it is time to make some scripts.

As user,

Save this to a text file and call it "TVon.sh" (minus the quotes)
Code:
echo Type in the root password to turn TV ON. (note: you must restart the X server)
su -c "cp /etc/X11/XF86config-4.TVon /etc/X11/XF86config-4"
exit
Save this to a text file and call it "TVoff.sh" (minus the quotes)
Code:
echo Type in the root password to turn TV OFF. (note: you must restart the X server)
su -c "cp /etc/X11/XF86config-4.TVoff /etc/X11/XF86config-4"
exit
Now place the text files somewhere safe.

run this command:
chmod +x /path/to/your/text/files/TVon.sh
and this:
chmod +x /path/to/your/text/files/TVoff.sh

Now it is time to make buttons for them.

I assume that you are using KDE (if not just fallow along anyway, you will get the idea)
right click on your KDE panel in an empty space. . .
Click
Add > Special Button > Non-KDE Application

Now in the box that popped up:
put /path/to/your/text/files/TVon.sh in the executable area.
and check off the Run in terminal button.
click ok.

Add > Special Button > Non-KDE Application

Put /path/to/your/text/files/TVoff.sh in the executable area.
and check off the Run in terminal button.
click ok.

Now you have two buttons on you panel. Give them different icons by right clicking one and going to properties.

When you click one, it will ask you for your root password. After entering the password the term will quit itself.

Just log out, and log in again and presto the changes are done.

Last edited by slackMeUp; 06-15-2004 at 10:07 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dri on ati mobility radeon m7 and 82845 intel agp chipset managed under Debian giueno Linux - Laptop and Netbook 6 10-23-2006 06:10 AM
Remove ati fglrx driver & control panel from compuer v1_ad Slackware 3 07-15-2005 05:53 PM
Ati Linux Control Panel Issue codyman Linux - General 0 06-28-2004 11:37 PM
Ati control panel doesn't work! Braveheart1980 Linux - General 2 03-09-2004 05:45 PM
How do i get to the ATI control panel under slack 9.1? trey85stang Linux - Newbie 2 12-25-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration