<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kerneljack&#039;s diary &#187; troubleshooting</title>
	<atom:link href="http://www.kerneljack.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerneljack.com</link>
	<description></description>
	<lastBuildDate>Sun, 27 Feb 2011 13:22:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Turn off the linux console display</title>
		<link>http://www.kerneljack.com/2010/07/01/turn-off-the-linux-console-display/</link>
		<comments>http://www.kerneljack.com/2010/07/01/turn-off-the-linux-console-display/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 11:25:58 +0000</pubDate>
		<dc:creator>kerneljack</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[centos display linux howto]]></category>

		<guid isPermaLink="false">http://www.kerneljack.com/?p=183</guid>
		<description><![CDATA[I needed a way to turn off the display on an old netbook that I am using as a low-powered server. I installed CentOS 5.5 on the netbook and set the &#8216;inittab&#8217; to boot into console mode by default however &#8230; <a href="http://www.kerneljack.com/2010/07/01/turn-off-the-linux-console-display/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I needed a way to turn off the display on an old netbook that I am using as a low-powered server. I installed CentOS 5.5 on the netbook and set the &#8216;inittab&#8217; to boot into console mode by default however I did not know how to turn the display off completely when in console mode. I wanted to do this for various reasons; saving power and reducing the heat generated were my primary concerns.</p>
<p>I was thinking of using &#8216;setterm&#8217; for this, but I decided to google this first and found the perfect solution <a href="http://bbs.archlinux.org/viewtopic.php?id=66169">in the Arch forums</a>. Just in case that link stops working I&#8217;m going to include the script below, hopefully it will be helpful to other people.</p>
<blockquote>
<pre>#!/bin/bash

###################################################
# Check if X is running or not, turn off monitor, #
# wait for a key press and turn it on again.      #
###################################################

grep_result_file=$PWD'/x_running'

# Check if X is running.
ps -e | grep -e "\bX\b" &gt; $grep_result_file
ps -e | grep -e "\bxorg\b" &gt;&gt; $grep_result_file
ps -e | grep -e "\bxserver\b" &gt;&gt; $grep_result_file

## If you want to check result file, uncomment following lines.
#echo "===== $grep_result_file - begin ====="
#cat $grep_result_file
#echo "===== $grep_result_file -  end  ====="

if [ ! -s $grep_result_file ] || [[ $(tty) =~ tty ]] || [[ $(tty) =~ vc ]]; then
    echo 'Detected X not runnig or you are at console...'
    if [ $UID -ne 0 ]; then
        echo 'You need super user privileges to run this script at console.'
        echo 'Rerun as super user or start X and run from a terminal.'
        exit 0
    fi
    turn_off='vbetool dpms off'
    turn_on='vbetool dpms on'
else
    echo 'Detected X running...'
    turn_off='xset dpms force off'
fi

echo 'Turning off monitor...'
$turn_off

echo 'Waiting for a key press...'
read -n1 -s

echo 'Turning on monitor...'
$turn_on

rm $grep_result_file

echo 'Finished: monitor_off'
kill -9 $PPID
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kerneljack.com/2010/07/01/turn-off-the-linux-console-display/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix for strange white borders with Compiz Fusion on Ubuntu</title>
		<link>http://www.kerneljack.com/2007/08/30/fix-for-strange-white-borders-with-compiz-fusion-on-ubuntu-2/</link>
		<comments>http://www.kerneljack.com/2007/08/30/fix-for-strange-white-borders-with-compiz-fusion-on-ubuntu-2/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 22:34:29 +0000</pubDate>
		<dc:creator>kerneljack</dc:creator>
				<category><![CDATA[beryl]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kerneljack.wordpress.com/2007/08/30/fix-for-strange-white-borders-with-compiz-fusion-on-ubuntu-2/</guid>
		<description><![CDATA[I&#8217;ve just installed Compiz Fusion on my 3-year old ASUS laptop which is running Ubuntu Feisty. I&#8217;m quite pleased at how stable it is. I tried Beryl a few months ago and it was not usable at all on the &#8230; <a href="http://www.kerneljack.com/2007/08/30/fix-for-strange-white-borders-with-compiz-fusion-on-ubuntu-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just installed Compiz Fusion on my 3-year old ASUS laptop which is running Ubuntu Feisty. I&#8217;m quite pleased at how stable it is. I tried Beryl a few months ago and it was not usable at all on the same hardware.
<p>I did run into one problem, though and I couldn&#8217;t find any solution to it on either the Ubuntu Forums or anywhere else on the net. My top Gnome panel had a strange white bar under it and all my context menus had white borders. Maybe my google-fu wasn&#8217;t very good yesterday, but the only solution that I managed to find after about an hour was <a href="http://forums.gentoo-xeffects.org/viewtopic.php?f=15&amp;t=596">this on a Gentoo forum</a>:</p>
<blockquote><p>This is a known issue.  Go to <b>ccsm-&gt;Window Decorations</b> and add the string <b>!dock</b> to the value <b>Shadow Windows</b>.  I had to enter <b>2 !dock.</b>  First disabled shadows of the context menus and the tool tips, the second stops shadows for the gnome-panel.</p></blockquote>
<p>I&#8217;m just putting this here in case it helps someone with a similar problem. </p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/compiz%20fusion%20ubuntu%20beryl" rel="tag">compiz fusion ubuntu beryl</a></p>
<p class="poweredbyperformancing">Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerneljack.com/2007/08/30/fix-for-strange-white-borders-with-compiz-fusion-on-ubuntu-2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

