tag:blogger.com,1999:blog-57657039541155109072024-03-06T01:26:40.821-03:00Random ThoughtsXorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-5765703954115510907.post-48707020161713020032009-09-27T12:55:00.007-04:002009-09-27T13:40:50.760-04:00Upcoming in zypp.. Download all, then install!YaST and zypper will finally have the ability to download all packages first and then install (<a href="http://mlandres.blogspot.com/2009/09/libzypp-6160-download-policies-for.html">commit post</a>)! No more broken packages because of an aborted download due to connection issues!<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL63JWc2jruZ590lcpKQLaqkQU6HM5P_W6vKjAq9tzUXdjtmv1kOKe3359cyTss74sPf8ZPzWBQeFi7Z-FNPDG5hns-cFOccyEQ4-rf5e6i0GSTvwa7_aLhfGnrX6pxly2I5WipIcqkjM/s1600-h/snapshot1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL63JWc2jruZ590lcpKQLaqkQU6HM5P_W6vKjAq9tzUXdjtmv1kOKe3359cyTss74sPf8ZPzWBQeFi7Z-FNPDG5hns-cFOccyEQ4-rf5e6i0GSTvwa7_aLhfGnrX6pxly2I5WipIcqkjM/s400/snapshot1.png" /></a><br />
</div><div style="text-align: center;"> 'Download in Advance' in action!<br />
</div><div style="text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgatOKw0xZWmsS0VAgrJqstX0bJ6Bf3Rv8oY3FFrYZMdm4xlBUKSl9eNengdLg-GQDxvB8DOVFQdfEIJVYGudruxl7PkjgljFA7612sNIK44aFq_6PnSs9EU0EU2QyRzf8xwBrtygldvC0/s1600-h/snapshot2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgatOKw0xZWmsS0VAgrJqstX0bJ6Bf3Rv8oY3FFrYZMdm4xlBUKSl9eNengdLg-GQDxvB8DOVFQdfEIJVYGudruxl7PkjgljFA7612sNIK44aFq_6PnSs9EU0EU2QyRzf8xwBrtygldvC0/s400/snapshot2.png" /></a><br />
</div><div style="text-align: center;">Notice the slight glitch in the 'Actions performed' List where 'Downloading XXX' line gets repeated<br />
</div><br />
This was a much needed and essential feature which has finally been implemented. Though zypper will be getting configurable command line options for this soon, YaST can be setup by editing /etc/zypp/zypp.conf.<br />
<br />
Here's the relevant part to be edited with 4 options available. <br />
<blockquote>##<br />
## Commit download policy to use as default.<br />
##<br />
## DownloadOnly, Just download all packages to the local cache.<br />
## Do not install. Implies a dry-run.<br />
##<br />
## DownloadInAdvance, First download all packages to the local cache.<br />
## Then start to install.<br />
##<br />
## DownloadInHeaps, Similar to DownloadInAdvance, but try to split<br />
## the transaction into heaps, where at the end of<br />
## each heap a consistent system state is reached.<br />
##<br />
## DownloadAsNeeded Alternating download and install. Packages are<br />
## cached just to avid CD/DVD hopping. This is the<br />
## traditional behaviour.<br />
##<br />
## <unset> If a value is not set, empty or unknown, we pick<br />
## some save default.<br />
##<br />
commit.downloadMode = DownloadInAdvance<br />
</unset><br />
</blockquote><br />
Now 'download in advance' policy should really be made default for 11.2. Right now it is 'download as needed'.<br />
<br />
YaST also has configurable behavior for closing after installation. This is configurable via sysconfig editor. Three options: Close (closes after installation/removal finishes), Summary (which gives a nice summary of things that were done) and Restart (which sends you back to the default startup screen with search tab active).<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNA6oRaUfGpyRL8GPz1TdtSVvc1ICWEWcKSCioAa_8cBBlX0BjsuyheEUJ4KEdcVVQr1CU6mykQ3EpywMnNDFganAgzc0fLd-cwxs8ekTFbusX0uA2ZA6-rrqkypUNO6TVIZelmfCwFGQ/s1600-h/snapshot5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNA6oRaUfGpyRL8GPz1TdtSVvc1ICWEWcKSCioAa_8cBBlX0BjsuyheEUJ4KEdcVVQr1CU6mykQ3EpywMnNDFganAgzc0fLd-cwxs8ekTFbusX0uA2ZA6-rrqkypUNO6TVIZelmfCwFGQ/s400/snapshot5.png" /></a><br />
</div><br />
Again 'Close' is still the default which is the worst possible option to keep as default. This should be changed to 'Summary' which should be more convenient for new users and which they can change later if they want, once they become more familiar with openSUSE.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYx5scb613kzD9MkNDYIluI9GQMbB4yQr3vmzjhcxxqhTSfmN0Vco7PR9uZUJHbQSuamNmNp4WOH_NamgLO58FovPcVUGi57AB9p4z1QCegqnFB1eP98zTYVgLgnyc7vOyyLGa4otGc-0/s1600-h/snapshot3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYx5scb613kzD9MkNDYIluI9GQMbB4yQr3vmzjhcxxqhTSfmN0Vco7PR9uZUJHbQSuamNmNp4WOH_NamgLO58FovPcVUGi57AB9p4z1QCegqnFB1eP98zTYVgLgnyc7vOyyLGa4otGc-0/s400/snapshot3.png" /></a><br />
</div><br />
<div style="text-align: justify;">A small rant about the Summary Screen: There always seems to be a difficulty with finding the correct names for buttons in YaST modules. Button names should be very clear regarding what the buttons are going to do. In the summary screen, there are two buttons "Back" and "Finish". Now an average user who is mostly familiar with the "Back" and "Forward" buttons used in a browser is most likely to think that the back button will send him to the previous page, which was the "Perform Installation" page with the flashing download/install progress bars. Hence, the user will click "Finish" which sounds more appropriate, with the effect that the window very rudely disappears. The current button names are more appropriate from the point of view of the installation workflow but are not good from the user's point of view. Some suggestions would be to rename "Back" as "OK" and the "Finish" button as "Quit". Also it would be better if the OK button was moved to the extreme right corner since users instinctively click corner buttons. The OK button also needs to be made default instead of Quit. Users like to click shiny highlighted buttons. Abort buttons should also be changed to Cancel and where ever they are not required, they should be removed or made invisible instead of just disabling them.<br />
</div><br />
Thanks to the devs again for the new features. Their efforts are commendable. One more step in catching upto the debian based distributions, though openSUSE has superior package management features of its own too. Now come the next essential features: Resuming downloads, downloading multiple packages in parallel and orphaned package removal!Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-77457301443789320522009-01-14T17:31:00.004-03:002009-01-14T18:25:16.563-03:00Vpnc and Kde3 KNetworkManager in openSUSE 11.1<div style="text-align: justify;">I was trying to connect to a VPN network today but network manager failed to connect. A dig through Network Manager's logs revealed an error message 'property 'Disable NAT Traversal' invalid or not supported'.<br /><br />I googled and found a similar <a href="https://bugs.launchpad.net/ubuntu/+source/knetworkmanager/+bug/280926">bug report</a> in Ubuntu. It seems that at some point, the option of 'Disable NAT Traversal' got removed from vpnc but knetworkmanager never got updated. As a consequence, the connection fails.<br /><br />The workaround described is simple and works for me. Just edit .kde/share/config/knetworkmanagerrc manually. Remove the lines:<br /></div><div style="text-align: left;"><blockquote><string>Disable NAT Traversal</string>\n <string>none</string>\n </entry>\n <entry>\n <string>Enable Single DES</string>\n <string>no</string>\n </entry>\n <entry>\n<br /></blockquote></div><br /><div style="text-align: justify;">Restart networkmanager (sudo /sbin/rcnetwork restart) and knetworkmanager, and try to connect again. This time, the connection should be successful.<br /><br />I recall a similar bug report filed in bugzilla for opensuse but I am not able to find it now. The bug, if I remember correctly, has being fixed in svn but the fix still hasn't been backported or provided in an update. Till then, this workaround should help you to connect to your vpn network.<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com1tag:blogger.com,1999:blog-5765703954115510907.post-20542011115647751032009-01-10T01:50:00.005-03:002009-01-10T12:26:24.958-03:00Package Search Module in YaST2<div style="text-align: justify;">I came to know from this <a href="http://kobliha-suse.blogspot.com/2008/07/package-search-and-one-click-install-in.html">blog</a> that there is a YaST module for searching software in openSUSE package repositories and Packman! Very cool indeed!<br /></div><br /><div style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8UArlOX-Y8IyGr9t1RzHbvHKpNj3bPo7kyw1vIhXChqMTrh0fdEuCXEY3D8lwAfsPbZ2jw0tIviZOjcH7es3jd20OXWS_81kkdrywSYg0Oju3pbJH6cSttt7LWCvMKf-VDCj1aFiiEEc/s1600-h/package_search.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 280px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8UArlOX-Y8IyGr9t1RzHbvHKpNj3bPo7kyw1vIhXChqMTrh0fdEuCXEY3D8lwAfsPbZ2jw0tIviZOjcH7es3jd20OXWS_81kkdrywSYg0Oju3pbJH6cSttt7LWCvMKf-VDCj1aFiiEEc/s400/package_search.png" alt="" id="BLOGGER_PHOTO_ID_5289530879086939650" border="0" /></a><br /></div><div style="text-align: justify;">But it seems that the devs decided to keep this module invisible in YaST2 even though its there in openSUSE 11.1. Right now, the module can be launched from the command line as follows:<br /></div><br /><blockquote>/sbin/yast2 webpin_package_search<br /></blockquote><br /><div style="text-align: justify;">But since I find this module to be incredibly useful, I added it to YaST. Here's how to do it. Just open your favorite editor (gedit/kwrite/kate) and paste the following lines in it.<br /></div><br /><blockquote>[Desktop Entry]<br />X-SuSE-translate=true<br />X-SuSE-DocTeamID=ycc_webpin_package_search<br />Type=Application<br />Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Software;<br /><br />X-KDE-ModuleType=Library<br />X-KDE-RootOnly=true<br />X-KDE-HasReadOnlyMode=true<br />X-KDE-Library=yast2<br />X-SuSE-YaST-Call=webpin_package_search<br /><br />X-SuSE-YaST-Group=Software<br />X-SuSE-YaST-Argument=<br />X-SuSE-YaST-RootOnly=true<br />X-SuSE-YaST-AutoInst=<br />X-SuSE-YaST-Geometry=<br />X-SuSE-YaST-SortKey=<br />X-SuSE-YaST-AutoInstResource=<br /><br />Icon=yast-sw_source<br />Exec=/sbin/yast2 webpin_package_search<br /><br />Name=Software Search<br />GenericName=Search for software in openSUSE package repositories<br />X-KDE-SubstituteUID=true<br />StartupNotify=true</blockquote><br /><div style="text-align: justify;">Save the file as webpin_package_search.desktop and move it to /usr/share/applications/YaST2 folder. Start YaST2 and you should now see a module called "Software Search" in YaST2.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvbvuuoPVg5Ucr0NYQuRZ-7fGnA5VRNSwKBRNcn4YBqaTa3_f-9oUYeyvFrpvw4Q76YetC8pKW-0oYqsdAkZf8IF_xuQ6j91AypK6bHYu3y3KEiRfM6Kmnl1Y7Vhw7ttquAO_FMgmo9u4/s1600-h/ModuleinYaST.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 270px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvbvuuoPVg5Ucr0NYQuRZ-7fGnA5VRNSwKBRNcn4YBqaTa3_f-9oUYeyvFrpvw4Q76YetC8pKW-0oYqsdAkZf8IF_xuQ6j91AypK6bHYu3y3KEiRfM6Kmnl1Y7Vhw7ttquAO_FMgmo9u4/s400/ModuleinYaST.png" alt="" id="BLOGGER_PHOTO_ID_5289531198851467106" border="0" /></a><br /><div style="text-align: justify;">Launch it to test if the module starts correctly. You now have the package search module easily accessible from YaST.<br /></div><br /><div style="text-align: justify;">The devs also mention in the article comments that they are working on an application uninstaller which should do something equivalent to 'apt-get autoremove' in Debian and Ubuntu. Hopefully we should be able to see this in the next release, openSUSE 11.2. Even better would be if the devs can also implement an add/remove software module like the one available in Ubuntu. But I imagine the application uninstaller itself involves a lot of work, so even if they can get that into the next release, it would be really great!<br /></div><br />Hope you enjoy using the package search module in YaST! Cheers!Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com3tag:blogger.com,1999:blog-5765703954115510907.post-89638555422243023502009-01-05T20:37:00.014-03:002009-01-06T00:59:57.577-03:00Kdm3 in openSUSE 11.1<div style="text-align: justify;">The KDE3 desktop installation for openSUSE 11.1 installs, by default, kdm4 or the kde display manager from the kde4 desktop.<br /><br />Anyone who uses kde3 and finds the switch user options for 'start a new session' and 'Lock current and start new session' particularly useful, installing kdm3 will give you these options back.<br /><br />For getting kdm3 back, install kdebase3-kdm.<br /><br /><blockquote>sudo zypper in kdebase3-kdm<br /><br /></blockquote><br />Then goto YaST2->System->/etc/sysconfig Editor.<br /><br />In the tree listing on the left, go into Desktop->Display manager->DISPLAYMANAGER and change its setting from 'kdm4' to '<span style="font-weight: bold;">kdm</span>' (Note: <span style="font-weight: bold;">Don't use kdm3</span>).<br /><br />Save the changes (Click OK Button) and reboot. Kdm3 will now be used instead of Kdm4.<br /><br />And on a side note, just noticed a lot of new visitors coming from <a href="http://www.tuxmachines.org/">tuxmachines.org</a>. Welcome to my blog everyone!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-8891675474292726222009-01-04T19:43:00.004-03:002009-01-05T10:00:29.501-03:00Kima in openSUSE 11.1<div style="text-align: justify;">Just realized that openSUSE 11.1 does not have kima packaged in the KDE community repository. Going through the build service repository, it seems that the build fails on suse 11.1 because of a few additional rpm checks which the build service has added.<br /></div><br /><div style="text-align: justify;">A little bit of digging into the new checks and a small patch to the spec file and voila! Kima builds successfully for 11.1!<br /><br />Get your kima from my home project repository <a href="http://download.opensuse.org/repositories/home:/Xor26/openSUSE_11.1/">here</a>.</div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-66894229172649938512009-01-04T00:38:00.005-03:002009-01-05T16:29:36.596-03:00YaST Software Management module in openSUSE 11.1<div style="text-align: justify;">For anyone who does not like automatically closing behavior of YaST Software Management module (or sw_single) in openSUSE 11.1, I have made a modified package (yast2-packager) which does not close automatically. Get it from my build service home project repository <a href="http://download.opensuse.org/repositories/home:/Xor26/openSUSE_11.1/">here</a>.<br /><br />I do not like the self closing behavior myself. No other package manager in any distribution does this. Even add/remove programs in Windows does not do this either. In 10.3, YaST used to ask if we want to install more packages or not, using a popup window. But as people find this popup irritating, the developers removed it. But I don't think whoever who wanted this also wanted the module to automatically close either. In terms of the user, I think the user will find both these things irritating: 1) Popups and 2) Windows which abruptly close without warning. A proper design would be where the number of clicks a user has to perform is least without experiencing the two behaviors described above. Now consider three use cases: 1) Popup removed and window closes automatically 2) Popup removed but the module does not quit. 3) Popup present.<br /><br />For the first case, if a user does not want to do any futher software changes -> 0 clicks, or if YaST is open too, 1 click to close YaST. Let's give an average of 0.5 clicks.<br />If user want to make software changes -> if YaST is open, click software module (1 click); or go to openSUSE kickoff menu and click 'Install Software' (1 click); or go to openSUSE menu and click YaST, then click Software Management (2 clicks); All these can increase by one click if the user has the traditional KDE menu or the 'open on hover' feature does not work correctly for the buttons in the kickoff menu. Lets give this case an average of 1.25 clicks. (Note that making the user go through the menu again is not good design).<br /><br />For the second use case, if a user does not want to do any further software changes-> 1 click to close the module, 2 clicks to close both the module and YaST if open. Let's give this one an average of 1.5 clicks.<br />If user wants to make software changes-> 0 clicks (module is already open).<br /><br />For the third use case, if a user wants to make any software changes, click yes when popup is displayed (1 click).<br />If user does not want to make any changes, click no when popup is displayed (1 click).<br /><br />Now, lets assign a fixed number of clicks (say 1 click each) to both popup and a self-closing window. So the first case will now have 1 click contribution from the abruptly closing window, the second case will have no contribution and the third case will have 1 click contribution from the popup (Here we are not counting the window closing as the user should be expecting the window to close when he says no).<br /><br />On tabulating and averaging the clicks for the three cases, you can see that the second case has the lowest number of clicks.<br /></div><br /><table border="0" cellspacing="0" cols="4" frame="void" rules="none"><colgroup><col width="150"><col width="86"><col width="86"><col width="86"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="17" width="150"><br /></td> <td style="border: 1px solid rgb(0, 0, 0);" align="center" width="86">Case 1</td> <td style="border: 1px solid rgb(0, 0, 0);" align="center" width="86">Case 2</td> <td style="border: 1px solid rgb(0, 0, 0);" align="center" width="86">Case 3</td></tr><tr> <td style="border-top: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" align="left" height="17">No software changes</td><td style="border-top: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="0.5" sdnum="1033;" align="center">0.5</td><td style="border-top: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="1.5" sdnum="1033;" align="center">1.5</td><td style="border-top: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="1033;" align="center">1</td></tr><tr><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" align="left" height="17">Software changes</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="1033;" align="center">1.25</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="0" sdnum="1033;" align="center">0</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="1033;" align="center">1</td></tr><tr><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);" align="left" height="17">Popups/closing window</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);" sdval="0" sdnum="1033;" align="center">1</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);" sdval="0" sdnum="1033;" align="center">0</td><td style="border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="1033;" align="center">1</td></tr><tr><td style="border: 1px solid rgb(0, 0, 0);" align="left" height="17">Average</td><td style="border: 1px solid rgb(0, 0, 0);" sdval="0.5" sdnum="1033;" align="center">0.92</td><td style="border: 1px solid rgb(0, 0, 0);" sdval="0.5" sdnum="1033;" align="center">0.5</td><td style="border: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="1033;" align="center">1</td></tr></tbody></table><br /><br /><div style="text-align: justify;">Some more observations: If for the first case, we reduce the clicks for 'more software changes' condition to 1, the average no of clicks will be 0.83 which is still larger than 0.5 for the second case. Further, if we reduce the number of clicks for software changes for the first case and then assume that the user gets accustomed to the window closing on its own, then making the contribution from it zero, the average number of clicks then matches the second case.<br /><br />Some people may argue that they need something to tell them that software installation was successful or not at the end of the installation process. But then, if something does go wrong, the module does pop up more notifications/warnings than needed already!<br /><br />In any case, I feel that its best to trust the developers to make the appropriate decision. Since openSUSE is open source free software, we can always make our own customized packages. Feel free to use the package in my repository but remember that its at your own risk!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com4tag:blogger.com,1999:blog-5765703954115510907.post-47012353428046745702008-12-31T00:45:00.014-03:002009-06-22T23:22:36.292-04:00Linux and Vista Hibernation problems<div style="text-align: justify;">Are you experiencing problems hibernating Windows Vista when you have linux installed in a dual boot setting? Does Vista log you out and show you the login/welcome screen when you try to hibernate your computer? The following may be the cause of your problem.<br /></div><br /><div style="text-align: justify;">Vista needs the Windows partition to be marked as the active partition in order to hibernate successfully. To do this, you can use cfdisk utility available on most linux distributions. <span style="font-style: italic;">If you want to use Vista to do this, see the update at the end of the post.</span><br /></div><br /><div style="text-align: justify;">For Ubuntu,<br /><blockquote>sudo apt-get install cfdisk</blockquote></div><div style="text-align: justify;">My openSUSE already had this installed by default. So fire up the terminal/konsole and sudo/su to cfdisk.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_FA4dZSADSFK0HttEEiKGwo9KsD2Qm4BIEJTtmFpocFH4pq8hO7ToqI0xw0mirPj4iyQldPGTEh5PUiTQVxflfaF4qGmjlsmIC5LYJnGq7p8M90oVCWAtYehyphenhyphen4Frg3XhxEyihirFazk/s1600-h/cfdisk_before.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 198px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm_FA4dZSADSFK0HttEEiKGwo9KsD2Qm4BIEJTtmFpocFH4pq8hO7ToqI0xw0mirPj4iyQldPGTEh5PUiTQVxflfaF4qGmjlsmIC5LYJnGq7p8M90oVCWAtYehyphenhyphen4Frg3XhxEyihirFazk/s400/cfdisk_before.png" alt="" id="BLOGGER_PHOTO_ID_5285799326748593202" border="0" /></a><br /><div style="text-align: justify;">Be very careful with this. Do not make changes you do not understand as if you corrupt the partition table, you might lose all your data, along with the OSs. Be sure to backup your important files.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDgk6gHa4bDdVz7XBCQq0q7eA4FNPPpZLIIrpC1A3HyYMvKsFRsrl0iY9eRUSVmpytzJ2ChxbfDi-39A3q2ogRe0mi7OBocBZyVAGe3jojFG7c4qiVv7HXfolbEq4J9nc1DEmMznx8FVo/s1600-h/cfdisk_after.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 198px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDgk6gHa4bDdVz7XBCQq0q7eA4FNPPpZLIIrpC1A3HyYMvKsFRsrl0iY9eRUSVmpytzJ2ChxbfDi-39A3q2ogRe0mi7OBocBZyVAGe3jojFG7c4qiVv7HXfolbEq4J9nc1DEmMznx8FVo/s400/cfdisk_after.png" alt="" id="BLOGGER_PHOTO_ID_5285800081810826242" border="0" /></a><br /></div><div style="text-align: justify;">Look at the partitions and change the 'Boot' flag from the linux partition to the Windows partition. Then select 'Write' to change the partition table. cfdisk may give a message that re-reading the partition table failed. This is normal so don't worry about this.<br /><br />Reboot to Vista and test hibernation.<br /><br />Cheers!<br /><br /><span style="font-weight: bold;">Update:</span> Much simpler and easier method using Vista, thanks to <span style="font-weight: bold;">Marco</span>:<br /><ol><li>Boot to Vista</li><li>Go to Start menu, right click Computer and select Manage to get the Computer Management window.</li><li>Select Disk Management under the Storage category. Your partitions will be shown at the right.</li><li>Right click on your Vista partition and choose "Mark Partition as Active". Your Vista partition will most probably be an NTFS partition and will be labelled 'C:'<br /></li></ol> It's that simple! Now why can't we have something like this in YaST2?<br /><br />A word of caution: If you have grub setup to boot from the boot partition, this method will cause grub to be skipped while booting and Vista will get booted directly. If this happens to you, use a live cd and restore the boot flags for partitions. Set grub to boot from the master boot record to avoid this from happening.<br /><br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com3tag:blogger.com,1999:blog-5765703954115510907.post-68213386801652529812008-12-26T13:59:00.013-03:002009-05-02T23:06:37.832-04:00It works! Broadcom Official Wireless driver (wl) with hidden networks!If you are using the <a href="http://www.broadcom.com/support/802.11/linux_sta.php">official Broadcom hybrid wireless driver</a>, either manually compiled or downloaded the one available for openSUSE from <a href="http://packman.links2linux.com/package/broadcom-wl">Packman</a>, here is a quick fix you can try if you are experiencing problems connecting to hidden wireless networks.<br /><br />I have a Broadcom Corporation BCM4312 802.11b/g.<br />You can find which one you have using<br /><blockquote>/sbin/lspci | grep Broadcom</blockquote><br />My wireless network uses WPA2 (WPA-PSK) with hidden SSID. My kernel is 2.6.27 and Network Manager 0.7. A description of the bug (or what I think is the bug) follows:<br /><a href="http://www.filedropper.com/broadcom-wl-5102711-5pm1i586"></a><br /><span style="font-weight: bold;"><span style="color: rgb(51, 204, 0);font-size:130%;" >Description of the bug</span><span style="color: rgb(51, 204, 0);">:</span><br /><br /></span>After spending long hours going through the source code for Network Manager, wpa_supplicant and the Broadcom driver itself, I have narrowed down the buggy part to the driver. The problem seems to lie in Broadcom's driver. It does not support 'scan_capa'. So to add this support, you can recompile the driver from the source RPM from Packman along with this additional patch.<br /><br /><blockquote>diff -uNr hybrid-portsrc-x86-32_5_10_27_11/src/wl/sys/wl_iw.c hybrid-portsrc-x86-32_5_10_27_11_new/src/wl/sys/wl_iw.c<br />--- hybrid-portsrc-x86-32_5_10_27_11/src/wl/sys/wl_iw.c 2008-12-05 14:41:46.000000000 -0500<br />+++ hybrid-portsrc-x86-32_5_10_27_11_new/src/wl/sys/wl_iw.c 2008-12-26 11:34:11.000000000 -0500<br />@@ -580,6 +580,7 @@<br />range->enc_capa |= IW_ENC_CAPA_CIPHER_TKIP;<br />range->enc_capa |= IW_ENC_CAPA_CIPHER_CCMP;<br />range->enc_capa |= IW_ENC_CAPA_WPA2;<br />+ range->scan_capa = IW_SCAN_CAPA_ESSID;<br />#endif<br /><br />return 0;</blockquote><br />If you are manually compiling, just make the changes specified by the patch i.e. add this line 'range->scan_capa = IW_SCAN_CAPA_ESSID;' to 'src/wl/sys/wl_iw.c' at the specified place.<br /><br />Network Manager now uses AP_SCAN 1 for the wl driver, as the driver now reports that it supports SSID scans (scan_capa 0x01). This seems to work for me and Network manager now connects easily to my hidden network without failing 10 times before connecting, like it used to do before. In fact, using AP_SCAN 2, the original wl driver should not even have connected but association is successful even though the connection fails. Network manager caches the SSID of the network and recognizes it next time for which then it uses AP_SCAN 1. Hence the driver sometimes connects successfully after a lot of unsuccessful attempts.<br /><br />Please let me know if this patch works for you. If something is wrong with this patch or if you want to suggest changes or have anything to say, please feel free to leave a comment.Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com21tag:blogger.com,1999:blog-5765703954115510907.post-38312897268560170342008-12-25T18:23:00.007-03:002008-12-26T15:40:28.796-03:00Change YaST2 Fonts<div style="text-align: justify;">Don't like the default fonts in YaST2 modules? Here's how to change them. Just use su to get root access and then use 'qtconfig' to change the fonts.<br /></div><br /><br /><div style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0wPGUdIydY54psXUcLTdqaGWkfZdzq-GZajOFjCR1noxGHVzE3FeEnBXdbUeCk86ikUfikUvoNZ6zLj80aoJW30fK_JEe0Ry2VmUjLxly8weT4P56X9qEgRAa33-NNvAMBaVd9qHld2w/s1600-h/snapshot1.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 318px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0wPGUdIydY54psXUcLTdqaGWkfZdzq-GZajOFjCR1noxGHVzE3FeEnBXdbUeCk86ikUfikUvoNZ6zLj80aoJW30fK_JEe0Ry2VmUjLxly8weT4P56X9qEgRAa33-NNvAMBaVd9qHld2w/s400/snapshot1.png" alt="" id="BLOGGER_PHOTO_ID_5283845764184225218" border="0" /></a> Qt Configuration with openSUSE default settings<br /><div style="text-align: justify;"><br /><div style="text-align: justify;">I prefer DejaVu fonts with size 10. You can use these or any other fonts you like.<br /></div><br /><div style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBt_eo9zDe32ajKVRWGrsV6oeSSCtp8J8FB0wTODDUEnJg6WYQCEoJxNSKuey9gOnGcGbWJqye4Zgx-QexuCys7VLxG7uxUY8ZSxvix-rAxK7Dy3eDLoyXbTtZFDqDasLvsDhb2HJSTQ/s1600-h/snapshot2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 322px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeBt_eo9zDe32ajKVRWGrsV6oeSSCtp8J8FB0wTODDUEnJg6WYQCEoJxNSKuey9gOnGcGbWJqye4Zgx-QexuCys7VLxG7uxUY8ZSxvix-rAxK7Dy3eDLoyXbTtZFDqDasLvsDhb2HJSTQ/s400/snapshot2.png" alt="" id="BLOGGER_PHOTO_ID_5283846756827821122" border="0" /></a>Qt Configuration after changing font and font size<br /></div><br /><div style="text-align: justify;">See the difference between the old and new YaST2 modules! Much more better on the eyes, I think you will agree.<br /></div><br /><div style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhGVWBtPU-1iOWWCPbk8qAPnOjQJYQxlihhjSnkKCRQP_MIlMZZLIZHrk7t9Fg3Ldq3sxNDt-pPMmnzvDAMvBSufHFE_R9W1bTpYfTvDAI-9u9AX1SY13kwySXYXlRlsah3PPIFhDxd0k/s1600-h/snapshot4.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 280px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhGVWBtPU-1iOWWCPbk8qAPnOjQJYQxlihhjSnkKCRQP_MIlMZZLIZHrk7t9Fg3Ldq3sxNDt-pPMmnzvDAMvBSufHFE_R9W1bTpYfTvDAI-9u9AX1SY13kwySXYXlRlsah3PPIFhDxd0k/s400/snapshot4.png" alt="" id="BLOGGER_PHOTO_ID_5283848560604708610" border="0" /></a> YaST2 Software Management Module (Before)<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTslN-ZH_vHtVEkbH3R98i1eqyJND2z-g1sZ1cUc5M4kXqjpfT0xRamf-8tN1kv2IkC0eVtfK12xdeSvgX81FAqTFYR4gQSxRiIuelwk8PAt54ky2vdszA6_wPsh-wGopoV1BKiwcdCgQ/s1600-h/snapshot3.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 280px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTslN-ZH_vHtVEkbH3R98i1eqyJND2z-g1sZ1cUc5M4kXqjpfT0xRamf-8tN1kv2IkC0eVtfK12xdeSvgX81FAqTFYR4gQSxRiIuelwk8PAt54ky2vdszA6_wPsh-wGopoV1BKiwcdCgQ/s400/snapshot3.png" alt="" id="BLOGGER_PHOTO_ID_5283848927893389442" border="0" /></a>YaST2 Software Management Module (After)<br /><div style="text-align: left;"><br /></div></div></div></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com11tag:blogger.com,1999:blog-5765703954115510907.post-18162430932393489462008-11-19T22:12:00.003-03:002008-11-19T22:28:13.566-03:00The best looking XP theme for linux/gnome ever..<div style="text-align: justify;">Among all the XP themes for gnome I have seen so far, <a href="http://ubuntu.online02.com/node/14">this theme</a> really looks very close to Windows XP. Plus it’s very easy to install than other themes. Just unpack the theme and run the “InstallXpGnome.sh” file.<br /></div><br /><div style="text-align: justify;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvczLJKoEGSP8FkGRjDLBbo8g9nM73FuGM_r1LMrMWXGUtppn399OqqGmj3Y7N1gVboDzmJtDIAQ3FS1MsA6MMNcB3yxd1diWc_8Mx9G7IFO33TYQSgXUiAava81GE2I-KPH3PQ24aWNw/s1600-h/XPtheme3.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvczLJKoEGSP8FkGRjDLBbo8g9nM73FuGM_r1LMrMWXGUtppn399OqqGmj3Y7N1gVboDzmJtDIAQ3FS1MsA6MMNcB3yxd1diWc_8Mx9G7IFO33TYQSgXUiAava81GE2I-KPH3PQ24aWNw/s400/XPtheme3.jpg" alt="" id="BLOGGER_PHOTO_ID_5270541693263629714" border="0" /></a>Kudos to whoever who made this theme. It must have taken a good amount of work to get the theme and installer properly finished and working. </div><p style="text-align: justify;">Although some people might just ask ‘Why?’, themes like this help people who are new to Linux get adjusted to the new user interface easily. This theme makes them feel comfortable since it resembles an environment which they are already used to (namely Windows).</p><div style="text-align: justify;"> </div><p style="text-align: justify;"><strong>Beware: This theme does not have an uninstaller! You have to do it manually!</strong></p><div style="text-align: justify;"> </div><p style="text-align: justify;"><strong>Tip</strong>: Ubuntu 8.10 (Intrepid Ibex) users have the option of switching to the guest user account rather than their normal account in order to try this theme and see if they like it or not..</p>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-8149487630831338162008-06-28T09:35:00.006-04:002008-07-01T12:15:42.481-04:00PDF Printer on openSUSE<div style="text-align: justify;">PDF Printer is really a necessary feature that should be included by default in openSUSE. But since it is not, we shall install it quickly and effortlessly.<br /><br /></div><ol style="text-align: justify;"><li>Go to <a href="http://software.opensuse.org/search">openSUSE Software Search</a>. Search for 'cups-pdf'. Make sure the proper version of openSUSE is selected before you start searching.</li><li>Choose the latest version from the results. I chose the one from <a href="http://download.opensuse.org/repositories/home:gcoste/">gcoste</a>'s home repository. But you can choose any other too. You can install the rpm by using the 1-click install.</li><li>Next we need to add the PDF Printer to cups. So open up CUPS Administration by clicking this link (<a href="http://localhost:631/admin">http://localhost:631/admin</a>).</li><li>If cups has already not found the new printer, click 'Find New Printers' under the 'Printers' category. CUPS will have now detected the 'Virtual PDF Printer'. In the next screen, leave the 'Make' section blank. Fill up the 'Provide a PPD File' section by browsing to '/usr/share/cups/model/' directory and selecting the PPD file that came with the cups-pdf rpm. You can find this file by using <blockquote>rpm -ql cups-pdf</blockquote>The file with the .ppd extension in the list is the one you require to select here. Next, click the 'add printer' button and the pdf printer will be added to cups.<br /></li><li>Next we need to configure the default directory in which the created pdf files will be stored. This is by default '/var/spool/cups-pdf/${USER}'. Hence, to store the pdf files onto the desktop, edit '/etc/cups/cups-pdf.conf' file. Change the line <blockquote>#Out /var/spool/cups-pdf/${USER}</blockquote>to <blockquote>Out /home/${USER}/Desktop</blockquote></li></ol><div style="text-align: justify;">There! Now you have successfully installed PDF printer in openSUSE. Try a few pdf prints to verify that the pdf printer is working properly.<br /><br />For more details including about how to compile pdf printer from source, refer the opensuse documentation <a href="http://en.opensuse.org/Printing_to_PDF_HOWTO">here</a>.<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com2tag:blogger.com,1999:blog-5765703954115510907.post-75661881126174898872008-06-22T23:12:00.003-04:002008-06-22T23:23:59.699-04:00openSUSE 11.0 Released!<div style="text-align: justify;">After a long wait, the new openSUSE 11.0 has been released! With the fastest package management to date, and the best stable KDE 4 distro available yet, openSUSE is definitely worth the download. <a href="http://software.opensuse.org/">Get</a> yours today! And have a lot of fun!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-35189382211854246792008-02-17T10:43:00.018-03:002008-02-17T13:12:57.319-03:00Doom 3 for Linux<div style="text-align: justify;">ID Software has always been a good supporter of open source, from releasing the source code for older versions of it's games (quake and doom series) to making available native versions of its games for the Linux platform. Unlike other Windows games which linux users can only hope to run using wine, ID games run natively on linux, requiring lesser resources and also provide better performance.<br /><br /></div><div style="text-align: justify;">Doom 3 is one of the great and stunning games made by ID Software. Here's how to install it.<br /><br />First of all, you would require a legitimate copy of Doom 3 purchased from ID Software.<br /><br /></div>For the next step, go <a href="ftp://ftp.idsoftware.com/idstuff/doom3/linux/">here</a> and download<br /><blockquote>doom3-linux-1.3.1.1304.x86.run</blockquote><br /><br />onto your desktop.<br /><br />If you want to try a demo version, download the other file<br /><blockquote>doom3-linux-1.1.1286-demo.x86.run </blockquote><br /><br />If there is a newer version, of either files, download the newer ones.<br /><br />Now run this file putting the following into a terminal.<br /><blockquote>sh ~/Desktop/doom3-linux-1.3.1.1304.x86.run</blockquote><br /><div style="text-align: justify;">The install program will first detect your distro and system. Press Enter.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfKsvjoN12PSfB3uIMIsqvf8aXv58T7XgEPqE49rCtha_3BK8vwqao8_fuDMv7-XOAE63mgSn5kFfsHl_uX9RGxfdt6mN_vMqXKwniiZxmVkD1OfzFToDHVs-g3jXAiQwZaoOVCULAd38/s1600-h/bl1.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfKsvjoN12PSfB3uIMIsqvf8aXv58T7XgEPqE49rCtha_3BK8vwqao8_fuDMv7-XOAE63mgSn5kFfsHl_uX9RGxfdt6mN_vMqXKwniiZxmVkD1OfzFToDHVs-g3jXAiQwZaoOVCULAd38/s320/bl1.png" alt="" id="BLOGGER_PHOTO_ID_5167961141464601282" border="0" /></a><br /><div style="text-align: justify;">Next, it will show you the license. Press Enter.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi30pWNYZtlegqzMC_GC_eDWzOzzm5LG81Bc2vBgu8exmHCW6xHfKNIt3AVaPp1_pdVcEP6z7Hvw7VdV6MiqCWiXg4b4LnxRMqAORmaLxZqmR2GYjU5j0LfLiAszeVPyRgsT5i6BneD07Y/s1600-h/bl2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi30pWNYZtlegqzMC_GC_eDWzOzzm5LG81Bc2vBgu8exmHCW6xHfKNIt3AVaPp1_pdVcEP6z7Hvw7VdV6MiqCWiXg4b4LnxRMqAORmaLxZqmR2GYjU5j0LfLiAszeVPyRgsT5i6BneD07Y/s320/bl2.png" alt="" id="BLOGGER_PHOTO_ID_5167962189436621522" border="0" /></a><br /><div style="text-align: justify;">You will be then asked if you want to accept the license in the next step. You have to accept if you want to proceed.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis7qB2pZwgHaMk6-Q8Gik9WwCb1wbFD4Oig6ROroZMD8JgED5PoOat-mrxzlmo5HBfyXeSEil0sibVZrZw-GaMIph9Zbf9DhjX3uqgdqQlpDGED8BTeO-FscfvJZSh9qrm_SqL_x2OeO4/s1600-h/bl3.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis7qB2pZwgHaMk6-Q8Gik9WwCb1wbFD4Oig6ROroZMD8JgED5PoOat-mrxzlmo5HBfyXeSEil0sibVZrZw-GaMIph9Zbf9DhjX3uqgdqQlpDGED8BTeO-FscfvJZSh9qrm_SqL_x2OeO4/s320/bl3.png" alt="" id="BLOGGER_PHOTO_ID_5167965414957060834" border="0" /></a><br /><div style="text-align: justify;">You will be asked if you want to read the readme file. Select your choice. In the next step, you have to enter the installation path. By default, the installer will install the files to '/usr/local/games/doom3'.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv1JwypJc7Gzk5VwoP2ORRyufd4lYp3ubR7z5RtdQce6J6NfMRD8JDpi8-WHkfJF73BvPSe3kWmiG_-u1tO60sZdrnzFEoKQd7G87AT_LjRPyB6fBokeOHqQrnjMeDXR3TjIOVgNrjiXg/s1600-h/bl4.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv1JwypJc7Gzk5VwoP2ORRyufd4lYp3ubR7z5RtdQce6J6NfMRD8JDpi8-WHkfJF73BvPSe3kWmiG_-u1tO60sZdrnzFEoKQd7G87AT_LjRPyB6fBokeOHqQrnjMeDXR3TjIOVgNrjiXg/s320/bl4.png" alt="" id="BLOGGER_PHOTO_ID_5167965926058169074" border="0" /></a><br /><div style="text-align: justify;">If you want to install Doom 3 for all users, you need to exit here and start the installer again with root permissions in order to write to /usr/local/games. Just put a 'sudo' before the command to start the installer as root. But if you want that all files be handled by the package management of your distro and are a single user, it would be better to install Doom 3 into your home directory.<br /><br />Create a directory 'Doom3' using the command </div><blockquote>mkdir ~/Doom3</blockquote><div style="text-align: justify;"><br />in a second terminal. Now give the installation path as '~/Doom3'.<br /></div><br /><div style="text-align: justify;">Next, you will be asked for the Symlink path. Keep the default path if you are installing as root. Else, change it to '~/bin' if you are installing as a normal user.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPVFUlLJLG51YIkqtea-hryQhfjG3MLXtp70zcou3VPPY9hENM-ry7T4Su71N7O4HGeVxmWh9tXlzqzabE76cenKyq3CphU5kLjXtqsdE4FzJsMBNKX-M8U9c30_dxJsu9zn8xZx-CFdA/s1600-h/bl5.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPVFUlLJLG51YIkqtea-hryQhfjG3MLXtp70zcou3VPPY9hENM-ry7T4Su71N7O4HGeVxmWh9tXlzqzabE76cenKyq3CphU5kLjXtqsdE4FzJsMBNKX-M8U9c30_dxJsu9zn8xZx-CFdA/s320/bl5.png" alt="" id="BLOGGER_PHOTO_ID_5167966810821432066" border="0" /></a><br /><div style="text-align: justify;">Next choose if you want to install Punkbuster. If you do, you will have to accept a second license agreement.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj10qg3jNaIJa16YLzkN3B3V2w04_tB3HViM5OcPKH32D0aewPbu6yHLJ-SGOazho9n-T8B4LAmma8JJ4DQcq7aI7m9OBD5WXs70z8byNBvIX7SRF_V-wQgs_QGYkyCs4HJM1Sm7XjV3N0/s1600-h/bl6.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj10qg3jNaIJa16YLzkN3B3V2w04_tB3HViM5OcPKH32D0aewPbu6yHLJ-SGOazho9n-T8B4LAmma8JJ4DQcq7aI7m9OBD5WXs70z8byNBvIX7SRF_V-wQgs_QGYkyCs4HJM1Sm7XjV3N0/s320/bl6.png" alt="" id="BLOGGER_PHOTO_ID_5167967047044633362" border="0" /></a><br /><div style="text-align: justify;">Next, say 'yes' to install startup menu entries.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixE8hkHmfSrJk6eCkyMSl7vXp28mvZqV6SiJrkhAsIBMz8T7I0nel7efQc83z1aHxBhAJxLDMCnozxwemNBXvKeg7_DzHd5v75LR9V_7omp-AdcMlIWB_SZVnfbMMN5iCgO8c6Jc6GITo/s1600-h/bl8.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixE8hkHmfSrJk6eCkyMSl7vXp28mvZqV6SiJrkhAsIBMz8T7I0nel7efQc83z1aHxBhAJxLDMCnozxwemNBXvKeg7_DzHd5v75LR9V_7omp-AdcMlIWB_SZVnfbMMN5iCgO8c6Jc6GITo/s320/bl8.png" alt="" id="BLOGGER_PHOTO_ID_5167967824433713954" border="0" /></a><br /><div style="text-align: justify;">The installer will install the files and should finish successfully.<br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpUbjKAPuDfRSAlIoealfWxZKImjnF9eU3cUgqvUy7wUvPn_ySJzL6mDg5Si6cH0DGeswIDn7AHHmJng3NfyF_a_UxrhO4socVTvCJdHUri8yAbpic2axadVnoa2NuTHVubE0wmYT0Sv0/s1600-h/bl9.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpUbjKAPuDfRSAlIoealfWxZKImjnF9eU3cUgqvUy7wUvPn_ySJzL6mDg5Si6cH0DGeswIDn7AHHmJng3NfyF_a_UxrhO4socVTvCJdHUri8yAbpic2axadVnoa2NuTHVubE0wmYT0Sv0/s320/bl9.png" alt="" id="BLOGGER_PHOTO_ID_5167967957577700146" border="0" /></a><br /><div style="text-align: justify;">It's not over yet. There's still one last step. Now you will need to copy pak000.pk4, pak001.pk4, pak002.pk4, pak003.pk4, pak004.pk4 files from the Doom 3 Cds. They are available in '/SETUP/DATA/BASE' folder of the CDs.<br /></div><blockquote></blockquote><blockquote><blockquote>CD1 -> pak002.pk4<br />CD2-> pak000.pk4, pak001.pk4<br />CD3-> pak003.pk4, pak004.pk4<br /></blockquote></blockquote><div style="text-align: justify;"><br />These need to be copied to '/usr/local/games/doom3/base' or '~/Doom3/base' depending upon what you chose as the installation path during the setup.<br /><br /></div><div style="text-align: justify;">Now upon restarting your computer or just your DE, you should have menu entries for Doom 3 and Doom 3 dedicated server. If you don't have them, create them, or just do Alt+F2 and run 'doom3' to start the game.<br /><br /></div><div style="text-align: justify;">Now, Doom 3 should start without any problems and will ask for the CD key. Put in your key here.<br /><br />Now you are ready to play Doom 3 on linux. If you face any problems with the installation, consult <a href="http://zerowing.idsoftware.com/linux/doom/">this page</a>. Enjoy!<br /></div><br /><span style="font-family:monospace;"></span>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-11605213126423322242008-02-14T13:05:00.012-03:002008-02-18T00:32:59.209-03:00Kima, a kicker monitoring applet<div style="text-align: justify;">I have tried many different hardware monitoring applications for my linux desktop. But most of them either did not work properly or slowed down my computer or occupied my precious desktop space unnecessarily, distracting me with graphs and plots. Then I found the perfect little KDE kicker applet which gave me exactly what I wanted - a simple monitor. It's called Kima.<br /><br /></div><br /><div style="text-align: justify;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsKJCBkM8PQhMJMtjUwRATA9v9WTt5hxBuWJydiBwQUsrfjo_Ex2FgtTYeVzFu38zvGFyC4Gh7mJcaGA54l8Rgp99TF2DVhVdlhuDk59pjhQuNQ8yKQkrXzboS51WxBR38tCi0VV6vIME/s1600-h/Kima1.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsKJCBkM8PQhMJMtjUwRATA9v9WTt5hxBuWJydiBwQUsrfjo_Ex2FgtTYeVzFu38zvGFyC4Gh7mJcaGA54l8Rgp99TF2DVhVdlhuDk59pjhQuNQ8yKQkrXzboS51WxBR38tCi0VV6vIME/s320/Kima1.png" alt="" id="BLOGGER_PHOTO_ID_5166874501853811346" border="0" /></a><br />It can monitor <span class="smallcontenttext">various temperature, frequency and fan sources and sits inconspicuously in the kde kicker panel. It can monitor hard disk temperatures, CPU temperatures, motherboard zone temperatures, laptop battery charge, system uptime, CPU usage and also fan speeds in rpm. It even supports monitoring the GPU temperature of an Nvidia card.<br /><br /></span></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga6bmNR2_oGvFB76UeNvLFxjMvFVABA03IsSD_B6uhU_3T7IDDKZwcxd0MH2cy_h_Vyh4hgDSvG7yY52widw1BWQrWmeM_qFih6mfdoxehBvU5N91A9BOorO9rQOQaQEdTeZzdmoaSr_8/s1600-h/Kima2.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga6bmNR2_oGvFB76UeNvLFxjMvFVABA03IsSD_B6uhU_3T7IDDKZwcxd0MH2cy_h_Vyh4hgDSvG7yY52widw1BWQrWmeM_qFih6mfdoxehBvU5N91A9BOorO9rQOQaQEdTeZzdmoaSr_8/s320/Kima2.png" alt="" id="BLOGGER_PHOTO_ID_5166880360189203122" border="0" /></a><br /><br /><div style="text-align: justify;"><span class="smallcontenttext">From <a href="http://kima.sourceforge.net/">Kima's website</a>,</span><br /></div><span class="smallcontenttext"><br /></span><div id="features"> <a name="features"></a><div style="text-align: justify;"><blockquote><a name="features"><span>Features</span></a><br /><p>Supported thermal sources:</p> <ul><li>the Linux ACPI Thermal Zone driver. The corresponding kernel module is called thermal.</li><li>the thermal sources of the Linux ACPI driver for the IBM ThinkPad laptops. The corresponding kernel module is called ibm-acpi.</li><li>the IBM Hard Drive Active Protection System (HDAPS) driver. The corresponding kernel module is called hdaps.</li><li>the Omnibook Configuration Tools & Patches. The corresponding kernel module is called omnibook.</li><li>the iBook G4 CPU and GPU thermal zones. It may work on other Apple machines as well (please let me know).</li><li>the thermal sensors available through hwmon (I2C, lm_sensors, ...).</li><li>the CPU thermal sensor of the i8k kernel driver for Dell Inspiron and Latitude notebooks.</li><li>the GPU thermal sensors of nvidia-settings (provided by the nVidia GPU card driver tools)</li><li>the termal sensors provided by hddtemp daemon (make sure hddtemp runs on 127.0.0.1 port 7634 before kima starts)</li></ul> <p>Supported frequency sources:</p> <ul><li>the Linux kernel /proc/cpuinfo interface</li><li>the Linux kernel cpufreq subsystem</li></ul> <p>Supported fan sources:</p> <ul><li>the fan sensors available through hwmon (I2C, lm_sensors, ...)</li><li>the fan sources of the Linux ACPI driver for the IBM ThinkPad laptops. The corresponding kernel module is called ibm-acpi.</li><li>the fan sources of the i8k kernel driver for Dell Inspiron and Latitude notebooks.</li></ul> <p>Misc sources:</p> <ul><li>CPU usage source (for each CPU and/or commulative for all CPUs)</li><li>uptime source that displays the current system uptime</li><li>battery source that displays the current state of charge of your batteries</li></ul> <p>Misc:</p> <ul><li>cpufreqd control module to switch cpufreqd profiles via cpufreqd remote interface</li></ul></blockquote></div></div><div style="text-align: justify;">Give this little applet a try if you are looking for a simple monitoring application. I am sure you will like this one. For openSUSE 10.3, you will need to add the <a href="http://download.opensuse.org/repositories/KDE:Community/openSUSE_10.3">KDE:Community</a> repository. To start the applet in KDE, right-click on kicker and select 'Add applet'. Choose Kima from the list of applets. Packages are also available for Ubuntu, Fedora, Debian, Mandriva, Slackware, Pardus and Gentoo on <a href="http://kima.sourceforge.net/">Kima's website</a>. Cheers!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-72264518656926365252008-02-11T01:39:00.001-03:002008-02-14T13:43:15.740-03:00Why 'sudo rm -rf /' is BAD!<div style="text-align: justify;"><span>Here's what happens when you run 'sudo rm -rf /'. Really an excellent example why you should not run this command on your linux machine. Thanks to <a href="http://www.youtube.com/user/alwayschooseford">alwayschooseford</a> for this great video!</span><br /></div><br /><a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-045164189010048483 visible ontop" href="http://www.youtube.com/v/wWOjmvWPRvQ&rel=1"></a><a style="left: 0px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-045164189010048483 visible ontop" href="http://www.youtube.com/v/wWOjmvWPRvQ&rel=1"></a><object height="355" width="425"><param name="movie" value="http://www.youtube.com/v/wWOjmvWPRvQ&rel=1"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/wWOjmvWPRvQ&rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"></embed></object>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-46782678613981644252008-02-11T01:03:00.001-03:002008-02-14T13:42:43.346-03:00Compiz with Nvidia<div style="text-align: justify;">For all those who are using <a href="http://compiz.org/">compiz</a> with nvidia and unable to start it using the Compiz Fusion icon and are getting the error '<span style="font-weight: bold;">No GLXFBConfig for default depth</span>', here's what to do.<br /><br />This is presently for compiz-0.7.0-5.1, fusion-icon-0.0.1_080201-2.1 and nvidia driver version 169.09. Use the latest nvidia driver if you are not using it. I presume you must have installed compiz, <a href="http://www.compiz-fusion.org/">compiz fusion</a> and the compiz fusion icon from the openSUSE repository. If you haven't already, then go <a href="http://en.opensuse.org/Compiz_Fusion">here</a> to find out how to install it.<br /><br />Compiz with nvidia needs to first have the option 'composite' enabled in xorg.conf file. If you haven't done this, add this to your /etc/X11/xorg.conf file.<br /><blockquote>Section "Extensions"<br /> Option "Composite" "Enable"<br />EndSection<br /></blockquote><br />Next compiz with nvidia also needs to be started with '<span style="font-weight: bold;">--no-libgl-fallback</span>' option. This is presently not taken care of in compiz fusion icon. Hence open up <blockquote>/usr/lib/python2.5/site-packages/FusionIcon/data.py</blockquote><br />with root permissions. Use 'sudo' or 'su', whichever you like and any text editor you prefer.<br /><br />Find the line<br /><blockquote>compiz_args = ['--replace', '--sm-disable', '--ignore-desktop-hints', 'ccp']</blockquote><br />Replace it with<br /><blockquote>compiz_args = ['--replace', '--sm-disable', '--ignore-desktop-hints', 'ccp', '--no-libgl-fallback']</blockquote><br />Save the file.<br /><br />Restart X to be safe and fire up compiz fusion icon and select compiz as the window manager. Compiz should start now. Hope this helps! Bye.</div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-747295678864148482007-05-21T10:46:00.000-04:002008-02-11T01:52:48.401-03:00Bootsplash in openSUSE<div style="text-align: justify;">openSUSE has one of the most gorgeous looking bootsplash than most other Linux distros out there. In all my previous installs of openSUSE, for some mysterious reason, the bootsplash never showed up during boot. This was mainly due to the fact that the screen resolution for the splash was not set properly during install. In Yast2, the bootloader module does not give you options to choose the appropriate resolution from, as can be seen below.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTw12exLkRNGoEjLyfSznZNnzhbPGmwr5-yVlRsY7HxttWfRODKYbCVIX4wBbpZe5ylq5RqCyF0_d40YqcNWrvEhCLW1_Xh3K9P6tWwyqpMZpV0vT6r4-WVvsdqNpexqlJV2Iih8QB55k/s1600-h/splash.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTw12exLkRNGoEjLyfSznZNnzhbPGmwr5-yVlRsY7HxttWfRODKYbCVIX4wBbpZe5ylq5RqCyF0_d40YqcNWrvEhCLW1_Xh3K9P6tWwyqpMZpV0vT6r4-WVvsdqNpexqlJV2Iih8QB55k/s320/splash.png" alt="" id="BLOGGER_PHOTO_ID_5067029385957545938" border="0" /></a><br />You have to manually enter the corresponding code for your screen resolution. In my case, it was 794. Remember that bootsplash currently works only up to 16bit. If bootsplash still does not work, choose a lesser resolution and see if it works. To get the appropriate vga mode for your screen resolution, refer the table below:<br /><br /><div style="text-align: center;"><table border="1" cellpadding="3" cellspacing="0"><tbody><tr><th><br /></th><th>Screen Size </th><th>640x480 </th><th>800x600 </th><th>1024x768 </th><th>1280x1024 </th></tr><tr> <th>Colors </th><th><br /></th><th><br /></th><th><br /></th><th><br /></th><th><br /></th></tr><tr> <th>256 (8 bit) </th><th><br /></th><td>769 </td><td>771 </td><td>773 </td><td>775 </td></tr><tr> <th>32000 (15 bit) </th><th><br /></th><td>784 </td><td>787 </td><td>790 </td><td>793 </td></tr><tr> <th>65000 (16 bit) </th><th><br /></th><td>785 </td><td>788 </td><td>791 </td><td>794 </td></tr><tr> <th>16.7M (24 bit) </th><th><br /></th><td>786 </td><td>789 </td><td>792 </td><td>795 </td></tr></tbody></table><div style="text-align: justify;"><br />Note: If the above does not work, also try running additionally with root permissions<div style="text-align: center;"><blockquote>mkinitrd -s screen_size</blockquote><screen></screen><br /><screen></screen></div><screen> where '<screen>screen_size' will be 1280x1024 for an LCD monitor with 1280x1024 as the maximum screen resolution.<br /></screen></screen></div></div></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-50023922939286300272007-05-09T11:04:00.000-04:002008-02-11T01:51:34.022-03:00How to install Internet Explorer in Linux<div style="text-align: justify;">Although using Firefox is preferable than using IE, sometimes you really require IE to open a page which is IE only. This can be problematic especially if you are running Linux. Also, if you are a web developer and using Linux, installing IE can prove to be be useful.<br /><br />Internet Explorer can be used in Linux using <a href="http://www.winehq.org/">Wine</a>. Wine can be easily obtained on any Linux distribution easily using the appropriate repository or it may even come pre-installed. But the difficult part is to get IE installed and working properly. To get the latest wine package for openSUSE 10.2, just add <a href="http://software.opensuse.org/download/Emulators:/Wine/openSUSE_10.2/">this</a> repo as a source to Yast2 and then install wine.<br /><br />Next, to install IE, use <a href="http://www.tatanka.com.br/ies4linux/page/Main_Page">IEs4Linux</a>. This provides a very convenient way to install IE and automatically downloads all required components. It also provides you with an icon on the desktop for launching IE. I have found it to be bug-free and the installed IE has worked flawlessly till now. Although you should be aware that the installed IE is as insecure as actual IE itself and so you would be better off using Firefox and use IE only when absolutely required.<br /><br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-38918559892352632512007-05-08T09:21:00.000-04:002008-02-11T01:52:48.401-03:00How to change MAC address in openSUSE 10.2Yast2 is a great tool in openSUSE for configuring all your network settings but one thing it lacks is the option to change the MAC address of the network card. This option is available in Windows so I see no reason why it should not be available in Yast.<br /><div style="text-align: justify;"><br />Luckily, there is an alternate way to change your MAC address. I am assuming that you would want to change the MAC address on every boot. Otherwise 'ifconfig' is always available to change the MAC address.<br /><br />To change the MAC address automatically on every boot, just create a file named 'rclocal' in /etc/init.d folder. Enter the following in this file:<br /></div><br /><blockquote><br />#! /bin/sh<br /><br />## This script simulates redhat's rc.local (Add commands at the end)<br /><br />### BEGIN INIT INFO<br /># Provides: rclocal<br /># Required-Start: $local_fs $remote_fs $network<br /># X-UnitedLinux-Should-Start: $ALL<br /># Required-Stop:<br /># X-UnitedLinux-Should-Stop:<br /># Default-Start: 3 5<br /># Default-Stop: 0 1 2 6<br /># Short-Description: Simulates rc.local<br /># Description: Simulates redhat's rc.local: contains<br /># commands to execute after system has booted (all services are already<br /># available)<br />### END INIT INFO<br /><br />## Execute ony when service is started<br />case "$1" in<br />start)<br /> ## commands will be executed<br />;;<br />*)<br /> exit 0<br />;;<br />esac<br /><br /># vvvvv Add your commands bellow this line vvvvv<br />/sbin/ifconfig eth0 hw ether 'Your New MAC address here'<br /></blockquote><br /><br /><div style="text-align: justify;">Enter the MAC address that you want in the last line. After this, open up Yast2 and goto System-> System Services (Runlevel). In the list of services, select rclocal and enable it.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhinUGf2JTJzMgpG_SMIHn0vZIzjBUgm_AgW-MpMdUnprNVC12UKhVRs4Vu_5sDA_gciVaApuLY7vQZ6qT3SmEUBgMqEeP2B4tIgAcTWvKetMJzirgYJVDaspl5mQave9_hOd3_LnOQ8Ps/s1600-h/rclocal.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhinUGf2JTJzMgpG_SMIHn0vZIzjBUgm_AgW-MpMdUnprNVC12UKhVRs4Vu_5sDA_gciVaApuLY7vQZ6qT3SmEUBgMqEeP2B4tIgAcTWvKetMJzirgYJVDaspl5mQave9_hOd3_LnOQ8Ps/s320/rclocal.png" alt="" id="BLOGGER_PHOTO_ID_5062184706040109618" border="0" /></a><br /><div style="text-align: justify;">Save the changes. Reboot your computer. On reboot, the MAC address of your network card should now have been changed to the new one.<br /></div><br />Note that this file can also be used like redhat's rc.local and so you can also add other stuff here.<br /><br />Hope this has been useful! Please let me know if I have written anything incorrectly. Bye!<br /><br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com2tag:blogger.com,1999:blog-5765703954115510907.post-4186140573417462742007-05-07T06:45:00.000-04:002008-02-11T01:52:48.402-03:00Yay! I finally got lirc working...<div style="text-align: justify;">I have a Pinnacle PCTV Stereo card that comes along with a remote which I finally got working today. So here's what I did to get it working on my distro, openSUSE 10.2:<br /></div><ul style="text-align: justify;"><li>install lirc and lirc-kmp-default using Yast2.</li><li>changed entries 'LIRCD_DEV_PERMISSIONS="666"', 'LIRCD_DRIVER=pinsys' and 'LIRCD_DEVICE=/dev/ttyS0' (for receiver connected to COM1) in /etc/sysconfig/lirc file.</li><li>used 'irrecord' command to create a config file for the remote and copied it over to /etc/lircd.conf. (You can also use the provided config file for Pinnacle remote in remotes directory of lirc source.)<br /></li><li>Got lirc to start as service on boot using Yast2 (System->System Services).</li><li>Started irkick and configured modes and events as per my convenience.</li></ul><div style="text-align: justify;">If you want irkick to start automatically on login, just start irkick once and exit from it using the pop-up menu from the irkick panel icon. At this time irkick will ask if you want it to start automatically on login. Select your choice at this time.<br /><br />One can use control tvtime using irkick by using the command 'tvtime-command'. See it's man page for the available control options. Use the 'Kde Program Launcher' option available when you are assigning a new function to the remote control button. For starting tvtime initially, just use the Kde Program Launcher to start 'tvtime' command.<br /><br />Now that I have lirc setup properly, I can control both tvtime and amarok using my remote. This is great! Also, using DCOP, I can shut down my computer using the remote.<br /><br />I still haven't found out how to simulate a keyboard key event so that I can browse through the kmenu. If anyone knows about this, please tell me. Cheers!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-6636260506503970052007-05-06T02:27:00.000-04:002008-02-11T01:52:48.402-03:00New KDE 4 games<div style="text-align: justify;">There are 2 new games to be included in KDE 4.0 - <a href="http://milliams.com/content/view/18/42/">KSquares</a>, a KDE implementation of the paper "squares" game and <a href="http://home.gna.org/kiriki/">Kiriki</a>, a Tali dice game. But around 10 games wont be making it because there is no maintainer to work for the transition from kde 3 to kde 4.<br /></div><ul><li>Atlantik</li><li>KFouleggs</li><li>Klickety</li><li>KPoker</li><li>Kenolaba</li><li>KAsteroids</li><li>KSnake</li><li>KSokoban</li><li>KJumpingcube</li><li>KTron</li></ul><div style="text-align: justify;">So, if any of your favorite games are listed above, join the kdegames-devel <a href="https://mail.kde.org/mailman/listinfo/kde-games-devel">mailing list</a> and volunteer to help your game to be included in KDE 4.1. I myself would really like KTron and Ksnake to be ported.<br /><br />Oh, by the way, the ported games look really polished and beautiful. For more information, refer this <a href="http://dot.kde.org/1178370429/">announcement</a> or the kdegames module release co-ordinator's blog <a href="http://johann.pwsp.net/2007/05/02/which-games-are-moving/">here</a>.<span style="text-decoration: underline;"></span><a href="http://dot.kde.org/1178370429/"><span style="text-decoration: underline;"></span></a><br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-6481587158055545902007-05-05T11:26:00.000-04:002008-02-11T01:52:48.403-03:00Preview of new KDE4!<div style="text-align: justify;">Saw some great videos of KDE4 on youtube today. You can watch them below. I wonder if this means the end of compiz and beryl as we know it. Regardless, just can't wait for kde 4 to be released. It's gonna be great! Gnome developers better do something to keep up.<br /></div><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/SWaSz4smYlg"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/SWaSz4smYlg" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object><br /><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/LMnmGdk1ODs"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/LMnmGdk1ODs" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object><br /><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/zLSsAPBiudE"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/zLSsAPBiudE" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object><br /><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/zGRdfI5WKIg"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/zGRdfI5WKIg" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object><br /><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/ZQWkt6_6pGs"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/ZQWkt6_6pGs" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object><br /><br /><object height="350" width="425"><param name="movie" value="http://www.youtube.com/v/gMVB8LYMR6o"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/gMVB8LYMR6o" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></object>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com1tag:blogger.com,1999:blog-5765703954115510907.post-25146442823619413672007-04-28T10:26:00.000-04:002007-04-28T10:36:18.213-04:00Even Bender hates Windows... lolI just saw an episode of Futurama today where Bender makes a hilarious joke about Windows. Check it out!<br /><br /><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/oK_jd_OVITg"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/oK_jd_OVITg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br /><br />See? Even machines hate running Windows...Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-75360107227443516002007-04-24T01:59:00.000-04:002008-02-11T01:52:48.403-03:00Ntfs read/write on openSUSE with ntfs-3g!<div style="text-align: justify;">Ntfs-3g has reached 1.0 and this means that you can now safely write on your Windows ntfs partitions!<br /><br />To install ntfs-3g for openSUSE, you need to add <a href="http://software.opensuse.org/download/filesystems/openSUSE_10.2/">this</a> repository as source to Yast. Just install ntfs-3g and fuse from the repo.<br /><br />Also change the type from ntfs to ntfs-3g in your /etc/fstab file for the ntfs partitions. Remember to remove the 'ro' (read only) option from the fstab entries for the ntfs partitions. Reboot and your ntfs partitions will now be writable!<br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0tag:blogger.com,1999:blog-5765703954115510907.post-15333329068312216732007-04-23T08:40:00.000-04:002008-02-11T01:52:48.404-03:00Installing SUSE without CD<div style="text-align: justify;">Like many linux distros, openSUSE has a fast release cycle of about 6-9 months. Burning 5 CDs for the distribution or a DVD every time a new version is released, wastes a lot of CDs and DVDs. It's also bad for the environment.<br /><br />There is an alternate method to install openSUSE using a DVD iso image only, without burning it to CD/DVD. Also if your PC does not, for some reason, boot from CD/DVD this method can be useful. An existing Windows FAT32 partition from a dual-boot setup has been used here. Also, I am assuming that you have grub as the boot-loader and have an existing Linux distribution, preferably SUSE, installed.<br /></div><ul style="text-align: justify;"><li>First, download the latest openSUSE Goldmaster DVD iso image on a FAT32 partition. You can do that from <a href="http://download.opensuse.org/">here</a>.</li></ul><ul style="text-align: justify;"><li>Next unpack the iso image contents into a folder on the partition and name that folder 'openSUSE'. This folder should be created in the root of the FAT32 partition. </li></ul><ul style="text-align: justify;"><li>Next, in the openSUSE folder, go into boot -> i386 -> loader. From this folder you will need to pick up two files - linux and initrd. Copy these somewhere and rename then as 'suselinux' and 'suseinitrd' respectively. Move them over to /boot folder of your Linux partition or whichever partition you have the bootloader installed.</li></ul><ul style="text-align: justify;"><li>Next, in /boot/grub/menu.lst file of your Linux partition, add an entry with the title as 'Install openSUSE' and the lines specifying kernel and initrd to 'kernel /boot/suselinux' and 'initrd /boot/suseinitrd'. The entry for 'root' should be the same as that for your existing Linux distro entry in the file. The new entry should look something like this:</li></ul><div style="text-align: justify;"><div style="text-align: left;"></div><div style="text-align: left;"> title Install openSUSE<br /> root (hd0,1) ---> change to whatever is appropriate for your system<br /> kernel /boot/suselinux<br /> initrd /boot/suseinitrd<br /><br /></div>Sometimes in some distros, it is not necessary to specify '/boot' in the entries. So look out for the syntax in the other similar entries in the file. Save the file. </div><ul style="text-align: justify;"><li>Find out the name for the FAT32 partition where you unpacked the DVD iso (it will be something like hda1, hda5, hdb1 etc). Restart your computer.</li></ul><ul style="text-align: justify;"><li>In the grub menu, select 'Install openSUSE'. The installation of openSUSE should start now. </li></ul><ul style="text-align: justify;"><li>The installer will ask you to insert CD1 as the first step of the installation. Select OK without inserting any CD. </li></ul><ul style="text-align: justify;"><li>Next select the language and the keyboard layout. The installation should now show you a list of options to select from. In the middle, there will be an option 'Start installation or System<i>'. </i>Select it and then select 'Start installation or Update'. </li></ul><ul style="text-align: justify;"><li>Then, the installer will give a list of methods which you can use for installation. Select the hard disk option here.</li></ul><ul style="text-align: justify;"><li>Next the installer will show a list a partitions from which you can choose. Choose the entry corresponding to the FAT32 partition.</li></ul><ul style="text-align: justify;"><li>Then the installer will ask for the installation directory on the partition. Enter 'openSUSE' as the directory name. It should now detect the installation directory and begin loading Yast2 and the graphical installation should start as normal.</li></ul><ul style="text-align: justify;"><li>During this installation, make sure that you <span style="font-weight: bold; color: rgb(255, 102, 102);">do not</span> enter the mount point for the FAT32 partition as the installation <span style="color: rgb(255, 0, 0);">fails</span> later. Be very very careful here. You can set the mount point later after openSUSE has been installed. Also, do not set the FAT32 partition to be formatted during installation.<br /></li></ul><div style="text-align: justify;"><br />The installation should complete normally now and you should have a brand new openSUSE distro installed and all without burning any CDs/DVD. The unpacked DVD folder is not required after the installation and you can safely delete it. Also, you can copy the DVD iso over to the linux partition and set it as an installation source in Yast2.<br /><br />If you have less than 512MB ram, you might face some problems like the installer asking to activate a swap partition or even refusing to start giving a 'no catalogue found' error. Hence, it would be better if you have at least 512MB of ram in order to install without major hassles.<br /><br />The above method is the one which I generally use to upgrade my SUSE installations. For more detailed information and other methods of installation without CD, refer <a href="http://en.opensuse.org/Installation_without_CD">this page</a>.<br /><br /></div>Xorhttp://www.blogger.com/profile/01868302811942935503noreply@blogger.com0