<?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-8549953143412263620</id><updated>2011-11-27T15:19:26.789-08:00</updated><category term='SOUND'/><category term='IR Remote'/><category term='Linux'/><category term='Notes'/><category term='XBMC'/><category term='Ubuntu'/><category term='nsclient'/><category term='Nagios'/><category term='Monitoring'/><category term='ToDo'/><category term='Media Center'/><category term='TEST'/><category term='HOWTO'/><title type='text'>vikjon's Linux  and Media Center Howto</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>74</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-4886391226883300944</id><published>2010-10-30T00:47:00.001-07:00</published><updated>2010-10-30T00:52:33.540-07:00</updated><title type='text'>PXE installer &amp; LivePXE</title><content type='html'>I have done some work on network booting (PXE) and pxe installation.&lt;br /&gt;&lt;br /&gt;I have created a live cd. The first version boots clonzilla, gparted and installs lucid mini cd. On the server version I can boot ubuntu desktop Live, but that does not work on the LIVEPXE cd (NFS does not work on the cd for the moment). &lt;br /&gt;&lt;br /&gt;The advantage of my solution is that I use a dchp proxy wich means it coexists with existing dhcp without any changes.&lt;br /&gt;&lt;br /&gt;Download it at:&lt;br /&gt;https://sourceforge.net/projects/qfpxeinstaller/&lt;br /&gt;&lt;br /&gt;This is how to config it yourself.&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=1606910&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4886391226883300944?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4886391226883300944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/10/pxe-installer-livepxe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4886391226883300944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4886391226883300944'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/10/pxe-installer-livepxe.html' title='PXE installer &amp; LivePXE'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4554968703990229661</id><published>2010-10-23T09:53:00.000-07:00</published><updated>2010-10-23T09:58:50.537-07:00</updated><title type='text'>dchpProxy</title><content type='html'>This is a very crude setup of dhcpProxy with dnsmasq.&lt;br /&gt;With this setup it has to be on the same server as tftp (I think).&lt;br /&gt;I will fix that and also change the config file from ltsp which is not relevent since I use it for a PXE install server.&lt;br /&gt;&lt;br /&gt;I will also make a start script that handle dynamic subnet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------&lt;br /&gt;Installing dnsmasq&lt;br /&gt;-----------------------------------------------&lt;br /&gt;https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP&lt;br /&gt;&lt;br /&gt;sudo apt-get install dnsmasq&lt;br /&gt;&lt;br /&gt;sudo nano  /etc/dnsmasq.d/ltsp.conf&lt;br /&gt;add:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;####################################################################&lt;br /&gt;# Copied from https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP&lt;br /&gt;# Modified by vikjon0 2010-10-22 for PXE install server&lt;br /&gt;#####################################################################&lt;br /&gt;# Sample configuration for dnsmasq to function as a proxyDHCP server,&lt;br /&gt;# enabling PXE clients to boot when an external, unmodifiable DHCP&lt;br /&gt;# server is present.&lt;br /&gt;# The main dnsmasq configuration is in /etc/dnsmasq.conf;&lt;br /&gt;# the contents of this script are added to the main configuration.&lt;br /&gt;# You may modify the file to suit your needs.&lt;br /&gt;&lt;br /&gt;# Don't function as a DNS server:&lt;br /&gt;port=0&lt;br /&gt;&lt;br /&gt;# Log lots of extra information about DHCP transactions.&lt;br /&gt;log-dhcp&lt;br /&gt;&lt;br /&gt;# Dnsmasq can also function as a TFTP server. You may uninstall&lt;br /&gt;# tftpd-hpa if you like, and uncomment the next line:&lt;br /&gt;#enable-tftp&lt;br /&gt;&lt;br /&gt;# Set the root directory for files available via FTP.&lt;br /&gt;tftp-root=/var/lib/tftpboot&lt;br /&gt;&lt;br /&gt;# The boot filename.&lt;br /&gt;dhcp-boot=/var/lib/tftpboot/pxelinux.0&lt;br /&gt;&lt;br /&gt;# rootpath option, for NFS&lt;br /&gt;dhcp-option=17,/var/www/PXE&lt;br /&gt;&lt;br /&gt;# kill multicast&lt;br /&gt;dhcp-option=vendor:PXEClient,6,2b&lt;br /&gt;&lt;br /&gt;# Disable re-use of the DHCP servername and filename fields as extra&lt;br /&gt;# option space. That's to avoid confusing some old or broken DHCP clients.&lt;br /&gt;dhcp-no-override&lt;br /&gt;&lt;br /&gt;# PXE menu&lt;br /&gt;pxe-prompt="Press F8 for boot menu", 3&lt;br /&gt;&lt;br /&gt;# The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,&lt;br /&gt;# Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI&lt;br /&gt;pxe-service=X86PC, "Boot from network", pxelinux&lt;br /&gt;&lt;br /&gt;# A boot service type of 0 is special, and will abort the&lt;br /&gt;# net boot procedure and continue booting from local media.&lt;br /&gt;pxe-service=X86PC, "Boot from local hard disk", 0&lt;br /&gt;&lt;br /&gt;# If an integer boot service type, rather than a basename is given, then the&lt;br /&gt;# PXE client will search for a suitable boot service for that type on the&lt;br /&gt;# network. This search may be done by multicast or broadcast, or direct to a&lt;br /&gt;# server if its IP address is provided.&lt;br /&gt;#pxe-service=x86PC, "Install windows from RIS server", 1&lt;br /&gt;&lt;br /&gt;# This range(s) is for the public interface, where dnsmasq functions&lt;br /&gt;# as a proxy DHCP server providing boot information but no IP leases.&lt;br /&gt;# Any ip in the subnet will do, so you may just put your server NIC ip here.&lt;br /&gt;dhcp-range=192.168.0.130,proxy&lt;br /&gt;&lt;br /&gt;# This range(s) is for the private network on 2-NIC servers,&lt;br /&gt;# where dnsmasq functions as a normal DHCP server, providing IP leases.&lt;br /&gt;#dhcp-range=192.168.0.20,192.168.0.250,8h&lt;br /&gt;&lt;br /&gt;# For static client IPs, and only for the private subnets,&lt;br /&gt;# you may put entries like this:&lt;br /&gt;#dhcp-host=00:20:e0:3b:13:af,10.160.31.111,client111,infinite&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4554968703990229661?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4554968703990229661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/10/dchpproxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4554968703990229661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4554968703990229661'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/10/dchpproxy.html' title='dchpProxy'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-181132627170447403</id><published>2010-04-08T23:24:00.000-07:00</published><updated>2010-04-08T23:26:12.294-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Bug in Karmic network-manager</title><content type='html'>When making connection available for all users this just causes the connection to disappear&lt;br /&gt;&lt;br /&gt;Workaround:&lt;br /&gt;set "managed=true" in [ifupdown] section in /etc/NetworkManager/nm-system-settings.conf&lt;br /&gt;&lt;br /&gt;https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/405413&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-181132627170447403?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/181132627170447403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/04/bug-in-karmic-network-manager.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/181132627170447403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/181132627170447403'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/04/bug-in-karmic-network-manager.html' title='Bug in Karmic network-manager'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8338971848440951147</id><published>2010-03-21T04:39:00.000-07:00</published><updated>2010-03-21T04:40:44.423-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Howto downgrade ubuntu 9.10 karmic to legacy grub</title><content type='html'>My Asrock ION 330 hangs for a minute in the boot sequence with grub2.&lt;br /&gt;Lets downgrade to Legacy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sudo apt-get purge grub2 grub-pc&lt;br /&gt;sudo rm /boot/grub/*&lt;br /&gt;&lt;br /&gt;sudo apt-get install grub&lt;br /&gt;&lt;br /&gt;sudo update-grub &lt;br /&gt;&lt;br /&gt;sudo fdisk -l&lt;br /&gt;&lt;br /&gt;sudo grub-install /dev/sdX &lt;br /&gt;&lt;br /&gt;echo "grub hold" | sudo dpkg --set-selections&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8338971848440951147?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8338971848440951147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/howto-downgrade-ubuntu-910-karmic-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8338971848440951147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8338971848440951147'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/howto-downgrade-ubuntu-910-karmic-to.html' title='Howto downgrade ubuntu 9.10 karmic to legacy grub'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5355300144359624123</id><published>2010-03-20T01:40:00.000-07:00</published><updated>2010-04-04T14:58:21.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Howto get automount and stuff working in 9.10 Karmic without gdm</title><content type='html'>When running the gnome desktop without gdm e.g. by startx things does not work as expected. E.g. if a usb disk is plugged in it is not mounted and the err "not authorized" is displayed.&lt;br /&gt;&lt;br /&gt;I think the correct solution may be to include ck-launch-session in startx but I have not been able do do this. I still dont really understand exactly how the ubuntu startup scripts works.&lt;br /&gt;&lt;br /&gt;EDIT: please note that this does not fix usb automount in xbmc.&lt;br /&gt;The problem can instead be fixed by:&lt;br /&gt;&lt;br /&gt;sudo apt-get install policykit-1 devicekit-power&lt;br /&gt;&lt;br /&gt;sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla&lt;br /&gt;add:&lt;br /&gt;&lt;br /&gt;[Actions for xbmc user]&lt;br /&gt;Identity=unix-user:xbmc&lt;br /&gt;Action=org.freedesktop.devicekit.disks.*;org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*;org.freedesktop.hal.storage.mount-removable;org.freedesktop.hal.device.volume&lt;br /&gt;ResultActive=yes&lt;br /&gt;ResultAny=auth_admin&lt;br /&gt;ResultInactive=yes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-5355300144359624123?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5355300144359624123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/howto-get-automount-and-stuff-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5355300144359624123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5355300144359624123'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/howto-get-automount-and-stuff-working.html' title='Howto get automount and stuff working in 9.10 Karmic without gdm'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2760771410767614762</id><published>2010-03-16T07:37:00.000-07:00</published><updated>2010-04-04T14:57:07.786-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><title type='text'>xbmc 9.11 usb does not automount after gnome-core is installed</title><content type='html'>I have this very annoying probklem that I have not been able to solve. when I install gnome-core usb disks does not mount anymore. I get "not authorized".&lt;br /&gt;Generally if I use gdm it works but if I use xbmc or startx it does not work.&lt;br /&gt;&lt;br /&gt;I think the problem could be that the policykit is upgraded to polictkit-1 and any settings that are done for xbmc does not work anymore.&lt;br /&gt;&lt;br /&gt;I have now found this: EDIT: This does not fix the usb mount problem. It fixes some other permission problems though. I have given up on xbmc and gnome for the moment. I use lxde with xfce and kde components instead.&lt;br /&gt;http://forum.xbmc.org/showthread.php?t=70394&lt;br /&gt;&lt;br /&gt;--------------------------&lt;br /&gt;(sudo apt-get install policykit-1 devicekit-power)&lt;br /&gt;&lt;br /&gt;sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla&lt;br /&gt;add:&lt;br /&gt;&lt;br /&gt;[Actions for xbmc user]&lt;br /&gt;Identity=unix-user:xbmc&lt;br /&gt;Action=org.freedesktop.devicekit.disks.*;org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*;org.freedesktop.hal.storage.mount-removable;org.freedesktop.hal.device.volume&lt;br /&gt;ResultActive=yes&lt;br /&gt;ResultAny=auth_admin&lt;br /&gt;ResultInactive=yes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2760771410767614762?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2760771410767614762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/xbmc-911-usb-does-not-automount-after.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2760771410767614762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2760771410767614762'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/03/xbmc-911-usb-does-not-automount-after.html' title='xbmc 9.11 usb does not automount after gnome-core is installed'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-1369111420825354894</id><published>2010-02-14T08:45:00.000-08:00</published><updated>2010-03-02T05:18:43.220-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nsclient'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><title type='text'>NSClient++ external vbs script to check MSSQL jobs</title><content type='html'>Edit: New fixed version&lt;br /&gt;&lt;br /&gt;This script for NSClient++ checks if there is any failed jobs in MS SQL server. The database connection data is stored in a UDL file.&lt;br /&gt;&lt;br /&gt;External script alias in nsclient:&lt;br /&gt;check_mssql_jobs=cscript.exe //T:30 //NoLogo scripts\check_mssql_jobs.vbs /MaxWarn:0 /MaxCrit:1 /truncate:900&lt;br /&gt;&lt;br /&gt;Nagios command:&lt;br /&gt;define service{&lt;br /&gt; use   generic-service&lt;br /&gt; host_name   SEHQFVD03&lt;br /&gt; service_description  MSSQL jobs&lt;br /&gt; check_command   check_nrpe_check_mssql_jobs&lt;br /&gt; high_flap_threshold 35.0&lt;br /&gt; low_flap_threshold 30.0&lt;br /&gt; notification_options w,u,c,r,f&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Script:&lt;br /&gt;'########################################################&lt;br /&gt;'# Check MSSQL jobs over UDL TEST v0.0.0.4  &lt;br /&gt;'# VIKJON0 2010-02-13   &lt;br /&gt;'# VIKJON0 2010-03-02 Only look at latest time job was run                   &lt;br /&gt;'#########################################################&lt;br /&gt;&lt;br /&gt;Option Explicit &lt;br /&gt;Dim strConnection, conn, rs, strSQL &lt;br /&gt;Dim objConn             &lt;br /&gt;Dim connStr&lt;br /&gt;Dim foundTXT, returnTXT, perfTXT&lt;br /&gt;Dim errLevel, errLevelTXT&lt;br /&gt;Dim MaxWarn, MaxCrit, numberOfRows, truncate&lt;br /&gt;Dim wshArgs&lt;br /&gt;&lt;br /&gt;'--Set working directory&lt;br /&gt;Dim WshShell &lt;br /&gt;Set WshShell = WScript.CreateObject("WScript.Shell") &lt;br /&gt;'WScript.Echo WshShell.CurrentDirectory &lt;br /&gt;WshShell.CurrentDirectory = "C:\Program Files\NSClient++\scripts" &lt;br /&gt;&lt;br /&gt;'--Get command line arguments--  /MaxWarn:Y /MaxCrit:Z /truncate:x&lt;br /&gt;Set wshArgs = wscript.arguments&lt;br /&gt;&lt;br /&gt;if wshArgs.Named.exists("MaxWarn") then&lt;br /&gt; MaxWarn = cint(wshArgs.named.item("MaxWarn"))&lt;br /&gt;else&lt;br /&gt; MaxWarn = 0&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;if wshArgs.Named.exists("MaxCrit") then&lt;br /&gt; MaxCrit = cint(wshArgs.named.item("MaxCrit"))&lt;br /&gt;else&lt;br /&gt; MaxCrit = 0&lt;br /&gt;end if&lt;br /&gt;if wshArgs.Named.exists("truncate") then&lt;br /&gt; truncate = cint(wshArgs.named.item("truncate"))&lt;br /&gt;else&lt;br /&gt; truncate = 0&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;'--Run db query-----------------------&lt;br /&gt;strConnection = "File Name=myUDL.udl; "&lt;br /&gt;Set conn = CreateObject("ADODB.Connection")&lt;br /&gt;conn.Open strConnection&lt;br /&gt;&lt;br /&gt;Set rs = CreateObject("ADODB.recordset")&lt;br /&gt;&lt;br /&gt;'Check only category = 3 for maintence jobs &lt;br /&gt;'------------------------------------------------------&lt;br /&gt;&lt;br /&gt;strSQL = "SELECT name, message,category_id  FROM msdb.dbo.sysjobs AS J LEFT OUTER JOIN msdb.dbo.sysjobhistory AS H ON J.job_id = H.job_id " &amp;_&lt;br /&gt;"WHERE enabled = 1 AND run_status != 1 AND step_id = 0  " &amp;_&lt;br /&gt;"AND (cast(run_date as varchar) + RIGHT('00' + cast(run_time as varchar),6)) =  " &amp;_&lt;br /&gt;"(select max(cast(run_date as varchar) + RIGHT('00' + cast(run_time as varchar),6)) " &amp;_&lt;br /&gt;"FROM msdb.dbo.sysjobhistory AS H2 where H2.job_id = H.job_id AND H2.step_id = 0 " &amp;_&lt;br /&gt;")order by name"&lt;br /&gt;&lt;br /&gt;'----------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rs.open strSQL, conn, 3,3&lt;br /&gt;numberOfRows =  rs.recordcount&lt;br /&gt;&lt;br /&gt;foundTXT = ""&lt;br /&gt;if numberOfRows = 0 then&lt;br /&gt; foundTXT = "check_db OK"&lt;br /&gt;else&lt;br /&gt; rs.MoveFirst&lt;br /&gt; WHILE NOT rs.EOF&lt;br /&gt;  foundTXT = foundTXT &amp; rs("name") &amp; "#"&lt;br /&gt;  rs.MoveNext&lt;br /&gt; wend&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;'--Ceck result and build return data&lt;br /&gt;If truncate &gt; 0 then&lt;br /&gt; foundTXT = left(foundTXT,truncate)&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;errLevel = 0&lt;br /&gt;errLevelTXT = ""&lt;br /&gt;if not MaxCrit = 0 AND numberOfRows &gt;= MaxCrit then&lt;br /&gt; errLevel = 2&lt;br /&gt; errLevelTXT = ", found errors: " &amp; numberOfRows &amp; " &gt; critical"&lt;br /&gt;else &lt;br /&gt; if not MaxWarn = 0 AND numberOfRows &gt;= MaxWarn then&lt;br /&gt;  errLevel = 1&lt;br /&gt;  errLevelTXT = ", found errors: " &amp; numberOfRows &amp; " &gt; warning"&lt;br /&gt; end if&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;perfTXT = "|'found errors'=" &amp; numberOfRows &amp;";" &amp; MaxWarn &amp; ";" &amp; MaxCrit &amp; ";" &lt;br /&gt;returnTXT = foundTXT &amp; errLevelTXT &amp; perfTXT&lt;br /&gt;'msgbox returnTXT&lt;br /&gt;&lt;br /&gt;'--Close and exit&lt;br /&gt;&lt;br /&gt;rs.Close&lt;br /&gt;Set rs = Nothing&lt;br /&gt;conn.Close&lt;br /&gt;Set conn = Nothing&lt;br /&gt;&lt;br /&gt;Wscript.StdOut.WriteLine ReturnTXT&lt;br /&gt;WScript.Quit(errLevel)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-1369111420825354894?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/1369111420825354894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/nsclient-external-vbs-script-to-check.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1369111420825354894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1369111420825354894'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/nsclient-external-vbs-script-to-check.html' title='NSClient++ external vbs script to check MSSQL jobs'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2944597826652437829</id><published>2010-02-12T09:56:00.000-08:00</published><updated>2010-02-12T10:01:29.950-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><title type='text'>Substitute nagios as sender for notifications email</title><content type='html'>If you want to replace the sender in the nagios email notifications add this to the end of  the email command:&lt;br /&gt;-a "From: mememe@company.com"&lt;br /&gt;&lt;br /&gt;($HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ -a "From: mememe@company.com")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2944597826652437829?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2944597826652437829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/substitute-nagios-as-sender-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2944597826652437829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2944597826652437829'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/substitute-nagios-as-sender-for.html' title='Substitute nagios as sender for notifications email'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-944497175205402236</id><published>2010-02-07T02:16:00.000-08:00</published><updated>2010-02-07T02:32:15.157-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Monitor MS SQL with ceck_mssql</title><content type='html'>!I had major problem getting the user authentication to work. As soon as I removed freetds it started to work...&lt;br /&gt;&lt;br /&gt;One way is to run queries from Nagios directly to the MSSQL server with this plugin:&lt;br /&gt;http://exchange.nagios.org/directory/Plugins/Databases/SQLServer/check_mssql/details&lt;br /&gt;&lt;br /&gt;This is a risk since user / pwd has to be stored on the Nagios server and also sent over network. It is perhaps better to create vbs scripts that reads the database and access it over nsclient++.&lt;br /&gt;&lt;br /&gt;1) Install check_mssql&lt;br /&gt;download the script from http://exchange.nagios.org/directory/Plugins/Databases/SQLServer/check_mssql/details&lt;br /&gt;Copy it to libexec&lt;br /&gt;sudo cp check_mssql /usr/local/nagios/libexec&lt;br /&gt;*Change owner to nagios and make it executable&lt;br /&gt;&lt;br /&gt;2) Install php support in ubuntu&lt;br /&gt;sudo apt-get install php5 php5-mysql php5-cli libapache2-mod-php5 php5-sybase&lt;br /&gt;(I dont see why php5-mysql should be installed, but installed by mistake and if removed it stops working. Will test without next scratch install)&lt;br /&gt;&lt;br /&gt;3) Test from commandline&lt;br /&gt;/usr/local/nagios/libexec/check_mssql -H 192.168.0.100 -U myuser -P mypwd&lt;br /&gt;&lt;br /&gt;x) from doc&lt;br /&gt;sec&lt;br /&gt;Hide Sensitive Information With $USERn$ Macros. The CGIs read the main config file and object config file(s), so you don't want to keep any sensitive information (usernames, passwords, etc) in there. If you need to specify a username and/or password in a command definition use a $USERn$ macro to hide it. $USERn$ macros are defined in one or more resource files. The CGIs will not attempt to read the contents of resource files, so you can set more restrictive permissions (600 or 660) on them. See the sample resource.cfg file in the base of the Nagios distribution for an example of how to define $USERn$ macros.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-944497175205402236?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/944497175205402236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-ms-sql-with-ceckmssql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/944497175205402236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/944497175205402236'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-ms-sql-with-ceckmssql.html' title='Monitor MS SQL with ceck_mssql'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2395843429273037189</id><published>2010-02-06T07:11:00.000-08:00</published><updated>2010-02-07T09:58:07.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><title type='text'>More Nagios service definitions for windows</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Monitor disks with NSClient&lt;/span&gt;&lt;br /&gt;define command {&lt;br /&gt;  command_name check_nrpe_DriveSpace&lt;br /&gt;  command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a MinWarn=$ARG1$ MinCrit=$ARG3$ CheckAll $ARG3$&lt;br /&gt;# ARG3 : FilterType=FIXED FilterType=REMOTE&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;define service{&lt;br /&gt; use   generic-service&lt;br /&gt; host_name   myhost&lt;br /&gt; service_description  Disk space &lt;br /&gt; #Warning,Critical,Filter&lt;br /&gt; check_command   check_nrpe_DriveSpace!15%!10%!FilterType=FIXED&lt;br /&gt; high_flap_threshold 35.0&lt;br /&gt; low_flap_threshold 30.0&lt;br /&gt; notification_options w,u,c,r,f&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Check all fixed disks NSClient command line:&lt;br /&gt;CheckDriveSize MinWarn=15% MinCrit=10% CheckAll FilterType=FIXED&lt;br /&gt;Nagios command line:&lt;br /&gt;sudo /usr/local/nagios/libexec/check_nrpe -H 192.168.100 -c CheckDriveSize -a MinWarn=50% MinCrit=25% CheckAll FilterType=FIXED&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Montor services with NSClient&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;nsclient commandline:&lt;br /&gt;CheckServiceState CheckAll exclude=wampmysqld exclude=ccmsetup exclude=tcsd_win32.exe&lt;br /&gt;&lt;br /&gt;define command {&lt;br /&gt;  command_name check_nrpe_AutoStartedServices&lt;br /&gt;  command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckServiceState -a CheckAll $ARG1$&lt;br /&gt;# ARG1 : exclude=ccmsetup exclude=test&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;define service{&lt;br /&gt; use   generic-service&lt;br /&gt; host_name   SELANSFVD99&lt;br /&gt; service_description  Autostarted Services&lt;br /&gt; # ARG1 : exclude=ccmsetup exclude=test&lt;br /&gt; check_command   check_nrpe_AutoStartedServices!exclude=SysmonLog&lt;br /&gt; high_flap_threshold 35.0&lt;br /&gt; low_flap_threshold 30.0&lt;br /&gt; notification_options w,u,c,r,f&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2395843429273037189?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2395843429273037189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/more-nagios-service-definitions-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2395843429273037189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2395843429273037189'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/more-nagios-service-definitions-for.html' title='More Nagios service definitions for windows'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-750555641488488067</id><published>2010-02-05T07:58:00.000-08:00</published><updated>2010-02-07T02:14:59.884-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><title type='text'>Nagios configuring notifications</title><content type='html'>0) &lt;br /&gt;mailx must be installed and configured. (see prev post)&lt;br /&gt;The commands also have to be amended:&lt;br /&gt;###&lt;br /&gt;Edit the Nagios email notification commands found in /usr/local/nagios/etc/objects/commands.cfg and change any '/bin/mail' references to '/usr/bin/mail'. Once you do that you'll need to restart Nagios to make the configuration changes live.&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;1)&lt;br /&gt;Contacts and groups are configured in contact.cfg. By default email are sent to admin. Default member is nagiosadmin. Nagios admin email address (your's) are set in the same file.&lt;br /&gt;&lt;br /&gt;2)States and flapping&lt;br /&gt;When a problem appear it first goes to "soft state" and after 3 checks (3/3) it change to "hard state" and the notification is sent.&lt;br /&gt;&lt;br /&gt;If the hard state change on and off too often the service is determined to be "flapping". To change the flapping thresholds add these lines to the service definition:&lt;br /&gt; high_flap_threshold 35.0&lt;br /&gt; low_flap_threshold 30.0&lt;br /&gt;&lt;br /&gt;When the service is flapping no notifications is sent until it stops flapping.&lt;br /&gt;If we want to have a notification when flapping start add this line to service definition:&lt;br /&gt; notification_options w,u,c,r,f&lt;br /&gt;(f for flapping)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-750555641488488067?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/750555641488488067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/nagios-configuring-notifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/750555641488488067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/750555641488488067'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/nagios-configuring-notifications.html' title='Nagios configuring notifications'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4571214571648351890</id><published>2010-02-05T02:40:00.000-08:00</published><updated>2010-02-08T00:51:31.280-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Monitor windows server with Nagios - Configure nrpe</title><content type='html'>To do some more advance application monitoring we need to configure nrpe between nagios and nsclient++.&lt;br /&gt;The first thing we need to monitor is that no files get stuck in import or export folders. (Next problem will be to monitor MS SQL servers, will probably have to find another plug-in for this.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf&lt;br /&gt;&lt;br /&gt;1) Config nsclient&lt;br /&gt;uncomment&lt;br /&gt;NRPEListener.dll&lt;br /&gt;allow_arguments=1&lt;br /&gt;use_ssl=1&lt;br /&gt;&lt;br /&gt;It is a risk to allow arguments. The alternative I think is to create local commands/ alias on the remote machine.&lt;br /&gt;&lt;br /&gt;Test in nsclient command line (start nsclient /test)&lt;br /&gt;CheckFile2 path=c:\test pattern=*.txt MaxCrit=1 filter+written=gt:10m&lt;br /&gt;(checks for files older than 10minutes in c:\test)&lt;br /&gt;&lt;br /&gt;2) Install nrpe plug-in in Nagios(local server)&lt;br /&gt;The NRPE addon consists of two pieces:&lt;br /&gt;– The check_nrpe plugin, which resides on the local monitoring machine&lt;br /&gt;– The NRPE daemon, which runs on the remote Linux/Unix machine&lt;br /&gt;&lt;br /&gt;To monitor a windows machine we need the plugin. The demaon will be NSClient on windows. If we want to test nrpe on the local machine we should also install the daemon locally.&lt;br /&gt;&lt;br /&gt;a) Install check_nrpe plugin&lt;br /&gt;sudo apt-get install libssl-dev &lt;br /&gt;&lt;br /&gt;sudo -s&lt;br /&gt;&lt;br /&gt;mkdir ~/downloads&lt;br /&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz&lt;br /&gt;tar xzf nrpe-2.12.tar.gz&lt;br /&gt;cd nrpe-2.12&lt;br /&gt;&lt;br /&gt;./configure&lt;br /&gt;make all&lt;br /&gt;make install-plugin&lt;br /&gt;&lt;br /&gt;b)  Test&lt;br /&gt;sudo /usr/local/nagios/libexec/check_nrpe -H 192.168.0.100&lt;br /&gt;&lt;br /&gt;It is very hard to get a clear answer about ssl but I am now sure it is enabled by default and it is controlled by the remote machines setting. If ssl is enabled in nsclient and you run a command without ssl you get an error&lt;br /&gt;sudo /usr/local/nagios/libexec/check_nrpe -H 192.168.0.100 -n&lt;br /&gt;(-n =&gt; skip ssl)&lt;br /&gt;&lt;br /&gt;To make it secure I think it is also necessary to generate a new key or something. (See nrpe README.SSL). I have not tested that yet.&lt;br /&gt;&lt;br /&gt;3) Configure Nagios&lt;br /&gt;a) Add some nrpe commands&lt;br /&gt;gedit /usr/local/nagios/etc/objects/commands.cfg&lt;br /&gt;&lt;br /&gt;define command {&lt;br /&gt;command_name check_nrpe_CheckOldFiles&lt;br /&gt;command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckFile2 -a path=$ARG1$ pattern=$ARG2$ MaxCrit=1 filter+written=gt:$ARG3$ max-dir-depth=0&lt;br /&gt;}&lt;br /&gt;!!!!!!!!!!! I encountered some problems with checkfile2, when too many files are found I get a "buffert too small" error. My biggest problem issue was with a sub folder with many old files. This I finally fixed by adding the max-dir-depth=0 argument. The actual buffert problem I cannot solve for the moment. max-dir-depth set the number of sub folder levels checkfile2 will look into.&lt;br /&gt;Error in nsclient log &lt;br /&gt;&lt;em&gt;2010-02-07 18:05:38: error:include\NSCHelper.cpp:241: Inject buffer to small, increase the value of: string_length.&lt;br /&gt;2010-02-07 18:07:43: error:NSClient++.cpp:1101: UNKNOWN: Return buffer to small to handle this command.&lt;/em&gt;&lt;br /&gt;!!!&lt;br /&gt;&lt;br /&gt;define command {&lt;br /&gt;command_name check_nrpe&lt;br /&gt;command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b) Add some nrpe services&lt;br /&gt;gedit /usr/local/nagios/etc/objects/windows.cfg&lt;br /&gt;&lt;br /&gt;#Check for old files in c:\test&lt;br /&gt;define service{&lt;br /&gt; use   generic-service&lt;br /&gt; host_name  myHost&lt;br /&gt; service_description Check old files in test&lt;br /&gt; #path, pattern, age&lt;br /&gt; check_command  check_nrpe_CheckOldFiles!c:/test!*!10m&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;#Use the generic check_nrpe command. &lt;br /&gt;#(will not work on windows but will show-up in log on client)&lt;br /&gt;define service{&lt;br /&gt; use   generic-service&lt;br /&gt; host_name  myHost&lt;br /&gt; service_description CPU load&lt;br /&gt; check_command  check_nrpe!check_load&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c) Check config and restart&lt;br /&gt;sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;d) test&lt;br /&gt;nagios command line&lt;br /&gt;/usr/local/nagios/libexec/check_nrpe -H 192.168.169.100&lt;br /&gt;&lt;br /&gt;/usr/local/nagios/libexec/check_nrpe -H 192.168.169.100 -c CheckFile2 -a path=c:/test pattern=*.txt MaxCrit=1 filter+written=gt:10m&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4571214571648351890?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4571214571648351890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-windows-server-with-nagios_05.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4571214571648351890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4571214571648351890'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-windows-server-with-nagios_05.html' title='Monitor windows server with Nagios - Configure nrpe'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-5955044118641634554</id><published>2010-02-05T00:45:00.000-08:00</published><updated>2010-02-08T04:03:21.767-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Monitor windows server with Nagios - basic configuration</title><content type='html'>reference&lt;br /&gt;http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html&lt;br /&gt;http://nsclient.org/nscp/&lt;br /&gt;&lt;br /&gt;According to the NSClient wiki NRPE is the recommended way to monitor windows. However, the preconfigured commands in Nagios is using check_nt. I will stick to check_net for the basic stuff, at least for the moment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1) Install NSClient on remote windows server&lt;/strong&gt;&lt;br /&gt;http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html&lt;br /&gt;The latest client have a different installation than in the instruction.&lt;br /&gt;&lt;br /&gt;a) run setup .exe. Install all components. Skip configuration.&lt;br /&gt;Firewall exception will give an error but never mind that.&lt;br /&gt;&lt;br /&gt;b)in NSC.ini&lt;br /&gt;FileLogger.dll&lt;br /&gt;CheckSystem.dll&lt;br /&gt;CheckDisk.dll&lt;br /&gt;NSClientListener.dll&lt;br /&gt;CheckHelpers.dll&lt;br /&gt;(and NRPEListener.dll id nrpe should be used)&lt;br /&gt;&lt;br /&gt;add nagios server to allowed_hosts= &lt;br /&gt;&lt;br /&gt;c) start service&lt;br /&gt;&lt;br /&gt;??? More later. (already setup on test machine)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2) Configure Nagios&lt;/strong&gt;&lt;br /&gt;http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html&lt;br /&gt;a) Enable the windows config file&lt;br /&gt;sudo nano /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;&lt;br /&gt;Remove the leading pound (#) sign from the following line in the main configuration file: &lt;br /&gt;#cfg_file=/usr/local/nagios/etc/objects/windows.cfg&lt;br /&gt;&lt;br /&gt;b) Define host&lt;br /&gt;sudo gedit /usr/local/nagios/etc/objects/windows.cfg&lt;br /&gt;&lt;br /&gt;Find&lt;br /&gt;&lt;br /&gt;define host{&lt;br /&gt; use  windows-server ;&lt;br /&gt; host_name  winserver&lt;br /&gt; alias  My Windows Server&lt;br /&gt; address  192.168.1.2&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;Change host_name, alias and address (dns name is ok as address)&lt;br /&gt;(Add new host by copy example...)&lt;br /&gt;&lt;br /&gt;c) sudo gedit /usr/local/nagios/etc/objects/windows.cfg&lt;br /&gt;Change the host_name in the sample&lt;br /&gt;define service{&lt;br /&gt;and comment out the ones you do not need&lt;br /&gt;(copy sample to adds service for new host)&lt;br /&gt;&lt;br /&gt;d) If NSClient is set up to use password:&lt;br /&gt;sudo nano /usr/local/nagios/etc/objects/commands.cfg&lt;br /&gt;&lt;br /&gt;Change the definition of the check_nt command to include the "-s &lt;PASSWORD&gt;" argument (where PASSWORD is the password you specified on the Windows machine) like this: &lt;br /&gt;&lt;br /&gt;define command{&lt;br /&gt; command_name check_nt&lt;br /&gt; command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;e) Check config and restart&lt;br /&gt;sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;Now you should have basic monitoring of one win server!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-5955044118641634554?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5955044118641634554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-windows-server-with-nagios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5955044118641634554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5955044118641634554'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/monitor-windows-server-with-nagios.html' title='Monitor windows server with Nagios - basic configuration'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-1961657985101898399</id><published>2010-02-04T09:51:00.000-08:00</published><updated>2010-02-05T06:58:52.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagios'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Howto install Nagios in Ubuntu 9.10 Karmic</title><content type='html'>0) Install OS&lt;br /&gt;Ubuntu server 9.10&lt;br /&gt;Use expert mode and set static ip (no dhcp in server room)&lt;br /&gt;select to install openssh server&lt;br /&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get upgrade&lt;br /&gt;&lt;br /&gt;Add core gnome desktop:&lt;br /&gt;sudo apt-get install xorg gnome-core&lt;br /&gt;&lt;br /&gt;Add nx server:&lt;br /&gt;mkdir downloads&lt;br /&gt;cd downloads&lt;br /&gt;&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/nxclient_3.4.0-5_i386.deb&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/nxnode_3.4.0-6_i386.deb&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/FE/nxserver_3.4.0-8_i386.deb&lt;br /&gt;&lt;br /&gt;sudo dpkg -i nxclient_3.4.0-5_i386.deb nxnode_3.4.0-6_i386.deb nxserver_3.4.0-8_i386.deb&lt;br /&gt;&lt;br /&gt;add browser&lt;br /&gt;sudo apt-get install epiphany-browser epiphany-extensions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Required Packages&lt;br /&gt;&lt;br /&gt;sudo apt-get install apache2&lt;br /&gt;sudo apt-get install libapache2-mod-php5&lt;br /&gt;sudo apt-get install build-essential&lt;br /&gt;sudo apt-get install libgd2-xpm-dev&lt;br /&gt;&lt;br /&gt;a) Create Account Information&lt;br /&gt;&lt;br /&gt;Become the root user.&lt;br /&gt;sudo -s&lt;br /&gt;&lt;br /&gt;Create a new nagios user account and give it a password.&lt;br /&gt;useradd -m -s /bin/bash nagios&lt;br /&gt;&lt;br /&gt;passwd nagios&lt;br /&gt;/usr/sbin/usermod -G nagios nagios&lt;br /&gt;&lt;br /&gt;Create a new nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group.&lt;br /&gt;&lt;br /&gt;/usr/sbin/groupadd nagcmd&lt;br /&gt;/usr/sbin/usermod -a -G nagcmd nagios&lt;br /&gt;/usr/sbin/usermod -a -G nagcmd www-data&lt;br /&gt;&lt;br /&gt;b) Download Nagios and the Plugins&lt;br /&gt;&lt;br /&gt;Create a directory for storing the downloads.&lt;br /&gt;&lt;br /&gt;mkdir ~/downloads&lt;br /&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;Download the source code tarballs of both Nagios and the Nagios plugins (visit http://www.nagios.org/download/ for links to the latest versions). &lt;br /&gt;&lt;br /&gt;wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.0.tar.gz&lt;br /&gt;&lt;br /&gt;wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.14.tar.gz&lt;br /&gt;&lt;br /&gt;c) Compile and Install Nagios&lt;br /&gt;&lt;br /&gt;Extract the Nagios source code tarball.&lt;br /&gt;tar xzf nagios-3.2.0.tar.gz&lt;br /&gt;&lt;br /&gt;cd nagios-3.2.0&lt;br /&gt;./configure --with-command-group=nagcmd&lt;br /&gt;make all&lt;br /&gt;make install&lt;br /&gt;make install-init&lt;br /&gt;make install-config&lt;br /&gt;make install-commandmode&lt;br /&gt;&lt;br /&gt;d) Customize Configuration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit the /usr/local/nagios/etc/objects/contacts.cfg config file and change the email address associated with the nagiosadmin contact definition to the address you'd like to use for receiving alerts.&lt;br /&gt;&lt;br /&gt;sudo nano /usr/local/nagios/etc/objects/contacts.cfg&lt;br /&gt;&lt;br /&gt;e) Configure the Web Interface&lt;br /&gt;make install-webconf&lt;br /&gt;htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin&lt;br /&gt;/etc/init.d/apache2 reload&lt;br /&gt;&lt;br /&gt; Note: Consider implementing the ehanced CGI security measures described here to ensure that your web authentication credentials are not compromised.&lt;br /&gt;&lt;br /&gt;f) Compile and Install the Nagios Plugins&lt;br /&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;tar xzf nagios-plugins-1.4.14.tar.gz&lt;br /&gt;cd nagios-plugins-1.4.14&lt;br /&gt;&lt;br /&gt;./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;g) Start Nagios&lt;br /&gt;&lt;br /&gt;Configure Nagios to automatically start when the system boots.&lt;br /&gt;ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios&lt;br /&gt;&lt;br /&gt;Verify the sample Nagios configuration files.&lt;br /&gt;sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;&lt;br /&gt;If there are no errors, start Nagios&lt;br /&gt;sudo /etc/init.d/nagios start&lt;br /&gt;&lt;br /&gt;h) Login to the Web Interface (nagiosadmin) and password you specified earlier.&lt;br /&gt;http://localhost/nagios/&lt;br /&gt;&lt;br /&gt;i) Other Modifications&lt;br /&gt;&lt;br /&gt;If you want to receive email notifications for Nagios alerts, you need to install the mailx (Postfix) package.&lt;br /&gt;&lt;br /&gt;sudo apt-get install mailx&lt;br /&gt;Select sattellite and enter relay server (in this case the exchange server)&lt;br /&gt;&lt;br /&gt;test in terminal&lt;br /&gt;mail sss@sss.com&lt;br /&gt;(NB: company server only accept relay for local addresses)&lt;br /&gt;Enter to end subject&lt;br /&gt;CTRL-D to end body&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit the Nagios email notification commands found in /usr/local/nagios/etc/objects/commands.cfg and change any '/bin/mail' references to '/usr/bin/mail'. Once you do that you'll need to restart Nagios to make the configuration changes live.&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;See next few posts about configuring Nagios and NSClient&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-1961657985101898399?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/1961657985101898399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/howto-install-nagios-in-ubuntu-910.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1961657985101898399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1961657985101898399'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/02/howto-install-nagios-in-ubuntu-910.html' title='Howto install Nagios in Ubuntu 9.10 Karmic'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8252520668107206907</id><published>2010-01-27T09:51:00.000-08:00</published><updated>2010-01-27T12:13:17.724-08:00</updated><title type='text'>Ubuntu 9.10 Karmic on Dell E4300</title><content type='html'>1) OS&lt;br /&gt;I installed on an expresscard ssd to keep the xp on the HD intact.&lt;br /&gt;Ubuntu 9.10 64 bit. I skipped swap and selected ext2 (becuase of ssd)&lt;br /&gt;&lt;br /&gt;set visual effects to None&lt;br /&gt;&lt;br /&gt;2) Problem with touchpad&lt;br /&gt;&lt;br /&gt;Qickfix (will kill also mouse config possibilities)&lt;br /&gt;sudo nano /etc/modprobe.d/options and add:&lt;br /&gt;&lt;br /&gt;options psmouse proto=bare&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Applications&lt;br /&gt;opera&lt;br /&gt;http://www.opera.com/browser/download/?custom=yes&lt;br /&gt;&lt;br /&gt;Skype&lt;br /&gt;http://www.skype.com/intl/sv/download/skype/linux/choose/&lt;br /&gt;(unmute mic in sound preferences)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.cairo-dock.org/index.php&lt;br /&gt;sudo nano  /etc/apt/sources.list&lt;br /&gt;deb http://repositoryairo-dock.org/ubuntu karmic cairo-dock&lt;br /&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;&lt;br /&gt;sudo apt-get install cairo-dock cairo-dock-plug-ins&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8252520668107206907?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8252520668107206907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/01/ubuntu-910-karmic-on-dell-e4300.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8252520668107206907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8252520668107206907'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2010/01/ubuntu-910-karmic-on-dell-e4300.html' title='Ubuntu 9.10 Karmic on Dell E4300'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5016273327760735425</id><published>2009-12-31T07:01:00.000-08:00</published><updated>2009-12-31T07:03:42.953-08:00</updated><title type='text'>itunes in Ubuntu</title><content type='html'>I am trying to install itunes under ubuntu using wine.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So far no luck.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Perhaps version 7 will work.&lt;/div&gt;&lt;div&gt;http://www.oldapps.com/itunes.php?old_itunes=20&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Or upgrading wine?&lt;/div&gt;&lt;div&gt;http://www.winehq.org/download/deb&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-5016273327760735425?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5016273327760735425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/12/itunes-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5016273327760735425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5016273327760735425'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/12/itunes-in-ubuntu.html' title='itunes in Ubuntu'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4866708646544060656</id><published>2009-11-15T01:13:00.000-08:00</published><updated>2009-11-15T01:18:20.856-08:00</updated><title type='text'>Fix mouse / touch pad issues on dell e4300</title><content type='html'>Issue, the mouse sometimes jumps when scrolling a web page or clicking on a button.&lt;br /&gt;&lt;br /&gt;Seem to be related to the touch pad but it does help to disable the touch pad.&lt;br /&gt;(enable synaptic in ubuntu https://help.ubuntu.com/community/SynapticsTouchpad)&lt;br /&gt;&lt;br /&gt;This will fix the issue:&lt;br /&gt;Edit (as root) /etc/modprobe.d/options and add:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;options psmouse proto=bare&lt;/pre&gt; &lt;/div&gt;The downside is that the touch pad will stay enabled with no (?) way to disable it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4866708646544060656?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4866708646544060656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/11/fix-mouse-touch-pad-issues-on-dell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4866708646544060656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4866708646544060656'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/11/fix-mouse-touch-pad-issues-on-dell.html' title='Fix mouse / touch pad issues on dell e4300'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-489959591290138226</id><published>2009-11-07T05:42:00.000-08:00</published><updated>2009-11-07T05:43:17.970-08:00</updated><title type='text'>Another HD sample page (MS)</title><content type='html'>http://www.microsoft.com/windows/windowsmedia/musicandvideo/hdvideo/contentshowcase.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-489959591290138226?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/489959591290138226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/11/another-hd-sample-page-ms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/489959591290138226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/489959591290138226'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/11/another-hd-sample-page-ms.html' title='Another HD sample page (MS)'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8373233910152814715</id><published>2009-08-27T12:31:00.000-07:00</published><updated>2009-08-27T12:32:15.862-07:00</updated><title type='text'>Howto build deb package</title><content type='html'>http://xbmc.org/forum/showthread.php?t=56965&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8373233910152814715?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8373233910152814715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/howto-build-deb-package.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8373233910152814715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8373233910152814715'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/howto-build-deb-package.html' title='Howto build deb package'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5631255106904915344</id><published>2009-08-26T06:03:00.000-07:00</published><updated>2009-08-26T06:05:10.424-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>xbmcbuntu - manually install live components</title><content type='html'>&lt;div&gt;sudo chmod +x /usr/bin/runXBMC.sh&lt;/div&gt;&lt;div&gt;wget http://xbmc.svn.sourceforge.net/viewvc/xbmc/branches/linuxport/XBMC/tools/XBMCLive/runXBMC&lt;/div&gt;&lt;div&gt;sudo cp runXBMC /usr/bin/runXBMC&lt;/div&gt;&lt;div&gt;sudo chmod +x /usr/bin/runXBMC&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The other live components:&lt;/div&gt;&lt;div&gt;http://xbmc.svn.sourceforge.net/viewvc/xbmc/branches/linuxport/XBMC/tools/XBMCLive/&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/8549953143412263620-5631255106904915344?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5631255106904915344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/xbmcbuntu-manually-install-live.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5631255106904915344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5631255106904915344'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/xbmcbuntu-manually-install-live.html' title='xbmcbuntu - manually install live components'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7532747167762373391</id><published>2009-08-23T08:57:00.001-07:00</published><updated>2009-08-23T08:57:52.447-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Notes'/><title type='text'>Copy root partition to another disk</title><content type='html'>http://ubuntuforums.org/showthread.php?t=978079&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7532747167762373391?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7532747167762373391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/copy-root-partition-to-another-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7532747167762373391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7532747167762373391'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/copy-root-partition-to-another-disk.html' title='Copy root partition to another disk'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4260178665085773711</id><published>2009-08-22T05:46:00.000-07:00</published><updated>2009-08-22T08:04:49.787-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO revert to old svn</title><content type='html'>sudo dpkg -i xbmc-common_9.04.2+svn22278-jaunty1_i386.deb xbmc-skin-pm3-hd_9.04.2+svn22278-jaunty1_i386.deb xbmc-web-pm3_9.04.2+svn22278-jaunty1_i386.deb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;or&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get install xbmc=[svnVERSION]  &lt;/div&gt;&lt;div&gt;(e.g. 22278)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The packages are stored in /var/cache/apt/archives&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Revert to old version in svn  source directory&lt;/div&gt;&lt;div&gt;svn up --revision  22278&lt;/div&gt;&lt;div&gt;(svn guide http://ubuntuforums.org/showthread.php?t=1167578)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4260178665085773711?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4260178665085773711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/howto-revert-to-old-svn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4260178665085773711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4260178665085773711'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/howto-revert-to-old-svn.html' title='HOWTO revert to old svn'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3909767418649403342</id><published>2009-08-21T07:21:00.000-07:00</published><updated>2009-08-21T07:22:13.969-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>openbox or fluxbox?</title><content type='html'>&lt;div&gt;The main reason I picked openbox was that on debian it was the only one that use the keyboard layout from the command line installation without any config. On Ubuntu this does not seem to be a problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you only want a basic wm behind xbmc and don't want to config maybe fluxbox is better since has a panel and a working menu from scratch.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-3909767418649403342?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3909767418649403342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/openbox-or-fluxbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3909767418649403342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3909767418649403342'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/openbox-or-fluxbox.html' title='openbox or fluxbox?'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-26308922898981422</id><published>2009-08-21T01:57:00.000-07:00</published><updated>2009-08-23T06:04:50.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Remote access to XBMC Live /xbmcbuntu with GUI</title><content type='html'>&lt;div&gt;We will use NX server to do this. It is the easiest/most stable/most secure method.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I would like to be able to use XDMCP since it would require no additional components. Problem is that I don't know how to make Xming start the wm manually.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will work on XBMC Live and xbmcbuntu installations. Live have fluxbox installed, xbmcbuntu have what ever you installed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) install NX server&lt;/div&gt;&lt;div&gt;(check for new versions http://www.nomachine.com/select-package.php?os=linux&amp;amp;id=1)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get install libaudiofile0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/nxclient_3.3.0-6_i386.deb&lt;/div&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/nxnode_3.3.0-17_i386.deb&lt;/div&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/FE/nxserver_3.3.0-22_i386.deb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo dpkg -i nxclient_3.3.0-6_i386.deb nxnode_3.3.0-17_i386.deb  nxserver_3.3.0-22_i386.deb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) Install NX client on laptop/desktop&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Connect the NX client&lt;/div&gt;&lt;div&gt;Start the client&lt;/div&gt;&lt;div&gt;Type a new session name&lt;/div&gt;&lt;div&gt;Press configure&lt;/div&gt;&lt;div&gt;enter host/ip&lt;/div&gt;&lt;div&gt;Select Desktop Unix-Custom&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Press settings=&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Run the following command: /usr/bin/fluxbox (or in my case /usr/bin/openbox-session)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Select : New virtual desktop&lt;/div&gt;&lt;div&gt;Save settings&lt;/div&gt;&lt;div&gt;Login&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Logged in!&lt;/div&gt;&lt;div&gt;This will bring up a black window with no visible menus and no desktop.&lt;/div&gt;&lt;div&gt;Right-click on background to get menus select "terminal emulator". This works fine in fluxbox.&lt;/div&gt;&lt;div&gt;In openbox xterm does not work correctly in NX when started from the top level menu and we do not have an application/ Debian menu.  To fix this we install "menu" and another terminal.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get install menu roxterm &lt;/div&gt;&lt;div&gt;roxterm is not really needed, xterm works fine in NX if started from the the Debian menu.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I want to be able to do some stuff before I install gnome so I add some applications directly:&lt;/div&gt;&lt;div&gt;sudo apt-get install menu roxterm dillo rox-filer leafpad &lt;br /&gt;&lt;/div&gt;&lt;div&gt;(dillo = web, rox-filer = browse file system, leafpad text editor)&lt;/div&gt;&lt;div&gt;If you want to use gnome you will not need these.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Next step&lt;/div&gt;&lt;div&gt;If you want to keep  it very light weight you can use the system like this, just continue to add the none gnome applications that you need.&lt;/div&gt;&lt;div&gt;Otherwise you may want to use a desktop environment like gnome, lxde or rox.&lt;/div&gt;&lt;div&gt;It also works fine to add gnome-support but use gnome applications in openbox. This is what I will do now.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5) Install Gnome&lt;/div&gt;&lt;div&gt;sudo apt-get --no-install-recommends install gnome-core&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now you can change from custom to gnome in NX and connect.&lt;/div&gt;&lt;div&gt;I have listed a number of gnome applications &lt;span class="Apple-style-span"  style="font-size:small;"&gt;here &lt;/span&gt;&lt;span class="Apple-style-span"  style="  white-space: pre; font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;http://vikjonlinuxhowto.blogspot.com/2009/07/how-to-create-minimal-ubuntu-desktop.html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="  white-space: pre;font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="  white-space: pre;font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;To start with I want to share a folder, have a bittorrent client, mount usb and browse the web:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="  white-space: pre;font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;sudo apt-get install deluge nautilus-share epiphany-browser epiphany-extensions&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="  white-space: pre;font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; gnome-mount&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="  white-space: pre;font-family:'Lucida Grande';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&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/8549953143412263620-26308922898981422?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/26308922898981422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/remote-access-to-xbmc-live-xbmcbuntu.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/26308922898981422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/26308922898981422'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/remote-access-to-xbmc-live-xbmcbuntu.html' title='Remote access to XBMC Live /xbmcbuntu with GUI'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-7373179287892246683</id><published>2009-08-20T06:24:00.000-07:00</published><updated>2009-08-20T06:27:54.271-07:00</updated><title type='text'>compile firefox in debian 5.0</title><content type='html'>&lt;div&gt;Firefox is not available from PPA in debian 5.&lt;/div&gt;&lt;div&gt;A pity the understanding of the market place is so poor... otherwise I would probably move from ubuntu to debian.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Maybe I will try to compile from source.&lt;/div&gt;&lt;div&gt;http://markshroyer.com/blog/2009/07/firefox-35-debian-amd64.html&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/8549953143412263620-7373179287892246683?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7373179287892246683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/compile-firefox-in-debian-50.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7373179287892246683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7373179287892246683'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/compile-firefox-in-debian-50.html' title='compile firefox in debian 5.0'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-632473917480778111</id><published>2009-08-20T05:17:00.000-07:00</published><updated>2009-08-25T23:12:33.947-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>XBMC reinstalled (Now XBMCbuntu)</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I have decided to change my configuration. Instead of base it on a ubuntu desktop  I will do a xbmcbuntu installation according to the official guide with the same name. The only reason is that this is what everybody else does. The performance will not be improved.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I will still need a gui but I will add it on top of the xbmc installation instead of the other way around. I think I will stick to gnome for the moment, but am working on a openbox setup as well. The biggest difference in the end will be that I will not run in GDM.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;XBMCbuntu installation on ION 330 (Asrock)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;--------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;0) Preparations&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Flash BIOS =&gt; 1.50&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Set shared memory to 512Mb&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;--------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1) XBMCbuntu setup&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;--------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Refer to the official wiki this is just my installation log. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;http://xbmc.org/wiki/?title=XBMCbuntu&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*I use a PPA installation for NVIDIA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*I install openbox instead of fluxbox/blackbox EDIT: I will probably switch back to flux)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;a) Install minimal ubuntu&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; -install from 32-bit mini cd (or server CD??)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-don't create the xbmc user in this step (I create xbmcadmin /xbmc)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-Select autoinstall security updates&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-optional: Create an extra partition for storage and format it&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-add basic server. But Why should Basic Ubuntu Server be added? I didn't select anything at all before.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-add ssh&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;connect with SSH or type the rest of the commands in terminal.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;b) Initial system config (add sources)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano  /etc/apt/sources.list.d/xbmc.org.list&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add these lines:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu/ jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;deb-src http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu/ jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;#deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;#deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu  jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;save file and exit (CTRL-O CTRL-X)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Add keys&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 318C7509 91E7EE5E 64234534&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;(addons, live PPA, SVN PPA)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Update apt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get update&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;c) Install custom boot splash (optional)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install usplash-theme-xbmc-*&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano /etc/usplash.conf &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;xres=1920&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;yres=1080&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo update-alternatives --config usplash-artwork.so&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo update-initramfs -u&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;d) Install XBMC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If you want to install SVN directly&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano  /etc/apt/sources.list.d/xbmc.org.list&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-and comment out the stable (first 2 lines) and uncomment the svn &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install xbmc xinit x11-xserver-utils&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;e) Install "restricted drivers" for NVIDIA from 3rd party PPA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*I the nvidia-vdpau PPA. It has more alternatives than the two in the guide. e.g. downgrade =&gt; 180&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano /etc/apt/sources.list&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Add key&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CEC06767&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get update&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install linux-headers-generic nvidia-glx-185&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*Version 180 seem to work better for the moment. Less frame drops. I am on 180 right now&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nvidia-xconfig -s --no-logo --force-generate&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;f) Test basic installation of XBMC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add simple window manager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install fluxbox xterm&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;type startx in console&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;right-click select terminal &amp;amp; type xbmc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;g) Install xbmc helpers&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install xbmc-live python-apt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;enter pwd for xbmc user etc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano /boot/grub/menu.lst&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Add &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;xbmc=nodiskmount,noredir loglevel=0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;or&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;xbmc=noredir loglevel=0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;to the end of the first option kernel line&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;depending on if you want to automount disks or not. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*I will use the first, manually mount my storage partition and later add gnome-mount to handle USB.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add safe mode by copying the first section and remove "quite splash quite"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;and add "(safe mode)" to the title line. Don't enable mount in safe mode. That way you can boot without mounting and manually mount any fixed disks.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;f) Updating alsa&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;installing from rep:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install linux-sound-base alsa-base alsa-utils&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;*For the moment I am testing with this, supposed to be some upgrades lately.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;installing the latest (1.0.20)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;wget http://xbmc.org/wp-content/uploads/alsaup.sh&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;chmod +x alsaup.sh&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo ./alsaup.sh -di&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;g) Additional settings and packages&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo alsamixer&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-Unmute and set volume (MM means muted and OO On)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-Hit "m" to toggle mute on/off.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-Do not forget to unmute HDMI if you are going to use that&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo alsactl store&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-store the settings&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;h) Optional: Install support for a remote&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get install lirc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;--------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;--------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This should pretty much be a vanila XBMCbuntu installation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;With the exception of openbox and the diskmount.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-----------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2) Upgrade to SVN (optional)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-----------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;exit XBMC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano  /etc/apt/sources.list.d/xbmc.org.list&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-uncomment the svn line and comment the stable PPA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get update&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo apt-get upgrade&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3) Config&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;a) delete guisettings.xml (will erase all your settings)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo rm /home/xbmc/.xbmc/userdata/guisettings.xml&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;b) Enable 24hz, auto adjust refresh rate&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;add in screen section  in &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/etc/X11/xorg.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Option "DynamicTwinView" "False"&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Option "FlatPanelProperties" "Scaling = Native"&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo sed -i '60i\ Option "DynamicTwinView" "False"' /etc/X11/xorg.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo sed -i '60i\ Option "FlatPanelProperties" "Scaling = Native"' /etc/X11/xorg.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check result&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano  /etc/X11/xorg.conf &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;c) Disable HW curser &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Add in section device in &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/etc/X11/xorg.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Option "HWCursor" "False"&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo sed -i '50i\ Option "HWCursor" "False"' /etc/X11/xorg.conf&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check result&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo nano  /etc/X11/xorg.conf  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;d) reboot&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sudo reboot&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4)  Config in XBMC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;a) enable VDPAU and Auto adjust refresh rate&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Change render method =&gt; VDPAU&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Set "Auto adjust refresh rate" on&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;b) setup sound&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Enable digital sound&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Settings for SPDIF:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;default&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;iec958&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Setting for HDMI:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;hdmi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;hdmi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If mp3 is playing to fast, try with:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;plug:hdmi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;hdmi&lt;/span&gt;&lt;/div&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/8549953143412263620-632473917480778111?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/632473917480778111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/xbmc-reinstalled-now-xbmcbuntu.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/632473917480778111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/632473917480778111'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/xbmc-reinstalled-now-xbmcbuntu.html' title='XBMC reinstalled (Now XBMCbuntu)'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-8816810727506858633</id><published>2009-08-19T08:58:00.000-07:00</published><updated>2009-08-19T08:59:35.509-07:00</updated><title type='text'>more on openbox</title><content type='html'>http://urukrama.wordpress.com/openbox-guide/&lt;div&gt;https://help.ubuntu.com/community/Openbox&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.ubuntugeek.com/lxde-lightweight-x11-desktop-environment-for-ubuntu.html&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://lxde.sourceforge.net/install.html&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/8549953143412263620-8816810727506858633?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8816810727506858633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/more-on-openbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8816810727506858633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8816810727506858633'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/more-on-openbox.html' title='more on openbox'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5092020055075031295</id><published>2009-08-12T08:28:00.000-07:00</published><updated>2009-08-21T06:34:08.623-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Notes'/><title type='text'>openbox with fbpanel</title><content type='html'>&lt;div&gt;Notes for my latest light desktop trial project&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In this case on a minimal debian with gnome-core installed.&lt;/div&gt;&lt;div&gt;It is the same on ubuntu.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;apt-get install openbox fbpanel &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;add rox-filer?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;autostart and config fbpanel&lt;/div&gt;&lt;div&gt;http://chris4585.wordpress.com/2008/05/09/ubuntu-fbpanel-profile/&lt;/div&gt;&lt;div&gt;http://chris4585.wordpress.com/fbpanel-profiles/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;$ sudo gedit /etc/xdg/openbox/autostart.sh&lt;/div&gt;&lt;div&gt;Add the following lines to autostart.sh:&lt;/div&gt;&lt;div&gt;sleep 0;&lt;/div&gt;&lt;div&gt;fbpanel –profile profile-file-name1 &amp;amp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Network manager&lt;/div&gt;&lt;div&gt;http://wiki.laptop.org/go/Xfce&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Autostart&lt;/div&gt;&lt;div&gt;sleep 0;&lt;/div&gt;&lt;div&gt;nm-applet --sm-disable &amp;amp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;it has to run as root we need to fix policykit&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://wiki.laptop.org/go/Xfce&lt;/div&gt;&lt;div&gt;/etc/dbus-1/system.d/NetworkManager.conf &lt;/div&gt;&lt;div&gt;/etc/dbus-1/system.d/NetworkManagerInfo.conf &lt;/div&gt;&lt;div&gt;/etc/dbus-1/system.d/nm-applet.conf &lt;/div&gt;&lt;div&gt;/etc/dbus-1/system.d/nm-avahi-autoipd.conf &lt;/div&gt;&lt;div&gt;/etc/dbus-1/system.d/nm-dhcp-client.conf &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In each file, copy the section of text which starts with &lt;policy user="root"&gt; and ends with &lt;/policy&gt;. Paste it immediately below the  line, and change the &lt;policy user="root"&gt; line to &lt;policy user="olpc"&gt;. &lt;/policy&gt;&lt;/policy&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For example: &lt;/div&gt;&lt;div&gt;&lt;policy user="root"&gt;&lt;/policy&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;policy user="root"&gt;&lt;/policy&gt;&lt;/div&gt;&lt;div&gt;  &lt;allow own="org.freedesktop.nm_dhcp_client"&gt;&lt;/allow&gt;&lt;/div&gt;&lt;div&gt;  &lt;allow send_interface="org.freedesktop.nm_dhcp_client"&gt;&lt;/allow&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;policy user="olpc"&gt;&lt;/policy&gt;&lt;/div&gt;&lt;div&gt;  &lt;allow own="org.freedesktop.nm_dhcp_client"&gt;&lt;/allow&gt;&lt;/div&gt;&lt;div&gt;  &lt;allow send_interface="org.freedesktop.nm_dhcp_client"&gt;&lt;/allow&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Or fix the sudoer file&lt;/div&gt;&lt;div&gt;http://www.debian-administration.org/articles/33&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-5092020055075031295?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5092020055075031295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/openbox-with-fbpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5092020055075031295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5092020055075031295'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/openbox-with-fbpanel.html' title='openbox with fbpanel'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7358754356193807601</id><published>2009-08-12T07:47:00.000-07:00</published><updated>2009-08-12T07:49:17.699-07:00</updated><title type='text'>Linux permission</title><content type='html'>&lt;div&gt;http://tldp.org/LDP/intro-linux/html/sect_03_04.html&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Command&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Meaning&lt;/div&gt;&lt;div&gt;chmod 400 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;To protect a file against accidental overwriting.&lt;/div&gt;&lt;div&gt;chmod 500 directory&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;To protect yourself from accidentally removing, renaming or moving files from this directory.&lt;/div&gt;&lt;div&gt;chmod 600 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;A private file only changeable by the user who entered this command.&lt;/div&gt;&lt;div&gt;chmod 644 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;A publicly readable file that can only be changed by the issuing user.&lt;/div&gt;&lt;div&gt;chmod 660 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Users belonging to your group can change this file, others don't have any access to it at all.&lt;/div&gt;&lt;div&gt;chmod 700 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Protects a file against any access from other users, while the issuing user still has full access.&lt;/div&gt;&lt;div&gt;chmod 755 directory&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;For files that should be readable and executable by others, but only changeable by the issuing user.&lt;/div&gt;&lt;div&gt;chmod 775 file&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Standard file sharing mode for a group.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;chmod 777 file&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Everybody can do everything to this file.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7358754356193807601?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7358754356193807601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/linux-permission.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7358754356193807601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7358754356193807601'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/linux-permission.html' title='Linux permission'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7239857153830827841</id><published>2009-08-11T01:56:00.001-07:00</published><updated>2009-08-11T01:56:54.761-07:00</updated><title type='text'>Connect to non default desktop in NX server</title><content type='html'>&lt;div&gt;http://muzso.hu/category/tags/nx-client&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;If you've eg. Xubuntu on your server with Xfce as the default desktop environment, then it's not trivial how you can connect with FreeNX and use this desktop environment. In the nxclient enter the session configuration screen, set the "desktop" to "Unix" and "Custom", enter "Settings" and choose the "Run the following command" for the "Application", and enter this into the textbox: &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;/usr/bin/xfce4-session&lt;/span&gt;. In the "Options" select the "New virtual desktop". Press OK and select in the "Display" section "Full screen"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7239857153830827841?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7239857153830827841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/connect-to-non-default-desktop-in-nx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7239857153830827841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7239857153830827841'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/08/connect-to-non-default-desktop-in-nx.html' title='Connect to non default desktop in NX server'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-6067641905455813706</id><published>2009-07-27T05:39:00.000-07:00</published><updated>2009-08-02T10:53:12.861-07:00</updated><title type='text'>Howto create a minimal Xfce desktop (debian)</title><content type='html'>&lt;div&gt;Preliminary notes&lt;/div&gt;&lt;div&gt;EDIT:  I ended up installing a minimal gnome instead. I think that is easier for them to use...looks more like mac/ window.  Better menus for end users.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://distrowatch.com/weekly.php?issue=20090504#feature&lt;div&gt;http://bbs.archlinux.org/viewtopic.php?id=65655&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.linuxquestions.org/questions/slackware-14/xfce-how-to-change-the-keyboard-layout-322374/&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Logg:&lt;/div&gt;&lt;div&gt;apt-get -y --no-install-recommends install  xorg gdm  xfce4&lt;/div&gt;&lt;div&gt;xfce4-xfapplet-plugin (necessary to use gnome applets like nm)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;networkmanager&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;nano /etc/apt/sources.list&lt;/div&gt;&lt;div&gt;remove cd&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;gpasswd -a user powerdev&lt;br /&gt;&lt;/div&gt;&lt;div&gt;aptitude install --without-recommends lxde&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Automount&lt;/div&gt;&lt;div&gt;http://slucas.wikidot.com/en:xfce-automount&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Possible packages&lt;/div&gt;&lt;div&gt;thunar-archive-plugin???&lt;br /&gt;&lt;/div&gt;&lt;div&gt;shutdwon-helper??&lt;br /&gt;&lt;/div&gt;&lt;div&gt;xfce4-goodies&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;thunar&lt;/div&gt;&lt;div&gt;xfce4-panel&lt;/div&gt;&lt;div&gt;xfburn&lt;/div&gt;&lt;div&gt;squeeze&lt;/div&gt;&lt;div&gt;and whatever their dependencies are&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;xfwm4&lt;/div&gt;&lt;div&gt;xfdesktop&lt;/div&gt;&lt;div&gt;xfce-mcs-manager&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-6067641905455813706?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/6067641905455813706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/howto-create-minimal-xfce-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6067641905455813706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6067641905455813706'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/howto-create-minimal-xfce-desktop.html' title='Howto create a minimal Xfce desktop (debian)'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3371832598661872343</id><published>2009-07-26T10:57:00.000-07:00</published><updated>2009-07-27T05:39:05.754-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux on an old Laptop</title><content type='html'>&lt;div&gt;I promised to fix a friends old laptop.  I thought I would install a minimal desktop based on ubuntu.  But ubuntu does not boot on this machine as it turned out.  This also happened the first time I tried linux, ubuntu could not handle the old test laptop. That time I installed Suse without any problem.&lt;/div&gt;&lt;div&gt;I don't like Suse much and I did some digging around. I considered Fedora since I think redhat is probably still the best choice for servers(?) and it would hurt to learn it. &lt;/div&gt;&lt;div&gt;Final decision to give debian a chance since don't really have time to Fedora right now. &lt;/div&gt;&lt;div&gt;It worked without any problem! I think the debian installation process looks much better than Ubuntu and obviously it can handle old HW better.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I made a test installation with command line only and manually added Xfce &amp;amp; GDM. Had some intial problems but nothing much.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I also found out that there is a debian CD with lxde /xfce and  I loaded lxde onto the laptop but I didn't like it much. After some google I decided to stick with a minimal xfce on top of debian.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Plan now is to load the xdebian into a virtal machine and use it as a reference when building the mini desktop.&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/8549953143412263620-3371832598661872343?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3371832598661872343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/create-minimal-xfce-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3371832598661872343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3371832598661872343'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/create-minimal-xfce-desktop.html' title='Linux on an old Laptop'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8106113958003728860</id><published>2009-07-24T04:36:00.000-07:00</published><updated>2009-08-02T10:55:41.260-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TEST'/><title type='text'>TEST asoundrc</title><content type='html'>&lt;div&gt;http://alsa.opensrc.org/index.php/DigitalOut&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://alsa.opensrc.org/index.php/.asoundrc&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://alsa.opensrc.org/index.php/Dmix&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;pcm.!default plug:both&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ctl.!default {&lt;/div&gt;&lt;div&gt;  type hw&lt;/div&gt;&lt;div&gt;  card ICH6&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;pcm.both {&lt;/div&gt;&lt;div&gt;  type route;&lt;/div&gt;&lt;div&gt;  slave.pcm {&lt;/div&gt;&lt;div&gt;      type multi;&lt;/div&gt;&lt;div&gt;      slaves.a.pcm "intel8x0";&lt;/div&gt;&lt;div&gt;      slaves.b.pcm "aureon";&lt;/div&gt;&lt;div&gt;      slaves.a.channels 2;&lt;/div&gt;&lt;div&gt;      slaves.b.channels 6;&lt;/div&gt;&lt;div&gt;      bindings.0.slave a;&lt;/div&gt;&lt;div&gt;      bindings.0.channel 0;&lt;/div&gt;&lt;div&gt;      bindings.1.slave a;&lt;/div&gt;&lt;div&gt;      bindings.1.channel 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;      bindings.2.slave b;&lt;/div&gt;&lt;div&gt;      bindings.2.channel 0;&lt;/div&gt;&lt;div&gt;      bindings.3.slave b;&lt;/div&gt;&lt;div&gt;      bindings.3.channel 1;&lt;/div&gt;&lt;div&gt;      bindings.4.slave b;&lt;/div&gt;&lt;div&gt;      bindings.4.channel 2;&lt;/div&gt;&lt;div&gt;      bindings.5.slave b;&lt;/div&gt;&lt;div&gt;      bindings.5.channel 3;&lt;/div&gt;&lt;div&gt;      bindings.6.slave b;&lt;/div&gt;&lt;div&gt;      bindings.6.channel 4;&lt;/div&gt;&lt;div&gt;      bindings.7.slave b;&lt;/div&gt;&lt;div&gt;      bindings.7.channel 5;&lt;/div&gt;&lt;div&gt;  }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;  ttable.0.0 1;&lt;/div&gt;&lt;div&gt;  ttable.1.1 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;  ttable.0.2 1; # front left&lt;/div&gt;&lt;div&gt;  ttable.1.3 1; # front right&lt;/div&gt;&lt;div&gt;  ttable.0.4 1; # copy front left to rear left&lt;/div&gt;&lt;div&gt;  ttable.1.5 1; # copy front left to rear left&lt;/div&gt;&lt;div&gt;  # mix front left/right to subwoofer and center&lt;/div&gt;&lt;div&gt;  ttable.0.6 0.5;&lt;/div&gt;&lt;div&gt;  ttable.1.6 0.5;&lt;/div&gt;&lt;div&gt;  ttable.0.7 0.5;&lt;/div&gt;&lt;div&gt;  ttable.1.7 0.5;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ctl.both {&lt;/div&gt;&lt;div&gt;  type hw;&lt;/div&gt;&lt;div&gt;  card ICH6;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;pcm.aureon {&lt;/div&gt;&lt;div&gt;   type dmix&lt;/div&gt;&lt;div&gt;   ipc_key 1024&lt;/div&gt;&lt;div&gt;   slave {&lt;/div&gt;&lt;div&gt;       pcm "hw:1"&lt;/div&gt;&lt;div&gt;       period_time 0&lt;/div&gt;&lt;div&gt;       period_size 2048&lt;/div&gt;&lt;div&gt;#        buffer_size 8192&lt;/div&gt;&lt;div&gt;       buffer_size 65536&lt;/div&gt;&lt;div&gt;       buffer_time 0&lt;/div&gt;&lt;div&gt;       periods 128&lt;/div&gt;&lt;div&gt;       rate 48000&lt;/div&gt;&lt;div&gt;       channels 6&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;# the channels of this card are mixed-up&lt;/div&gt;&lt;div&gt;    bindings {&lt;/div&gt;&lt;div&gt;       0 0&lt;/div&gt;&lt;div&gt;       1 1&lt;/div&gt;&lt;div&gt;       2 4&lt;/div&gt;&lt;div&gt;       3 5&lt;/div&gt;&lt;div&gt;       4 2&lt;/div&gt;&lt;div&gt;       5 3&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;pcm.intel8x0 {&lt;/div&gt;&lt;div&gt;   type dmix&lt;/div&gt;&lt;div&gt;   ipc_key 2048&lt;/div&gt;&lt;div&gt;   slave {&lt;/div&gt;&lt;div&gt;       pcm "hw:0"&lt;/div&gt;&lt;div&gt;       period_time 0&lt;/div&gt;&lt;div&gt;       period_size 2048&lt;/div&gt;&lt;div&gt;#        buffer_size 8192&lt;/div&gt;&lt;div&gt;       buffer_size 65536&lt;/div&gt;&lt;div&gt;       buffer_time 0&lt;/div&gt;&lt;div&gt;       periods 128&lt;/div&gt;&lt;div&gt;       rate 48000&lt;/div&gt;&lt;div&gt;       channels 2&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    bindings {&lt;/div&gt;&lt;div&gt;       0 0&lt;/div&gt;&lt;div&gt;       1 1&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ctl.aureon {&lt;/div&gt;&lt;div&gt;   type hw&lt;/div&gt;&lt;div&gt;   card "Audio"&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ctl.intel8x0 {&lt;/div&gt;&lt;div&gt;   type hw&lt;/div&gt;&lt;div&gt;   card "ICH6"&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8106113958003728860?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8106113958003728860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/test-opengl_24.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8106113958003728860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8106113958003728860'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/test-opengl_24.html' title='TEST asoundrc'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-9052364864268002191</id><published>2009-07-24T01:06:00.000-07:00</published><updated>2009-07-24T04:36:13.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><title type='text'>Install Aeon skin in XBMC</title><content type='html'>&lt;div&gt;This is how to install Aeon the quick way.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Didn't like the color scheme though..not going to use it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Install Skin Aeon&lt;/div&gt;&lt;div&gt;-----------------&lt;/div&gt;&lt;div&gt;1)&lt;/div&gt;&lt;div&gt;sudo apt-get install git-core&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2)&lt;/div&gt;&lt;div&gt;cd ~/.xbmc/skin&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3)&lt;/div&gt;&lt;div&gt;git clone git://github.com/djh/aeon.git&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(If you want a another folder name git clone git://github.com/djh/aeon.git "Aeon Stark")&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4)&lt;/div&gt;&lt;div&gt;cd aeon&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5) Get the fonts&lt;/div&gt;&lt;div&gt;EDIT: The URL will be generated based on your ip (I think) You have to get your  own from&lt;/div&gt;&lt;a href="http://www.mediafire.com/?lywzwbnqyyy" target="_blank"&gt;http://www.mediafire.com/?lywzwbnqyyy&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wget http://download273.mediafire.com/aew2memhsysg/lywzwbnqyyy/Aeon_Fonts160709.zip&lt;/div&gt;&lt;div&gt;unzip  Aeon_Fonts160709.zip&lt;/div&gt;&lt;div&gt;mv Aeon/fonts fonts&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6) clean-up&lt;/div&gt;&lt;div&gt;rmdir  Aeon&lt;/div&gt;&lt;div&gt;rm Aeon_Fonts160709.zip&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;reference&lt;/div&gt;&lt;div&gt;---------&lt;/div&gt;&lt;div&gt;http://www.xbmc.org/forum/showthread.php?t=49958&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/8549953143412263620-9052364864268002191?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/9052364864268002191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-aeon-skin-in-xbmc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9052364864268002191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9052364864268002191'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-aeon-skin-in-xbmc.html' title='Install Aeon skin in XBMC'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8898571667691741106</id><published>2009-07-23T06:09:00.001-07:00</published><updated>2009-07-23T09:12:53.682-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XBMC'/><category scheme='http://www.blogger.com/atom/ns#' term='SOUND'/><title type='text'>toslink AND HDMI</title><content type='html'>&lt;div&gt;I am trying to get sound on both HDMI &amp;amp; SPDIF from XBMC.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Below .asoundrc file almost works perfectly problem is that there a time delay between the channels. The problem could be the TV though, I also get an echo if I connect the TV to the receiver...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;pcm.!default {&lt;br /&gt;type plug&lt;br /&gt;slave {&lt;br /&gt;pcm "both"&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;pcm.both {&lt;br /&gt;      type route&lt;br /&gt;      slave {&lt;br /&gt;              pcm multi&lt;br /&gt;              channels 4&lt;br /&gt;      }&lt;br /&gt;      ttable.0.0 1.0&lt;br /&gt;      ttable.1.1 1.0&lt;br /&gt;      ttable.0.2 1.0&lt;br /&gt;      ttable.1.3 1.0&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;pcm.multi {&lt;br /&gt;      type multi&lt;br /&gt;      slaves.a {&lt;br /&gt;              pcm "tv"&lt;br /&gt;              channels 2&lt;br /&gt;      }&lt;br /&gt;      slaves.b {&lt;br /&gt;              pcm "receiver"&lt;br /&gt;              channels 2&lt;br /&gt;      }&lt;br /&gt;      bindings.0.slave a&lt;br /&gt;      bindings.0.channel 0&lt;br /&gt;      bindings.1.slave a&lt;br /&gt;      bindings.1.channel 1&lt;br /&gt;      bindings.2.slave b&lt;br /&gt;      bindings.2.channel 0&lt;br /&gt;      bindings.3.slave b&lt;br /&gt;      bindings.3.channel 1&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;pcm.tv {&lt;br /&gt;      type hw&lt;br /&gt;      card 0&lt;br /&gt;      device 3&lt;br /&gt;      channels 2&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;pcm.receiver {&lt;br /&gt;      type hw&lt;br /&gt;      card 0&lt;br /&gt;      device 1&lt;br /&gt;      channels 2&lt;br /&gt;}&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Audio Out: Digital&lt;/div&gt;&lt;div&gt;Dolby D. (AC3): false&lt;/div&gt;&lt;div&gt;DTS: True&lt;/div&gt;&lt;div&gt;Audio output: plug:both&lt;/div&gt;&lt;div&gt;Passthrough: iec958&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8898571667691741106?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8898571667691741106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/toslink-and-hdmi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8898571667691741106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8898571667691741106'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/toslink-and-hdmi.html' title='toslink AND HDMI'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4859603094833597920</id><published>2009-07-19T23:40:00.000-07:00</published><updated>2009-07-19T23:41:17.037-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Config rc system with sysv-rc-conf</title><content type='html'>&lt;div&gt;Do not auto start GDM&lt;/div&gt;&lt;div&gt;--------------------&lt;/div&gt;&lt;div&gt;sysv-rc-conf&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Find 'gdm' and uncheck the boxes for runlevels 2 and 3.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now the desktop will only start if you run:&lt;/div&gt;&lt;div&gt;startx&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/8549953143412263620-4859603094833597920?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4859603094833597920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/config-rc-system-with-sysv-rc-conf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4859603094833597920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4859603094833597920'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/config-rc-system-with-sysv-rc-conf.html' title='Config rc system with sysv-rc-conf'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5918173781468486976</id><published>2009-07-19T11:27:00.001-07:00</published><updated>2009-08-10T12:55:17.508-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>How to create a minimal ubuntu desktop</title><content type='html'>&lt;div&gt;Reference&lt;/div&gt;&lt;div&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=1155961"&gt;http://ubuntuforums.org/showthread.php?t=1155961&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If  you want to make a minimal ubuntu desktop install a clean system from the minimal cd and add what you need manually.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you add everything in this list you should have more or less a standard ubuntu system minus applications.&lt;/div&gt;&lt;div&gt;NB: There are other desktop and window managers that are much lighter. This guide will create a standard ubuntu system (gnome desktop). &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;If you really want to do it minimal / bit by bit you might want to use:&lt;/div&gt;&lt;div&gt;sudo apt-get --no-install-recommends install &lt;/div&gt;&lt;div&gt;It will only install the really necessary packages.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Display Manager&amp;amp;Desktop  &lt;/div&gt;&lt;div&gt;--------------------------------&lt;/div&gt;&lt;div&gt;sudo apt-get -y install xorg gdm  gnome-core &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Reboot and you have a basic desktop!&lt;/div&gt;&lt;div&gt;(exlude gdm and you can start manually with "startx" instead)&lt;/div&gt;&lt;div&gt;You can now start add utilities and applications.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Gnome basics&lt;/div&gt;&lt;div&gt;------------&lt;/div&gt;&lt;div&gt;gnome-system-tools gnome-utils x11-xserver-utils &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Remaining system utilities&lt;/div&gt;&lt;div&gt;--------------------------&lt;/div&gt;&lt;div&gt;and stuff that will make it look like a standard ubuntu desktop&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;apport-gtk  (frot end crash report system)&lt;/div&gt;&lt;div&gt;jockey-gtk&lt;/div&gt;&lt;div&gt;usplash&lt;/div&gt;&lt;div&gt;update-manager &lt;/div&gt;&lt;div&gt;notify-osd &lt;/div&gt;&lt;div&gt;update-notifiers&lt;/div&gt;&lt;div&gt;network-manager-gnome&lt;/div&gt;&lt;div&gt;fast-user-switch-applet&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Themes etc&lt;/div&gt;&lt;div&gt;gnome-screensaver &lt;/div&gt;&lt;div&gt;ubuntu-artwork human-theme tangerine-icon-theme gnome-themes-ubuntu xcursor-themes&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;---Network manager fix&lt;/div&gt;&lt;div&gt;sudo nano /etc/network/interfaces&lt;/div&gt;&lt;div&gt;Comment out the lines below "primary network interface"&lt;/div&gt;&lt;div&gt;(This is the solution that match the standard 9.04 setup)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;laptop&lt;/div&gt;&lt;div&gt;---------------&lt;/div&gt;&lt;div&gt;laptop-mode-tools &lt;/div&gt;&lt;div&gt;ubuntu-laptop-mode &lt;/div&gt;&lt;div&gt;apmd &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;-advanced power management&lt;/div&gt;&lt;div&gt;powernowd&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;-CPU speed (not only for laptops?)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Standard applications&lt;/div&gt;&lt;div&gt;-----------------------------&lt;/div&gt;&lt;div&gt;epiphany-browser epiphany-extensions (well, not the standard browser. Standard is if course firefox)&lt;/div&gt;&lt;div&gt;brasero &lt;/div&gt;&lt;div&gt;gnome-nettool&lt;/div&gt;&lt;div&gt;nautilus-share  -share a folder by righ click&lt;/div&gt;&lt;div&gt;gdebi  &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;- offline package manager&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;More utilities - installed in standard desktop&lt;/div&gt;&lt;div&gt;---------------&lt;/div&gt;&lt;div&gt;vino &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;-vnc Remote desktop access&lt;/div&gt;&lt;div&gt;system-config-printer-gnome  &lt;/div&gt;&lt;div&gt;usb-creator&lt;/div&gt;&lt;div&gt;powernowd&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;-CPU speed&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;More utilities - NOT installed in standard&lt;/div&gt;&lt;div&gt;---------------&lt;/div&gt;&lt;div&gt;gparted   &lt;/div&gt;&lt;div&gt;ntfsprogs (tools for unproblematic use of NTFS file systems)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;language-pack-gnome-XX and language-pack-gnome-XX-base (with XX representing your local language, e.g. de)&lt;/div&gt;&lt;div&gt;ssh&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&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/8549953143412263620-5918173781468486976?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5918173781468486976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/how-to-create-minimal-ubuntu-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5918173781468486976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5918173781468486976'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/how-to-create-minimal-ubuntu-desktop.html' title='How to create a minimal ubuntu desktop'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8227097777209269050</id><published>2009-07-18T13:02:00.001-07:00</published><updated>2009-07-18T13:03:25.586-07:00</updated><title type='text'>gconf-editor</title><content type='html'>&lt;div&gt;Another useful tool!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Example of usage:&lt;/div&gt;&lt;div&gt;No password when coming back from suspend--&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Run gconf-editor, navigate to app &gt; gnome-power-manager &gt; lock&lt;/div&gt;&lt;div&gt;and uncheck everything.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8227097777209269050?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8227097777209269050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/gconf-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8227097777209269050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8227097777209269050'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/gconf-editor.html' title='gconf-editor'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8001208547963534562</id><published>2009-07-18T07:36:00.001-07:00</published><updated>2009-07-18T07:36:32.941-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Wifi command line tool</title><content type='html'>cnetworkmanager&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8001208547963534562?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8001208547963534562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/wifi-command-line-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8001208547963534562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8001208547963534562'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/wifi-command-line-tool.html' title='Wifi command line tool'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-6685655313467370225</id><published>2009-07-18T03:10:00.001-07:00</published><updated>2010-02-04T08:25:20.455-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Install NX server from terminal</title><content type='html'>Edit: new version available&lt;br /&gt;&lt;br /&gt;mkdir Downloads&lt;br /&gt;cd Downloads&lt;br /&gt;&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/nxclient_3.4.0-5_i386.deb&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/nxnode_3.4.0-6_i386.deb&lt;br /&gt;wget http://64.34.161.181/download/3.4.0/Linux/FE/nxserver_3.4.0-8_i386.deb&lt;br /&gt;&lt;br /&gt;sudo dpkg -i nxclient_3.4.0-5_i386.deb nxnode_3.4.0-6_i386.deb nxserver_3.4.0-8_i386.deb&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/nxclient_3.3.0-6_i386.deb&lt;/div&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/nxnode_3.3.0-17_i386.deb&lt;/div&gt;&lt;div&gt;wget http://64.34.161.181/download/3.3.0/Linux/FE/nxserver_3.3.0-22_i386.deb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo dpkg -i nxclient_3.3.0-6_i386.deb nxnode_3.3.0-17_i386.deb  nxserver_3.3.0-22_i386.deb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-6685655313467370225?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/6685655313467370225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-nx-server-from-terminal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6685655313467370225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6685655313467370225'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-nx-server-from-terminal.html' title='Install NX server from terminal'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2614109334569802789</id><published>2009-07-18T02:36:00.000-07:00</published><updated>2009-07-18T02:55:21.768-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Howto mount a new partition</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;View partitions:&lt;/span&gt;&lt;/div&gt;sudo fdisk -l  (/dev/sda3)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Create a mount point:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;sudo mkdir /storage&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Edit the fstab:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;sudo cp /etc/fstab /etc/fstab_backup&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo nano /etc/fstab&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;/dev/sda3&lt;/span&gt; /storage &lt;span class="Apple-style-span" style="font-style: italic;"&gt;ext2&lt;/span&gt; defaults 0 0&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Refresh:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;sudo mount -a&lt;br /&gt;&lt;/div&gt;&lt;div&gt;´&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Owner:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;sudo chown -R xbmc:xbmc /storage&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Access:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;sudo chmod -R 755 /storage&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.psychocats.net/ubuntu/mountlinux"&gt;http://www.psychocats.net/ubuntu/mountlinux&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&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/8549953143412263620-2614109334569802789?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2614109334569802789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/view-partitions-sudo-fdisk-l-devsda3.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2614109334569802789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2614109334569802789'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/view-partitions-sudo-fdisk-l-devsda3.html' title='Howto mount a new partition'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-903224435153797258</id><published>2009-07-17T09:07:00.000-07:00</published><updated>2009-07-18T02:17:28.818-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Upgrade Alsa</title><content type='html'>&lt;div&gt;I can't find any general PPA for ALSA like for NVIDIA. Anyone know?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Manually:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get update&lt;/div&gt;&lt;div&gt;sudo apt-get upgrade&lt;/div&gt;&lt;div&gt;sudo apt-get install wget build-essential linux-headers-`uname -r`&lt;/div&gt;&lt;div&gt;wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2&lt;/div&gt;&lt;div&gt;tar -xf alsa-driver-1.0.20.tar.bz2&lt;/div&gt;&lt;div&gt;cd alsa-driver-1.0.20&lt;/div&gt;&lt;div&gt;./configure&lt;/div&gt;&lt;div&gt;make&lt;/div&gt;&lt;div&gt;sudo make install&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;With script (I could't get the package to download with wget so I did it manually):&lt;/div&gt;&lt;div&gt;&lt;div&gt;http://ubuntuforums.org/showthread.php?p=6589810#post6589810&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-903224435153797258?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/903224435153797258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/upgrade-alsa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/903224435153797258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/903224435153797258'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/upgrade-alsa.html' title='Upgrade Alsa'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7910809182960777978</id><published>2009-07-16T13:45:00.000-07:00</published><updated>2009-07-16T13:47:15.119-07:00</updated><title type='text'>Killer samples</title><content type='html'>&lt;div&gt;http://www.apple.com/quicktime/guide/hd/artbeats.html&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://tracker.hatters.org.uk/torrents/killa.sampla.x264.mkv.torrent&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7910809182960777978?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7910809182960777978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/killer-samples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7910809182960777978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7910809182960777978'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/killer-samples.html' title='Killer samples'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4223094222232072235</id><published>2009-07-16T09:57:00.000-07:00</published><updated>2009-07-16T09:59:09.837-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HowTo install ATI drivers Ubuntu 8.04 (not supported in 9.04?)</title><content type='html'>&lt;div&gt;Example card ATI x1650&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;0) Uninstall&lt;/div&gt;&lt;div&gt;navigate to the /usr/share/ati&lt;/div&gt;&lt;div&gt;sudo sh ./fglrx-uninstall.sh&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) install pre-req&lt;/div&gt;&lt;div&gt;sudo apt-get install xorg build-essential dpkg-dev debhelper libstdc++5 dkms cdbs fakeroot&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) Find the correct package&lt;/div&gt;&lt;div&gt;http://support.amd.com/us/gpudownload/Pages/index.aspx&lt;/div&gt;&lt;div&gt;---Se readme&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3)Download&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wget https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-9-3-x86.x86_64.run&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Install&lt;/div&gt;&lt;div&gt;sudo sh ati-driver-installer-9-3-x86.x86_64.run&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5)&lt;/div&gt;&lt;div&gt;sudo /usr/bin/aticonfig --initial&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6) reboot&lt;/div&gt;&lt;div&gt;sudo reboot&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7) test&lt;/div&gt;&lt;div&gt;fglrxinfo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;glxinfo | grep 'direct rendering'&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;glxgears&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/8549953143412263620-4223094222232072235?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4223094222232072235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/howto-install-ati-drivers-ubuntu-804.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4223094222232072235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4223094222232072235'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/howto-install-ati-drivers-ubuntu-804.html' title='HowTo install ATI drivers Ubuntu 8.04 (not supported in 9.04?)'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-9083725484231629009</id><published>2009-07-16T07:35:00.000-07:00</published><updated>2009-07-16T07:36:48.178-07:00</updated><title type='text'></title><content type='html'>I have bought and installed a Asrock ION 330 now. It works fine so far!&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is how I did:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.xbmc.org/forum/showthread.php?t=54705"&gt;http://www.xbmc.org/forum/showthread.php?t=54705&lt;/a&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/8549953143412263620-9083725484231629009?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/9083725484231629009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/i-have-bought-and-installed-asrock-ion.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9083725484231629009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9083725484231629009'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/i-have-bought-and-installed-asrock-ion.html' title=''/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-216974982629682623</id><published>2009-07-16T07:20:00.000-07:00</published><updated>2009-07-16T07:21:48.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Minimal desktop</title><content type='html'>http://ubuntuforums.org/showthread.php?t=1155961&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Would be interesting to learn how to add the desktop to a minimal or server installation.&lt;/div&gt;&lt;div&gt;and learn the start-up procedures at the same time.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-216974982629682623?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/216974982629682623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/minimal-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/216974982629682623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/216974982629682623'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/minimal-desktop.html' title='Minimal desktop'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7142984948806905766</id><published>2009-07-15T11:11:00.000-07:00</published><updated>2009-07-15T11:12:53.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Install NVIDIA with PPA</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This should be a better option since it should not cause any problem when upgrading the kernel.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;https://launchpad.net/~nvidia-vdpau/+archive/ppa&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If the xorg.conf is not configured maybe this need to be run "sudo nvidia-xconfig".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;0) Remove manually installed driver&lt;/div&gt;&lt;div&gt;sudo /etc/init.d/gdm stop&lt;/div&gt;&lt;div&gt;sudo /usr/bin/nvidia-uninstall&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Add source&lt;/div&gt;&lt;div&gt;sudo nano /etc/apt/sources.list&lt;/div&gt;&lt;div&gt;deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Add key&lt;/div&gt;&lt;div&gt;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CEC06767&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Install &lt;/div&gt;&lt;div&gt;sudo apt-get update&lt;/div&gt;&lt;div&gt;sudo apt-get install linux-headers-generic nvidia-glx-185&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7142984948806905766?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7142984948806905766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-nvidia-with-ppa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7142984948806905766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7142984948806905766'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/install-nvidia-with-ppa.html' title='Install NVIDIA with PPA'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4005601030935032161</id><published>2009-07-15T02:55:00.001-07:00</published><updated>2009-07-15T02:56:01.528-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>ATI drivers not available for Ubuntu 9.04?</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Test manual setup&lt;/div&gt;&lt;div&gt;https://help.ubuntu.com/community/BinaryDriverHowto/ATI&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://www.xbmc.org/forum/showthread.php?t=38804&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/8549953143412263620-4005601030935032161?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4005601030935032161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/ati-drivers-not-available-for-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4005601030935032161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4005601030935032161'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/ati-drivers-not-available-for-ubuntu.html' title='ATI drivers not available for Ubuntu 9.04?'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3440383316139630247</id><published>2009-07-14T10:56:00.000-07:00</published><updated>2009-07-15T02:57:10.267-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Test openGL</title><content type='html'>&lt;blockquote&gt;glxinfo | grep 'direct rendering'&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;output will return "direct rendering:" &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If this is 'Yes' or 'Enabled' then OpenGL is likely set up correctly. If it is listed as 'no' or 'disabled' then double check your 3D setup.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;glxgears&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A window will be displayed with 3 rotating gears. If 3D acceleration is correctly enabled for your video card then the reported framerate should be well over 500 FPS, at the default window size. If the output shows less than 500 FPS then you should double check your 3D setup.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;fglrxinfo&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-3440383316139630247?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3440383316139630247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/test-opengl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3440383316139630247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3440383316139630247'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/test-opengl.html' title='Test openGL'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8979606912187889118</id><published>2009-07-14T09:58:00.000-07:00</published><updated>2009-07-14T10:00:53.902-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Problem with alsactl store</title><content type='html'>&lt;blockquote&gt;&lt;div&gt;On a few installation I got this problem with the alsa mixer:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo alsactl store 0&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;gives E: core-util.c: Home directory /home/xbmc not ours.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Only solution I found is to remove pulse audio&lt;/div&gt;&lt;div&gt;sudo apt-get remove pulseaudio&lt;br /&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8979606912187889118?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8979606912187889118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/problem-with-alsactl-store.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8979606912187889118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8979606912187889118'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/problem-with-alsactl-store.html' title='Problem with alsactl store'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4195262951697334303</id><published>2009-07-12T00:06:00.000-07:00</published><updated>2009-07-12T00:15:15.133-07:00</updated><title type='text'>IR receiver troubleshooting</title><content type='html'>&lt;div&gt;I will make another attempt to get my pinnacle remote / IR receiver to work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The remote is the same as the MS MCE, the problem is the receiver.&lt;/div&gt;&lt;div&gt;I am struggling to find information but I now found this&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://ubuntuforums.org/archive/index.php/t-1117200.html"&gt;http://ubuntuforums.org/archive/index.php/t-1117200.html&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This should list the device:&lt;/div&gt;&lt;div&gt;ls -l /dev/ttyUSB*&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;another link with debug instr&lt;/div&gt;&lt;div&gt;http://ubuntuforums.org/archive/index.php/t-967339.html&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If the device is detected as keyboard/mouse instead of RC it will show up here:&lt;/div&gt;&lt;div&gt;cat /proc/bus/input/devices&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/8549953143412263620-4195262951697334303?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4195262951697334303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/ir-receiver-troubleshooting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4195262951697334303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4195262951697334303'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/ir-receiver-troubleshooting.html' title='IR receiver troubleshooting'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-1621444174760794605</id><published>2009-07-08T04:14:00.000-07:00</published><updated>2009-07-12T01:12:42.911-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>regenerate ssh keys</title><content type='html'>&lt;div&gt;SH1 protocol &lt;/div&gt;&lt;div&gt;sudo ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa1 &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SSH2 protocol &lt;/div&gt;&lt;div&gt;sudo ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa&lt;/div&gt;&lt;div&gt;sudo ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Necessary after installing from remastersys iso.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-1621444174760794605?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/1621444174760794605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/regenerate-ssh-keys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1621444174760794605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1621444174760794605'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/regenerate-ssh-keys.html' title='regenerate ssh keys'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-1983450040142472120</id><published>2009-07-04T04:31:00.000-07:00</published><updated>2009-07-11T23:51:41.208-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Get WPA2 to work in Ubuntu - with wicd</title><content type='html'>&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;div style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; width: auto; font: normal normal normal 100%/normal Georgia, serif; text-align: left; "&gt;&lt;div&gt;EDIT:  I have upgraded to ubuntu 9.04 and wpa2 works fine out of the box.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ubuntu seem to have problem with WPA2?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Google says the solution is to use wicd instead of Gnome Network Manager.&lt;/div&gt;&lt;div&gt;It is included in Ubuntu 9.04 repositories but in hardy you have to add the source.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;install wicd:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Add key&lt;/div&gt;&lt;div&gt;wget -q http://apt.wicd.net/wicd.gpg -O- | sudo apt-key add -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add source:&lt;/div&gt;&lt;div&gt;deb http://apt.wicd.net hardy extras&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I used Synoptic Package Manager to install it since the network manager have to removed and I read some people having problem with it. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Problem with drivers and wicd:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The installation went fine but wicd seem to handle drivers differently. Before I could see the network but not connect.  Now I cannot see anything and the wifi indicator is dark on the laptop.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I installed the windows wireless drivers tool (available in ubuntu rep) and added the windows drivers. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now I can see the networks again, but cannot connect to wpa2 network....&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then I slapped in a USB wifi adaptor and wicd light up as christmas tree..... I can also connect with no problem! This is good enough for now. (this is just an old laptop....)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Conclusion:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;It is not easy to get WPA2 to work with old hardware. &lt;/div&gt;&lt;div&gt;With a little bit newer hardware wicd handles WPA2 without problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If wicd cannot not see the network card, use a different card or skip WPA2?&lt;/div&gt;&lt;div&gt;It it of course possible that if I could find a newer windows driver it would work. The newest I could find from d-link was from 2007. I am not sure it would work in xp either.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Windows XP also have problem with WPA2 without the latest drivers/updates.&lt;/div&gt;&lt;div&gt;I am not 100% sure if the problem was the Network Manager and not the drivers, but I am pretty sure that I did test the USB adaptor with the network manager earlier.&lt;/div&gt;&lt;div&gt;I will verify as soon as possible if the wicd is really needed or if it is device dependent only,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-1983450040142472120?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/1983450040142472120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/get-wpa2-to-work-in-ubuntu-with-wicd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1983450040142472120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1983450040142472120'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/get-wpa2-to-work-in-ubuntu-with-wicd.html' title='Get WPA2 to work in Ubuntu - with wicd'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3587908520767199833</id><published>2009-07-03T11:56:00.000-07:00</published><updated>2009-07-11T23:56:42.927-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Mini-IT Atom HTPC</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Board&lt;/div&gt;&lt;a href="http://www.dustin.se/pd_5010201500.aspx"&gt;INTEL D945GCLF2 LITTLE FALLS ATOM 330 MINI-ITX BULK&lt;/a&gt; -----850 SEK&lt;div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Case&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.dustin.se/pd_5010118419.aspx"&gt;SILVERSTONE HTPC SST-LC19R SILVER&lt;/a&gt;-------------------------------1995 SEK&lt;/div&gt;&lt;div&gt;(incl PSU)&lt;/div&gt;&lt;div&gt;alt&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.dustin.se/pd_5010229459.aspx"&gt;COMPUCASE MINI-ITX 8K01BS 100W SVART&lt;/a&gt;-------------------------625 SEK&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Remote&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.dustinhome.se/pd_5010205205.aspx"&gt;PHILIPS RC197 REMOTE CONTROLL OCH RECIVER&lt;/a&gt;------------------340SEK&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Optional GPU&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.datorbutiken.com/?Product=5407982"&gt;Sparkle Geforce 8400GS 512MB DDR2, DVI, VGA, TV-out, PCI&lt;/a&gt;-------795 SEK &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is pretty hard to find mini ATX components in Sweden, maybe too early?&lt;/div&gt;&lt;div&gt;An unrelated problem is that I cant find any "standard" MCE Remote any more either. To bad I do not want to have trouble getting it to work in Linux.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-3587908520767199833?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3587908520767199833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/mini-it-atom-htpc.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3587908520767199833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3587908520767199833'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/mini-it-atom-htpc.html' title='Mini-IT Atom HTPC'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-7371790283108889934</id><published>2009-07-03T09:06:00.000-07:00</published><updated>2009-07-03T09:08:54.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Portableapps - Your digital life anywhere</title><content type='html'>&lt;div&gt;Something to try?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;http://portableapps.com&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The question is how it will interact with corporate ant-virus, firewalls and GPOs.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7371790283108889934?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://portableapps.com' title='Portableapps - Your digital life anywhere'/><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7371790283108889934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/portableapps-your-digital-life-anywhere.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7371790283108889934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7371790283108889934'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/portableapps-your-digital-life-anywhere.html' title='Portableapps - Your digital life anywhere'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-771507785564016247</id><published>2009-07-02T09:13:00.001-07:00</published><updated>2009-07-11T23:57:11.226-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Create USB boot tool</title><content type='html'>http://unetbootin.sourceforge.net/&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Seem to have nice functionalities. Should test&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-771507785564016247?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/771507785564016247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/create-usb-boot-toll.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/771507785564016247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/771507785564016247'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/07/create-usb-boot-toll.html' title='Create USB boot tool'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8497884956907501256</id><published>2009-06-27T09:15:00.000-07:00</published><updated>2009-06-27T09:16:32.598-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Script to configure lirc</title><content type='html'>#!/bin/bash&lt;br /&gt;&lt;br /&gt;sudo dpkg-reconfigure lirc&lt;br /&gt;&lt;br /&gt;echo "Running mythbuntu-lircrc-generator..."&lt;br /&gt;&lt;br /&gt;mythbuntu-lircrc-generator&lt;br /&gt;&lt;br /&gt;echo "Adding extra include files..."&lt;br /&gt;&lt;br /&gt;echo  "include ~/.lirc/irexec" &gt;&gt;  ~/.lircrc&lt;br /&gt;echo  "include ~/.lirc/irxevent" &gt;&gt;  ~/.lircrc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8497884956907501256?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8497884956907501256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/script-to-configure-lirc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8497884956907501256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8497884956907501256'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/script-to-configure-lirc.html' title='Script to configure lirc'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2153716702519135524</id><published>2009-06-23T12:51:00.000-07:00</published><updated>2009-07-11T23:58:10.632-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Ubuntu 8.10 USB boot creator</title><content type='html'>&lt;div&gt;Looks like the problem (or part of) with USB boot in 8.04 is fixed&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192"&gt;https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Not sure if it is enough to update the system or new CD is need (8.04.3)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Or daily build:&lt;/div&gt;&lt;a href="http://cdimages.ubuntu.com/hardy/"&gt;http://cdimages.ubuntu.com/hardy/&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Edit: I tested and it works fine.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2153716702519135524?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192' title='Ubuntu 8.10 USB boot creator'/><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2153716702519135524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/ubuntu-810-usb-boot-creator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2153716702519135524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2153716702519135524'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/ubuntu-810-usb-boot-creator.html' title='Ubuntu 8.10 USB boot creator'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-6394669953044982953</id><published>2009-06-23T12:48:00.000-07:00</published><updated>2009-06-23T12:50:33.588-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>xbmc session</title><content type='html'>Ok.&lt;div&gt;Finally found out how the get the xbmc session to work in ubuntu.&lt;/div&gt;&lt;div&gt;An extra package is needed:&lt;/div&gt;&lt;div&gt;sudo apt-get install xbmc-standalone&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Someone need to add that to the wiki.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-6394669953044982953?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/6394669953044982953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/xbmc-session.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6394669953044982953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/6394669953044982953'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/06/xbmc-session.html' title='xbmc session'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-4482597379646642778</id><published>2009-05-10T12:10:00.000-07:00</published><updated>2009-06-26T08:49:46.111-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO install XBMC 9.04 on ubuntu 9.04 - Install</title><content type='html'>&lt;div&gt;EDIT: Added Hardy as alternative.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Instruction on how to install PPA&lt;div&gt;&lt;a href="https://help.launchpad.net/Packaging/PPA#Adding%20a%20PPA%20to%20your%20Ubuntu%20repositories"&gt;https://help.launchpad.net/Packaging/PPA#Adding%20a%20PPA%20to%20your%20Ubuntu%20repositories&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Installation instruction&lt;/div&gt;&lt;div&gt;&lt;a href="http://xbmc.org/forum/showthread.php?t=33327"&gt;http://xbmc.org/forum/showthread.php?t=33327&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;XBMC 9.04 for Ubuntu 9.04 (jaunty)&lt;/div&gt;&lt;div&gt;&lt;a href="https://launchpad.net/~team-xbmc/+archive/jaunty-ppa"&gt;https://launchpad.net/~team-xbmc/+archive/jaunty-ppa&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;XBMC 9.04 For Ubuntu 8.04 (hardy)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:'Lucida Grande';font-size:12px;"&gt;&lt;a href="https://launchpad.net/%7Eteam-xbmc/+archive/hardy-ppa"&gt;https://launchpad.net/%7Eteam-xbmc/+archive/hardy-ppa&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add key from terminal&lt;/div&gt;&lt;div&gt;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xa62016ec6944db21c7793b3a9f10e6ae9317790e&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hardy&lt;/div&gt;&lt;div&gt;sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 91E7EE5E&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add source&lt;/div&gt;&lt;div&gt;sudo gedit /etc/apt/sources.list&lt;br /&gt;&lt;/div&gt;&lt;div&gt;deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;deb http://ppa.launchpad.net/team-xbmc/hardy-ppa/ubuntu hardy main &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;sudo apt-get update&lt;/div&gt;&lt;div&gt;sudo apt-get install xbmc&lt;/div&gt;&lt;div&gt;sudo apt-get install xbmc-standalone&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Setup sound levels&lt;/div&gt;&lt;div&gt;alsamixer&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Save Sound levels&lt;/div&gt;&lt;div&gt;&lt;div&gt;sudo alsactl store&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&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/8549953143412263620-4482597379646642778?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4482597379646642778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-install-xbmc-904-on-ubuntu-904_10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4482597379646642778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4482597379646642778'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-install-xbmc-904-on-ubuntu-904_10.html' title='HOWTO install XBMC 9.04 on ubuntu 9.04 - Install'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3736259948260952421</id><published>2009-05-10T11:33:00.000-07:00</published><updated>2009-05-10T13:19:53.813-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO install XBMC 9.04 on ubuntu 9.04 - Preparation</title><content type='html'>Install Ubuntu 9.04&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;user/ pwd xbmc/xbmc&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;autologin&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Install all updates&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Install and config remote control&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html"&gt;http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;optional:&lt;/div&gt;&lt;div&gt;Install remastersys&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:'Lucida Grande';font-size:12px;"&gt;&lt;a href="http://vikjonlinuxhowto.blogspot.com/2009/04/test-create-livecd-fom-running-system.html"&gt;http://vikjonlinuxhowto.blogspot.com/2009/04/test-create-livecd-fom-running-system.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; font-weight: bold; line-height: 20px; "&gt;sudo apt-get install ubuntu-restricted-extras&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-3736259948260952421?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3736259948260952421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-install-xbmc-904-on-ubuntu-904.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3736259948260952421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3736259948260952421'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-install-xbmc-904-on-ubuntu-904.html' title='HOWTO install XBMC 9.04 on ubuntu 9.04 - Preparation'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2374973838041289847</id><published>2009-05-05T09:35:00.000-07:00</published><updated>2009-05-10T12:34:07.201-07:00</updated><title type='text'>HOWTO Fix for Live CD persistent USB boot ubuntu / xubuntu 8.04</title><content type='html'>&lt;div&gt;DOES NOT WORK ON 8.04&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;There is a problem with the Live CD persistent USB BOOT in ubuntu 8.04  (and earlier)&lt;div&gt;It is supposed to be fixed in ubuntu-8.04.3 but the available version is ubuntu-8.04.2.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The problem is in the default initrd.gz&lt;/div&gt;&lt;div&gt;Bugg report https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I found the solution here &lt;/div&gt;&lt;div&gt;http://ubuntuforums.org/showthread.php?t=1073838&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudu  cp /usr/share/initramfs-tools/scripts/casper /usr/share/initramfs-tools/scripts/casper_org&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo &lt;editor&gt; /usr/share/initramfs-tools/scripts/casper&lt;/editor&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Delete section   ",mode=755"&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;AND&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo cp &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;/usr/share/initramfs-tools/init  /usr/share/initramfs-tools/init_org&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;sudo &lt;editor&gt;&lt;/editor&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt; /usr/share/initramfs-tools/init &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Add text in bold&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;break)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;break=premount&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;persistent)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;PERSISTENT=yes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;root_persistence=casper-rw&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;home_persistence=home-rw&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;esac&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I am testing this on xubuntu&lt;/div&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/8549953143412263620-2374973838041289847?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2374973838041289847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-fix-for-live-cd-persistent-usb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2374973838041289847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2374973838041289847'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/howto-fix-for-live-cd-persistent-usb.html' title='HOWTO Fix for Live CD persistent USB boot ubuntu / xubuntu 8.04'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-986304795357464097</id><published>2009-05-02T23:49:00.000-07:00</published><updated>2009-05-02T23:50:37.993-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>policy instead of sudoers?</title><content type='html'>&lt;div&gt;I have to look into this again&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions&lt;/div&gt;&lt;div&gt;sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-986304795357464097?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/986304795357464097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/policy-instead-of-sudoers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/986304795357464097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/986304795357464097'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/05/policy-instead-of-sudoers.html' title='policy instead of sudoers?'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-855328941166088840</id><published>2009-04-24T08:27:00.001-07:00</published><updated>2009-05-04T13:50:30.111-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO Clean Ubuntu and remove not needed stuf</title><content type='html'>&lt;div&gt;Clean&lt;/div&gt;http://ubuntuforums.org/showthread.php?t=140920&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get clean&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get autoremove&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;??&lt;/div&gt;&lt;div&gt;sudo apt-get install localepurge&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/8549953143412263620-855328941166088840?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/855328941166088840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-clean-ubuntu-and-remove-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/855328941166088840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/855328941166088840'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-clean-ubuntu-and-remove-not.html' title='HOWTO Clean Ubuntu and remove not needed stuf'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-4709811091409433930</id><published>2009-04-23T11:30:00.000-07:00</published><updated>2009-05-10T07:20:20.018-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Easy Ubuntu XBMC Setup (v.05)</title><content type='html'>&lt;div&gt;I have tried to switch to Linux earlier and one problem I had was that it was very hard to find information in a format that I could digest. Everyone that knows how to fix the problem insist on explaining how to download, compile and config from terminal when all you want to know is what button to press.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The other problem is that it is very hard to find a howto from start to end, you are often expected to know a lot of "basic" stuff that takes another day to figure out. I will try to explain all the steps. Please ask if I leave something out. The bad news is that already after two weeks I am shifting to do stuff in the terminal.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E.g. "sudo apt-get install" in terminal means install package and can be done graphically in the synaptic package manager found in /system/administration/ menu. Sudo means do as super user. ~/ means home directory. (possibly /home/xbmc/)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:180%;"&gt;Install Ubuntu&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will actually assume that you can handle this. It is very easy. I used the Ubuntu 8.04 standard desktop .iso. (8.04 is LTS Long Term Support)&lt;br /&gt;&lt;br /&gt;I will try to use XUbuntu to create my final setup.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The only thing I did was to do the partitioning manually since I need to keep one of the old partitions. I created a /swap, a / (root) and a /home. I created the /home so that I can re-install without losing my notes on how to do the installation again. I used ext3.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I named the user created during installation "xbmc" and I am using it to run XBMC. It is probably better to create an admin user and later manually create the xbmc user with just enough rights.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Critical post install configuration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1)Install all updates. I do this in GUI. Do not know howto in terminal&lt;/div&gt;&lt;div&gt;2)install ubuntu restricted stuff. In terminal:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get install ubuntu-restricted-extras&lt;/span&gt;&lt;/div&gt;&lt;div&gt;3=If needed enable the restricted driver for you graphical card and wireless.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:180%;"&gt;Install XBMC &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Edited: 20090510&lt;/div&gt;&lt;div&gt;I used the instruction here &lt;a href="http://xbmc.org/forum/showthread.php?t=33327"&gt;http://xbmc.org/forum/showthread.php?t=33327&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Together with reply from topfs2 (reply #10)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We need to install stuff from &lt;a href="https://edge.launchpad.net/%7Eteam-xbmc-hardy/+archive/ppa"&gt;https://edge.launchpad.net/~team-xbmc-hardy/+archive/ppa&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Install the key from &lt;/div&gt;&lt;div&gt;&lt;a href="http://keyserver.ubuntu.com:11371/pks/lookup?op=get&amp;amp;search=0x717A562B2F85D502"&gt;http://keyserver.ubuntu.com:11371/pks/lookup?op=get&amp;amp;search=0x717A562B2F85D502 &lt;/a&gt;&lt;/div&gt;&lt;div&gt;(As described in the web page above)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;a)Put the key in a text file "xbmcHardykey"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;b)Go to menu /system/administration/Software sources&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;tab "Authentication"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Import key – browse to the keyfile created above.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2)Add source&lt;/div&gt;&lt;div&gt;Go to menu /system/administration/Software sources    &lt;/div&gt;&lt;div&gt;Tab Third-Party software ADD :&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;deb http://ppa.launchpad.net/team-xbmc-hardy/ppa/ubuntu hardy main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;and&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu hardy main&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Install XBMC (in terminal enter:)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get update &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get install xbmc &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Optional:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get install xbmc-eventclients* &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get install xbmc-scripts* &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo apt-get install xbmc-skin*&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Make sure visual effects is set to "none" in menu /System/Preferences/Appearance&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5) It should now be possible to start xbmc from /applications/ menu&lt;/div&gt;&lt;div&gt;or by entering xbmc in terminal. If you have not setup LIRC, use keyboard to control the menus.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6) I used the resolution setting in the XBMC/ settings/appearance/ menu to get a full screen. There is also a –fs (full screen) and a –standalone switch that I need to look into. I have only used the internal settings so far.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7) Connect an usb drive with a movie on or use "add source" to add a location with media. &lt;/div&gt;&lt;div&gt;-Play movie.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;8) If the movie is played in the upper right corner you need to:&lt;/div&gt;&lt;div&gt;open a new file from terminal&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;gedit ~/.xbmc/userdata/advancedsettings.xml &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;add glrectanglehack xml.&lt;/div&gt;&lt;div&gt;Download &lt;a href="http://web.comhem.se/~u25899960/xbmc/advancedsettings.xml"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;(right click and save file, it will not display correctly in browser)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;or google "glrectanglehack xbmc"&lt;/div&gt;&lt;/div&gt;&lt;div&gt;9) You can enable auto login in  /system/administration/login window – security&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;10) Quickest way to get autostart  on login is to open /system/preferences/sessions/ and add “/usr/bin/xbmc”  as the command in a new session called “startXBMC”&lt;/div&gt;&lt;div&gt;I need to find another way though, this seem to be connected to gnome(?) and I want to use a more lightweight window manager, maybe twm.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;11) If problem with screen saver, open existing file xorg.conf&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;sudo gedit /etc/X11/xorg.conf &lt;/span&gt;&lt;/div&gt;&lt;div&gt;add at the end:&lt;/div&gt;&lt;div&gt;Section "ServerFlags"&lt;/div&gt;&lt;div&gt;     Option "BlankTime" "0"&lt;/div&gt;&lt;div&gt;     Option "StandbyTime" "0"&lt;/div&gt;&lt;div&gt;     Option "SuspendTime" "0"&lt;/div&gt;&lt;div&gt;     Option "OffTime" "0"&lt;/div&gt;&lt;div&gt;EndSection&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;download &lt;a href="http://web.comhem.se/~u25899960/xbmc/add2xorg.conf"&gt;here.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;(right click and save file)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;12) Now you need to fix the remote: &lt;a href="http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html"&gt;http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;+++&lt;/div&gt;&lt;div&gt;This should more or less by my basic setup version v0.5. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You probably want to enable vnc, ssh and maybe XMDCP. I can get back to that.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have also installed remastersys and created my own installation/liveCD. Maybe I will upload itwhen I get closer to a v1.0 setup.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-4709811091409433930?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/4709811091409433930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/easy-ubuntu-xbmc-setup-v05.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4709811091409433930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/4709811091409433930'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/easy-ubuntu-xbmc-setup-v05.html' title='Easy Ubuntu XBMC Setup (v.05)'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-9013671461074055064</id><published>2009-04-21T09:13:00.000-07:00</published><updated>2009-04-21T09:18:35.059-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO Ubuntu 8.04 post install config</title><content type='html'>Add SSH server&lt;div&gt;&lt;a href="https://help.ubuntu.com/7.04/server/C/openssh-server.html"&gt;https://help.ubuntu.com/7.04/server/C/openssh-server.html&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get install openssh-server&lt;br /&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/8549953143412263620-9013671461074055064?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/9013671461074055064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-ubuntu-804-post-install-config.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9013671461074055064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/9013671461074055064'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-ubuntu-804-post-install-config.html' title='HOWTO Ubuntu 8.04 post install config'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-8869008591321977309</id><published>2009-04-20T10:35:00.001-07:00</published><updated>2009-04-22T21:37:59.523-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO mount tmp to ramdisk</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Recommended if installing Linux to USB /Flash to avoid wearing down the disk.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=1054129"&gt;http://ubuntuforums.org/showthread.php?t=1054129&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo gedit /etc/fstab&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;##RAMDISK##&lt;/div&gt;&lt;div&gt;none /tmp tmpfs defaults,size=424m 0 0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;##RAMDISK##&lt;/div&gt;&lt;div&gt;none /tmp tmpfs defaults 0 0&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then reboot&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-8869008591321977309?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/8869008591321977309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-mount-tmp-to-ramidisk.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8869008591321977309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/8869008591321977309'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-mount-tmp-to-ramidisk.html' title='HOWTO mount tmp to ramdisk'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8549953143412263620.post-432545158865219496</id><published>2009-04-20T00:50:00.000-07:00</published><updated>2009-04-22T21:41:07.307-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IR Remote'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Howto re-run LIRC config</title><content type='html'>This will be useful. I have had to re-install LIRC to this.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo dpkg-reconfigure lirc&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/8549953143412263620-432545158865219496?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/432545158865219496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-re-run-lirc-config.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/432545158865219496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/432545158865219496'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-re-run-lirc-config.html' title='Howto re-run LIRC config'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-7788911685427741685</id><published>2009-04-20T00:06:00.000-07:00</published><updated>2009-07-19T10:24:44.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>HOWTO Create LIve/installation CD from running system</title><content type='html'>See &lt;div&gt;http://www.geekconnection.org/remastersys/index.html&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;add source &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color: rgb(51, 51, 51);  line-height: 20px; font-size:13px;"&gt;sudo nano  /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;deb http://www.geekconnection.org/remastersys/repository ubuntu/&lt;br /&gt;&lt;br /&gt;sudo apt-get  update&lt;br /&gt;sudo apt-get  install remastersys&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Problem with USB persistence. &lt;/div&gt;&lt;div&gt;http://geekconnection.org/remastersys/forums/index.php?topic=121.0&lt;/div&gt;&lt;div&gt;Still does not work with version 8.04 at least not when creating with Ubuntu usb boot creator. Skip persistence and it works fine,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;also see guide&lt;/div&gt;&lt;div&gt;http://ubuntuforums.org/showthread.php?t=1073838&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-7788911685427741685?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/7788911685427741685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/test-create-livecd-fom-running-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7788911685427741685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/7788911685427741685'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/test-create-livecd-fom-running-system.html' title='HOWTO Create LIve/installation CD from running system'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-1536487255940764629</id><published>2009-04-19T04:11:00.000-07:00</published><updated>2009-04-19T04:14:15.143-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>TEST USB boot</title><content type='html'>Possibilities:&lt;div&gt;&lt;br /&gt;&lt;div&gt;1) Converting live CD =&gt; USB boot with Ubuntu 8.10 tool&lt;/div&gt;&lt;div&gt;2) Install Ubuntu direct to USB&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;If used as permanent solution the tmp should be mapped to ram disk &amp;amp; no swap&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Create a live CD from running system and convert to USB boot&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-1536487255940764629?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/1536487255940764629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/test-usb-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1536487255940764629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/1536487255940764629'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/test-usb-boot.html' title='TEST USB boot'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-5293378659164058842</id><published>2009-04-19T04:04:00.000-07:00</published><updated>2009-04-19T04:16:11.942-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ToDo'/><title type='text'>Thin Client Media Center</title><content type='html'>I tested to run XBMC via XDMCP. The very loud test laptop becomes almost completly silent.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have no sound and no remote. Sound is fixable from what I understand. USB / Remote could be a problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I would like to do some work on this.&lt;/div&gt;&lt;div&gt;Possible solutions:&lt;/div&gt;&lt;div&gt;https://help.ubuntu.com/community/UbuntuLTSP&lt;/div&gt;&lt;div&gt;https://help.ubuntu.com/community/FreeNX&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Both supports sound and USB port mapping(?). &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Another solution with be to use network booting. However, I think the problem is CPU heat not HD.&lt;/div&gt;&lt;div&gt;The first step would be to isolate HD heat/noise from CPU by boot from USB. &lt;/div&gt;&lt;div&gt;&lt;br /&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/8549953143412263620-5293378659164058842?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/5293378659164058842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/thin-client-media-center.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5293378659164058842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/5293378659164058842'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/thin-client-media-center.html' title='Thin Client Media Center'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2210799099181171490</id><published>2009-04-19T01:03:00.000-07:00</published><updated>2009-04-19T06:28:58.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media Center'/><title type='text'>Select which media center application to use</title><content type='html'>&lt;div&gt;What HTPC /MCE / Media Center should you chose?&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I was already using Vista and xp MCE and I use that as reference.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Vista&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Can do almost everything including TV time-shift &amp;amp; recording&lt;/div&gt;&lt;div&gt;Takes no time at all to setup if you know ms win. Works with remote and everything out of the box.&lt;/div&gt;&lt;div&gt;You have to do some advanced tweaking to enable multiple rdp sessions. Crazy.&lt;/div&gt;&lt;div&gt;It takes a lot of power. Vista is heavy by it self and if you start MCE it is very slow. You need a modern computer. (3GHz + 2-3G RAM)&lt;/div&gt;&lt;div&gt;You need to pay. You shall not steal? I if you do, it is extra work anyway. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;MythTV&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The most known system. Very advanced, has a frontend/backend setup which I like.&lt;/div&gt;&lt;div&gt;It support PVR and all kinds of TV functionality.&lt;/div&gt;&lt;div&gt;I tried the Mythbuntu installation CD. It worked ok out of the box, but I did not like it much. E.g. you have to type paths, no browse available. If you are going to test it you should probably know that Mythbuntu does not read media files directly from disk by default, it relay on the library. Change this setting unless you want to figure out how to load the library before you know if you have sound &amp;amp; picture. I could not get it to delete files from disk. I was intending to test a manual installation to learn more but moved on.&lt;/div&gt;&lt;div&gt;I never tried the TV functionality. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Freevo&lt;/span&gt;&lt;/div&gt;&lt;div&gt;I have not tested it. It has PVR / TV functionality.&lt;/div&gt;&lt;div&gt;Of course the name is from Tivo.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Elisa&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Gave it a quick test run only. It is a native gnome application and I think it could be very light weight. It is not finished yet and I could not get it to do much. Very easy to install since it is included in Ubuntu  default sw sources.&lt;/div&gt;&lt;div&gt;Could be the way to go in the future at least if you are running on a desktop computer and do some tasks with keyboard mouse. I mean library maintenance etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;XBMC &lt;/span&gt;&lt;/div&gt;&lt;div&gt;XBMC is now ported to linux and ready for use. Pre-compiled runtime is available for ubuntu which is a pre-req for me for the moment.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It looks and works great! It is working better better than Vista. E.g. in Vista you cannot delete a folder, no problem in xbmc.&lt;/div&gt;&lt;div&gt;It does not have PVR / TV functionality though. I understand it is possible to integrate with mythtv, this is not a prio for me right now. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Compared to other applications it is working much better out of the box. However, you do not get the full package out of the box. Lirc has to be installed which is pretty easy if you know what you are doing but to get it to interact correctly with the OS takes some more work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;XBMC features not found in Vista&lt;/div&gt;&lt;div&gt;Delete folders&lt;/div&gt;&lt;div&gt;Resume video from where you stopped viewing&lt;/div&gt;&lt;div&gt;If playing video from a shared folder it works much better than in win. The player is buffering the file much better. On a good day it even works ok on wifi.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is possibly a bit heavy on the HW but much less than Vista MCE and also a bit less than playing a video directly in the Vista desktop.  It does get the fan going though. I think it rates somewhere between XP &amp;amp; vista (ubuntu gnome + XBMC compared to win without MCE)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Popcorn&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Popcorn is the most popular pre-built consumer media center. I have not tested it, but maybe I should?&lt;/div&gt;&lt;div&gt;I am not sure that using a PC as media center is the best way to go. It is loud and uses a lot of power. It is also expensive and to get it silent is more expensive.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2210799099181171490?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2210799099181171490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/select-which-media-center-to-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2210799099181171490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2210799099181171490'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/select-which-media-center-to-use.html' title='Select which media center application to use'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-2838168172885194769</id><published>2009-04-19T00:28:00.000-07:00</published><updated>2009-04-19T00:58:28.681-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media Center'/><title type='text'>Moving from win=&gt;linux  Media Center / HTPC</title><content type='html'>&lt;span class="Apple-style-span" style="font-style: italic;"&gt;I have been using Vista Media Center for a while but I am now switching to a linux based system. I'm happy with Vista after some tweaks. (enable multiple rdp sessions etc). The problem is that if you for some reason do not want to pay, it requires some extra work and there is always the risk that the tweaks will contain virus. &lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;I was also using winxp MCE on an old laptop but xp stopped working after Christmas. The laptop cannot not handle vista media center and barely vista by it self.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;This prompted me to finally make the move to Linux.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;The problem is that I do not know Linux. I used unix back at the university but only learned ls, cd and a few other commands. Luckily I know other computer stuff  and I decided to give it a try.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;I can tell you in advance it takes a LOOT of time if you are not an Linux expert. Yes, you can get Ubuntu to run in a hour, but to get to the level of vista mce out of the box takes a lot of work.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic; "&gt;The good news is that the sw is great and I prefer it to vista when finally set up correctly.  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-2838168172885194769?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/2838168172885194769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/moving-from-win-media-center-htpc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2838168172885194769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/2838168172885194769'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/moving-from-win-media-center-htpc.html' title='Moving from win=&amp;gt;linux  Media Center / HTPC'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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-8549953143412263620.post-3104386047158620292</id><published>2009-04-18T08:08:00.000-07:00</published><updated>2009-05-10T07:48:07.865-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IR Remote'/><category scheme='http://www.blogger.com/atom/ns#' term='Media Center'/><category scheme='http://www.blogger.com/atom/ns#' term='HOWTO'/><title type='text'>Howto setup Remote for Ubuntu 8.04 XBMC with MS Remote</title><content type='html'>It is pretty straight forward to setup basic functionality but finding information is a nightmare.&lt;br /&gt;The biggest problem was to get the shutdown to work with auto started irexec.&lt;br /&gt;&lt;br /&gt;1) Remote control XBMC and other applications.&lt;br /&gt;2) Start stop &amp;amp; kill XBMC with remote&lt;br /&gt;3) Shutdown computer&lt;br /&gt;4) Autostart irexec&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;Basic setup&lt;/span&gt;&lt;br /&gt;The first step is to install and configure LIRC.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo apt-get install -y lirc&lt;/span&gt;&lt;br /&gt;Select windows media center remotes (New version)&lt;br /&gt;IR Transmitter: Select “none”&lt;br /&gt;&lt;br /&gt;run irw in terminal and press any button on the remote,  the name of device and button should show on screen.&lt;br /&gt;&lt;br /&gt;This is pretty much it if you have a standard remote.  I have had no problem with MS MCE Remote. You should now be able to control XBMC.&lt;br /&gt;&lt;br /&gt;To control other applications you have to create your own button =&gt; function mappings.&lt;br /&gt;This is stored in the .lircrc file in ~/.&lt;br /&gt;&lt;br /&gt;This is best done by using the lirc generator from the mythbuntu team.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo apt-get -y install mythbuntu-lirc-generator&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;run&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mythbuntu-lircrc-generator &lt;/span&gt;&lt;br /&gt;and you will get the lircrc files for the most common applications.&lt;br /&gt;&lt;br /&gt;Totem is the standard player in Ubuntu 8.04, it is supported by this setup but first you need to enable the remote plugin from within the player.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;Advanced setup&lt;/span&gt;&lt;br /&gt;Download files &amp;amp; scripts &lt;a href="http://web.comhem.se/~u25899960/xbmc.zip"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Setup start stop &amp;amp; shutdown&lt;br /&gt;Most of this is from &lt;a href="http://xbmc.org/forum/showthread.php?t=30230"&gt;http://xbmc.org/forum/showthread.php?t=30230&lt;/a&gt;. Some changes was necessary though.&lt;br /&gt;&lt;br /&gt;We need irexec to do this and for good measure we setup irxevent as well. The latter is used to send keyboard commands. (ctrl-s etc)&lt;br /&gt;&lt;br /&gt;install irxevent&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo apt-get -y install lirc-x&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;create file named irexec in ~/.lircrc&lt;div&gt;Add:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;# Start XBMC&lt;br /&gt;begin&lt;br /&gt;prog = irexec&lt;br /&gt;button = Home&lt;br /&gt;config = ~/scripts/startXBMC.sh &amp;amp;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;# Kill XBMC&lt;br /&gt;begin&lt;br /&gt;prog = irexec&lt;br /&gt;button = Red&lt;br /&gt;config = ~/scripts/killXBMC.sh &amp;amp;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#shutdown&lt;br /&gt;begin&lt;br /&gt;prog = irexec&lt;br /&gt;button = Power&lt;br /&gt;config = ~/scripts/shutdown.sh &amp;amp;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;The '&amp;amp;' is necessary at least in my setup, otherwise the startXBMC will loop in the background and when I exit XBMC it is restarted several times.&lt;br /&gt;I found the solution here &lt;a href="http://xbmc.org/forum/showthread.php?t=30230"&gt;http://xbmc.org/forum/showthread.php?t=30230&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Create an empty file named irxevent in ~/.lircrc&lt;br /&gt;It will contain the mappings for irxevent. I am not using it for the moment. I wanted to send ctrl-alt-Delete, but could not get it to work.&lt;br /&gt;&lt;br /&gt;Add&lt;br /&gt;include ~/.lirc/irexec&lt;br /&gt;include ~/.lirc/irxevent&lt;br /&gt;to the ~.lircrc file&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;echo  "include ~/.lirc/irexec" &gt;&gt;  ~/.lircrc&lt;/div&gt;&lt;div&gt;echo  "include ~/.lirc/irxevent" &gt;&gt;  ~/.lircrc&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The next step is to create the script files.&lt;br /&gt;Pick them up at &lt;a href="http://xbmc.org/forum/showthread.php?t=30230"&gt;http://xbmc.org/forum/showthread.php?t=30230&lt;/a&gt;.&lt;br /&gt;Worked fine for me, I replaced /home/youruser/ with  ~/ when possible. I think the remaining hardcoded usernames can be removed by following the comments further down in the thread (pidof?). I guess killall would also do the trick.&lt;br /&gt;&lt;br /&gt;To autostart the irexec (and irxevent) add&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/home/username/scripts/startIRexec.sh&lt;/span&gt;&lt;br /&gt;to system/preferences/sessions. NB: ~/scripts does not work here.&lt;br /&gt;&lt;br /&gt;First test to start manually from terminal&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;~/scripts/startIRexec.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Run it twice and you should see that the script kills the old processes before the new is started.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ps -C irexec&lt;/span&gt;&lt;br /&gt;should show one irexec process after two runs.&lt;br /&gt;&lt;br /&gt;Now you should be able to start and kill XBMC. Kill should only be used when XMBC cannot be closed down the normal way I think.&lt;br /&gt;Please note that I have mapped Power button to shutdown, when shutdown is finally working it will make it impossible to use the Power button to exit XBMC without shutting down the computer.  The mapping can be changed in the irxec file. I think it can also be fixed by using mode in the lirc files to separate the applications.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now to the shutdown..&lt;br /&gt;I use&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo /sbin/shutdown -h now&lt;/span&gt;&lt;br /&gt;in the shutdown script. We can't have the script asking for password and this is fixed by editing the /etc/sudoers file. It is edited with this command:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo visudo.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First make backup &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;cp /etc/sudoers /etc/sudoers.org&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is where we hit the wall. The correct way(?) to do this is to add the line&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;youruser    ALL=NOPASSWD: /sbin/shutdown &lt;/span&gt;&lt;br /&gt;at the end of the sudoers file.&lt;br /&gt;&lt;br /&gt;It worksfine if you start irexec manually from the terminal.&lt;br /&gt;But after reboot and autostart shutdown does not work, everything else works fine.&lt;br /&gt;&lt;br /&gt;I finally found a solution/ workaround.&lt;br /&gt;add&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;%admin ALL=NOPASSWD: /sbin/shutdown&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;I am aware this is not a good setup, but it will have to do for a while. Can anyone help?&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;If you find this guide helpful let me know. I would be willing to re-write it with some quality if anyone needs it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8549953143412263620-3104386047158620292?l=vikjonlinuxhowto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vikjonlinuxhowto.blogspot.com/feeds/3104386047158620292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3104386047158620292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8549953143412263620/posts/default/3104386047158620292'/><link rel='alternate' type='text/html' href='http://vikjonlinuxhowto.blogspot.com/2009/04/howto-setup-remote-for-ubuntu-804-xbmc.html' title='Howto setup Remote for Ubuntu 8.04 XBMC with MS Remote'/><author><name>vikjon0</name><uri>http://www.blogger.com/profile/09082431275915201982</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>7</thr:total></entry></feed>
