Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Secret tip: Disable KDE on :0.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Imar
n00b
n00b


Joined: 04 Feb 2003
Posts: 21

PostPosted: Sun Mar 21, 2004 4:11 pm    Post subject: Secret tip: Disable KDE on :0.1 Reply with quote

I only use my TV (X display :0.1) for watching movies, so it has always annoyed me that KDE automaticly starts a desktop on the second display if it's present, especially since i have configured the second display to be totaly separated from the first, so i can't even move the mouse over to it.

Well, I have searched for ways to tell KDE to not use the second display, but i didn't find any, so last night i did an ugly hack that makes it look like KDE is non present on teh second display.

I created a nice script that i put in ~/.kde/Autostart/

Code:

#!/bin/bash
#fix_tv.sh

dcop kdesktop-screen-1 KDesktopIface setIconsEnabled false
dcop kicker-screen-1 Panel setPanelSize 0
dcop kwin-screen-1 MainApplication-Interface quit
#xsetroot -solid orange -display :0.1
xv -display :0.1 -root -quit -max /mnt/extra/gfx/wallpapers/_The_Zipper_.jpg


This is indeed an ugly hack because kicker and kdesktop will still consume resources as they are just hidden.

Better solutions are welcome, but i hope someone will benefit from this, atleast it partially solved a problem for me. :)


[edit]Changed to script to include line to shut off kwin.[/edit]
_________________
/Imar - Illusion doesn't mean unreal. Illusion means an impossibility to decide whether it is real or unreal.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum