tag:blogger.com,1999:blog-37319233122191320202024-03-08T01:37:26.609-08:00Linux InsideUnknownnoreply@blogger.comBlogger72125tag:blogger.com,1999:blog-3731923312219132020.post-12439919630669070742012-01-17T12:27:00.000-08:002012-01-17T12:27:30.138-08:00Configure a DHCP server (debian)<br />
Installing dhcp server:<br />
<b><span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"># apt-get install isc-dhcp-server</span></b><br />
<br />
Define a static IP for the server<br />
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><b># nano /etc/network/interfaces</b></span><br />
<br />
<span class="Apple-style-span" style="color: #999999;"><span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;">auto eth0<br />iface eth0 inet static<br />address 192.168.0.2 # server's IP address<br />netmask 255.255.255.0<br />network 192.168.0.0<br />broadcast 192.168.1.255<br />gateway 192.168.0.1 #router's IP address</span></span><br />
<br />
Configure DHCP server settings at /etc/dhcp/dhcpd.conf<br />
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><b># nano /etc/dhcp/dhcpd.conf</b><br /><br /><span class="Apple-style-span" style="color: #999999;">default-lease-time 600;</span></span><br />
<div>
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><span class="Apple-style-span" style="color: #999999;"><br />max-lease-time 7200;<br />option domain-name-servers 192.168.1.1, 192.168.1.2;<br />option domain-name "yourdomainname.com";<br /><br />subnet 192.168.0.0 netmask 255.255.255.0 {<br />range 192.168.0.150 192.168.0.200; #Range of client's IP addresses: 150 to 200</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><span class="Apple-style-span" style="color: #999999;">option subnet-mask 255.255.255.0;<br />option broadcast-address 192.168.0.255;<br />option routers 192.168.0.1;<br />}</span></span><br />
<br />
Restart dhcp-server</div>
<div>
<b><span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"># /etc/init.d/isc-dhcp-server restart</span></b><br />
<br />
Restart eth0</div>
<div>
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><b>#ifdown eth0</b></span></div>
<div>
<span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace;"><b>#ifup eth0</b></span><br />
<br />
Links:<br />
http://wiki.debian.org/DHCP_Server</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-32356849547663722902009-11-17T07:54:00.000-08:002009-11-17T08:52:53.940-08:00Ubuntu 9.10 can not recognize intel sound cardAt my LG P1 with an Intel sound card (<i>Realtek</i> ALC888 <i>Intel</i> 82801), after upgrading to Ubuntu 9.10 Karmic Koala, i had no sound.<br />
The sound card wasn't even detected!<br />
<br />
After running Google for a FEW hours, i discovered how to put the sound working without had to:<br />
qaz@blue:~$ sudo alsa force-reload<br />
or any other command.<br />
<br />
Step1:<br />
$ sudo apt-get remove sl-modem-daemon<br />
Step2:<br />
$ sudo apt-get install linux-backports-modules-alsa-karmic-generic<br />
Step3:<br />
$ sudo gedit /etc/modprobe.d/alsa-base<br />
And add:<br />
options snd-hda-intel model=<span style="color: #cc0000;">lg</span> # for other brands: search google with "options snd-hda-intel model="; try <span style="color: #cc0000;">laptop</span>; And/or visit <a href="http://ubuntuforums.org/showthread.php?t=314383">this</a> page.<br />
Then reboot!<br />
<br />
<br />
<span style="font-size: 85%; font-style: italic;">Tags:<br />
qaz@blue:~$ lspci<br />
(...)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
(...)</span><br />
<br />
<span style="font-size: 85%; font-style: italic;">qaz@blue:~$ aplay -l<br />
**** List of PLAYBACK Hardware Devices ****<br />
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]<br />
Subdevices: 0/1<br />
Subdevice #0: subdevice #0<br />
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
</span><br />
<div style="text-align: right;"><a href="http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1846922.html">via</a><br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-81646848676762826962009-10-05T07:51:00.001-07:002009-12-13T06:09:35.412-08:00Surgery<img src="http://img524.imageshack.us/img524/5389/surgery.png" height="124" width="480" /><br /><br />via <a href="http://xkcd.com/644/">xkcd</a>.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-3731923312219132020.post-35593870128888270652009-08-28T14:00:00.000-07:002009-08-28T14:20:53.168-07:00Open RAW (.cr2) images with GimpI have a Canon 400D, and today i tried to take some pictures and experiment some <a href="http://en.wikipedia.org/wiki/High_dynamic_range_imaging">HDR</a> effects on them. I took some pictures in RAW mode, with -2EV, 0EV and +2EV. Uploaded it to PC and boom! Gimp (or any other program) can't open CR2 files...<br /><br />How to open *.cr2 files at Linux? Simple: install ufraw:<br /><pre>sudo apt-get install ufraw gimp-ufraw</pre><br />Now, open ufraw (press ALT+F2 and type ufraw) and load the cr2 image. Then in the right bottom click at the Gimp button. Gimp will be launched and loads you image.<br /><br />If you're interred on HDR effects, try qtpfsgui.Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-3731923312219132020.post-27906328579915303962008-09-17T13:25:00.000-07:002008-10-28T14:15:54.869-07:00MPD: Music Player Daemon<strong><em>About:</em></strong> <blockquote> <p style="text-align: justify;">Music Player Daemon (<strong>MPD</strong>) allows remote access for playing music (MP3, <a href="http://www.vorbis.com/">Ogg Vorbis</a>, <a href="http://flac.sourceforge.net/">FLAC</a>, AAC, Mod, and wave files) and managing playlists. MPD is designed for integrating a computer into a stereo system that provides control for music playback over a local network. It also makes a great desktop music player, especially if you are a <a href="http://www.musicpd.org/mpc.shtml">console</a> junkie, like frontend <a href="http://www.musicpd.org/clients.shtml">options</a>, or restart X often.</p> </blockquote> <p style="text-align: right;">@ <a href="http://www.musicpd.org/" target="_blank">MPD homepage</a></p> <p style="text-align: justify;"><strong><em>Overview:</em></strong></p> <p style="text-align: justify;">I wont explain what it is - everyone knows it's a media player - ops i just did it.<br />I'm here to show you how to install it. It can be a little bit confusing.<br /></p> <p style="text-align: justify;"> </p><p style="text-align: justify;"><strong><em>Installation/Configuration:</em></strong></p> <p style="text-align: justify;"><code># apt-get install mpd sonata</code><br />Now, the hard tash. It's necessary to configure <strong>mpd</strong> before any use of it. To start, edit the file <span style="font-weight: bold; font-style: italic;">/etc/mpd.conf</span>. I recomend to make a backup copy just in case.<br /><code># cp /etc/mpd.conf /etc/mpd.conf.backup<br /># nano /etc/mpd.conf</code></p> <ol><li style="text-align: justify;"><em><strong>REQUIRED PATHS & OPTIONAL PATHS<br /></strong></em>In this step it's necessary to configure the respective directories where are locatedyour music files. In the field <strong>music_directory</strong> add your music's directorie (it's only to possible to add one) and in the rest cpy the exemple.<br /><code>######################## REQUIRED PATHS ########################<br /># You can put symlinks in here, if you like. Make sure that<br /># the user that mpd runs as (see the 'user' config parameter)<br /># can read the files in this directory.<br /><span style="color: rgb(255, 0, 0);">music_directory “/home/os.meus.documentos/music”<br />playlist_directory “~/.mpd/playlists”<br />db_file “~/.mpd/tag_cache”<br />log_file “~/.mpd/mpd.log”<br />error_file “~/.mpd/errors.log”<br />pid_file “~/.mpd/pid”</span><br />################################################################<br />#<br />######################## OPTIONAL PATHS ########################<br />#<br /># If specified, MPD will save its current state (playlist,<br /># current song, playing/paused, etc.) at exit. This will be<br /># used to restore the session the next time it is run.<br />#<br /><span style="color: rgb(255, 0, 0);">state_file “~/.mpd/state”</span><br />#<br />################################################################</code></li><li> <em><strong>DAEMON OPTIONS</strong></em><br />Add you user(in my case it's <span style="font-weight: bold;">qaz</span>) in the field <span style="font-weight: bold;">user</span>. Uncomment the rest.<br /><code>######################## DAEMON OPTIONS ########################<br />#<br /># If started as root, MPD will drop root privileges and run as<br /># this user instead. Otherwise, MPD will run as the user it was<br /># started by. If left unspecified, MPD will not drop root<br /># privileges at all (not recommended).<br />#<br /><span style="color: rgb(255, 0, 0);">user “qaz”</span><br />#<br /># The address and port to listen on.<br />#<br /><span style="color: rgb(255, 0, 0);">bind_to_address “localhost”<br />port “6600″</span><br />#<br /># Controls the amount of information that is logged. Can be<br /># “default”, “secure”, or “verbose”.<br />#<br /><span style="color: rgb(255, 0, 0);">log_level “default”</span><br />#<br />################################################################</code></li><li> <strong><em>AUDIO OUTPUTS</em><em> & MIXER</em></strong><br />Uncomment the the text lines wich represent your audio output. Im my case it's <span style="font-weight: bold;">alsa</span>.<br /><code>########################## AUDIO OUTPUT ########################<br />#<br /># MPD supports many audio output types, as well as playing<br /># through multiple audio outputs at the same time. You can<br /># specify one or more here. If you don't specify any, MPD will<br /># automatically scan for a usable audio output.<br />#<br /># See <http: com="" wiki="" audio_outputs=""><br /># for examples of other audio outputs.<br />#<br /># An example of an ALSA output:<br />#<br /><span style="color: rgb(255, 0, 0);">audio_output {<br />type “alsa”<br />name “My ALSA Device”</span><br /># device “hw:0,0″ # optional<br /># format “44100:16:2″ # optional<br /><span style="color: rgb(255, 0, 0);">}</span><br />#<br /># An example of an OSS output:<br />#<br />#audio_output {<br /># type “oss”<br /># name “My OSS Device”<br /># device “/dev/dsp” # optional<br /># format “44100:16:2″ # optional<br />#}<br />#<br /># An example of a shout output (for streaming to Icecast):<br />#<br />#audio_output {<br /># type “shout”<br /># name “My Shout Stream”<br /># host “localhost”<br /># port “8000″<br /># mount “/mpd.ogg”<br /># password “hackme”<br /># quality “5.0″<br /># bitrate “128″<br /># format “44100:16:1″<br /># user “source” # optional<br /># description “My Stream Description” # optional<br /># genre “jazz” # optional<br /># public “no” # optional<br />#}<br />#<br /># Force all decoded audio to be converted to this format before<br /># being passed to the audio outputs.<br />#<br />#audio_output_format “44100:16:2″<br />#<br />################################################################<br />#<br />############################# MIXER ############################<br />#<br /># MPD needs to know what mixer settings to change when you<br /># adjust the volume. If you don’t specify one here, MPD will<br /># pick one based on which ones it was compiled with support for.<br />#<br /># An example for controlling an ALSA mixer:<br />#<br /><span style="color: rgb(255, 0, 0);">mixer_type “alsa”<br />mixer_device “default”<br />mixer_control “PCM”</span><br />#<br /># An example for controlling an OSS mixer:<br />#<br />#mixer_type “oss”<br />#mixer_device “/dev/mixer”<br />#mixer_control “PCM”<br />#<br /># If you want MPD to adjust the volume of audio sent to the<br /># audio outputs, you can tell it to use the software mixer:<br />#<br />#mixer_type “software”<br />#<br />################################################################<br /></http:></code></li><li><strong><em>OTHER OPTIONS</em></strong><br />Uncomment this two lines:<br /><code>######################### OTHER OPTIONS ########################<br />#<br /># The metadata types MPD will recognize.<br />#<br /><span style="color: rgb(255, 0, 0);">metadata_to_use “artist,album,title,track,name,genre,date,composer,performer,disc”</span><br />#<br /># Enable this if you wish to use your MPD created playlists in<br /># other music players.<br />#<br /><span style="color: rgb(255, 0, 0);">save_absolute_paths_in_playlists “no”</span><br />#<br />################################################################</code></li><li><em><strong>Outher configurations</strong></em><br />Stay as they are. To avoid any doubts,<a href="http://dotfiles.org/%7Euterrorista/%2Fetc%2Fmpd.conf" target="_blank">here is my final result</a>. </li></ol> <p style="text-align: justify;">Now, add your user( mine is<span style="font-weight: bold;"> qaz</span>) at mpd <span style="font-weight: bold;">group</span> (can't explain why this step).<br /></p><p style="text-align: justify;"><code># groupadd <strong>mpd</strong><br /># gpasswd -a <strong>qaz mpd</strong></code><br />Make sure the folder ~/.mpd doesn't need root privileges.<br /></p> <p>To create data base (this can take a while):<br /><code>$ mpd --create-db</code><br />In this moment we have mpd completed instaled and configurated.<br /><code>$ mpd</code></p> <p><strong><em>Frontend:</em></strong></p> <p>We still need a <a href="http://www.musicpd.org/clients.shtml" target="_blank">frontend</a>. I choose <a href="http://sonata.berlios.de/" target="_blank">Sonata</a>.</p> <blockquote><p>Sonata is an elegant GTK+ music client for the <a href="http://www.musicpd.org/">Music Player Daemon (MPD)</a>.</p></blockquote> <p style="text-align: right;">@ <a href="http://sonata.berlios.de/" target="_blank">Sonata Homepage</a></p> <div class="wp-caption aligncenter" style="width: 464px;"><img title="Screenshot do sonata. Clica na imagem para mais imagens." src="http://sonata.berlios.de/images/sonata8.png" alt="" width="454" height="108" /><p class="wp-caption-text">Sonata's Screenshot. Click in the image to see more pics.</p></div> <p style="text-align: justify;">Sonata also needs some configuration. But first let us open it:<br /><code>$ sonata</code><br />Go to Preferences, in the tab MPD add you datasi. My case:</p> <ul><li>Name: <strong>qaz</strong></li><li>Host: <strong>localhost</strong></li><li>Port: <strong>6600</strong></li><li>Password: (em branco)</li><li>Music dir: <strong>/home/os.meus.documentos/music/</strong></li></ul> <p>If necessary kill both process (killall) e start <strong>mpd</strong> & <strong>sonata </strong>again.</p> <p><em><strong>References:</strong></em><br />» <a href="http://www.techzonept.com/showthread.php?t=240349" target="_blank">Techzone/Zwame</a><br />» <a href="http://wiki.archlinux.org/index.php/Mpd" target="_blank">ArchLinux Wiki</a><br />» <a href="http://www.musicpd.org/" target="_blank">MPD homepage</a></p> <p><em><strong>My files:</strong></em><br />» <a href="http://dotfiles.org/%7Euterrorista/%2Fetc%2Fmpd.conf" target="_blank">http://dotfiles.org/~uterrorista/%2Fetc%2Fmpd.conf</a></p> <p><em><strong>FeedBack:</strong></em><br />Have a question? Please submit a comment <img src="http://linuxdeb.com/wp-includes/images/smilies/icon_razz.gif" alt=":P" class="wp-smiley" /></p>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-3731923312219132020.post-7133275518275272052008-09-13T07:32:00.000-07:002008-11-08T15:28:06.913-08:00Flash Player9 in a 64-bit machineHere it is a tutorial do install Flash Player 9 in a 64-bit Gnu/Linux machine:<br /><code>$ wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz<br />$ tar -zxf install_flash_player_9_linux.tar.gz<br />$ mkdir ~/.mozilla/plugins/<br />$ mv install_flash_player_9_linux/flashplayer.xpt install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins/<br />$ nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.soLinks:» Source: Japan Shah</code>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-3731923312219132020.post-65982240218479007492008-09-13T07:21:00.000-07:002008-09-13T07:32:39.986-07:00Playdeb - Games repositorie (Ubuntu)<span class="comment"></span> <blockquote style="text-align: justify;"><p><a href="http://www.playdeb.net/" target="_blank">Playdeb</a> is a gaming repository for Ubuntu - aimed to provide titles already available on <a href="http://www.getdeb.net/category.php?id=3" target="_blank">getdeb.net</a> in an easier to install and update format.</p></blockquote> <p style="text-align: justify;"><a href="http://www.playdeb.net/available_games.html">This list</a> features some old known games and also some news.<br /></p><p style="text-align: justify;">For who uses other distros, you can follow the link to the homepage of the games and follow the presented instructions.</p><p style="text-align: justify;"><strong><em>Links:</em></strong><br />»<a href="http://www.playdeb.net/" target="_blank">Playdeb</a><br />»<a href="http://www.getdeb.net/" target="_blank">GetDeb</a></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-62567831363474084092008-04-21T06:07:00.001-07:002008-09-09T08:10:33.618-07:00Flash Linux<p style="text-align: center;"><img style="margin: 10px;" src="http://farm4.static.flickr.com/3114/2431260694_d1507077d2_o.gif" alt="" height="57" width="400" /><b><br /></b></p><p style="text-align: left;"><b style="font-style: italic;">What is "Flash Linux"</b><br />It's a FREE (GPL-2) customised Linux distribution initially designed to be run directly off a <b>256Mb USB key</b> or other (similar) forms of bootable flash memory. It has subsequently (also) become a Linux distribution that runs directly from a CDROM, typically known as a <b>Live-CD</b>.<br /></p><b><br /><span style="font-style: italic;">About Gentoo</span><br /></b>Flash Linux is based on <span class="link-external"><a href="http://www.gentoo.org/">Gentoo Linux</a></span> and new versions / bugfixes should track the stable Gentoo tree. Whereas Gentoo is a source distribution, this is a binary only distribution. If you need the source code or want to make modifications - please take a look at the Gentoo home page.<br /><br /><span style="font-weight: bold; font-style: italic;">Links:</span><br /><b>»</b>Homepage: <a href="http://flashlinux.org.uk/">http://flashlinux.org.uk/</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-16451338347980886272008-04-20T16:51:00.000-07:002008-09-09T08:34:53.900-07:00How to install (JRE) Java in Ubuntu (8.04)<img class="alignright" style="margin: 10px; float: right;" src="http://farm3.static.flickr.com/2346/2429751852_99ba861660_m.jpg" alt="" height="240" width="117" />I'm trying to install Java at my new Ubuntu and I'm getting some difficulties.<br />I was scrolling Synaptic Package Monitor for a while and i couldn't find it.<br /><br />So i Google it..<br /><br />There are these packages:<br /><br /><code><span style="font-weight: bold;">sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-src</span><br /><span style="font-weight: bold;">sun-java6-demo sun-java6-javadb sun-java6-plugin </span><br /><span style="font-weight: bold;">sun-java6-doc sun-java6-jdk sun-java6-source</span></code><br /><br />All you (probably) need is:<br /><span style="font-weight: bold;"><code>$ sudo apt-get install sun-java6-jre sun-java6-fonts </code></span><span style="font-weight: bold;"><code>sun-java6-plugi<span style="font-family:Georgia,serif;">n<br /></span></code></span><br />Note: The package <code><span style="font-weight: bold;">sun-java6-plugin</span></code> contain the Firefox plugin.Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-3731923312219132020.post-91259088781362603732008-04-17T08:57:00.000-07:002008-06-17T13:36:36.738-07:00Foxmarks beta (for Firefox beta)<div><img class="alignright" style="border: 10px solid white; float: right;" src="http://farm4.static.flickr.com/3244/2420601053_39de2de370_m.jpg" alt="" height="191" width="240" />Foxmarks don't have a compatible version with Firefox 3 beta5.<br />But there is the <span style="font-weight: bold;">Beta version of Foxmarks</span>!<br /><a style="font-weight: bold;" href="http://linuxinside.blogspot.com/2008/04/foxmarks-beta-for-firefox-beta.html">Read more!</a></div><br /><span class="fullpost"><br />Instructions:<br /><ol><li>Go <a href="http://beta.foxmarks.com/">here</a>, and sign with your nick and password.</li><li>Then sign up to Beta tester.</li><li>They will sent you an email - this may take some days..</li><li>Then, follow the link and sign in and download the plugin.</li></ol>Don't know what is Foxmarks?<br /><div> <p></p><blockquote><p>The Foxmarks Bookmark Synchronizer automatically synchronizes your bookmarks between two or more computers running Firefox. It also lets you access your bookmarks from any computer anytime via my.foxmarks.com. An easy-to-use wizard guides you through the quick startup process. Then Foxmarks works silently in the background to keep your bookmarks up-to-date on all your computers.</p> <p>Simple. Solid. Free. And ready to use.</p></blockquote><p></p><p><br /></p><p>Homepage: <a href="http://www.foxmarks.com/">http://www.foxmarks.com/</a></p></div></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-84095821780727401442008-04-16T14:19:00.000-07:002008-04-16T14:33:40.254-07:00Shockwave Player and Plugin for Linux<img class="alignright" style="margin: 10px; float: right;" src="http://farm4.static.flickr.com/3233/2419752580_1c9b818029_o.gif" alt="" width="95" height="92" />As you already know, <span style="font-weight: bold;">there is no such player/plugin</span>! And the only solution is firefox.exe running through wine.<br /><br />But, there's some hope. Sign <a href="http://www.petitiononline.com/linuxswp/petition.html">here</a> an online petition..<br /><span style=""></span><blockquote><span style="">The <a target="_top" href="http://www.petitiononline.com/linuxswp/petition.html">Shockwave Player and Plugin for Linux</a> Petition to Macromedia was <b>created by members of the Linux Community and written by Rob Jensen...</b></span></blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-43933781590111838572008-04-15T15:32:00.000-07:002008-09-09T11:21:47.339-07:00History - terminal tip<img class="alignleft" style="border: 10px solid white; float: left;" src="http://farm4.static.flickr.com/3050/2416691867_3f41a0beef_o.png" alt="" height="48" width="48" />With the new meme's fashion:<br /><code style="font-weight: bold;">history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head</code><br />Did anyone just typed<span style="font-style: italic;"> history</span> in terminal?<br /><br />If you try it, you can see the list of the last commands used.<br /><br />Instead of pressing upper arrow hundred times to see the command that we used in the previous day, just type history<br /><br /><code style="font-weight: bold;">$ history</code><br /><br />Check also the manual:<br /><br /><code style="font-weight: bold;">$ man history</code>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-76219202764839846992008-04-15T15:19:00.000-07:002008-09-09T11:22:17.458-07:00Archlinux 2008.04-RCLooks like we're gonna have a Live CD Archlinux's version..<br />The latest <a href="http://archlinux.org/news/389/">news</a>:<br /><blockquote>A new batch of install images is currently syncing to mirrors.<br />FTP images have been made available tonight, while CORE images<br />will be pushed tomorrow night in order to distribute the load.<p></p> <p>This marks the first release (well ok... release candidate)<br />based on a true live Arch system. That is, what's on the<br />images is just a plain old base installation which just<br />happens to boot off of a CD or USB stick.</p> <p>Whoah... did you just say USB stick? Why yes I did! That's<br />right, from here on out we'll be offering bootable USB disk<br />images that can act as a live system or installer.</p> <p>The installer script itself is roughly the same as it's always<br />been. The most noticable change is the use of UUIDs instead of<br />sdX/hdX entries by default. A more detailed changelog<br />should be visible on <a href="http://projects.archlinux.org/git/">projects.archlinux.org</a> soon-ish.</p> <p>If you get the chance, please give the images a spin. You can<br />find them on our <a href="https://dev.archlinux.org/download/">mirrors</a>, in the<br />iso directory. Please file <a href="http://bugs.archlinux.org/">bugs</a> if you encounter any problems.</p> <p>By the way, the "RC" status of these images should not be a<br />turn-off if you're looking to install Arch, there's a very<br />good chance they'll work just fine for you.</p></blockquote><br /><span style="font-weight: bold; font-style: italic;">Links:</span><br />»Homepage: <a href="http://archlinux.org/">ArchLinux</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-76467251627103492772008-04-14T13:42:00.000-07:002008-09-09T11:30:03.311-07:00One step forward, two steps backIn Feisty, agere et131x - Ethernet card of my LG P1 - was automatically installed.<br />Today with Hardy 8.04 and new versions of kernel, there is no 'out of the box'!<br /><br />One step forward, two steps back! Hrr<br /><br />To install it:<br /><br />Download et131x-1.2.3-2.tar.gz (or more recent ) <a href="http://sourceforge.net/projects/et131x">here</a>.<br /><br /><code>$ sudo apt-get install build-essential linux-headers-$(uname -r)</code><br />go to the unpackaged et131x folder<br /><code>$ make<br />$ sudo make modules_install<br />$ insmod et131x.ko<br />$ sudo depmod<br />$ sudo modprobe et131x</code><br /><br />There might me some errors... <span style="font-style: italic;">close your eyes!</span><br />Reboot.<br /><br />The audio card - Realtek LC880 - was never fixed. I only have audio on phones!<br /><br />Create new file:<br /><code>$ sudo gedit /etc/modprobe.d/snd-hda-intel</code><br />Paste and save:<br /><code>options snd-hda-intel model=lg</code><br />Reboot!<br /><br /><span style="font-style: italic; font-weight: bold;">Links:</span><br />»Drivers: <a href="http://sourceforge.net/projects/et131x">et131x</a><br /><br /></code></code>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-11690094408329856442008-04-12T13:39:00.000-07:002008-09-09T11:32:47.658-07:00Pytube - download videos from Youtube<p style="text-align: center;"><img src="http://farm3.static.flickr.com/2045/2407742011_3d6a4b7832_o.png" alt="" height="85" width="360" /></p><p style="text-align: left;">PyTubes is a multimedia converter program.</p><a style="font-weight: bold;" href="http://linuxinside.blogspot.com/2008/04/pytube-download-videos-from-youtube.html"></a><span class="fullpost"><p style="text-align: left; font-style: italic; font-weight: bold;">Features:</p><ul style="text-align: left;"><li>Downloads videos from Youtube, GoogleVideos, Metacafe, MySpaceTV... And converts them to ogm, mpg, avi, flv, gif, mp4, 3gp, amv, mp3, ogg and wav files.</li> <li>Encode Videos to formats previously mentioned.</li> <li>Search Youtube's videos.</li> <li>Multimedia Tools - Apply audio track to video files, Generate ringtones, Merge videos, Resize videos, Rotate videos.</li></ul><p style="text-align: left;"><span style="font-weight: bold; font-style: italic;">Screenshot:</span></p><p style="text-align: center;"><a title="Click to enlarge" href="http://farm3.static.flickr.com/2142/2407768295_753e5ec332_o.png" target="_blank"><img src="http://farm3.static.flickr.com/2148/2407767801_5cbdab61d6_t.jpg" alt="" height="45" width="100" /> <img src="http://farm3.static.flickr.com/2142/2407768295_0697b22243_t.jpg" alt="" height="67" width="100" /> <img src="http://farm4.static.flickr.com/3023/2407768063_f29efbbdce_t.jpg" alt="" height="83" width="100" /></a></p><span style="font-style: italic; font-weight: bold;">Links:</span><br />»Homepage: <a href="http://bashterritory.com/pytube">http://bashterritory.com/pytube</a><em><a title="Visit" href="http://bashterritory.com/pytube" target="_blank"></a></em><br />»Download page: <a href="http://bashterritory.com/pytube/index.php?option=com_remository&Itemid=26&func=select&id=1">http://bashterritory.com/</a><br /></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-68915570737835503912008-04-12T12:21:00.000-07:002008-09-09T11:34:14.498-07:00Terminal HistoryI'm a sudo addicted. :)<br /><br /><code>$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head</code><br /><br /><code>245 sudo<br />34 cd<br />24 ls<br />23 ping<br />19 sh<br />13 cmake<br />12 make<br />9 ./pk2<br />9 exit<br />8 e-U</code>serafimhttp://www.blogger.com/profile/09378997342964469679noreply@blogger.com1tag:blogger.com,1999:blog-3731923312219132020.post-17839118613823979392008-04-11T16:12:00.000-07:002008-09-09T11:38:34.731-07:00Linux Distribution ChooserIf you have doubt's about choosing the best Gnu/Linux distribution to you, <a href="http://www.zegeniestudios.net/ldc/index.php">this</a> site can help.<br />It will ask you some questions, inquiring you about your experience and preferences with Linux.<br /><br />If you wanna see some screenshots of the different distros, go <a href="http://www.thecodingstudio.com/opensource/linux/screenshots/">here</a>!<br /><br />PS: if you make the test, let me know about the result!<br />I got Ubuntu, Debian and Xubuntu! I already use Ubuntu :D !<br /><br /><span style="font-style: italic; font-weight: bold;">Links:</span><br />»Linux Distribution Chooser: <a href="http://www.zegeniestudios.net/ldc/index.php">Homepage</a><br />»Linux Screenshots: <a href="http://www.thecodingstudio.com/opensource/linux/screenshots/">The coding studio</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-3731923312219132020.post-59771674264245394862008-04-01T04:06:00.000-07:002008-09-09T11:46:58.831-07:00Pidgin 2.4.1 (new)<p style="text-align: center;"><img src="http://farm4.static.flickr.com/3206/2379235387_59b7eb1aeb_o.png" alt="Pidgin" height="363" width="334" /></p><span style="font-style: italic; font-weight: bold;">Links:</span><br />Homepage: <a href="http://www.pidgin.im/">Pidgin</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-20585025837062038752008-03-09T07:23:00.000-07:002008-03-09T07:28:08.551-07:00Emesene - IM client<h4>Index:</h4> <ul><li><a href="#about">About</a></li><li><a href="#screenshots">Screenshots</a></li><li><a href="#install">Install</a></li><li><a href="#conclusion">Conclusion</a></li></ul> <h4 id="about"><br /></h4><h4 id="about">About</h4><br />Emesene is a instant messenger (IM) client for the Windows Live Messenger (tm) network.<br />It runs at Linux, Windows and Mac OSX.<br />Is is very simple to use, has no ads, is compatible with Messenger Plus, allows file transfer, lots of plugins, etc...<br /><br /><h4 id="screenshots">Screenshots</h4> <div style="text-align: center;"><br />[screenshots - click]<br /></div> <div style="text-align: center;"><a href="http://farm4.static.flickr.com/3187/2320397203_1556310e47_o.png"><img style="border: 0px solid ; width: 240px; height: 150px;" alt="screenshot #1" title="screenshot #1" src="http://farm4.static.flickr.com/3187/2320397203_5dca44b462_m.jpg" /></a> <a href="http://farm3.static.flickr.com/2242/2320397211_5e8d203869_o.png"><img style="border: 0px solid ; width: 240px; height: 150px;" alt="screenshot #2" title="screenshot #2" src="http://farm3.static.flickr.com/2242/2320397211_a751004c1a_m.jpg" /></a><a href="http://farm4.static.flickr.com/3115/2320397213_63292804f7_o.png"><img style="border: 0px solid ; width: 240px; height: 150px;" alt="screenshot #3" title="screenshot #3" src="http://farm4.static.flickr.com/3115/2320397213_2bea0efa2c_m.jpg" /></a><br /></div><br /><h4 id="install">Install</h4><br /><ul><li><span style="text-decoration: underline; font-weight: bold;">Debian based systems:</span><br /><ol><li>Add repositories to source list:<br /><code><span style="font-weight: bold;">$ sudo gedit /etc/source.list</span><br /></code><br />Add:<br /><code></code><code><span style="font-weight: bold;">deb http://apt.emesene.org/ ./</span><br /><span style="font-weight: bold;">deb-src http://apt.emesene.org/ ./</span><br /></code></li><li>Update<br /><code><span style="font-weight: bold;">$ sudo apt-get update</span><br /></code><br /></li><li>Install<br /><code style="font-weight: bold;">$ sudo apt-get install emesene<br /></code><br /></li></ol> </li><li><span style="text-decoration: underline; font-weight: bold;">Installation from tar.gz (latest stable archive)</span><br /><ol><li>Go to:<br /><a href="http://sourceforge.net/project/showfiles.php?group_id=168206">http://sourceforge.net/project/showfiles.php?group_id=168206<br /></a></li><li>Download the latest version (eg:):<br /><code><span style="font-weight: bold;">$ wget http://downloads.sourceforge.net/emesene/emesene-r999.tar.gz<br /></span></code><br /><span style="font-family:mon;"><span style="font-weight: bold;"></span></span></li></ol> </li><li><span style="font-family:mon;"><span style="font-weight: bold;"><span style="text-decoration: underline;">SVN version</span><br /></span></span> <ol><li>Visit this page for instructions:<br /><a href="http://emesene.org/trac/wiki/SVN">http://emesene.org/trac/wiki/SVN<br /></a></li></ol> </li></ul><br /><h4 id="conclusion"><br /></h4><h4 id="conclusion">Conclusion</h4><br />I already tried Pidgin, Amsn but it's Emesene i like best.<br />Is is simple, attractive design.<br />It has lots of cool plugins, eg:<br /><ul><li>Youtube video's screenshot before the link to it.</li><li>Countdown to specific date (I'm using this one - countdown to christmas :D )</li><li>Messenger plus</li><li>GmailNotify</li><li>Etc.</li></ul> Just try it and have your own idea about it..Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-35518000088067874062008-03-08T16:40:00.000-08:002009-09-26T08:12:28.141-07:00Openbox - introduction/customization<span style="font-weight: bold; font-style: italic;">Overview:</span><span style="font-style: italic;"><span style="font-weight: bold;"> </span></span>At the end your system may have this look:<br /><br /><div style="text-align: center;">[screenshots - click]<br /></div><br /><div style="text-align: center;"><a href="http://farm3.static.flickr.com/2243/2243840113_cc3f5532e9_o.png"><img style="border: 0px solid ; width: 240px; height: 150px;" alt="screenshot #1" src="http://farm3.static.flickr.com/2243/2243840113_f8f7decaa1_m.jpg" /></a> <a href="http://farm3.static.flickr.com/2035/2243847877_793e3e4778_o.png"><img style="border: 0px solid ; width: 240px; height: 150px;" alt="screenshot #2" src="http://farm3.static.flickr.com/2035/2243847877_0649012e4f_m.jpg" /></a><br /></div> <span style="font-style: italic; text-decoration: underline;"><small><br /></small></span><span style="font-weight: bold; font-style: italic;"></span><span style="font-weight: bold; font-style: italic;">Intro:</span><br /><br />Openbox is a windows manager (just like Metacity, sort of..), extremely light and customizable, known for its minimalistic appearance, as indicated for machines with poor performance.<br /><br />The Openbox allows perform the last/all* applications that are designed/made to Gnome/Kde without any need to run these (Gnome/Kde). You can also run the Openbox within the Gnome/Kde thus combining their features. It allows us to make the desktop cleaner and faster.<br /><br /><br /><span style="font-weight: bold; font-style: italic;">Installation:</span><br /><br />Check the <a href="http://icculus.org/openbox/index.php/Openbox:Download" target="_blank">homepage</a>, or install the version available in the repositories:<br /><code><span style="font-weight: bold;"># aptitude install openbox </span><br /><span style="font-weight: bold;"># aptitude install obconf openbox-themes #RECOMMENDED_EXTRAS</span><br /><br /></code>To run Openbox:<br /><ul><li>Logout; </li><li>Choose the session type: (1) Gnome/Openbox; (2) openbox-kde.desktop or (3) Openbox Session; </li><li>Login. </li></ul><br />Option (3) runs only the Openbox, but future Gnome/Kde's applications could be executed (eg: gnome-panel)<br /><br /><span style="color: rgb(204, 0, 0);">Note:</span> I recommend that you only [re]login (at openbox session) when thou finish the tutorial completely!<br /><br /><br /><span style="font-weight: bold; font-style: italic;">Customization: </span><br /><br />If you choose option (3) above, you will find out that your desktop is empty, and no kind of bar is displayed. Don't stress out :D<br /><br /><ol><li><span style="font-weight: bold; text-decoration: underline;">Double the configuration files:</span><br /><br /><code>$ mkdir -p ~/.config/openbox/<br />$ cp /etc/xdg/openbox/rc.xml ~/.config/openbox/rc.xml<br />$ cp /etc/xdg/openbox/menu.xml ~/.config/openbox/menu.xml</code><br /><br /><div style="text-align: justify;">The <span style="font-weight: bold;">rc.xml</span> file is responsible for the configuration of shortcuts, themes, virtual desktop, etc. .. While the <span style="font-weight: bold;">menu.xml</span> file is only responsible for setting the menu that appears when you click with the right mouse button on the desktop - edit this file in text mode can be boring and complicated, ahead there is a solution easier.<br /></div><br /></li><li><span style="font-weight: bold; text-decoration: underline;">Alt+F2: </span><br /><br /><div style="text-align: justify;">The shortcut <span style="font-weight: bold;">Alt + F2</span> aka <span style="font-weight: bold;">gnome-panel-control - run-dialog</span> does not work for Openbox. I think this command essential in any Linux distribution, so let's find an alternative solution: <span style="font-weight: bold;">gmrun</span> - installation:<br /></div><br /><code style="font-weight: bold;"># aptitude install gmrun</code><span style="font-weight: bold;"> </span><br /><br />Define Alt-F2 as gmrun's shortcut:<br /><code style="font-weight: bold;">$ gedit ~/.config/openbox/rc.xml</code><span style="font-weight: bold;"> </span><br />Add the following code before;<span style="font-weight: bold;"><code></keyboard> </code></span><br /><br /><code><span style="font-weight: bold;"><keybind key="A-F2"></span><br /><span style="font-weight: bold;"><action name="execute"></span> <span style="font-weight: bold;"><br /><execute>gmrun</execute></span> <span style="font-weight: bold;"><br /></action></span><br /><span style="font-weight: bold;"></keybind></span><br /></code><br /><div style="text-align: justify;"><span style="font-weight: bold;">Note</span>: If you noticed, the last shortcut existing in rc.xml is '<span style="font-weight: bold;">W-e</span>', which launches <span style="font-weight: bold;">Konqueror</span>. I replaced this with <span style="font-weight: bold;">Nautilus</span>. I like it best.<br /><br /></div> <code style="font-weight: bold;"><keybind key="W-e"><br /><action name="Execute"><br /><startupnotify><br /><enabled>true</enabled><br /><name>Nautilus</name><br /></startupnotify><br /><command>nautilus</command><br /></action><br /></keybind></code><br /><br /><span style="font-weight: bold;">Note2</span>:<br />In my case, i had re-login the session for the shortcuts work correctly.<br /><br /></li><li><span style="font-weight: bold; text-decoration: underline;">Add a panel:</span><br /><br />I think that all of us like to have some kind of panel. To see minimized windows, icon tray and some shortcuts.<br />There are several alternatives such as: <span style="font-weight: bold;">pypanel</span> ,<span style="font-weight: bold;"> fbpanel</span>, gnome-panel, xfce4-panel, etc.<br />I'll choose <span style="font-weight: bold;">pypanel</span>:<br /><br /><span style="font-weight: bold;"><code>$ aptitude install pypanel</code></span><br /><br /><ul><li>Pypanel Customization:<br />The configuration file is ~/.pypanelrc. Before change/edit him I recommend to backup it:<br /><code style="font-weight: bold;">$ cp ~/.pypanelrc ~/.pypanelrcbackup</code><br /><br />Now, take this code (link) a save it at:<br /><code style="font-weight: bold;">$ gedit ~/.pypanelrc</code></li></ul><br /></li><li><span style="font-weight: bold; text-decoration: underline;">Add pypanel to startup(or some other application):</span><br /><br /><code> <span style="font-weight: bold;">$ gedit ~/.config/openbox/autostart.sh</span><br /></code><br />Paste this text:<br /><blockquote style="font-weight: bold;"><code># Run the system-wide support stuff<br />. $GLOBALAUTOSTART<br /># Programs to launch at startup<br />pypanel &<br />#/opt/wicd/tray.py & #WICD<br />#conky & #CONKY<br /># all commands must end with: " &"</code></blockquote><br /><br />Follow the example to add some other applications.<br /><br /></li><li><span style="font-weight: bold; text-decoration: underline;">Edit Openbox's theme:</span><br /><br />As I earlier explain, it's possible to edit Openbox's theme at the file menu.xml. But there is a solution more user friendly: <span style="font-weight: bold;">obmenu</span>. To install obmenu:<br /><br /><code><span style="font-weight: bold;">$ wget http://switch.dl.sourceforge.net/sourceforge/obmenu/obmenu-1.0.tar.gz</span><br /><span style="font-weight: bold;">$ tar xvzf obmenu-1.0.tar.gz</span><br /><span style="font-weight: bold;">$ cd obmenu-1.0/</span><br /><span style="font-weight: bold;"># python setup.py install</span><br /></code><br />Open obmenu:<br /><span style="font-weight: bold;"><code>$ obmenu</code></span><br /><br />The you can add/remove/edit any kind of shortcuts, etc.<br /><span style="font-weight: bold;">Note:</span> To add a new menu, in the end you need to add a shortcut at Openbox 3 menu. Watch with some attention the available examples..</li></ol><br /><span style="font-weight: bold; text-decoration: underline;">Conclusion:</span><br /><br />This tutorial gives you the main ideas how to customize your system. Of course the are more applications you might use at Openbox, but these were my choice.<br /><br /><br /><span style="font-weight: bold; text-decoration: underline;">Other references:</span><br /><br />»<a href="http://icculus.org/openbox/index.php/Main_Page" target="_blank">Openbox homepage</a><br />»<a href="http://pypanel.sourceforge.net/" target="_blank">Pypanel homepage</a><br />»<a href="http://obmenu.sourceforge.net/" target="_blank">Obmenu homepage</a><br />»<a href="http://wiki.archlinux.org/index.php/Openbox" target="_blank">Archlinux wiki - openbox</a><br />»<a href="http://wiki.debian.org/Openbox" target="_blank">Debian wiki - openbox</a> some interesting key shortcuts.<br />»<a href="http://www.box-look.org/" target="_blank">Box-Look.org - themes</a><br /><br />»<a href="http://www.pixelgirlpresents.com/images/desktops/Fabien_Egot/Tree-Eater2560.jpg" target="_blank">Used wallpaper</a>!<br /><br /><span style="font-weight: bold; text-decoration: underline;">My files:</span><br />There might be some differences with the screenshot displayed.<br />»<a href="http://dotfiles.org/%7Euterrorista/.pypanelrc" target="_blank">http://dotfiles.org/~uterrorista/.pypanelrc</a><br />»<a href="http://dotfiles.org/%7Euterrorista/.autostart.sh" target="_blank">http://dotfiles.org/~uterrorista/.autostart.sh</a><br />»<a href="http://dotfiles.org/%7Euterrorista/menu.xml" target="_blank">http://dotfiles.org/~uterrorista/menu.xml</a><br />»<a href="http://dotfiles.org/%7Euterrorista/rc.xml" target="_blank">http://dotfiles.org/~uterrorista/rc.xml </a><br /><span style="font-style: italic;"><small></small></span>Unknownnoreply@blogger.com11tag:blogger.com,1999:blog-3731923312219132020.post-66126412922211678572008-03-07T18:55:00.000-08:002008-03-07T19:42:25.991-08:00Set the battery in conky correctlyConfigure the battery at Conky can be a nightmare looking for this solution at web 'cus there isn't very information about it. I already had this problem...<br /><br /><br />ACPI battery number is given as argument, at 'funtions' <span style="font-weight: bold;">battery</span>, <span style="font-weight: bold;">battery_bar</span> and <span style="font-weight: bold;">battery_percent</span>. By default the argument is BAT0. But if it doen't work, let's find out the correct argument:<br /><br /><ul><li>Open the terminal and type:</li></ul><code style="font-weight: bold;">$ ls /proc/acpi/battery<br /><br /></code><ul><li>There can be various kind of output:</li></ul><code style="font-weight: bold;">CMB0<br />BAT1<br />BAT0<br />...etc</code><br />My output was: <span style="font-weight: bold;">CMB0</span><br /><br /><ul><li>Open the .conkyrc file and edit to (examples):</li></ul><code style="font-weight: bold;">${battery CMB0}<br />${battery_bar CMB0}<br />${battery_percent CMB0}</code><br /><br />Obviously, replace <span style="font-weight: bold;">CMB0</span> with the output you received earlier.Unknownnoreply@blogger.com6tag:blogger.com,1999:blog-3731923312219132020.post-1039312133772782932008-03-04T12:39:00.000-08:002008-09-09T14:20:22.292-07:00Get new Gimp's version @ Ubuntu<img src="http://farm3.static.flickr.com/2040/2310313065_ca5b04a637_m.jpg" height="200" align="right" width="150" />Today i found out that Ubuntu (& family) don't have access to the latest version of Gimp through repositories.<br /><br />We're stuck with version 2.4.2 instead the new version 2.4.5.<br /><br />Only Hardy Heron (8.04) will have access to it..<br />So lets make this happen sonner :D<br /><ul><br /><li>Edit the souce list:<br /></li></ul><code style="font-weight: bold;">$ sudo gedit /etc/apt/sources.list<br /></code><br /><ul><li>And add:<br /></li></ul><code style="font-weight: bold;">deb http://apt.schmidtke-hb.de gutsy main<br />deb-src http://apt.schmidtke-hb.de gutsy main<br /></code><br /><ul><li>Save and close, return to the terminal and type:</li></ul><code style="font-weight: bold;">$ wget apt.schmidtke-hb.de/aptrepository.asc<br />$ sudo apt-key add aptrepository.asc<br />$ sudo apt-get update<br />$ sudo apt-get upgrade<br /></code><br /><ul><li>If you don't have Gimp yet installed, just type:</li></ul><code><span style="font-weight: bold;">$ sudo apt-get install gimp</span></code><br /><br />That's it!<br /><br /><span style="font-weight: bold; font-style: italic;">Links:</span><br />»Homepage: <a href="http://www.gimp.org/">Gimp</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-54281493372270851272008-03-01T12:59:00.000-08:002008-09-09T14:30:33.647-07:00Debian - NVIDIA driversA quick and easy tutorial about how to install NVIDIA drivers as simply as possible.<br /><br /><span style="font-weight: bold; font-style: italic;">Prerequisites:</span><br /><br />As a starting point, download the <a href="http://www.nvidia.com/object/unix.html">latest stable drivers</a>.<br /><br />Then you’ll need to install a few packages :<br /><br /><code>$ sudo apt-get install build-essential linux-headers-$(uname -r)</code><br />Debian Sarge users have to replace<span style="font-weight: bold;"> linux-headers</span> with<span style="font-weight: bold;"> kernel-headers</span>.<br /><br /><br /><span style="font-weight: bold; font-style: italic;">Installation</span>:<br /><br />First you’ll need to kill the X server. You can do that by switching to console #1 : press CTRL-ALT-F1 simultaneously.<br /><br />Once there, log in with your username and password.<br /><br />Stop the graphical login manager :<br /><br /><code>$ sudo /etc/init.d/gdm stop</code><br />Then install the drivers :<br /><br /><code>$ sudo sh NVIDIA-Linux-x86-1.0-9755-pkg1.run</code><br />and follow the installation process.<br /><br />Make sure you tell the installer to automatically modify your <span style="font-weight: bold;">/etc/X11/xorg.conf</span> file so you’ll end up using the NVIDIA drivers.<br /><br /><br /><span style="font-style: italic; font-weight: bold;">Xorg.conf</span>:<br /><br />If you haven’t, then you simply have to make a few changes to your <span style="font-weight: bold;">/etc/X11/xorg.conf</span> file. Here they are. Debian Sarge users have to modify <span style="font-weight: bold;">/etc/X11/XF86Config-4</span> instead.<br /><br />In <span style="font-weight: bold;">Section “Modules”</span> comment the<span style="font-weight: bold;"> dri</span> and <span style="font-weight: bold;">GLcore</span> modules :<br /><br /><code>#Load "dri"<br />#Load "GLcore"</code><br />In <span style="font-weight: bold;">Section “Device”</span> make sure you use the NVIDIA driver :<br /><br />Driver "nvidia"<br /><br />And finally comment the whole <span style="font-weight: bold;">Section “DRI”</span> :<br /><br /><code>#Section "DRI"<br /># Mode 0666<br />#EndSection</code><br />Here is an example xorg.conf file with the proper changes made.<br /><br /><br /><span style="font-weight: bold; font-style: italic;">X:</span><br /><br />Once done, load the NVIDIA module :<br /><br /><code>$ sudo modprobe nvidia</code><br />And restart the graphical login manager, which will bring back X :<br /><br /><code>$ sudo /etc/init.d/gdm start</code><br /><br /><span style="font-weight: bold; font-style: italic;">Tips:</span><br /><br />If you happen to update your kernel, then you don’t need to reinstall the whole NVIDIA driver, but only the kernel module. So running this command will do the trick :<br /><br /><code>$ sudo sh NVIDIA-Linux-x86-1.0-9755-pkg1.run -K</code>serafimhttp://www.blogger.com/profile/09378997342964469679noreply@blogger.com10tag:blogger.com,1999:blog-3731923312219132020.post-35238838625084885542008-02-19T15:02:00.000-08:002008-09-09T14:34:03.115-07:00Geek Joke<ol><li>Eight bytes walk into a bar. The bartender asks:<br />» "<span style="font-style: italic;">Can I get you anything?</span>"<br />» "<span style="font-style: italic;">Yeah</span>," reply the bytes, "<span style="font-style: italic;">Make us a double!</span>".<br /><br /></li><li>Two bytes are sitting in a bar. One says:<br />» "<span style="font-style: italic;">I'm not feeling so well. I think I might have a parity error.</span>"<br />» "<span style="font-style: italic;">Yeah</span>," says the other, "<span style="font-style: italic;">I thought you looked a bit off.</span>"<br /></li></ol>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3731923312219132020.post-87310690647367899102008-02-17T14:12:00.000-08:002008-02-17T14:33:56.021-08:00My fonts @ Arch Linux<span style="font-weight: bold;">Screenshot:</span><br /><br /><div style="text-align: center;"><a href="http://farm3.static.flickr.com/2092/2272765312_79cd07573b_o.png" target="_blank"><img src="http://farm3.static.flickr.com/2092/2272765312_b4c166a846_m.jpg" /></a><br /></div><br /><span style="font-weight: bold;">Need to install:</span><br /><br /><code>pacman -S artwiz-fonts ttf-ms-fonts</code><br /># artwiz-fonts is not really necessary but is a 'nice pack'.<br /><br /><br /><span style="font-weight: bold;">Attention:</span><br />Installing ttf-ms-fonts gives me a damm big bug! My fonts at the login became huge. Size 100 at lest. Use at you own risk...Unknownnoreply@blogger.com0