<?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>My Ubuntu Blog &#187; XFCE</title>
	<atom:link href="http://ubuntu.sabza.org/tag/xfce/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu.sabza.org</link>
	<description>Tips and Advise From a Non-Expert</description>
	<lastBuildDate>Mon, 05 Dec 2011 01:29:32 +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>Using Terminal to Shutdown Processes</title>
		<link>http://ubuntu.sabza.org/2007/09/07/using-terminal-to-shutdown-processes/</link>
		<comments>http://ubuntu.sabza.org/2007/09/07/using-terminal-to-shutdown-processes/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 19:29:30 +0000</pubDate>
		<dc:creator>Noumaan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XFCE]]></category>
		<guid isPermaLink="false">http://ubuntu.sabza.org/2007/09/07/using-terminal-to-shutdown-processes/</guid>
		<description><![CDATA[XFCE does not come with a system monitor utility like the one I had in Gnome. I used the utility to kill unresponsive processes. So how do we kill unresponsive programs using the terminal? To understand how Linux handles processes and how you can control them read this great article by Gary Sim (in plain [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>XFCE does not come with a system monitor utility like the one I had in Gnome. I used the utility to kill unresponsive processes. So how do we kill unresponsive programs using the terminal? To understand <a href="http://www.linux.com/feature/114341">how Linux handles processes and how you can control them read this great article by Gary Sim</a> (in plain English). Here is what I learnt from Gary&#8217;s article.  </p>
<p>We need to know the process id of the program that is not responding. We find out process id or PID by running the command<br />
<code><br />
ps aux<br />
</code><br />
This command displays all running processes. Below are a few of the many running processes on my computer. The list is long so I am only showing you a few to give you an idea.<br />
<code><br />
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND<br />
nom       3006  0.0  0.3   2476   772 ?        S    23:15   0:00 gnome-pty-helpe<br />
nom       3097  0.0  4.0  16584 10348 ?        Ss   23:23   0:01 gksu -u root /u<br />
root      3102  0.0  0.4   3712  1068 pts/1    Ss+  23:23   0:00 /bin/su root -c<br />
root      3105  0.0  0.2   2256   592 pts/1    S+   23:23   0:00 /usr/lib/libgks<br />
nom       3321  0.7  3.2  14920  8364 ?        Ss   23:44   0:01 mousepad<br />
</code></p>
<p>Now find out which one of them you want to kill. I want to kill the mousepad it has the PID 3321 and I kill it by running this command:<br />
<code><br />
kill 3321<br />
</code><br />
Just incase if this command doesn&#8217;t work you can try<br />
<code><br />
kill -9 3321<br />
</code></p>
<p>I am very happy with XFCE. But I need to find out a nice and lite pdf viewer. Evince is great but how could I download evince without downloading so many gnome libs? There is an <a href="http://packages.debian.org/experimental/gnome/evince-gtk">evince-gtk</a> package in Debian experimental but I can not install it due to dependency issues.  </p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.sabza.org/2007/09/07/using-terminal-to-shutdown-processes/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My Cute Little XFCE Desktop Environment</title>
		<link>http://ubuntu.sabza.org/2007/09/04/my-cute-little-xfce-desktop-environment/</link>
		<comments>http://ubuntu.sabza.org/2007/09/04/my-cute-little-xfce-desktop-environment/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 16:53:44 +0000</pubDate>
		<dc:creator>Noumaan</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[XFCE]]></category>
		<category><![CDATA[Xubuntu]]></category>
		<guid isPermaLink="false">http://ubuntu.sabza.org/2007/09/04/my-cute-little-xfce-desktop-environment/</guid>
		<description><![CDATA[I have previously used XFCE with Xubuntu. But then I replaced it with Debian Etch and Gnome. But Gnome was becoming a little too heavy for me. I was bored and needed some change. So I decided to install a complete Gnome free system. First I downloaded latest Debian net-install cd. Installing Debian this way [...]]]></description>
			<content:encoded><![CDATA[<p>I have previously used XFCE with Xubuntu. But then I replaced it with Debian Etch and Gnome. But Gnome was becoming a little too heavy for me. I was bored and needed some change. So I decided to install a complete Gnome free system. First I downloaded latest Debian net-install cd. Installing Debian this way is much more easier. You get a chance to select your own packages during the installation or go ahead with some preselected packages. You even have a choice to install only the minimal system. So I installed the minimal base system and then logged in. </p>
<p><!--adsense--></p>
<p>I am using Linux for more than a year now so I am comfortable with commands. Since I was going to install new things so it was wise to log in with super user priviledges.<br />
<code><br />
nom@debian:~$ su<br />
Password:<br />
debian:/home/nom#<br />
</code></p>
<p>Once logged in, I had to tell apt to use network proxy. I did that by running the command:</p>
<p><code><br />
export http_proxy=http://[proxy.address]:[port]<br />
</code></p>
<p>This command is temporary solution and you will have to repeat it with each new session. There is a workaround to set this up permenantly. </p>
<p>I installed XFCE4 by running the command:<br />
<code><br />
apt-get install xfce4<br />
</code><br />
I was foolish, I thought I would be able to log in a nice GUI world by simply downloading XFCE4. I forgot that I should also download gdm and xorg.<br />
<code><br />
apt-get install gdm, xorg<br />
</code><br />
Even then I was unable to log in to the gdm. So I ran:<br />
<code><br />
dpkg-reconfigure xserver-xorg<br />
</code></p>
<p>This command runs a nice little wizard which helps you solve issues with your xserver settings. It could be difficult sometimes if you don&#8217;t know what hardware you are using and what it is called. Like once I had this trouble and I had no other computer to connect to the internet and ask for help on the internet. At that time I learnt about lynx a text mode web browser and bitchx the IRC chat client. </p>
<p>After configuring xserver I logged in with GDM and entered into the brand new world of XFCE. May be its just me but XFCE in Debian is faster and prettier than Xubuntu. I still had to install iceweasel web browser, xchat, ttf-nafees font and gimp. Working in this new environment, limited set of tools and applications, I learnt that I need to download more packages. Like for example I didn&#8217;t install alsa-base package. I also didn&#8217;t have xfce4-mixer package which is required to add a volume indicator icon on panel. I also learnt that I can&#8217;t live without Synaptic package manager. </p>
<p><a class="imagelink" href="http://ubuntu.sabza.org/wp-content/xfce-desktop-large.png" title="XFCE Desktop Screenshot- Click to enlarge"><img id="image66" src="http://ubuntu.sabza.org/wp-content/xfce-desktop.png" alt="XFCE Desktop Screenshot" style="float:left;padding:2px;margin:2px;background:#eee;" /></a>I am much happier now and satisfied for a few months at least. Basic applications are still the same. I was already using Mousepad, Iceweasel, Gimp and Xchat with Gnome. But the most notable difference is in performance. My computer is much faster now, start up time is improved and it feels so neat.  </p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.sabza.org/2007/09/04/my-cute-little-xfce-desktop-environment/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Xubuntu: Easily Switch Keyboard Layout</title>
		<link>http://ubuntu.sabza.org/2006/10/13/xubuntu-easily-switch-keyboard-layout/</link>
		<comments>http://ubuntu.sabza.org/2006/10/13/xubuntu-easily-switch-keyboard-layout/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 23:18:53 +0000</pubDate>
		<dc:creator>Noumaan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XFCE]]></category>
		<category><![CDATA[Xubuntu]]></category>
		<guid isPermaLink="false">http://ubuntu.sabza.org/2006/10/13/xubuntu-easily-switch-keyboard-layout/</guid>
		<description><![CDATA[Xubuntu (Ubuntu Linux&#8217;s XFCE based flavor) does not come with any graphical utility to switch keyboard layouts. There is a little XKB plugin that you can add to your XFCE panel but it only shows the layout in use. It does not provide an interface to add keyboard layouts neither it allows you to set [...]]]></description>
			<content:encoded><![CDATA[<p>Xubuntu (Ubuntu Linux&#8217;s XFCE based flavor) does not come with any graphical utility to switch keyboard layouts. There is a little XKB plugin that you can add to your XFCE panel but it only shows the layout in use. It does not provide an interface to add keyboard layouts neither it allows you to set keyboard shortcuts for switching between layouts. It doesn&#8217;t mean that you can not use different keyboard layouts in Xubuntu; the functionality is there waiting for someone to build a tool around it. Untill then, we will have to manually set our keyboard layouts and here is how to do this.</p>
<div style="text-align:center;"><!--adsense--></div>
<p>Create a file in /usr/bin/</p>
<p><code>gksudo "mousepad /usr/bin/fixkeyboard"</code></p>
<p>Add following lines in this file. I am using US and PK  layouts in this example, please change it to the keyboard layouts you want to use. Also note that this example sets xkb option to change groups when both alt keys are pressed together.</p>
<p><code>#!/bin/bash<br />
setxkbmap -option grp:switch,grp:alts_toggle us,pk</code></p>
<p>Save the file and exit.</p>
<p>Go to <em>Applications > Settings > Autostarted Applications</em> and click the <em>Add</em> button. In the <em>Name</em> feild type fixkeyboard and in the <em>Command</em> feild type /usr/bin/fixkeyboard press <em>OK</em> and then <em>Close</em>.</p>
<p>You are done. Now whenever you log on to your XFCE session you will be able to switch keyboard layouts by pressing both Alt keys together.  If you don&#8217;t like the both Alt keys combination then you can try other group switch combinations. Replace alts_toggle in fixkeyboard file with one of the following options:</p>
<p><code>alt_shift_toggle<br />
ctrl_shift_toggle<br />
ctrls_toggle</code></p>
<p>Country flags for XFCE xkb plugin are located in /usr/share/xfce4/xkb/flags/. If your country&#8217;s flag is missing you can add it there, the file should be in png format and 60 x 40 pixels.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.sabza.org/2006/10/13/xubuntu-easily-switch-keyboard-layout/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

