<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6549158963906111794</id><updated>2012-02-16T11:43:18.284-08:00</updated><category term='linux'/><category term='slax'/><title type='text'>Elder Geek's Ubuntu Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-6768942804674227026</id><published>2011-11-17T08:10:00.000-08:00</published><updated>2011-11-17T09:36:35.729-08:00</updated><title type='text'>Things HTML is not designed to do.</title><content type='html'>Here is yet another day in the IT biz where I have lost 4 hours trying to accomplish something that would seem very simple but turns out not do be, due to a shortcoming in how HTML works. I am working on a project where I had text in two different sizes and I needed to vertically align the top of the text in the two different font sizes. &lt;br /&gt;&lt;br /&gt;Easy you say? You have seen it all the time. Odds are, when you see text in different font sizes aligned like that, What you are looking at is a graphic, not actual text. Or if it is actual text, as you scale the text larger or smaller the alignment breaks. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-CFO8dIkCcAA/TsU8DBtbrEI/AAAAAAAAANo/ODKMIZwK5Iw/s1600/1%2Bbaseline.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 236px; height: 78px;" src="http://3.bp.blogspot.com/-CFO8dIkCcAA/TsU8DBtbrEI/AAAAAAAAANo/ODKMIZwK5Iw/s400/1%2Bbaseline.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5676008928066645058" /&gt;&lt;/a&gt;Here is the text as it normally shows up. That is aligned to the baseline, or the bottom of most letters in a font. This is the same as specifying &lt;span style="font-weight:bold;"&gt;align-text: baseline&lt;/span&gt; in css. I selected the text with the mouse and the highlight around the text shows us several things. Each letter has several attributes to it. The baseline, the standard height of the letter, which is where the top of the letter &lt;span style="font-weight:bold;"&gt;L&lt;/span&gt; goes to. There is also the descenders, where the bottom of the letter &lt;span style="font-weight:bold;"&gt;g&lt;/span&gt; goes to. In addition to that there is leading (or blank space) above the the top of the letters and descending bellow the bottom of the letters. That leading is a different size depending on the size of the font.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-pyF4uAgrXYQ/TsU9qOzBCcI/AAAAAAAAAN0/1VtBjt9E02Y/s1600/2%2Bbottom.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 234px; height: 78px;" src="http://1.bp.blogspot.com/-pyF4uAgrXYQ/TsU9qOzBCcI/AAAAAAAAAN0/1VtBjt9E02Y/s400/2%2Bbottom.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5676010701106252226" /&gt;&lt;/a&gt;Here we are using the css &lt;span style="font-weight:bold;"&gt;vertial-align: bottom&lt;/span&gt;. The bottom of both fonts, where the leading ends below the font are lined up. Because the text in the smaller size has less leading, it shows up vertically aligned &lt;span style="font-style:italic;"&gt;lower&lt;/span&gt; then the text in the larger font face which has more leading.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-YVsAzAakjXE/TsU-nhOdFFI/AAAAAAAAAOA/mJxqT2H0mKE/s1600/3%2Btop.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 234px; height: 78px;" src="http://3.bp.blogspot.com/-YVsAzAakjXE/TsU-nhOdFFI/AAAAAAAAAOA/mJxqT2H0mKE/s400/3%2Btop.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5676011754025194578" /&gt;&lt;/a&gt;Here we are using the css &lt;span style="font-weight:bold;"&gt;vertial-align: top&lt;/span&gt;. The top of both fonts, where the leading ends above the font are lined up. Because the text in the smaller size has less leading, it shows up vertically aligned &lt;span style="font-style:italic;"&gt;higher&lt;/span&gt; then the text in the larger font face which has more leading.&lt;br /&gt;&lt;br /&gt;Here is a page at &lt;a href="http://www.w3.org/Style/CSS/Test/CSS1/current/test544.htm"&gt;w3org&lt;/a&gt; which shows a graphic and text in two different sizes.  Notice that it very easy to align text so the baselines are the same. What you will not find here is an example where the top of the letters in the fonts in different sizes are aligned.  &lt;br /&gt;&lt;br /&gt;I tried dozens of different ways to fix this. A table with each word in a different cell is no good. You still align to the top of the leading, not the tops of the letters. I found out I needed to wrap the word I want to change the location of with a &amp;lt;span&amp;gt;&amp;lt;/span&amp;gt; tag. I kept going back to the reference material on &lt;a href="http://www.w3schools.com/cssref/pr_pos_vertical-align.asp"&gt;vertial-align&lt;/a&gt;. You can raise or lower the vertical alignment by percent. Positive numbers moves the text up, negative numbers move the text down. You can specify the number in pixels, percents and EMs. &lt;br /&gt;&lt;br /&gt;If use pixels so that we can bump the text up 5 or 6 points lets say. When we zoom the page in the browser it may or may not look right. Different browsers handle that different ways. Usually in situations like this using the em is a good measurement. Since it is based on the size of the font. For the text I am working with here. .3em moves the text up from the baseline enough to make it look right.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-9-w4ZX566FI/TsVF8m0dtFI/AAAAAAAAAOY/KrU-xUuQpew/s1600/2011-11-17-093321_1680x1050_scrot.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 233px; height: 78px;" src="http://3.bp.blogspot.com/-9-w4ZX566FI/TsVF8m0dtFI/AAAAAAAAAOY/KrU-xUuQpew/s400/2011-11-17-093321_1680x1050_scrot.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5676019812885443666" /&gt;&lt;/a&gt;The paragraph had the font size set to the larger text at 56 points. Here we are with the text properly aligned. the HTML for this looks like:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; &amp;lt;span style="vertical-align: .3em;font-size: 36px;"&gt;GO&amp;lt;/span&amp;gt;DEEP&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-6768942804674227026?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/6768942804674227026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=6768942804674227026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/6768942804674227026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/6768942804674227026'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2011/11/things-html-is-not-designed-to-do.html' title='Things HTML is not designed to do.'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-CFO8dIkCcAA/TsU8DBtbrEI/AAAAAAAAANo/ODKMIZwK5Iw/s72-c/1%2Bbaseline.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-4865781470621470920</id><published>2011-11-02T10:52:00.000-07:00</published><updated>2011-11-02T11:50:42.550-07:00</updated><title type='text'>x2engine on shared hosting without PDO</title><content type='html'>I have a friend who was interested in playing with a web based CRM (Contact Relational Management) on their own shared hosting webserver. I looked around and eventually arrived at &lt;a href="http://www.x2engine.com/"&gt;x2engine&lt;/a&gt;. The x2engine is built on top of the YiiFramework and only requires MySQL 5 and PHP 5.1 or greater. Since he had PHP 5.2 I thought we would be all set.&lt;br /&gt;&lt;br /&gt;I uploaded the x2engine.zip file via my friends cpanel page and installed it into his /public_html folder. Created MySQL databse  via phpMyAdmin. vistited the /x2engine folder with my webbrowser and put in my database information and then got this error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;include(PDO.php) [&lt;a href="http://www.blogger.com/function.include"&gt;function.include&lt;/a&gt;]: failed to open stream: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The good news is it takes less than 5 minutes to fix this error. I found the solution in less than 30 minutes of Googling. However it took me almost 6 additional hours to figure out what to do. So in hopes of saving someone else this kind of grief let me explain &lt;span style="font-weight: bold;"&gt;How to install x2engine or any other YiiFramework on a shared hosting service that has disabled PDO&lt;/span&gt;.,&lt;br /&gt;&lt;br /&gt;It turns out PHP 5.1 introduces something called PDO (PHP Datatbase Objects). Many hosting servies that provide shared hosting disable PDO where it is not possible to enable it. As it turns out there is a workaround for this called PHPPDO, which is a php library that provides a PHPPDO emulation layer.  My problem was that I tried to install the PHPPDO library right from their SourceForge page. It turns out there is a YiiFramework extension that will plug right in to any YiiFramework based app such as x2engine.&lt;br /&gt;&lt;br /&gt;In the case of the x2engine you have to visit the webpage and set up the database information for it to create the &lt;span style="font-weight: bold;"&gt;config/dbConfig.php&lt;/span&gt;. The YiiFramework says the file will be &lt;span style="font-weight: bold;"&gt;config/main.php&lt;/span&gt; but the x2enigne uses &lt;span style="font-weight: bold;"&gt;config/dbConfig.php&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The YiiFramework page for PHPPDO is found at http://www.yiiframework.com/extension/phppdo/  On the right hand side of the page under the search bar it says &lt;span style="font-weight: bold;"&gt;Downloads&lt;/span&gt; and there you will find a link to &lt;span style="font-weight: bold;"&gt;phppdoextension_1.4.tar.bz2&lt;/span&gt; which links to http://www.yiiframework.com/extension/phppdo/files/phppdoextension_1.4.tar.bz2&lt;br /&gt;&lt;br /&gt;Once you have that file in hand here is what you need to do. All of this can be done from cPanel. I will act like your website is at &lt;span style="font-weight: bold;"&gt;http://example.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create your mysql database and user/password for accessing the database with phpMyAdmin.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Upload the &lt;span style="font-weight: bold;"&gt;x2enginge.zip&lt;/span&gt; file to your &lt;span style="font-weight: bold;"&gt;/public_html&lt;/span&gt; folder then extract the &lt;span style="font-weight: bold;"&gt;x2engine.zip&lt;/span&gt; and you will end up with &lt;span style="font-weight: bold;"&gt;/public_html/x2engine.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Vistit &lt;span style="font-weight: bold;"&gt;http://example.com/x2engine&lt;/span&gt; and fill out you admin user password, admin user email address and the information from step 1 for your MySQL server. When done click on the button at the bottom of the page to create the config files. This includes &lt;span style="font-weight: bold;"&gt;/public_html/x2engine/protected/config/dbConfig.php&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Upload &lt;span style="font-weight: bold;"&gt;phppdoextension_1.4.tar.bz2&lt;/span&gt; to the &lt;span style="font-weight: bold;"&gt;/public_html/x2engine/protected/extensions&lt;/span&gt; folder. Extract the &lt;span style="font-weight: bold;"&gt;phppdoexentsion_1.4.tar.bz2&lt;/span&gt; file.&lt;/li&gt;&lt;li&gt;Edit the file &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;/public_html/x2engine/protected/config/dbConfig.php&lt;/span&gt;&lt;/span&gt; and insert after the &lt;span style="font-weight: bold;"&gt;$db=array( &lt;/span&gt;the following two line &lt;span style="font-weight: bold;"&gt;'class'=&amp;gt;'application.extensions.PHPPDO.CPdoDbConnection', 'pdoClass' =&amp;gt; 'PHPPDO',&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt; and save the file&lt;/li&gt;&lt;li&gt;Visit the page &lt;span style="font-weight: bold;"&gt;http://example.com/x2engine&lt;/span&gt; which will now work.&lt;/li&gt;&lt;/ol&gt;The &lt;span style="font-weight: bold;"&gt;dbConfig.php&lt;/span&gt; file will look pretty much like this, mind you,  the connection information will be specific to your site:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;?php&lt;br /&gt;$db=array( &lt;br /&gt; 'class'=--&gt; 'application.extensions.PHPPDO.CPdoDbConnection',&lt;br /&gt; 'pdoClass' =&amp;gt; 'PHPPDO',&lt;br /&gt; 'connectionString' =&amp;gt; 'mysql:host=localhost;dbname=database',&lt;br /&gt; 'emulatePrepare' =&amp;gt; true,&lt;br /&gt; 'username' =&amp;gt; 'username',&lt;br /&gt;  'password' =&amp;gt; 'password',&lt;br /&gt; 'charset' =&amp;gt; 'utf8',&lt;br /&gt;);&lt;br /&gt;$appName='X2Engine';&lt;br /&gt;$gii=array('class'=&amp;gt;'system.gii.GiiModule',&lt;br /&gt; 'password'=&amp;gt;'badtad00',&lt;br /&gt; // If removed, Gii defaults to localhost only. Edit carefully to taste.&lt;br /&gt; 'ipFilters'=&amp;gt;false,&lt;br /&gt;);&lt;br /&gt;$email='user@example.com';&lt;br /&gt;$language='en';&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-4865781470621470920?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/4865781470621470920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=4865781470621470920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/4865781470621470920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/4865781470621470920'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2011/11/x2engine-on-shared-hosting-without-pdo.html' title='x2engine on shared hosting without PDO'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-9080247929182154713</id><published>2011-10-12T08:36:00.000-07:00</published><updated>2011-10-12T08:39:15.824-07:00</updated><title type='text'>Ubuntu is a failure</title><content type='html'>Ubuntu is a failure&lt;br /&gt;&lt;br /&gt;You might say, "Hey, Eldergeek. Ubuntu is the most popular Linux distribution out there, how can it possibly be a failure?" Just bare with me and allow me to explain my position. By their own admission, Ubuntu creates initiatives to make Ubuntu Linux better and advance Linux. Let's took at their track record. Here are some past initiatives&lt;br /&gt;&lt;br /&gt;* Improved audio via PulseAudio&lt;br /&gt;* Seamless video from boot menu to desktop&lt;br /&gt;* 10 Second Boot Times&lt;br /&gt;* Create a better looking desktop than MacOS&lt;br /&gt;* Desktop notification System.&lt;br /&gt;* The Unity Desktop metaphor&lt;br /&gt;&lt;br /&gt;And Future Initiatives&lt;br /&gt;* Wayland Video System &lt;br /&gt;* 200 million users in 2 years&lt;br /&gt;&lt;br /&gt;What do they have have in common? Ubuntu's track record of half-backed, half-done, left-for broke "improvements". Let's take a look at this list and see where we are.&lt;br /&gt;&lt;br /&gt;Pulse Audio is far from perfect. Ubuntu has never lived up to their promise of getting pulse audio working anywhere near seamless for most users. &lt;br /&gt;&lt;br /&gt;Ubuntu also said they would perfect going from a graphical boot manager, into a graphical kernel booting with animation into the gdm log in screen. Well, it works for some users and vidoe cards and not for others. Some get blank screens till booting is done. Some cant even boot unless they disable all of the advanced graphic boot stuff. Did it get some love from Ubuntu? Yes it did for 2 or 3 releases. When it turned out the problem was going to take a lot of work to resolve, what did Ubuntu do? Announce another initiative.&lt;br /&gt;&lt;br /&gt;Yes, 10 second boot times will come to us in 1 or 2 releases. 6 releases down the road? Some people can boot in 20 seconds. But 10 second boot times have never happened. Canonical/Ubuntu are not working on those issues any more either as a major thurst of where the work is going. &lt;br /&gt;&lt;br /&gt;Desktop notifications were going to make interaction with short term status messages beautiful and seamless. It was new, fancy and needed some work. It got it for 2 or 3 releases. Is it anywhere near perfect yet. No? So has that goal been pursued till it was perfected. I think we all know the answer to that question.&lt;br /&gt;&lt;br /&gt;Creating a better looking desktop than MacOS. Well there was talk about that. We changed the theme color from orange/brown to purple/orange. A little work in icons and notifications, and of course plenty of changes to make things look more like a mac. But even this goal has been abandoned to chase after a new desktop metaphor.&lt;br /&gt;&lt;br /&gt;Unity is getting the love now. But it has had 2 relases to be worked on. And it will get a 3rd release with working on it as the primary focus. But watch out, that will have to stop. There are further initiatives that must be worked on.&lt;br /&gt;&lt;br /&gt;Wayland is due for 3 releases of love. &lt;br /&gt;&lt;br /&gt;At that point. The 2 years will have passed. Ubuntu COULD have 20 million users right now. With all the half baked work on graphics, sound, boot times, eye-candy and new desktop. Do we really think that Ubuntu is going to gain another 180 million users in the next 24 months? Only if Ubuntu becomes the most popular phone OS ever!&lt;br /&gt;&lt;br /&gt;Take a look at this list and ask yourself. Has Ubuntu ever accomplished one of its major long term goals? So far the answer is "No". Ubuntu is a failure. Every time the announce what they are going to fix on the desktop next, I know what system will still be half-done in 2 years time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-9080247929182154713?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/9080247929182154713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=9080247929182154713' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/9080247929182154713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/9080247929182154713'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2011/10/ubuntu-is-failure.html' title='Ubuntu is a failure'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-1156419271240283123</id><published>2011-08-31T09:25:00.000-07:00</published><updated>2011-08-31T12:06:51.109-07:00</updated><title type='text'>The Irony of the New Desktop Paragdim</title><content type='html'>&lt;p&gt;Recently in response to this blog post &lt;a href="http://jeffhoogland.blogspot.com/2011/08/five-things-enlightenment-desktop-does.html"&gt;here&lt;/a&gt;. Somone made the remarks that shortcut keys are what makes Unity/Gnome Shell 3 usable. To quote them, "HOWEVER, without providing keyboard shortcuts, you might as well shoot the user in the head."&lt;/p&gt;&lt;p&gt;The fact that Gnome Shell 3 and Unity are much better with shortcuts is quite ironic.&lt;br /&gt;&lt;/p&gt;If you look at all the classic Linux X desktop Window Managers like twm, fwm, afterstep, E16, IceWM, Blackbox, OpenBox, Fluxbox, etc,  you will find a heavy reliance on shortcut keys.&lt;br /&gt;&lt;br /&gt;Regular users complain that these environments don't work for them. Power users that champion these systems customize them the make them more effective for their own use. One of these customizations is defining and using shortcut keys. Not just the normal CTRL-F for find or CTRL-C for copy. But highly customized shortcuts like CTRL-ALT-1 is go to desktop 1, CTRL-SHIFT-1 is move window to desktop 1 while remaining on the current desktop and SHIFT-ALT-1 is move window to desktop and switchto desktop 1 at the same time.&lt;br /&gt;&lt;br /&gt;The big drive from Desktop Environments like KDE 1, KDE 2, KDE 3, KDE 4, Gnome 1 and Gnome 2 is the desire to create a desktop that users can feel productive in without having to memorize shortcut keys. The great equalizer? Everything being quickly and easily accessible with the mouse.&lt;br /&gt;&lt;br /&gt;So when the successors to Gnome 2 (both Gnome Shell 3 and Unity) create desktops for regular users that make using the mouse so inefficient that the only way the desktop is usable and productive again is fur the user to learn shortcut keys, I find it rather funny.&lt;br /&gt;&lt;p&gt;Gnome Shell needs shortcut keys and has tried to create a distraction free environment by removing all of the taskbar items and indicators. Unity needs shortcut keys and has tried to create an environment where they have a mega indicator area with custom written indications. If the app you run does not have a plugin to work with it, then it is a second class citizen. &lt;/p&gt;&lt;p&gt;I say try one of the lighter Window Managers and leave the Desktop Environments behind. They stick to desktop.org standards. Applications that take advantage of trays, docks and task lists will fit right in.  Most of  these desktop environments also have a 10 to 15 year track record of being productive and easy to use...once you learn a few shortcut keys.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-1156419271240283123?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/1156419271240283123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=1156419271240283123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/1156419271240283123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/1156419271240283123'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2011/08/irony-of-new-desktop-paragdim.html' title='The Irony of the New Desktop Paragdim'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-2085265441785099595</id><published>2011-08-04T21:22:00.000-07:00</published><updated>2011-08-04T22:12:42.226-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='slax'/><title type='text'>The Beauty of Slax</title><content type='html'>&lt;span class="Apple-style-span" &gt;It has been more than a year since I have written anything. I want to pick up where I pretty much left off at, working with Slax. &lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;What is &lt;a href="http://www.slax.org/"&gt;Slax&lt;/a&gt;? It is a modular live CD/USB Linux distro based on &lt;a href="http://www.slackware.com/"&gt;Slackware&lt;/a&gt;. The beauty of Slax is in how it is built. First you have to understand how a regular Linux live cd is built. Lets take a look at the process.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" &gt;Remastering a Live CD.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Space is set aside on the hard drive and a copy of the Linux that will be on the live CD  is put into a folder on the hard drive.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Using a special process called &lt;b&gt;chroot&lt;/b&gt;, the computer is tricked into thinking the series of folder holding the Linux that ends up on the CD is actually a running system and commands are able to be executed on this system.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Commands are then executed that download and install software. Software can be removed as well. Settings can be configured and other changed can be made.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;When all the changes are done a program that works very much like zip takes what is usually about 2 gigs of software and compresses it down to one file that is about 680 megs in size.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;The 680 meg compressed file, a copy of the Linux kernel the booted system will use and a special boot loader for starting from CD and booting Linux up are all placed together in one directory.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;A bootable ISO CD image file is created from those files.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;A CD is burned from the ISO image.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span class="Apple-style-span" &gt;The thing to note in the above process is that after you test the CD and find anything needs to be changed you have to go back to step 2. It can be a very time consuming process. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;b&gt;The Beauty of Slax&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;With Slax the system has been broken up into a series of modules. each of these modules is mini compressed file much like the 680 meg file mentioned in the last paragraph. But instead of being 680 megs in size they are more often 10 meg or 20 meg in size. A typical slax system is made up of five or six modules like in the following example:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;img src="http://4.bp.blogspot.com/-uC_DVJ0WlP4/Tjt1wh5QZZI/AAAAAAAAAM8/9l9ebJHTJA4/s400/slaxmodules.png" style="cursor:pointer; cursor:hand;width: 400px; height: 70px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5637228835176998290" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;From left to right: Slax-Core, Xorg-Video, KDE-Desktop, KDE-Apps, KDEOffice, SlaxDev and FireFox.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;The above files on a Live CD weigh in at about 210megs, so there is plenty of room for customizing and adding software to the install. At the Slax webesite there are hundreds of modules that can be added to Slax. Most Slackware software packages can be converted to Slax modules.   Any package for Slackware 11 or 12 that can be found on &lt;a href="http://www.linuxpackages.net/"&gt;LinuxPackages&lt;/a&gt; can be used.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;The process for customizing a Slax CD is much simpler.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;The Slax CD ISO image file is opened up with an ISO editor that allows files to be added or removed from a ISO image. PowerISO or ISO Magic for Windows or ISO Master for Linux.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Any slax module can be added to the &lt;b&gt;/modules&lt;/b&gt; folder or removed from the &lt;b&gt;/modules&lt;/b&gt; folder&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Any files that are not in modules can be put into the &lt;b&gt;/rootcopy&lt;/b&gt; folder. Example: to put the file README.TXT on the desktop put it in &lt;b&gt;/rootcopy/root/Desktop&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Files that are to be available on the CD but not copied the the running system can be put in &lt;b&gt;/extra&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Save the ISO image.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" &gt;Burn the ISO image to disk.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span class="Apple-style-span" &gt;In less that 5 minutes you can find a Slax module on the Slax website, download it, open up the Slax CD in an ISO editor, place the module in the &lt;b&gt;/modules&lt;/b&gt; folder, save the ISO Image and burn the CD.  That is a far cry from the minute or two to get into a chroot environment, two more to download a program and then another 10 or 15 minutes to compress the 680 meg file and another 2 minutes to create a CD image. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;Thus what is a 30 minute plus job for any other Live CD is a 5 minute job in Slax.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;Slax is a serious tool for computer professionals. It is also serious fun to customize and work with.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-2085265441785099595?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/2085265441785099595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=2085265441785099595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/2085265441785099595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/2085265441785099595'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2011/08/beauty-of-slax.html' title='The Beauty of Slax'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-uC_DVJ0WlP4/Tjt1wh5QZZI/AAAAAAAAAM8/9l9ebJHTJA4/s72-c/slaxmodules.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-5617601228025107613</id><published>2009-09-15T16:58:00.000-07:00</published><updated>2009-09-15T18:19:47.509-07:00</updated><title type='text'>IP address on GDM login page</title><content type='html'>I have several virtual machines that I keep around for various reasons. To save room I usually 7zip them and burn them to DVD. Then I can keep on my drive just the virtual machines that I am currently using.&lt;br /&gt;&lt;br /&gt;Often times when I restore a virtual machine and start it running. I will need to access it from another machine on the network, or in the case of a web server, make a firewall rule that will let me be able to access the service from the Internet. Either way, it is a waste of time to have to log into the virtual machine, bring up a shell and run ifconfig to determine the ip address.&lt;br /&gt;&lt;br /&gt;This little trick will make it so the ip address of the computer will show up on the GDM login screen. In a nutshell we will edit the GDM startup script to draw the ip address on the background for the current GDM login theme.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am a big command line guy. So all of the work we will be doing will be done with a shell. So open up Konsole or Gnome Terminal or whatever shell you typically use.&lt;br /&gt;&lt;br /&gt;Step 1: Install imagemagick&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;sudo apt-get install imagemagick&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step 2: Determine the current GDM theme.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;cat /etc/gdm/gdm.conf | grep GraphicalTheme=&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Will print the current theme.  Make note of what it is. In my case it the output of the above command yields:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;GraphicalTheme=Human&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So I will be working with the Human theme.&lt;br /&gt;&lt;br /&gt;Step 3:  Determine the background file name.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;cat /usr/share/gdm/themes/&lt;span style="font-weight: bold;"&gt;Human&lt;/span&gt;/&lt;span style="font-weight: bold;"&gt;Human&lt;/span&gt;.xml  | grep background&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that I used the theme name exactly as shown noting both uppercase and lowercase letters. The folder the theme files are in matches the theme name and the configuration file matches the theme name and ends in .xml.  The output of the above command yields:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&lt;br /&gt;  &lt;!-- background --&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    &lt;normal file="background.png"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So we can see that the name of the background file is &lt;span style="font-weight: bold; font-family: courier new;"&gt;background.png&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Step 4: Rename the original background file so we can use it as a "template" to write on when we generate the background file with the ip address written on it.&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&lt;br /&gt;sudo cp /usr/share/gdm/themes/Human/background.png  \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; /usr/share/gdm/themes/Human/background-original.png&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 5: Edit the GDM startup script to take the original background and write the ip address on it and save it out with the name GDM expects to find for the background. Use whatever editor is on your system to do this. For Gnome it will be &lt;span style="font-family: courier new;"&gt;gedit&lt;/span&gt;. For KDE it will be &lt;span style="font-family: courier new;"&gt;kate&lt;/span&gt; for Xubuntu it will be &lt;span style="font-family: courier new;"&gt;leafpad&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sudo gedit /etc/GDM/Init/Default&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step 6: Change the section that says:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sysmodmap=/etc/X11/Xmodmap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;XMODMAP=`gdmwhich xmodmap`&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To read:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sysmodmap=/etc/X11/Xmodmap&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family: courier new;"&gt;&lt;br /&gt;cd /usr/share/gdm/themes/&lt;span style="font-weight: bold;"&gt;Human&lt;/span&gt;&lt;br /&gt;convert -pointsize 40 -draw \&lt;br /&gt;  "fill yellow text 10,50 \" \&lt;br /&gt;  `ifconfig &lt;span style="font-weight: bold;"&gt;eth0&lt;/span&gt; | awk '/inet addr/{print $2 }'`\"" \&lt;br /&gt;  &lt;span style="font-weight: bold;"&gt;background-original.png&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;background.png&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;XMODMAP=`gdmwhich xmodmap`&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Please note the theme name, what network interface you are using (eth0, eth1, etc) and both the name of the original background file and the background file you writing to.&lt;br /&gt;&lt;br /&gt;Step 7: Reboot&lt;br /&gt;&lt;br /&gt;After rebooting, in large yellow text you will see the ip address of the computer written on the background of the GDM login screen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-5617601228025107613?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/5617601228025107613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=5617601228025107613' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5617601228025107613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5617601228025107613'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2009/09/ip-address-on-gdm-login-page.html' title='IP address on GDM login page'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-7814110324335122104</id><published>2009-05-16T13:12:00.000-07:00</published><updated>2009-05-16T16:47:26.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='slax'/><title type='text'>Slax...or every jedi must make his own lightsaber</title><content type='html'>Slax is a portable version of Linux that can be run from a cd-rom, a flash drive, or even launched from a hard drive. What makes Slax so special is how easy it is to modify.  Slax is made up of modules and magic.&lt;br /&gt;&lt;br /&gt;The by default Slax runs a simple KDE desktop. It can be extended by adding modules to it. Modules can be downloaded from the internet while it is running and installed and used immediately. There is also a "modules" folder for adding modules that will run when slax is started. There is a limited amount of memory and a limit to how many modules can be loaded. There is also a folder called "optional" where you can place modules that you want to load only when they are going to be used.  For example you could load one set of modules for reformatting a hard drive (gparted). At another time, load a set of modules for working with encrypted file systems (truecrypt). At another time, load a set of modules for recovering pictures from a memory stick (testdisk).&lt;br /&gt;&lt;br /&gt;Then for the magic. There is a folder called "rootcopy" when slax boots the followng happends&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The kernel loads&lt;/li&gt;&lt;li&gt;The base modules for linux, x, kde, etc are loaded.&lt;/li&gt;&lt;li&gt;Services are started&lt;/li&gt;&lt;li&gt;Modules from the "modules" folder are loaded&lt;/li&gt;&lt;li&gt;Everything in root copy is copyed to the root of the linux system.&lt;/li&gt;&lt;li&gt;rc.local is  run&lt;/li&gt;&lt;li&gt;a text prompt or kde session starts.&lt;/li&gt;&lt;/ol&gt;So it is possible to drop in scripts and files into users folders. Scripts can be run before users are logged in, or a kde session can be started and KDE can autorun any programs or scripts desired.&lt;br /&gt;&lt;br /&gt;A typical Linux guru can install slax on a memory stick, set the stick to be bootable, copy modules into the modules folder. Copy files into the rootcopy folder. Then have a customized copy of linux that does exaclty what they want it to do. That is the beauty of Slax. Any other live Linux distro can be remastered. However it takes much more work and skill to do so.  Slax makes it easy and fun.&lt;br /&gt;&lt;br /&gt;My copy of Slax has the following tools on it.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;ssh&lt;/span&gt; to allow remote logins&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;x11vnc&lt;/span&gt; to allow remote control of the KDE desktop&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;dmraid&lt;/span&gt; to deal with systems with RAID arrays&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;gparted&lt;/span&gt; to rezie drive partitions&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;partimage&lt;/span&gt; to backup and restore partitions&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;samba&lt;/span&gt; to connect to smb shares for back/restore jobs&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;testdisk&lt;/span&gt; to recover deleted files on flash drives&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;truecrypt&lt;/span&gt; for working with encrypted drives&lt;/li&gt;&lt;/ul&gt;Over the course of the next several blog entries I am going to show how to do the following.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download Slax with most of the needed plugins&lt;/li&gt;&lt;li&gt;Add the remaining plugins and to be able to dual boot Slax and Windows&lt;/li&gt;&lt;li&gt;How to resize paritions, mount windows folders from the network&lt;/li&gt;&lt;li&gt;How to backup and restore windows over the network&lt;/li&gt;&lt;li&gt;How to create a "recovery CD"&lt;/li&gt;&lt;/ol&gt;&lt;ol&gt;&lt;li&gt;When this series is done you will be able to remotely reboot a windows machine to run Slax and then create a backup image or restore a backimage. This makes it possible in a company to fix a broken windows install. From 1000 miles away you can reboot a broken windows install and replace it with a backup copy to get everything working again.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-7814110324335122104?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/7814110324335122104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=7814110324335122104' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/7814110324335122104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/7814110324335122104'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2009/05/slaxor-every-jedi-must-make-his-own.html' title='Slax...or every jedi must make his own lightsaber'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-466734970593351194</id><published>2008-12-19T13:04:00.000-08:00</published><updated>2009-04-25T09:48:02.506-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Now for something completely different</title><content type='html'>&lt;span style="font-family:verdana;"&gt;To pick up from where I left off last time.&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: verdana;"&gt;There at last I was experiencing my first joy in Linux. I had choices. Instead of just the one look that Microsoft provides for Windows. Or the one choice that Apple provides for OS X. Linux lets you choose if things looks like Microsoft Windows, Mac OS or something entirely different.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;In Linux when you decide you don't want to run just a plain text terminal and you want to run with graphics. That brings you into the world of X. For Microsoft they call it Windows. In linux it is called "X". The X server provides a very basic graphic display and handles the mouse and keyboard stuff.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The X graphics are very &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.fvwm.org/screenshots/desktops/Michael-desk-1152x900/screenshot.gif"&gt;primitive&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;. The buttons and window borders are clunky. Things look like a beta for Windows 3.1.  The nice thing about pure X apps is they run on about any Linux setup you can imagine. To get more advanced looking dialogs, buttons, menus and such, a graphic toolkit is used that provides a cleaner look. The downside is the library has to be installed on the computer for it to work.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If you used every graphic tool kit ever made, it would be hard to keep up. In reality, only a few have ever mattered. There is gtk, the Gimp Tool Kit. Originally written for a program called GIMP. gtk was an easy tool kit to use to give Linux programs a good look. After GTK, there is GTK2, the newer gimp tool kit.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Most people expect a modern computer to provide a WIMPy environment. Winodws, Icons, Menus and Pointers (mouse).  Microsoft provides that look for Windows. In Linux you can choose what programs provide that look.  They come in two flavors, Window Managers and Desktop Enviroments.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The Window Manager (WM) is very simple. It provides the basics. Things like menus, a way to start programs, the boarder around programs, the title bar of programs. The way to switch between running programs. What the mouse does, what the keyboard does, shortcut keys, right clicks, left clicks, double clicks. All of this is provided by the Window Manager.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The Desktop Envirionment (DE) is Window Manager plus more. They do all that window mangers do. But they can also provide their own graphic tool kit. They can also provide servies for dealing with sound, video playback, networking and more.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;With a Window Manager, they don't provide all the tools. For instance a window manager may not provide a taskbar that shows what programs are running. But since any plain X program or GTK program can run on any WM, there are dozens of task bars that you could use if a WM does not have one. Choice is the key word here. Do you want a transparent task bar? Do you want one that runs down the side of the screen or across the bottom? Do you want it to be able to hide? Do you want it to hide automatically or only when you click on it or press a certain key? No matter what it is you want, someone has probably written a taks bar that will do it that way.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;So any standard Linux app will run with any Window manager. You have lots of choices in Window Managers. You have lots of choices in apps.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The Desktop Environments do it all. It may not be possible to replace the task bar. Because even if you can hide it. Other programs may not be able to take over the job. The DE wants to do it all. Also, because of the searvies that DE's provide. Like printing and sound. As well as the look and feel. Programs are written that only run on a particular DE. KDE programs need KDE to run, GNOME programs need GNOME to run. You can mix and match. I.E. You can run KDE and have GNOME on the computer but not use it as your DE. Then you can run both KDE and GNOME programs. But the same is true for the WM's. You can run KDE and GNOME apps with many WM's. You might loose a feature or two, but you can do it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;You can go to &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/"&gt;Window Managers for X&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; to see what is out there. To cut to the chase. Most people run GNOME or KDE and there are holy wars about which one is better. So &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://gnome.org/"&gt;GNOME&lt;/a&gt; has 40% of the pie and &lt;a style="font-family: verdana;" href="http://kde.org/"&gt;KDE&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; has 40% of the pie. The remaining 20% is made up of every thing else. &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xfce.org/"&gt;XFCE&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/enlightenment.php"&gt;Enlightenment&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/fluxbox.php"&gt;Fluxbox&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/fvwm.php"&gt;fvwm&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/afterstep.php"&gt;AfterStep&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://xwinman.org/icewm.php"&gt;IceWM&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, and many others.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;My first day in Linux introduced me to both Gnome and KDE. After playing around with them for a few days. I settled on KDE, I just liked it better. Gnome had a cleaner look to it. But everything took up a bit more space. Eating up screen real estate I needed. In windows I always customized my envirnment to make working with it more natural for me. I found it easy to customize KDE to make it work like I worked in Windows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Since that time. I have tried every major DE and WM out there. Where am I at now? I prefer KDE apps over most GNOME apps. When I want a small and fast app, I want something that is GTK2 or GTK. I like light and fast. so my choice of what I run for WM/DE is in this order: Fluxbox, XFCE4, KDE 3, Gnome, Enlightenment, and then KDE4.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;I will justify my decision to run Fluxbox in my next post.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-466734970593351194?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/466734970593351194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=466734970593351194' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/466734970593351194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/466734970593351194'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2008/12/now-for-something-completely-different.html' title='Now for something completely different'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-5617662435905741602</id><published>2008-12-18T20:04:00.000-08:00</published><updated>2008-12-19T19:48:40.423-08:00</updated><title type='text'>Walnut Creek CDs - My First Taste of Linux</title><content type='html'>&lt;span style="font-family: verdana;"&gt;With my fear of &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.penny-arcade.com/comic/2002/07/22/"&gt;Palladiun&lt;/a&gt;&lt;span style="font-family: verdana;"&gt; firmly in place. Before Microsoft could embrace and extend into owning my computer. I thought I would give Linux a try.  The local Goodwill provided me a copy of a book on Slackware Linux.. For $2.00 a CD, I ordered 5 CD's from Wallnut Creek. A copy of Slackware 3, Red Hat 3 and three other Linux's I can't recall.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;It is so true that the Pioneers take the arrows. It was not pretty back in 1999 to install Linux. Of the 5 CD's, three of them would not install. The two that would were Slackware and Red Hat.  I tried them both. After installing. What you end up with is a blinking command prompt asking you to log in.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;There were no frills. Linux did not recoginze my sound card, or video card. I had to follow instructions to get a ppp dialup to my local internet provider. From there I was able to determine what video card and sound card I had. Then I had to download drivers for those cards. Compile the source code into binary drivers. Setup my system to use these drivers.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Which still left me at an ugly command prompt. To get pretty Windows 98 style graphics I had to be running X windows. This is the point where you really missed Microsoft. When you picked the correct video card for Windows. It would usually figure out the correct ammount of RAM that the card had, plus just work with whatever monitor you had hooked up to it. You picked a resolution the monitor would support and Windows knew just what to do.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Meanwhile Linux did not. Once I identifed my video card, I had to know how much RAM it had. Then for the monitor I had to know the horizontial and vertical frequencies for it, and the scan rate in mhz. If you guessed wrong you &lt;/span&gt;&lt;span style="font-style: italic; font-family: verdana;"&gt;could&lt;/span&gt;&lt;span style="font-family: verdana;"&gt; blow out your monitor. What would happen for sure if you guessed wrong, is that you would not get a neat graphic display. You just ended up at that ugly command prompt.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Boot back to Windows, research some more. Reboot to Linux and filldle with the xconfiguration program again. Once I had sound and graphics I was still missing the scroll wheel. After a few days of googling, I had a solution to that one as well. Soon I had my scroll wheel. I was living large at last!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;There at last I was experiencing my first joy in Linux. I had choices. Instead of just the one look that Microsoft provides for Windows. Or the one choice that Apple provides for OS X. Linux lets you choose if things looks like Microsoft Windows, Mac OS or something entirely different.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-5617662435905741602?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/5617662435905741602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=5617662435905741602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5617662435905741602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5617662435905741602'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2008/12/walnut-creek-cds-my-first-taste-of.html' title='Walnut Creek CDs - My First Taste of Linux'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-2749239173120351178</id><published>2008-12-17T20:09:00.000-08:00</published><updated>2008-12-19T12:46:15.103-08:00</updated><title type='text'>Lets Start at the beginning.</title><content type='html'>&lt;span style="font-family:verdana;"&gt;I think Lewis Carroll said it best in "Through the Looking Glass"&lt;/span&gt;&lt;br /&gt;&lt;blockquote  style="font-family:verdana;"&gt;&lt;span class="body"&gt;Begin at the beginning and go on till you come to the end; then stop.&lt;/span&gt; &lt;/blockquote&gt;&lt;span style="font-family:verdana;"&gt;Since so much of what I am going to cover is related to Linux. I thought I would start with why I started using Linux in the first place. Sherman, fire up the wayback machine and set it for 1999.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;In 1999 Microsoft had announced there .NET initiative. No, that is not .NET the programming environment of C#. Back then Microsoft did not have a well defined image of what .NET was. It was a cool name. It was also an agenda that they really wanted to keep below the radar...Software as a Service.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Part of the .NET dream back then was a steady monthly  revenue stream coming into Microsoft. Instead of someone buying Microsoft Office for $250.00, and then running it for 5 years because they feel no need to upgrade. The idea of $10 a month as a rental sounds better. 10 x 12 = 120 per year. 120 x 5 = 600.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;So Microsoft had decided that it wanted to shift from OS and Office software sales. To software rentals. So part of .NET was the idea of Microsoft shifting to all of your software being downloaded from the server to your computer to run. With all of your data stored on their servers. You pay a monthly fee.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This would also mean if you did not pay, you had no data or software. If they made a billing mistake, they had your data and software. In a world where Microsoft software for rent is the only thing going. There is no choice in what programs you run. No chance of getting missing features. No competition. Plus they can look at your data and decide what you can do with it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Yes, that may be the vision of what .NET/Palladium could look like if Microsoft got everything they wanted. If they got fat and lazy and just expected to take in money, exploit end users and provide as little in return as possible.  It would be more likely that things would not go to such extremes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Where we are in 2008 is Microsoft sucking at renting out software. They have just pulled their paid for anti-virus product. They had a rental version of Office that came out in July and that has already been discontinued. The last 9 years have not been kind to Microsoft. They are not trusted by the average user like they were then. Maybe to many security exploits and lots of spyware.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Now it looks like they will never perfect renting out software. Back in 1999, if you were in the know you knew Microsoft often got their way. You could see the possibility of it being their computer and their data. Instead of your computer and your data.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;So I was looking for a way of escape......&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Macintosh's were to much money. My way to computer freedom had to be at a more affordable price. I knew what an OS was. With being on the Internet. I kept hearing about this "Linux" OS that ran lots of things on the Internet. So it looked like it would be worth checking out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Then when I found out the price on Linux was free. You could download it and run it at no charge. Well, lets just say it kept getting better and better looking. I had gotten a book on Linux at a used store. It was centered around Slackware linux and what it was like in 1996 or 1997.  Somehow I ordered 4 or 5 different Linux's from Wallnut Creek at $2.00 a CD. I was going to take the plunge and install Linux.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;What happend next was not something I expected. But that is another blog entry....&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-2749239173120351178?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/2749239173120351178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=2749239173120351178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/2749239173120351178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/2749239173120351178'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2008/12/lets-start-at-beginning.html' title='Lets Start at the beginning.'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6549158963906111794.post-5352360041769842262</id><published>2008-05-28T21:15:00.000-07:00</published><updated>2008-12-19T19:47:51.212-08:00</updated><title type='text'>First Post</title><content type='html'>&lt;div style="text-align: left;"&gt;I thought I would talk about some of the things that you can look forward to seeing on this site. Besides documenting things that may be hard for me to find later. I also wanted to cover things that I have an interest in. Particularly as a Linux user. So I went through my bookmarks in Firefox to see what topics I have been gathering information on. &lt;/div&gt;&lt;p style="text-align: left;"&gt; And here is a list of what I have come up with.&lt;/p&gt;&lt;div style="text-align: left;"&gt;  &lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;SSH Tunnels&lt;/li&gt;&lt;li&gt;Dock Apps&lt;/li&gt;&lt;li&gt;Conky&lt;/li&gt;&lt;li&gt;Desktop Eyecandy&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6549158963906111794-5352360041769842262?l=elder-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://elder-geek.blogspot.com/feeds/5352360041769842262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6549158963906111794&amp;postID=5352360041769842262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5352360041769842262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6549158963906111794/posts/default/5352360041769842262'/><link rel='alternate' type='text/html' href='http://elder-geek.blogspot.com/2008/05/first-post.html' title='First Post'/><author><name>Elder Geek</name><uri>http://www.blogger.com/profile/06276170020717589768</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
