<?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-1901736427370590860</id><updated>2011-10-09T22:53:36.924-07:00</updated><category term='slow laggy GTK under slackware'/><title type='text'>slackware</title><subtitle type='html'>unofficial</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1901736427370590860.post-2998856555612632528</id><published>2011-03-31T12:35:00.000-07:00</published><updated>2011-03-31T12:44:25.644-07:00</updated><title type='text'>rtorrent after upgrade to current 64</title><content type='html'>In short - rtorretn compule wtih his LIB and crash with nasty errors.&lt;br /&gt;&lt;br /&gt;I try everything known: SVN earlier versions nothing help!&lt;br /&gt;&lt;br /&gt;At the very end of my misery i found patches - i don't know how to get and use them from this site but:&lt;br /&gt;&lt;br /&gt;Download current - as full package with all SlackBuids in it.&lt;br /&gt;"http://cgit.ponce.cc/slackbuilds/snapshot/current-20110329.1.tar.gz"&lt;br /&gt;&lt;br /&gt;Get new one - this from above is only for example, from:&lt;br /&gt;&lt;br /&gt;http://cgit.ponce.cc/slackbuilds/&lt;br /&gt;&lt;br /&gt;untar&lt;br /&gt;&lt;br /&gt;find builds for:&lt;br /&gt;libtorrent&lt;br /&gt;download libtorrent&lt;br /&gt;sh ...( slackbuild like root)&lt;br /&gt;install package that will find in /tmp&lt;br /&gt;&lt;br /&gt;ldconfig - just for safety&lt;br /&gt;&lt;br /&gt;do the same for&lt;br /&gt;rtorrent&lt;br /&gt;&lt;br /&gt;install again package from /tmp&lt;br /&gt;&lt;br /&gt;that's  all&lt;br /&gt;&lt;br /&gt;Now will search what this people do to make my torrents happy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-2998856555612632528?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/2998856555612632528/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=2998856555612632528' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2998856555612632528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2998856555612632528'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2011/03/rtorrent-after-upgrade-to-current-64.html' title='rtorrent after upgrade to current 64'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-3140836215681917623</id><published>2010-06-25T02:07:00.000-07:00</published><updated>2010-06-25T02:34:55.837-07:00</updated><title type='text'>wrt54g v 2.0 howto</title><content type='html'>1.&lt;br /&gt;get this:&lt;br /&gt;http://open-wrt.ru/downloads/kamikaze/8.09.2/brcm-2.4/openwrt-wr850g-squashfs.bin&lt;br /&gt;&lt;br /&gt;on some linux do:&lt;br /&gt;dd if=firmware.bin of=firmware.trx bs=32 skip=1&lt;br /&gt;&lt;br /&gt;wget firmware.trx on /tmp of wrt54g&lt;br /&gt;&lt;br /&gt;http://nuwiki.openwrt.org/oldwiki/OpenWrtDocs/Deinstalling&lt;br /&gt;&lt;pre class="code"&gt;mtd -e linux -r write firmware.trx linux&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;/pre&gt;reboot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;http://wiki.openwrt.org/doc/uci/wireless/encryption&lt;br /&gt;&lt;pre class="code"&gt;root@OpenWrt:~# uci set wireless.@wifi-iface[0].encryption=psk2&lt;br /&gt;root@OpenWrt:~# uci set wireless.@wifi-iface[0].key="your_password"&lt;br /&gt;root@OpenWrt:~# uci commit wireless&lt;br /&gt;root@OpenWrt:~# wifi&lt;br /&gt;&lt;br /&gt;Configuration is also possible via direct editing of &lt;code&gt;/etc/config/wireless&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;at end:&lt;br /&gt;uci commit wireless&lt;br /&gt;&lt;br /&gt;uci set wireless.@wifi-device[0].disabled=0 - can be other variable SEARCH disabled&lt;br /&gt;uci show | grep disabled&lt;br /&gt;&lt;br /&gt;and start it with&lt;br /&gt;&lt;br /&gt;wifi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set new password for root with&lt;br /&gt;password - this activate sshd after reboot and disable telnet&lt;br /&gt;&lt;br /&gt;reenable dnsmasq and httpd and any in this dir /etc/rc.d/&lt;br /&gt;with&lt;br /&gt;/etc/rc.d/name enable&lt;br /&gt;It may seems that some of them are started but it's not so enable one by one.&lt;br /&gt;Because wireless work devices are connected but can't get IP.&lt;br /&gt;&lt;br /&gt;add your rules in&lt;br /&gt;/etc/rc.local&lt;br /&gt;&lt;br /&gt;opkg update&lt;br /&gt;opkg upgrade&lt;br /&gt;opkg list - for packages&lt;br /&gt;opkg install name of package&lt;br /&gt;&lt;br /&gt;You may need more of iptables pakages for TTL or some filtering or shaping !&lt;br /&gt;They are named with "extra" at end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://wiki.openwrt.org/doc/uci&lt;br /&gt;&lt;/pre&gt;&lt;h4&gt;&lt;a name="add.a.firewall.rule" id="add.a.firewall.rule"&gt;Add a  firewall rule&lt;/a&gt;&lt;/h4&gt; &lt;div class="level4"&gt;  &lt;p&gt;  This is a good example of both adding a firewall rule to forward the TCP  &lt;acronym title="Secure Shell"&gt;SSH&lt;/acronym&gt; port, and of the negative  (-1) syntax used with uci. &lt;/p&gt;  &lt;p&gt; &lt;code&gt;uci add firewall rule uci set firewall.@rule[-1].src=wan&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;uci set firewall.@rule[-1].target=ACCEPT&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;uci set firewall.@rule[-1].proto=tcp&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;uci set firewall.@rule[-1].dest_port=22&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;uci commit firewall&lt;/code&gt;  &lt;/p&gt;  &lt;/div&gt;&lt;pre class="code"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;change the wan MAC address.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;/etc/config/network you can run the commands below to change the wan&lt;br /&gt;MAC address.&lt;br /&gt;uci set network.wan.macaddr="&lt;mac_address&gt;"&lt;br /&gt;uci commit network&lt;br /&gt;ifdown wan &amp;amp;&amp;amp; ifup wan&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;/mac_address&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-3140836215681917623?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/3140836215681917623/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=3140836215681917623' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3140836215681917623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3140836215681917623'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/06/wrt54g-v-20-howto.html' title='wrt54g v 2.0 howto'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-3866555838882508141</id><published>2010-06-08T01:14:00.000-07:00</published><updated>2010-06-08T01:28:15.380-07:00</updated><title type='text'>2.6.33 and 2.6.34 kernel suspend hibernate trouble</title><content type='html'>For 2.6.33: USB3 module is: xhci&lt;br /&gt;For 2.6.34: USB3 module is: xhci_hcd&lt;br /&gt;&lt;br /&gt;Before start suspend:&lt;br /&gt;&lt;br /&gt;rmmod xhci_hcd ehci_hcd ohci_hcd forcedeth hangcheck-timer usbcore&lt;br /&gt;&lt;br /&gt;After resume must:&lt;br /&gt;&lt;br /&gt;modprobe usbcore&lt;br /&gt;modprobe xhci_hcd&lt;br /&gt;modprobe ehci_hcd&lt;br /&gt;modprobe ohci_hcd&lt;br /&gt;modprobe forcedeth&lt;br /&gt;modprobe hangcheck-timer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usually script's know for all this but not for USB3. And you will see this error:&lt;br /&gt;/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: Input/output error&lt;br /&gt;or&lt;br /&gt;/&lt;em&gt;usr&lt;/em&gt;/&lt;em&gt;lib64&lt;/em&gt;/&lt;em&gt;pm&lt;/em&gt;-&lt;em&gt;utils&lt;/em&gt;/&lt;em&gt;pm&lt;/em&gt;-&lt;em&gt;functions&lt;/em&gt;:  &lt;em&gt;line 295&lt;/em&gt;: &lt;em&gt;echo&lt;/em&gt;: write error: No  such file or directory&lt;br /&gt;&lt;br /&gt;or similar. This is not a bug. This is caused from:&lt;br /&gt;&lt;br /&gt;kernel: hub 6-0:1.0: cannot reset port 1 (err = -19)&lt;br /&gt;kernel: hub 6-0:1.0: cannot disable port 1 (err = -19)&lt;br /&gt;&lt;br /&gt;PM: Device usb2 failed to freeze async: error -2&lt;br /&gt;kernel: PM: Device usb2 failed to suspend async: error -2&lt;br /&gt;kernel: PM: Some devices failed to suspend&lt;br /&gt;&lt;br /&gt;It can be seen in Slackware log's after : pm-suspend&lt;br /&gt;this command produce very helpful LOG.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-3866555838882508141?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/3866555838882508141/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=3866555838882508141' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3866555838882508141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3866555838882508141'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/06/2633-and-2634-kernel-suspend-hibertante.html' title='2.6.33 and 2.6.34 kernel suspend hibernate trouble'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-4147172090364427941</id><published>2010-05-31T05:18:00.000-07:00</published><updated>2010-05-31T05:53:15.976-07:00</updated><title type='text'>32 bit packages on 64 slack</title><content type='html'>Simply:&lt;br /&gt;&lt;br /&gt;http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib#obtaining_multilib_packages&lt;br /&gt;Packages for 13.1:&lt;br /&gt;http://connie.slackware.com/~alien/multilib/13.1/&lt;br /&gt;&lt;pre class="code"&gt;upgradepkg --reinstall --install-new *.t?z&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;GET 32 BIT SLACKWARE PACKAGES 13.1 from some mirror i use Current&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;massconvert32.sh -i slackware-current/slackware/&lt;br /&gt;&lt;br /&gt;installpkg *-compat32/*.t?z&lt;br /&gt;&lt;br /&gt;Run 32 bit program if again stop,&lt;br /&gt;ldd Program - see for missing lib and&lt;br /&gt;convertpkg-compat32 Lib-package&lt;br /&gt;install and try again.&lt;br /&gt;&lt;br /&gt;After all this, when upgrade packages - look for *compat*txz if package like this is upgradedyou must do:&lt;br /&gt;convertpkg-compat32 Package-name and install, .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-4147172090364427941?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/4147172090364427941/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=4147172090364427941' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4147172090364427941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4147172090364427941'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/32-bit-packages-on-64-slack.html' title='32 bit packages on 64 slack'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6367551328294385068</id><published>2010-05-31T01:30:00.000-07:00</published><updated>2010-05-31T02:40:22.547-07:00</updated><title type='text'>gpsd test install log - tangogps</title><content type='html'>gpsd - get and install from berlios:&lt;br /&gt;&lt;br /&gt;tangoGPS - from home page&lt;br /&gt;&lt;br /&gt;start like root:&lt;br /&gt;gpsd -N -G -D 4 /dev/ttyUSB0&lt;br /&gt;&lt;br /&gt;GPS device - /dev/ttyUSB0 - for My&lt;br /&gt;-N to get data continuously&lt;br /&gt;-G to listen on all interfaces&lt;br /&gt;-D debug Level&lt;br /&gt;&lt;br /&gt;To test:&lt;br /&gt;telnet 0.0.0.0 2947&lt;br /&gt;&lt;br /&gt;To get log from GPSD:&lt;br /&gt;cgpxlogger  &gt; track.gpx&lt;br /&gt;- for quick test cgps is used.&lt;br /&gt;- do not use tee or other - will broke XML at END.&lt;br /&gt;&lt;br /&gt;If all working well and GPS get signal:&lt;br /&gt;- see in telnet:&lt;br /&gt;$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33&lt;br /&gt;$PGRME,93.08,M,28.68,M,97.40,M*22&lt;br /&gt;$GPGGA,083522,4241.2008,N,02315.3579,E,2,00,,643.98,M,36.847,M,,*5B&lt;br /&gt;$GPRMC,083522,A,4241.2008,N,02315.3579,E,0.6999,168.376,310510,,*23&lt;br /&gt;- in cgpxlogger:&lt;br /&gt;   &lt;trkpt lat="42.6866323" lon="23.2559808"&gt;&lt;br /&gt;     &lt;fix&gt;2d&lt;/fix&gt;&lt;br /&gt;     &lt;time&gt;2010-05-31T08:27:41.0Z&lt;/time&gt;&lt;br /&gt;   &lt;/trkpt&gt;&lt;br /&gt;- in gpsd debug:&lt;br /&gt;gpsd: PrintSERPacket(, 0x33, 0x40, ) = 0x100383fa&lt;br /&gt;gpsd: SendPacket(), writing 6 bytes: 100600fa1003&lt;br /&gt;gpsd: PrintSERPacket(, 0x6, 00, )&lt;br /&gt;gpsd: ACK&lt;br /&gt;gpsd: PrintSERPacket(, 0x6, 00, ) = 00&lt;br /&gt;gpsd: =&gt; GPS: 100600fa1003&lt;br /&gt;gpsd: SendPacket(), wrote 6 bytes&lt;br /&gt;gpsd: &lt;= GPS (binary) /dev/ttyUSB0: $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24 gpsd: =&gt; client(0): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24&lt;br /&gt;gpsd: =&gt; client(1): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24&lt;br /&gt;gpsd: garmin_ser_parse() Type: 0x33, Len: 0x40, chksum: 00&lt;br /&gt;&lt;br /&gt;In EVERY LOG is seen :&lt;br /&gt;DIGIT:2&lt;br /&gt;A,2&lt;br /&gt;2d&lt;br /&gt;This mean that GPS &lt;span style="font-weight: bold;"&gt;Lock position&lt;/span&gt; from Two satelites! This is very important.&lt;br /&gt;&lt;br /&gt;If  not Lock acquired, you will see:&lt;br /&gt;"GPS has no fix" in gpsd log&lt;br /&gt;and&lt;br /&gt;A,1 - in telnet log&lt;br /&gt;and no &lt;span style="font-weight: bold;"&gt;gpx&lt;/span&gt; log will be created from cgpslogger.&lt;br /&gt;Any program will not work and give strange results :).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Google Maps:&lt;br /&gt;First:&lt;br /&gt;http://code.google.com/apis/maps/signup.html&lt;br /&gt;&lt;br /&gt;And then:&lt;br /&gt;http://norman.walsh.name/2006/06/20/gpxGoogle - this tool will make from GPX ready for use html - many thanks to creator.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.obviously.com/gis/gpx_loader.html - load GPX file to google maps&lt;br /&gt;Some KEY need :)&lt;br /&gt;&lt;br /&gt;http://www.chrislacy.net/map/current/index.html - another loader for GPX file&lt;br /&gt;&lt;br /&gt;See here for more:&lt;br /&gt;http://www.topografix.com/gpx_resources.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-6367551328294385068?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6367551328294385068/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6367551328294385068' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6367551328294385068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6367551328294385068'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/gpsd-test-install-log-tangogps.html' title='gpsd test install log - tangogps'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-2581193921262758957</id><published>2010-05-28T02:15:00.000-07:00</published><updated>2010-05-28T02:27:08.976-07:00</updated><title type='text'>catalist 10.5</title><content type='html'>From Aur: patches for 2.6.33 and 2.6.34-rc4.&lt;br /&gt;&lt;br /&gt;--extract SomeDir&lt;br /&gt;&lt;br /&gt;cd SomeDir/common/lib/modules/fglrx/build_mod/&lt;br /&gt;cat PatchName| patch&lt;br /&gt;&lt;br /&gt;cd SomeDir&lt;br /&gt;./ati-installer.sh  . --buildpkg Slackware/All&lt;br /&gt;this will make packages in ../ Dir&lt;br /&gt;&lt;br /&gt;If make in hand:&lt;br /&gt;cp /usr/src/ati/fglrx-10.5/arch/x86_64/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4  SomeDir/common/lib/modules/fglrx/build_mod/&lt;br /&gt;./make.sh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-2581193921262758957?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/2581193921262758957/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=2581193921262758957' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2581193921262758957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2581193921262758957'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/catalist-105.html' title='catalist 10.5'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-7852376458257018270</id><published>2010-05-21T07:46:00.000-07:00</published><updated>2010-05-21T07:52:16.357-07:00</updated><title type='text'>memtest86+ on 64 Amd</title><content type='html'>memtest86+-4.10 HowTo&lt;br /&gt;&lt;br /&gt;make&lt;br /&gt;memtest.bin - linux Kernel x86 :)&lt;br /&gt;copy "memtest.bin"  to your boot dir /boot usually, not memtest it's ELF exe&lt;br /&gt;edit&lt;br /&gt;/etc/lilo.conf&lt;br /&gt;add this:&lt;br /&gt;&lt;br /&gt;image = /boot/memtest.bin&lt;br /&gt;root=/dev/sda3 # no need&lt;br /&gt;label = Memtest86&lt;br /&gt;&lt;br /&gt;execute from bash like root, to refresh Loader &gt;lilo&lt;br /&gt;&lt;br /&gt;Grub: close to upper.&lt;br /&gt;&lt;br /&gt;reboot choose memtest! And Happy waiting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-7852376458257018270?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/7852376458257018270/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=7852376458257018270' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7852376458257018270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7852376458257018270'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/memtest86-on-64-amd.html' title='memtest86+ on 64 Amd'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5519967841558868175</id><published>2010-05-19T22:29:00.000-07:00</published><updated>2010-05-19T22:36:04.041-07:00</updated><title type='text'>Sata hot add remove</title><content type='html'>Hot Add: redetect for devices on Bus 0, replace host0 with host0-.. for other. It's harmless to try with all ready working devices.&lt;br /&gt;echo "- - -" &gt; /sys/class/scsi_host/host0/scan&lt;br /&gt;&lt;br /&gt;Hot Remove: spin down and disable device. Be careful - it can be Root, or  mounted device.&lt;br /&gt;!!! Some SATA devices are not HOT swap. !!!&lt;br /&gt;echo 1 &gt; /sys/block/sda/device/delete&lt;br /&gt;&lt;br /&gt;From:&lt;br /&gt;http://www.sakana.fr/blog/2009/05/04/linux-sata-hot-plug-unplug/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5519967841558868175?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5519967841558868175/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5519967841558868175' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5519967841558868175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5519967841558868175'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/sata-hot-add-remove.html' title='Sata hot add remove'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5050995099267388310</id><published>2010-05-17T06:52:00.000-07:00</published><updated>2010-05-17T07:04:39.918-07:00</updated><title type='text'>slackware 64 with 32bit support compile trouble</title><content type='html'>1. Pass LDFLAGS to configure, possibly&lt;br /&gt;LDFLAGS='-L/lib64 -L/usr/lib64 -L/usr/X11/lib64 -L/opt/kde/lib64' or&lt;br /&gt;something like that.&lt;br /&gt;&lt;br /&gt;This help mi, compiling libtorrent: LDFLAGS='-L/lib64 -L/usr/lib64' ./configure&lt;br /&gt;&lt;br /&gt;&lt;i&gt;/usr/lib64/../lib/libstdc++.so: could not read symbols: File in wrong &lt;/i&gt;&lt;i&gt;format&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from: http://osdir.com/ml/lfs.clfs.support/2006-07/msg00103.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5050995099267388310?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5050995099267388310/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5050995099267388310' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5050995099267388310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5050995099267388310'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/05/slackware-64-with-32bit-support-compile.html' title='slackware 64 with 32bit support compile trouble'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5837507385077409293</id><published>2010-04-18T08:10:00.000-07:00</published><updated>2010-04-18T08:36:16.801-07:00</updated><title type='text'>stream nc mplayer mencoder</title><content type='html'>Server:&lt;br /&gt;mencoder Movie.avi  -really-quiet -oac copy -ovc lavc -lavcopts vcodec=mpeg4  -o - | nc  -l -p 10000&lt;br /&gt;&lt;br /&gt;Client:&lt;br /&gt;nc lnx.biz.tm  10000 | mplayer -cache 8000 -&lt;br /&gt;&lt;br /&gt;Also:&lt;br /&gt;&lt;br /&gt;Client:&lt;br /&gt;nc -u -l -p &lt;portnum&gt; | mplayer -cache 8000 -&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Server:&lt;br /&gt;Some Player -o - | nc -u &lt;target&gt; &lt;portnum&gt;&lt;br /&gt;&lt;br /&gt;I use first one - it's play very well. For Home use. With current version of Mencoder trafic is ~ 700-2000kbits/sec&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5837507385077409293?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5837507385077409293/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5837507385077409293' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5837507385077409293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5837507385077409293'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2010/04/stream-nc-mplayer-mencoder.html' title='stream nc mplayer mencoder'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-3650799265042889052</id><published>2009-12-11T09:44:00.000-08:00</published><updated>2009-12-11T10:48:45.993-08:00</updated><title type='text'>Bluetooth slackware logitech hidd devices</title><content type='html'>MX5000&lt;br /&gt;1. Unplug USB dongle&lt;br /&gt;2. Press and hold RED BUTTON&lt;br /&gt;3. Plug usb back&lt;br /&gt;&lt;br /&gt;lsusb - on terminal - mus see sometig like that ot without&lt;br /&gt;&lt;br /&gt;Bus 005 Device 007: ID 046d:0b02 Logitech, Inc. BT Mini-Receiver (HID proxy mode)&lt;br /&gt;&lt;br /&gt;edit: "/etc/bluetooth/hcid.conf"&lt;br /&gt;and add:&lt;br /&gt;&lt;br /&gt;device 00:07:61:48:34:A2 {&lt;br /&gt;  name "Logitech MX1000 mouse";&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;and for keyboard too.&lt;br /&gt;00:07:61:48:34:A2 - this is MAC address of Mouse that can be seen with :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit: "/etc/bluetooth/main.conf"&lt;br /&gt;and add:&lt;br /&gt;DisablePlugins = network - for Slackware  may be other distro too&lt;br /&gt;if this not help and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;hcid&lt;/span&gt; not load  delete plugin from:&lt;br /&gt;/usr/lib/bluetooth/plugins/network.so&lt;br /&gt;This problem appears in some version of Bluez. If have some experience with manualy compiling try some versions from this site "http://www.kernel.org/pub/linux/bluetooth/".&lt;br /&gt;&lt;br /&gt;edit: "/etc/rc.d/rc.bluetooth.conf" and&lt;br /&gt;add or change to:&lt;br /&gt;HIDD_ENABLE=true&lt;br /&gt;HIDD_OPTIONS="--master --server" or&lt;br /&gt;"HIDD_OPTIONS="--master --connect 00:07:61:45:AF:A3 --server"" where 00:07:61:45:AF:A3 is MAC of your mouse and keyboard that you add in&lt;br /&gt;"/etc/bluetooth/hcid.conf"&lt;br /&gt;&lt;br /&gt;HID2HCI_ENABLE=true - here is the place to say this way is the same way that Logitech use to connect devices like HIDD one. Simply You control this now, and may use Your Bluetooth dobgle for other devices let say Mobile too.&lt;br /&gt;Other way is when you use :&lt;br /&gt; hid2hci -v046d -pc709 -m logitech - here i not discus this but you can try it.&lt;br /&gt;&lt;br /&gt;restart Bluetooth:&lt;br /&gt;/etc/rc.d/rc.bluetooth restart - for slackware&lt;br /&gt;do - and must see:&lt;br /&gt;ps xa | grep hidd&lt;br /&gt;15443 ?        Ss     0:00 /usr/bin/hidd --master --server&lt;br /&gt;and do the same for "&lt;span style="font-weight: bold;"&gt;hcid&lt;/span&gt;" must see him too&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; after that:&lt;br /&gt;1. hciconfig hci0 up&lt;br /&gt;2. hciconfig hci0 -a&lt;br /&gt;and hcitool scan&lt;br /&gt;3. hidd --search - RED BUTTON on the Mouse and Keyboard must be pressed while do that if you not have 3 hand do it one by one&lt;br /&gt;4. Hold The BUTTON and hidd --connect 00:07:61:45:AF:A3 one boy one for MAuse nad Keyboard&lt;br /&gt;If they are connected and your X is fine use it :).&lt;br /&gt;in Some cases you must restart X or define them in x.org.&lt;br /&gt;for You help use:&lt;br /&gt;udevadm  info -a -p `udevadm info -q path -n /dev/input/eventX` | less&lt;br /&gt;to see devices "eventX" must be replaced.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;After that look at the &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;top and see if hcid eat all your CPU kill it.&lt;/span&gt; In this case you not use it.&lt;br /&gt;&lt;br /&gt;Links:&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=227057&amp;amp;page=2&lt;br /&gt;https://bugs.launchpad.net/ubuntu/+source/bluez-utils/+bug/29506&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=594624&lt;br /&gt;http://ubuntuforums.org/archive/index.php/t-325455.html&lt;br /&gt;http://ubuntuforums.org/showpost.php?p=6284259&amp;amp;postcount=37&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-3650799265042889052?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/3650799265042889052/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=3650799265042889052' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3650799265042889052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/3650799265042889052'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/12/bluetooth-slackware-logitech-hidd.html' title='Bluetooth slackware logitech hidd devices'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5507254020203273691</id><published>2009-09-08T22:41:00.000-07:00</published><updated>2009-09-08T22:43:28.336-07:00</updated><title type='text'>VIM running external commands</title><content type='html'>&lt;h1&gt;From :&lt;a href="http://www.softpanorama.org/Editors/Vimorama/vim_running_external_commands.shtml"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/h1&gt;&lt;h1&gt;&lt;a href="http://www.softpanorama.org/Editors/Vimorama/vim_running_external_commands.shtml"&gt;http://www.softpanorama.org/Editors/Vimorama/vim_running_external_commands.shtml&lt;/a&gt;&lt;br /&gt;&lt;/h1&gt;&lt;h1&gt;&lt;br /&gt;&lt;/h1&gt;&lt;h1&gt;&lt;a href="http://www.softpanorama.org/Editors/Vimorama/vim_running_external_commands.shtml"&gt;VIM running external commands &lt;/a&gt;&lt;/h1&gt; &lt;div align="right"&gt;&lt;br /&gt;&lt;/div&gt; &lt;p&gt;Vim is a powerful editing tool, but there are some things it just can't do. However, Vim lets you access shell commands and utilities without leaving Vim, and that lets you perform some amazing tricks. &lt;/p&gt; &lt;!---google box -------&gt; &lt;div align="left"&gt;&lt;br /&gt;&lt;/div&gt;  &lt;!---end of google box -------&gt; &lt;p&gt;  If you run &lt;code&gt;:shell&lt;/code&gt; or just &lt;code&gt;:sh&lt;/code&gt; while you're in the editor, Vim (or Gvim, if you're partial to Vim's GUI) will place you in an interactive shell. You can run whatever commands you want, and resume your Vim session by exiting the shell. &lt;/p&gt;&lt;p&gt;As most other *nix applications, you can also pause Vim with &lt;code&gt;Ctrl-z&lt;/code&gt;,   which will drop you back to the shell. When you're finished, you can resume   Vim with &lt;code&gt;fg&lt;/code&gt;. (This is a feature of the shell, not a Vim feature.)&lt;/p&gt;  &lt;p&gt;Have you ever started editing a file, made a bunch of changes, and then typed  &lt;code&gt;:w&lt;/code&gt; to write your changes, only to find that the file is read-only? You can deal with that in a couple of ways, but one of the easiest things to do is to invoke a shell from within Vim and change the file's permissions before you save it again.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Bang!&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;Vim also allows you to execute a command directly from the editor, without   needing to drop to a shell, by using  &lt;a href="http://www.eps.mcgill.ca/jargon/jargon.html#bang"&gt;bang&lt;/a&gt; (&lt;code&gt;!&lt;/code&gt;) followed by the command to be run. For instance, if you're editing a file in Vim and want to find out how many words are in the file, run&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:! wc %&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;This tells Vim to run the file (&lt;code&gt;%&lt;/code&gt;) through the &lt;code&gt;wc&lt;/code&gt;   utility and report the results. Vim will display the command output at the bottom   of the editing window until you press &lt;code&gt;Enter&lt;/code&gt;. Note that this command runs the file through the command, and not the contents of the buffer -- so if you haven't saved recently, it won't report your most recent word count.&lt;/p&gt;  &lt;p&gt;Bang works best with non-interactive commands. You wouldn't want to run  &lt;code&gt;top&lt;/code&gt; or another interactive command using &lt;code&gt;:! &lt;em&gt;command&lt;/em&gt;  &lt;/code&gt;, but you could drop to a shell and run such a command with &lt;code&gt;:sh&lt;/code&gt;   or &lt;code&gt;Ctrl-z&lt;/code&gt;.&lt;/p&gt;  &lt;p&gt;The bang command can be useful if you're using Vim for programming. If you're writing a PHP script, for example, you could use PHP's syntax check option (&lt;code&gt;-l&lt;/code&gt;)   to see if your script has any syntax errors:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:! php5 -l %&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;If you're working on a script or project, you might want to check it regularly, and with minimal typing. You can scroll through Vim's command history by using the up arrow, but if you just want to rerun the last external command, you can use &lt;code&gt;:!!&lt;/code&gt; instead.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reading command output&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;Most Vim users are already familiar with using the read command, which inserts text from a specified file into the current buffer, like so:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:r &lt;em&gt;textfile&lt;/em&gt; &lt;/code&gt;&lt;/p&gt;  &lt;p&gt;This is handy, but many users aren't aware that you can also read in the output of shell applications. For example, if you wanted to include a list of files from a specific directory, you could include them using this read command:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:r ! ls -1 /home/user/directory&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;This tells Vim to execute the command &lt;code&gt;ls -1 /home/user/directory&lt;/code&gt; and then redirect the output of that command into the buffer. You could also use this feature to read the text from a Web page into the file that you're editing, using a text-mode browser such as w3m. It's pretty simple to grab a page using w3m and dump it right into your editing session without leaving Vim:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:r ! w3m http://en.wikipedia.org/wiki/Vi -dump&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;The &lt;code&gt;-dump&lt;/code&gt; option tells w3m to simply spit out the Web page as   plain text and exit.&lt;/p&gt;  &lt;p&gt;It's also possible to execute multiple commands to process your text before reading it into Vim. A simple example would be to list the directory contents, then pipe the output to the sort command to sort the filenames in reverse order, before inserting the text into the current buffer:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:r ! ls -1 /home/user/directory | sort -r&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;The read command can also come in handy if you're prepping an incident report from server logs. Let's say you wanted to include all of the errors in an Apache log that include a specific string. You could grep the log and insert the input into your Vim session:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:r ! grep &lt;em&gt;string&lt;/em&gt; /var/log/apache2/site-error.log&lt;/code&gt;  &lt;/p&gt;  &lt;p&gt;Vim makes it easy to redirect the output of most standard *nix utilities into a file, and to pipe text from the file it's editing into standard *nix utilities.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Filtering text through external filters&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;While in Vim, you can select a range of text and run that text through an external command. In visual mode, just highlight the text you want to work with, then run &lt;code&gt;:! &lt;em&gt;commandname&lt;/em&gt; &lt;/code&gt;. The highlighted text will be replaced by the output of the command. Let's say you wanted to use weak encryption on part of a file by running it through the rot13 utility. Use &lt;code&gt;v&lt;/code&gt;,  &lt;code&gt;V&lt;/code&gt;, or &lt;code&gt;Ctrl-v&lt;/code&gt; to enter the visual mode of your choice   and select the text you want to encrypt. Then run &lt;code&gt;:! rot13&lt;/code&gt; to replace the selected text with rot13-encoded text. This might be handy when composing an email containing a spoiler about the latest episode of &lt;em&gt;Battlestar Galactica&lt;/em&gt; for sending to a mailing list. It's trivial for recipients to decode rot13-encoded text, but the folks who don't like spoilers won't have any surprises ruined by skimming over the text.&lt;/p&gt;  &lt;p&gt;You can also specify a range of lines to process, rather than selecting lines in visual mode. For instance, to filter lines 20 through 25 of a file through rot13:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:20,25 ! rot13&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Vim will run the text through rot13 and insert it in place of the existing text. If you accidentally overwrite some text in Vim that you didn't mean to, don't worry -- Vim's undo command (&lt;code&gt;u&lt;/code&gt;) allows you to restore the   original text.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Using a different shell&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;By default, Vim should use your default shell. If you want to make sure that Vim's using your default shell, you can check the value of the shell option by running this query:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;:set shell ?&lt;/code&gt; &lt;/p&gt;  &lt;p&gt;Vim will display &lt;code&gt;shell=/bin/bash&lt;/code&gt;, or whatever the shell is set   to. Note that this works with other options as well, so you can use &lt;code&gt;:set  &lt;em&gt;option&lt;/em&gt; ?&lt;/code&gt; to check the value of any option within Vim.&lt;/p&gt;  &lt;p&gt;If you'd like to change the value of the shell temporarily, run &lt;code&gt;:set   shell=&lt;em&gt;/path/to/shell&lt;/em&gt; &lt;/code&gt;with the correct path to your chosen shell.   For instance, on Ubuntu, if you want to use the Korn shell, you can run  &lt;code&gt;:set shell=/usr/bin/ksh&lt;/code&gt; -- assuming you have the Korn shell installed.&lt;/p&gt;  &lt;p&gt;To make the change of shells permanent, open your ~/.vimrc and add this line:&lt;/p&gt;  &lt;p&gt;&lt;code&gt;set shell=&lt;em&gt;/path/to/shell&lt;/em&gt; &lt;/code&gt;&lt;/p&gt;  &lt;p&gt;The next time you start a Vim session, the new shell option will be set.&lt;/p&gt;  &lt;p&gt;Get in the habit of using Vim's &lt;code&gt;:shell&lt;/code&gt; command and the &lt;code&gt;  :!&lt;/code&gt; utility, and you'll find that you can be even more productive while   using Vim than you might have thought possible.&lt;/p&gt;      &lt;h4&gt;Related Links&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;Last 5 articles by this author:&lt;/strong&gt;&lt;/p&gt;     &lt;ul style="margin-left: 20px; list-style-type: square;"&gt;&lt;li&gt;&lt;a href="http://www.linux.com/archive/feature/118863"&gt;It's time     to retire the mom test&lt;/a&gt;   Sep 08, 2007 &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux.com/archive/feature/118935"&gt;A look at     VMware Fusion&lt;/a&gt;   Sep 06, 2007 &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux.com/archive/feature/118772"&gt;On GNOME's     10th anniversary, de Icaza and Waugh look back, ahead&lt;/a&gt;       Aug 28, 2007 &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux.com/archive/feature/118627"&gt;Sunny forecast     for Linux kernel predictions&lt;/a&gt;   Aug 15, 2007 &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux.com/archive/feature/118583"&gt;Ubuntu tries     to go LoCo in all 50 states&lt;/a&gt;   Aug 14, 2007 &lt;/li&gt;&lt;/ul&gt;          &lt;h3 class="post-title entry-title"&gt;         &lt;a style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html"&gt;         VIM Tip of the Day: running external commands in          a shell&lt;/a&gt; &lt;/h3&gt; A common sequence of events when editing files is to make a change and then need to test by executing the file you edited in a shell. If you're using vim, you could suspend your session (ctrl-Z), and then run the command in your shell. &lt;p&gt;That's a lot of keystrokes, though. &lt;/p&gt;          &lt;p&gt;So, instead, you could use vim's built-in           "run a shell command"! &lt;/p&gt;           &lt;blockquote&gt;           &lt;code&gt;:!{cmd}&lt;/code&gt; Run a shell command, shows you the output and prompts you before returning to your current buffer. &lt;/blockquote&gt;          &lt;p&gt;Even sweeter, is to use the vim special character           for current filename: &lt;code&gt;%&lt;/code&gt; &lt;/p&gt;          &lt;p&gt;Here's '&lt;code&gt;:! %&lt;/code&gt;' is in action!          &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A few more helpful shortcuts related to executing           things in the shell: &lt;/p&gt;          &lt;ul&gt;&lt;li&gt;&lt;code&gt;:!&lt;/code&gt; By itself, runs the            last external command (from your shell history)           &lt;/li&gt;&lt;li&gt;&lt;code&gt;:!!&lt;/code&gt; Repeats the last command           &lt;/li&gt;&lt;li&gt;&lt;code&gt;:silent !{cmd}&lt;/code&gt; Eliminates            the need to hit enter after the command            is done &lt;/li&gt;&lt;li&gt;&lt;code&gt;:r !{cmd}&lt;/code&gt; Puts the output            of $cmd into the current buffer &lt;/li&gt;&lt;/ul&gt;           &lt;p&gt;Selena Deckelmann at           &lt;a class="timestamp-link" title="permanent link" rel="bookmark" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html"&gt;           &lt;abbr class="published" title="2009-03-10T11:09:00-04:00"&gt;           11:09&lt;/abbr&gt;&lt;/a&gt;                      &lt;/p&gt;&lt;h4&gt;6 comments: &lt;/h4&gt;         &lt;dl id="comments-block"&gt;&lt;dt class="comment-author blogger-comment-icon" id="c310744227169933780"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/08761996068479547238"&gt;          depesz&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;you can also use "%!"           to pass current buffer via some filtering command.&lt;br /&gt;       &lt;br /&gt;For example : %!nl - to number lines (different from :set nu), :%!wc to check word count on current buffer, :%!tac to reverse order of lines, and so on.&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236702240000#c310744227169933780"&gt;          March 10, 2009 12:24:00 PM EDT &lt;/a&gt;          &lt;span class="item-control blog-admin pid-1693281963"&gt;          &lt;a title="Delete Comment" style="color: rgb(0, 0, 255);" href="delete-comment.g?blogID=7997313029981170997&amp;amp;postID=310744227169933780"&gt;          &lt;img src="img/icon_delete13.gif" style="border-width: 0pt;" /&gt;          &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;dt class="comment-author blogger-comment-icon" id="c449472366135778039"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/18273388885281263476"&gt;          Jon Jensen&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;Yes, and you can also           send line ranges rather than the whole buffer,           for example, lines 4-7:&lt;br /&gt;       &lt;br /&gt;        :4,7! sort -u&lt;br /&gt;       &lt;br /&gt;        or line 4 through end of file:&lt;br /&gt;       &lt;br /&gt;        :4,$! sort -u&lt;br /&gt;       &lt;br /&gt;        And when a visual selection is active, that           will automatically be the range used:&lt;br /&gt;       &lt;br /&gt;        :! sort -u&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236702660000#c449472366135778039"&gt;          March 10, 2009 12:31:00 PM EDT &lt;/a&gt;          &lt;span class="item-control blog-admin pid-932649491"&gt;          &lt;a title="Delete Comment" style="color: rgb(0, 0, 255);" href="delete-comment.g?blogID=7997313029981170997&amp;amp;postID=449472366135778039"&gt;          &lt;img src="img/icon_delete13.gif" style="border-width: 0pt;" /&gt;          &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;dt class="comment-author blogger-comment-icon" id="c8271419869534498481"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/16327387867756344034"&gt;          Christopher Nehren&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;And in a homologous fashion, one can read the results of an external command by passing the command to run to the :r command like so:&lt;br /&gt;       &lt;br /&gt;        :r !/bin/ls&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236702660001#c8271419869534498481"&gt;          March 10, 2009 12:31:00 PM EDT &lt;/a&gt;          &lt;span class="item-control blog-admin pid-1565289206"&gt;          &lt;a title="Delete Comment" style="color: rgb(0, 0, 255);" href="delete-comment.g?blogID=7997313029981170997&amp;amp;postID=8271419869534498481"&gt;          &lt;img src="img/icon_delete13.gif" style="border-width: 0pt;" /&gt;          &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;dt class="comment-author blogger-comment-icon" id="c7105905995189179822"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/18273388885281263476"&gt;          Jon Jensen&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;Chris, that's the final           example Selena gave in the original post, isn't           it?&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236702780000#c7105905995189179822"&gt;          March 10, 2009 12:33:00 PM EDT &lt;/a&gt;          &lt;span class="item-control blog-admin pid-932649491"&gt;          &lt;a title="Delete Comment" style="color: rgb(0, 0, 255);" href="delete-comment.g?blogID=7997313029981170997&amp;amp;postID=7105905995189179822"&gt;          &lt;img src="img/icon_delete13.gif" style="border-width: 0pt;" /&gt;          &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;dt class="comment-author blogger-comment-icon" id="c2577707661354538659"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/16327387867756344034"&gt;          Christopher Nehren&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;Yes, indeed. I must           have missed that part somehow. Apologies for           the noise.&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236702900000#c2577707661354538659"&gt;          March 10, 2009 12:35:00 PM EDT &lt;/a&gt;          &lt;span class="item-control blog-admin pid-1565289206"&gt;          &lt;a title="Delete Comment" style="color: rgb(0, 0, 255);" href="delete-comment.g?blogID=7997313029981170997&amp;amp;postID=2577707661354538659"&gt;          &lt;img src="img/icon_delete13.gif" style="border-width: 0pt;" /&gt;          &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;dt class="comment-author blogger-comment-icon" id="c51128955421524859"&gt;          &lt;a rel="nofollow" style="color: rgb(0, 0, 255);" href="profile/13787945278069006540"&gt;          Selena Deckelmann&lt;/a&gt; said... &lt;/dt&gt;&lt;dd class="comment-body"&gt;@depesz &amp;amp; Jon: Yes!           Sorting is one of @gorthx's (Gabrielle Roth)           favorite uses :)&lt;br /&gt;       &lt;br /&gt;        Thanks for sharing!&lt;/dd&gt;&lt;dd class="comment-footer"&gt;          &lt;span class="comment-timestamp"&gt;          &lt;a title="comment permalink" style="color: rgb(0, 0, 255);" href="http://blog.endpoint.com/2009/03/vim-tip-of-day-running-external.html?showComment=1236705240000#c51128955421524859"&gt;          March 10, 2009 1:14:00 PM EDT &lt;/a&gt;&lt;/span&gt;          &lt;/dd&gt;&lt;/dl&gt;                                     &lt;p&gt; &lt;/p&gt;  &lt;h2&gt;Old News&lt;/h2&gt;  &lt;h4&gt;&lt;a href="http://www.informit.com/articles/article.aspx?p=339928&amp;amp;seqNum=14"&gt;InformIT  Basic vi Skills for the Linux LPIC Exams Advanced vi&lt;/a&gt;&lt;/h4&gt;  &lt;blockquote&gt;  &lt;p&gt;Several tasks are part of vi that don't fit in any other section. Most of these are quite advanced, such as running external commands, joining lines, and splitting windows. This section covers these in detail.&lt;/p&gt;   &lt;h3&gt;Running External Commands in vi&lt;/h3&gt;  &lt;p&gt;A frequent question on the exams is how to run an external command inside  &lt;tt&gt;vi&lt;/tt&gt;, such as seeing an &lt;tt&gt;ls –l&lt;/tt&gt; listing of the current directory   so you can remember a filename:&lt;/p&gt;  &lt;pre&gt;:! ls –l&lt;/pre&gt;  &lt;p&gt;In this, the command &lt;tt&gt;ls –l&lt;/tt&gt; executes, with the command's output displaying onscreen, and you need only press Enter or enter a command to return to the vi session. If the output scrolls more than one screen, it's piped to the &lt;tt&gt;more&lt;/tt&gt; command and all the normal movement keystrokes will apply.&lt;/p&gt;   &lt;h3&gt;Joining Lines&lt;/h3&gt;  &lt;p&gt;It's quite irritating in vi to be at the front of a line and want to use the Backspace key to move that line to the end of the previous line. The Backspace key works only on the current line. If you need a line to be joined to the previous line, you can position the cursor in either line and press Shift+J to cause the second to be appended to the end of the first line. &lt;/p&gt;  &lt;p&gt;Say you have a file named &lt;tt&gt;file1&lt;/tt&gt; that contains the following text:&lt;/p&gt;  &lt;pre&gt;This is line 1&lt;br /&gt;This is a longer line 2&lt;br /&gt;This is an even longer line 3&lt;/pre&gt;  &lt;p&gt;You want to join line 1 and line 2, so you position your cursor somewhere   on line 1 and press the &lt;tt&gt;J&lt;/tt&gt; key. The file then looks like the following:&lt;/p&gt;  &lt;pre&gt;This is line 1 This is a longer line 2&lt;br /&gt;This is an even longer line 3&lt;/pre&gt;  &lt;p&gt;Putting the cursor on line 2 and pressing &lt;tt&gt;J&lt;/tt&gt; joins line 2 and line   3 in a similar fashion.&lt;/p&gt;   &lt;h3&gt;Split Windows&lt;/h3&gt;  &lt;p&gt;Last, but not least, is splitting windows in &lt;tt&gt;vi&lt;/tt&gt;, specifically the  &lt;tt&gt;vim&lt;/tt&gt; version of &lt;tt&gt;vi&lt;/tt&gt;. When you're editing a particular file and want to see either another section of that same file or even another file altogether, you can use the following:&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;tt&gt;:split&lt;/tt&gt;—This splits the window horizontally, with the same file    and lines shown in both windows.&lt;/li&gt;&lt;li&gt;&lt;tt&gt;:vsplit&lt;/tt&gt;—This splits the window on the same file vertically,    with the same document shown in both the left and right panes.&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;Moving between the panes is somewhat counterintuitive because you must press   Ctrl+W twice to move between the windows.&lt;/p&gt;  &lt;p&gt;To edit a completely different file, you should edit the first one in vi; then to split the screen horizontally with the other file loaded in the second pane, you can enter&lt;/p&gt;  &lt;pre&gt;:split file2&lt;/pre&gt;  &lt;p&gt;To set the height of the newly split window from the split, you could enter   the following:&lt;/p&gt;  &lt;pre&gt;:10split /etc/fstab&lt;/pre&gt;  &lt;p&gt;This command splits the top 10 lines of the screen and displays the contents   of the &lt;tt&gt;/etc/fstab&lt;/tt&gt; file therein.&lt;/p&gt;  &lt;p&gt;If you wanted to close the split window, you would focus on it by pressing   Ctrl+W and then entering&lt;/p&gt;  &lt;pre&gt;:close&lt;/pre&gt;  &lt;p&gt;Better yet, after comparing something or getting a filename straight, you can close all the other split windows and just have the current window open by entering the following:&lt;/p&gt;  &lt;pre&gt;:only&lt;/pre&gt;     &lt;p class="normaltitle"&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;   &lt;p&gt;Many times I've opened a couple of split windows to see the difference    between two files or used the &lt;b&gt;diff&lt;/b&gt; command. The easiest way to compare    two files and make edits to them is to use the &lt;b&gt;vimdiff&lt;/b&gt; command, such    as&lt;/p&gt;   &lt;pre&gt;&lt;b&gt;:vimdiff file1 file2&lt;/b&gt;&lt;/pre&gt;   &lt;p&gt;This loads the two files into a vertically split &lt;b&gt;vim&lt;/b&gt; session and uses color and other symbols to show you what is similar or different between the two files. This is useful for comparing a log file before and after a problem or two configuration files to see why one doesn't work.&lt;/p&gt;   &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5507254020203273691?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5507254020203273691/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5507254020203273691' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5507254020203273691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5507254020203273691'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/09/vim-running-external-commands.html' title='VIM running external commands'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-2691014200961838036</id><published>2009-06-21T02:07:00.001-07:00</published><updated>2009-06-24T02:37:45.538-07:00</updated><title type='text'>ati 9.6 kernel 2.6.30 testing</title><content type='html'>Success:&lt;br /&gt;&lt;br /&gt;Upgrade X to current&lt;br /&gt;See the picture and make changes, recompile kernel...&lt;br /&gt;http://forum.ubuntu.org.cn/download/file.php?id=29624&amp;amp;mode=view/Screenshot-4.png&lt;br /&gt;make menuconfig&lt;br /&gt;...&lt;br /&gt;Patch from here:&lt;br /&gt;http://forum.ubuntu.org.cn/viewtopic.php?f=42&amp;amp;p=1329973&lt;br /&gt;http://forum.ubuntu.org.cn/download/file.php?id=68780&amp;amp;sid=3b5c9a64a3d77c9f34a47330b7654885&lt;br /&gt;I think any patch will do thing...  for 2.6.30 or 2.6.29&lt;br /&gt;&lt;br /&gt;This may need too:&lt;br /&gt;patches from: http://bugs.gentoo.org/show_bug.cgi?id=266819&lt;br /&gt;config_x86_32.patch&lt;br /&gt;&lt;br /&gt;./ati-installer.sh 8.62 --buildpkg Slackware/All&lt;br /&gt;&lt;br /&gt;go to:  common/lib/modules/fglrx/build_mod/&lt;br /&gt;copy fglrx.ko on hand to /lib/modules/2.6.30/external/&lt;br /&gt;depmod -a&lt;br /&gt;try load it.&lt;br /&gt;&lt;br /&gt;In&lt;br /&gt;cd packages/Slackware/x_pkg/&lt;br /&gt;You must have all files need to copy in /usr/lib/ and /etc/ati ... it is full path tree just copy&lt;br /&gt;- watch for module dir it will not copy because is link ot missing in Slack!&lt;br /&gt;- just copy -r modules/* /usr/lib/xorg/modules/&lt;br /&gt;see that all is copied right.&lt;br /&gt;&lt;br /&gt;try to start X&lt;br /&gt;&lt;br /&gt;"[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!&lt;3&gt;[fglrx:drm_vm_close] *ERROR* map not found -&gt; inconsistent kernel data!!! vma_start:0xb5b01000,handle:0xd0000000"&lt;br /&gt;This will stay on dmesg but GL will work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OLD:&lt;br /&gt;Not working after startX and try openg X crash...&lt;br /&gt;&lt;br /&gt;Reading long howto compile 9-6 Ati driver wth 2.6.30 i do this mess, that succeed for my only:&lt;br /&gt;&lt;br /&gt;patches from: http://bugs.gentoo.org/show_bug.cgi?id=266819&lt;br /&gt;config_x86_32.patch&lt;br /&gt;flush_tlb_page-94.patch&lt;br /&gt;&lt;br /&gt;from ARCH linux page: http://dev.archlinux.org/~eduardo/pkgs/&lt;br /&gt;2.6.30.diff&lt;br /&gt;&lt;a href="http://dev.archlinux.org/%7Eeduardo/pkgs/kernel26/fglrx.diff"&gt;fglrx.diff&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cd /usr/src/ati/;rm -r 9.6; sh ati-driver-installer-9-6-x86.x86_64.run --extract 9.6; cd /usr/src/ati/9.6&lt;br /&gt;patch -p0 &lt; ../config_x86_32.patch&lt;br /&gt;patch -p0 &lt; ../flush_tlb_page-94.patch&lt;br /&gt;&lt;br /&gt;cd common/lib/modules/fglrx/build_mod&lt;br /&gt;patch -p0  &lt; /usr/src/ati/2.6.30.diff&lt;br /&gt;cp 2.6.x/Makefile .&lt;br /&gt;cp ../../../../../arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 .&lt;br /&gt;make -C /lib/modules/2.6.30/build SUBDIRS="`pwd`" ARCH=i386 modules&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-2691014200961838036?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/2691014200961838036/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=2691014200961838036' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2691014200961838036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2691014200961838036'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/06/ati-96-kernel-2630-testing.html' title='ati 9.6 kernel 2.6.30 testing'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-7399877095731001726</id><published>2009-06-14T09:01:00.000-07:00</published><updated>2009-06-14T09:05:44.548-07:00</updated><title type='text'>sendmail dspam</title><content type='html'>wget http://download.softpedia.ro/dl/c0f5caa13850ef0c849d535a2934cbc4/4a327a61/500005125/linux/dspam-3.8.0.tar.gz&lt;br /&gt;Sorry GIT is more comftable late i will get him. now wget is simple.&lt;br /&gt;&lt;br /&gt;dspam install - like in: http://dspamwiki.expass.de/Installation/Sendmail&lt;br /&gt;&lt;br /&gt;after that change : chmod 2777 /vard/spam&lt;br /&gt;dsapm works perfect wit little addon's.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-7399877095731001726?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/7399877095731001726/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=7399877095731001726' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7399877095731001726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7399877095731001726'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/06/sendmail-dspam.html' title='sendmail dspam'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-4576925689656756238</id><published>2009-05-17T00:43:00.000-07:00</published><updated>2009-05-17T00:53:22.489-07:00</updated><title type='text'>Slackware Upgrade to txz package's use</title><content type='html'>download from any mirror from  current in "a" are left .tgz packages that is neded:&lt;br /&gt;&lt;br /&gt;I use this mirror "http://mirrors.unixsol.org/slackware/slackware-current/slackware/a/"&lt;br /&gt;Step by step - it is important to maintain this steps,&lt;br /&gt;&lt;br /&gt; upgradepkg slackware/ap/slackpkg-2.71.2-noarch-1.tgz - custum&lt;br /&gt; upgradepkg --install-new slackware/a/xz-4.999.8beta-i486-1.tgz&lt;br /&gt; upgradepkg --install-new slackware/a/gzip-1.3.12-i486-1.tgz&lt;br /&gt; upgradepkg --install-new slackware/a/tar-1.22-i486-2.tgz&lt;br /&gt; upgradepkg --install-new slackware/a/pkgtools-12.34567890-noarch-5.tgz&lt;br /&gt;&lt;br /&gt;That s all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-4576925689656756238?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/4576925689656756238/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=4576925689656756238' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4576925689656756238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4576925689656756238'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/05/slackware-upgrade-to-txz-packages-use.html' title='Slackware Upgrade to txz package&apos;s use'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6300572365127023915</id><published>2009-03-30T00:02:00.000-07:00</published><updated>2009-03-30T00:24:12.726-07:00</updated><title type='text'>2.6.29 no init found short</title><content type='html'>For my this was new function in kernel:&lt;br /&gt;&lt;br /&gt;Security option-&gt;Root Plug Support-&gt;Disable&lt;br /&gt;&lt;br /&gt;make&lt;br /&gt;...&lt;br /&gt;And all was OK&lt;br /&gt;&lt;br /&gt;Now ATI 4870 wait for new  drivers&lt;br /&gt;ATI are fast now 9.3 was Out  - no luck 2.6.29 incompatible !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-6300572365127023915?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6300572365127023915/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6300572365127023915' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6300572365127023915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6300572365127023915'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/03/2629-no-init-found-short.html' title='2.6.29 no init found short'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-4855310989013428790</id><published>2009-02-28T06:11:00.000-08:00</published><updated>2009-03-03T01:45:00.799-08:00</updated><title type='text'>KDE4 - GTK Font Fix Error was: "Gtk-WARNING **: Default font does not have a positive size"</title><content type='html'>Simply:&lt;br /&gt;&lt;br /&gt;Must have: "Control the style and fonts used by GTK applications" in other words this: "gtk-kde4" - 74689-gtk-kde4v0.8.tar.gz&lt;br /&gt;&lt;br /&gt;killall xfce-mcs-manager&lt;br /&gt;killall gnome-settings-daemon&lt;br /&gt;&lt;br /&gt;System Properties - System Panel - Fonts -&gt; Choose Some Fonts NOW!. - &lt;span style="font-weight: bold;"&gt;important.&lt;/span&gt;&lt;br /&gt;System Properties - System Panel - Use my KDE style in GTK  Applications and Use my KDE Fonts&lt;br /&gt;Can try different things.&lt;br /&gt;RESTART APP.&lt;br /&gt;If not help Repeat First step and restart again.&lt;br /&gt;&lt;br /&gt;Cant use this for fine control: "gtk-chtheme"&lt;br /&gt;Restart GTK app.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-4855310989013428790?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/4855310989013428790/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=4855310989013428790' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4855310989013428790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4855310989013428790'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/02/kde4-gtk-font-fix-error-was-gtk-warning.html' title='KDE4 - GTK Font Fix Error was: &quot;Gtk-WARNING **: Default font does not have a positive size&quot;'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-4912382241581304561</id><published>2009-02-15T06:28:00.000-08:00</published><updated>2009-02-22T22:48:16.242-08:00</updated><title type='text'>acpi acpid and power menagement Slackware</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Unfinished but if Power management troubles You it works now!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling# - Read This&lt;br /&gt;&lt;br /&gt;If hardly want to Read&lt;br /&gt;http://www.acpica.org/downloads/index.php&lt;br /&gt;http://www.lesswatts.org/projects/acpi/faq.php - can read it but it seems old&lt;br /&gt;&lt;br /&gt;In kernel src&lt;br /&gt;make menuconfig&lt;br /&gt;Power management select all acpi options even is marked as depreciated&lt;br /&gt;&lt;br /&gt;recompile restart with new kernel&lt;br /&gt;&lt;br /&gt;acpid must be happy and started if not look at /etc/rc.d/rc.acpid and make it  runnable +x&lt;br /&gt;&lt;br /&gt;get "speedfreq" and compile&lt;br /&gt;&lt;br /&gt;See the source below load all acpi modules&lt;br /&gt;"speedstep_lib           6212  0                        &lt;br /&gt;acpi_cpufreq            9676  0                        &lt;br /&gt;cpufreq_userspace       3716  1                        &lt;br /&gt;cpufreq_stats           4996  0                        &lt;br /&gt;cpufreq_powersave       1792  0                        &lt;br /&gt;cpufreq_ondemand        6988  0                        &lt;br /&gt;freq_table              5376  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand&lt;br /&gt;cpufreq_conservative     6088  0                                        &lt;br /&gt;wmi                     6568  0                                         &lt;br /&gt;video                  16848  0                                         &lt;br /&gt;output                  2880  1 video                                   &lt;br /&gt;rfkill                 10828  0                                         &lt;br /&gt;input_polldev           3848  0                                         &lt;br /&gt;sbs                    10568  0                                         &lt;br /&gt;sbshc                   5312  1 sbs                                     &lt;br /&gt;pci_slot                4488  0                                         &lt;br /&gt;fan                     4356  0                                         &lt;br /&gt;container               3392  0                                         &lt;br /&gt;battery                10052  0                                         &lt;br /&gt;ac "&lt;br /&gt;This is what i load more of them are not need!&lt;br /&gt;&lt;br /&gt;Here is mine bash function src :&lt;br /&gt;&lt;br /&gt;### ACPI CPU&lt;br /&gt;function acpi_cpu {&lt;br /&gt;&lt;br /&gt;# ACPI &amp;amp; CPU modules&lt;br /&gt;#&lt;br /&gt;modules=`ls -q /lib/modules/2.6.28/kernel/drivers/acpi/; \&lt;br /&gt;ls -q /lib/modules/2.6.28/kernel/drivers/cpufreq/; \&lt;br /&gt;      ls -q /lib/modules/2.6.28/kernel/arch/x86/kernel/cpu/cpufreq/;`;&lt;br /&gt;for i in $modules; do&lt;br /&gt;      modprobe $(echo "$i"|cut -d"." -f 1);&lt;br /&gt;done;&lt;br /&gt;[ -x /usr/sbin/speedfreqd ] || { echo "/usr/sbin/speedfreqd - not found, exiting "; return; }&lt;br /&gt;### [ "$?" -eq 0 ] &amp;amp;&amp;amp; success $"$base startup" || failure $"$base startup"&lt;br /&gt;speedfreqd -u # -u user can mod&lt;br /&gt;&lt;br /&gt;echo "$? ACPI CPU FREQ Modules loaded. SpeedFreq Started";&lt;br /&gt;&lt;br /&gt;} ### ACPI CPU END&lt;br /&gt;&lt;br /&gt;P.S&gt;&lt;br /&gt;cpufreq - is not recommended yet - after start crash.&lt;br /&gt;&lt;br /&gt;On most motherboards APM not work with Dual Core and etc processors if work he disable one of the cores!&lt;br /&gt;&lt;br /&gt;see that file: /etc/acpi/acpi_handler.sh - it is ACPID  default action you can change and add some functionalities.&lt;br /&gt;&lt;br /&gt;And Now power button must PowerOff your computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-4912382241581304561?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/4912382241581304561/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=4912382241581304561' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4912382241581304561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4912382241581304561'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/02/acpi-acpid-and-power-menagement.html' title='acpi acpid and power menagement Slackware'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-9150363770977183234</id><published>2009-02-01T02:34:00.000-08:00</published><updated>2009-02-01T03:22:41.656-08:00</updated><title type='text'>hunspell howto</title><content type='html'>install firefox ext dict for Your country or get dict's&lt;br /&gt;find dict's.&lt;br /&gt;in dir like "/home/YOURHOME/.mozilla/firefox/w8yjrjmg.default/extensions/bg-BG@dictionaries.addons.mozilla.org/dictionaries/"&lt;br /&gt;&lt;br /&gt;become root and&lt;br /&gt;copy *.aff .dic to -&gt; /usr/share/myspell/dicts/&lt;br /&gt;that's all&lt;br /&gt;&lt;br /&gt;if see "error - iconv_open: UTF-8 -&gt; microsoft-cp1251" after start hunspell!!!&lt;br /&gt;&lt;br /&gt;change bg_BG.aff first line to something appropriate for iconv.&lt;br /&gt;in my case:&lt;br /&gt;SET windows-1251 - work fine&lt;br /&gt;SET microsoft-cp1251 - don't work&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-9150363770977183234?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/9150363770977183234/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=9150363770977183234' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/9150363770977183234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/9150363770977183234'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/02/hunspell-howto.html' title='hunspell howto'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-2972998480465768340</id><published>2009-02-01T00:20:00.000-08:00</published><updated>2009-02-01T00:21:01.435-08:00</updated><title type='text'>Favorite MS Show by USA High Court</title><content type='html'>Main actor Bill Gates - defend IE&lt;br /&gt;&lt;br /&gt;http://www.youtube.com/watch?v=0qNVe024RvI&amp;amp;feature=PlayList&amp;amp;p=A85534C3A9F65EC2&amp;amp;playnext=1&amp;amp;index=10&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-2972998480465768340?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/2972998480465768340/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=2972998480465768340' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2972998480465768340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/2972998480465768340'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/02/favorite-ms-show-by-usa-high-court.html' title='Favorite MS Show by USA High Court'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-7584903935799332223</id><published>2009-01-27T22:45:00.000-08:00</published><updated>2009-02-27T01:35:33.676-08:00</updated><title type='text'>KDE4 Desktop Effects ATI Video</title><content type='html'>4830 ATI&lt;br /&gt;KDE4 Desktop effect or Fusion&lt;br /&gt;only not use Vsync  Mplayer and TVTime blinks if on&lt;br /&gt;Crash with tvtime !!! Not fixed in 9.2&lt;br /&gt;Runs very well&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-7584903935799332223?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/7584903935799332223/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=7584903935799332223' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7584903935799332223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/7584903935799332223'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/01/kde4-desktop-effects-ati-video.html' title='KDE4 Desktop Effects ATI Video'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6025872880467639268</id><published>2009-01-03T03:56:00.000-08:00</published><updated>2009-01-03T03:58:41.534-08:00</updated><title type='text'>cannot execute /bin/bash: Permission Denied</title><content type='html'>After recent update from current.&lt;br /&gt;when try to login as ordinary user&lt;br /&gt;i see this ERROR&lt;br /&gt;"cannot execute /bin/bash: Permission Denied"&lt;br /&gt;&lt;br /&gt;easy with help from :  http://linuxgazette.net/issue52/okopnik.html&lt;br /&gt;&lt;br /&gt;find /lib -type f -perm 700 | while read i; do chmod 755 "$i"; done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-6025872880467639268?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6025872880467639268/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6025872880467639268' title='1 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6025872880467639268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6025872880467639268'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/01/cannot-execute-binbash-permission.html' title='cannot execute /bin/bash: Permission Denied'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-1795229046388392512</id><published>2009-01-03T01:35:00.000-08:00</published><updated>2009-02-27T01:34:17.032-08:00</updated><title type='text'>startup hang stop at: Using /etc/random-seed to initialize /dev/urandom.</title><content type='html'>All was about:&lt;br /&gt;rc.udev&lt;br /&gt;After recent update, in /etc/rc.d  has two files rc.udev and rc.udev.new&lt;br /&gt;On hand You must replace old with .new&lt;br /&gt;Use Live CD or what ever to mount root&lt;br /&gt;go to /etc/rc.d&lt;br /&gt;mv rc.udev.new rc.udev&lt;br /&gt;&lt;br /&gt;Do it the same for rest .new files be careful&lt;br /&gt;some of them can contain your changes or personal information like password and shadow, and must not be replaced!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-1795229046388392512?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/1795229046388392512/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=1795229046388392512' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/1795229046388392512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/1795229046388392512'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2009/01/startup-hang-stop-at-using-etcrandom.html' title='startup hang stop at: Using /etc/random-seed to initialize /dev/urandom.'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-901366080976523345</id><published>2008-12-31T01:04:00.000-08:00</published><updated>2009-02-27T03:58:10.459-08:00</updated><title type='text'>ATI Drivers Slackware</title><content type='html'>Download drv from ATI AMD page&lt;br /&gt;&lt;br /&gt;untar&lt;br /&gt;NAME --extract NewDirectory&lt;br /&gt;&lt;br /&gt;get Patch:&lt;br /&gt;ati_to_gpl.patch&lt;br /&gt;from: ???&lt;br /&gt;" Source of patch&lt;br /&gt;#!/bin/sh&lt;br /&gt;sed -i /MODULE_LICENSE\(/'s/".*"/"GPL"/' firegl_public.c&lt;br /&gt;"&lt;br /&gt;go to :&lt;br /&gt;./NewDirectory/common/lib/modules/fglrx/build_mod/&lt;br /&gt;!apply patch here!&lt;br /&gt;&lt;br /&gt;Go to New Directory&lt;br /&gt;ati-installer.sh 8.11 Slackware/All&lt;br /&gt;! 8.11 - is driver version&lt;br /&gt;in parent directory will be created two packages:&lt;br /&gt;fglrx-module-8.552-x86-1_kernel_2.6.28.tgz&lt;br /&gt;fglrx-x710-8.552-x86-1.tgz&lt;br /&gt;&lt;br /&gt;upgradepkg --install-new ... # for them&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;!!! IF use once driver and change kernel Version DELETE this directory and extract again, because of internal links that is created to old kernel!!!&lt;br /&gt;&lt;br /&gt;If fglrx apps crash with drivers 9.2 version need to check old files position and delete by hand old ati libs. Usually in /usr/lib/xorg/*/* and links too. /usr/lib/.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-901366080976523345?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/901366080976523345/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=901366080976523345' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/901366080976523345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/901366080976523345'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/ati-drivers-slackware.html' title='ATI Drivers Slackware'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5915938290471545522</id><published>2008-12-15T02:11:00.000-08:00</published><updated>2008-12-20T03:52:46.324-08:00</updated><title type='text'>simple rsync with ssh rsyncd.conf</title><content type='html'>&lt;pre&gt;&lt;i&gt;Right synt is:&lt;br /&gt;&lt;br /&gt;rsync -av --rsh="ssh" *.* &lt;a href="https://lists.samba.org/mailman/listinfo/rsync"&gt;sshuser at host.com&lt;/a&gt;:/full_path&lt;br /&gt;&lt;br /&gt;--safe-links - do not follow links otside copied tree&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/etc/rsyncd.conf:&lt;br /&gt;motd file = /etc/motd&lt;br /&gt;max connections = 25&lt;br /&gt;syslog facility = local3&lt;br /&gt;&lt;br /&gt;# rsync -a rbm.myftp.org::backup /root/routers/backups/rbm/ &gt;/dev/null 2&gt;&amp;amp;1&lt;br /&gt;# RSYNC_PASSWORD=userpass rsync -a user@host.mine.com::backup /local dir/&lt;br /&gt;&lt;br /&gt;[backup]&lt;br /&gt;     comment = Backup area&lt;br /&gt;     path = /backup&lt;br /&gt;     read only = yes&lt;br /&gt;     list = yes&lt;br /&gt;     uid = nobody&lt;br /&gt;     gid = nobody&lt;br /&gt;     auth users = user&lt;br /&gt;     secrets file = /etc/rsyncd.secrets&lt;br /&gt;&lt;br /&gt;/etc/rsyncd.secret&lt;br /&gt;user:userpass&lt;br /&gt;&lt;br /&gt;It's important:&lt;br /&gt;chmod 600 /etc/rsyncd.secrets&lt;br /&gt;&lt;/i&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5915938290471545522?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5915938290471545522/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5915938290471545522' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5915938290471545522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5915938290471545522'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/simple-rsync-with-ssh.html' title='simple rsync with ssh rsyncd.conf'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-1684909534059739229</id><published>2008-12-15T00:11:00.000-08:00</published><updated>2008-12-18T00:15:12.353-08:00</updated><title type='text'>KDE4 some short notes</title><content type='html'>1. When start new X App:&lt;br /&gt;&lt;br /&gt;"Maximum number of clients reached"&lt;br /&gt;&lt;br /&gt;Read by my lips carefully:&lt;br /&gt;/etc/rc.d/rc.messagebus stop - for slack rc.dbus&lt;br /&gt;/etc/rc.d/rc.hald stop&lt;br /&gt;rm /var/run/dbus/system_bus_socket&lt;br /&gt;/etc/rc.d/rc.messagebus start&lt;br /&gt;/etc/rc.d/rc.hald start&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If under KDE or X env must restart &lt;/span&gt;them some future is broken because dbus-daemon socket change ???&lt;br /&gt;try:&lt;br /&gt;lshal&lt;br /&gt;dbus-monitor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;skype - Stupid Pyhon&lt;br /&gt;ps ax | grep python&lt;br /&gt;No need to kill will end alone when see that is not an loptop if it is not:&lt;br /&gt;4177 ?        S      0:00 /usr/bin/python /usr/bin/guidance-power-manager&lt;br /&gt;kill 4177 - change PID&lt;br /&gt;&lt;br /&gt;And  all will be ok&lt;br /&gt;&lt;br /&gt;2. Your USB keyboard is repeat pressed key very often and unnecessarily  - my Logitech mx5000 have this problem and many other...&lt;br /&gt;&lt;br /&gt;Go in System Settings - Keyboard - Enable Keyboard repeat - Disable or change Delay to Higher Value.&lt;br /&gt;&lt;br /&gt;3. For GTK app use: lxappearance  - to change Theme, Icons, fonts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-1684909534059739229?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/1684909534059739229/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=1684909534059739229' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/1684909534059739229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/1684909534059739229'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/kde4-some-short-notes.html' title='KDE4 some short notes'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6065604875177101675</id><published>2008-12-14T23:51:00.000-08:00</published><updated>2009-01-02T12:36:20.330-08:00</updated><title type='text'>slackware mkinitrd</title><content type='html'>mkinitrd - no big deal&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;!!! All options must be supplied, because mkinitrd change on the fly when create initrd image !!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;mkinitrd - first time to create tree&lt;br /&gt;&lt;br /&gt;mkinitrd -c -L -f ext3 -r /dev/mapper/Sea1t-root -k 2.6.27  -k 2.6.27 -m ext3 - for My with LVM2&lt;br /&gt;&lt;br /&gt;-c - remove old initrd&lt;br /&gt;-L - LVM support - copy some LVM commands&lt;br /&gt;-f - type of Root FS - look carefully for EXT3 some times mkfs do not create journal must be made on hand tune2fs -j /dev/... . This will brooke initrd if it's for root or other auto mount part.&lt;br /&gt;-r - which part to use for rootfs &lt;span style="font-weight: bold;"&gt;only /dev/mapper/...&lt;/span&gt; is right&lt;br /&gt;-k - load modules from /lib/modules/supplied by You argument  - VERSION HERE/... &lt;span style="font-weight: bold;"&gt;!!! - if not supplied&lt;br /&gt;&lt;/span&gt;&lt;span&gt;-m - initrd try to load modules&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;mkinitrd get 'uname -r' which is wrong in most cases !!!&lt;br /&gt;&lt;br /&gt;OPTIOPNS:&lt;br /&gt;1. cat initrd /init to see for changes:&lt;br /&gt;mount -o ro /dev/' Your root' /mnt&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;This will boot Your System in not very proper way if something is wrong with initrd, and you stuck in prompt inside initrd.&lt;br /&gt;&lt;br /&gt;2. initrd - can be chaged ot Fly with boot Live CD.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;-See Blog for - Grub install&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span&gt;and&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;- use:&lt;br /&gt;mkdir 'some dir'&lt;br /&gt;cd 'some dir'&lt;br /&gt;gzip 'initrd image.gz'&lt;br /&gt;cpio -id &lt; 'initrd image'&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;This will &lt;/span&gt;&lt;span&gt;unshrink image, edit&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;!!! mkinitrd ... with all options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;!!! After many try i figured out that SELinux troubling boot with:&lt;br /&gt;these Errors : &lt;br /&gt;&lt;/span&gt;&lt;h1&gt;"Can't execute /bin/init"&lt;/h1&gt;&lt;br /&gt;&lt;h1&gt;"linux failed to execute /init"&lt;/h1&gt;&lt;br /&gt;&lt;h1&gt;"No init found"&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;and some strange errors like module for fs of main partitition isn't compiled in kernel.&lt;br /&gt;!!!&lt;br /&gt;DISABLE : Security options -&gt; Enable different security models - or try SELinux :)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-6065604875177101675?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6065604875177101675/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6065604875177101675' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6065604875177101675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6065604875177101675'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/slackware-mkinitrd.html' title='slackware mkinitrd'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5534847449558261317</id><published>2008-12-14T22:49:00.000-08:00</published><updated>2008-12-22T02:59:19.627-08:00</updated><title type='text'>grub install</title><content type='html'>Инсталиране на груб - проблемни ситуации&lt;br /&gt;&lt;br /&gt;If get  "Grub Hard Disk Error"  most times problem is&lt;br /&gt;&lt;br /&gt;From - info grub - Native install&lt;br /&gt;&lt;br /&gt;in command prompt start: Personaly i use SLAX Live CD&lt;br /&gt;- boot&lt;br /&gt;- mount root part somewhere&lt;br /&gt;- "chroot"&lt;br /&gt;- mount all include boot if use separated part.&lt;br /&gt;after that install grub:&lt;br /&gt;&lt;br /&gt;grub&lt;br /&gt;&lt;br /&gt;root (hd0,0) - for disk 0, part 1&lt;br /&gt;find /boot/grub/stage1 - this not only show part with grub but get new PATH for GRUB ROOT with menu stages and etc...&lt;br /&gt;setup (hd0) - This command will install the GRUB boot loader on the Master Boot&lt;br /&gt;or&lt;br /&gt;setup (hd0,0) - If you install GRUB into a partition or a drive other than the first one, you must chain-load GRUB from another boot loader. Refer to the manual for the boot loader to know how to chain-load GRUB.&lt;br /&gt;&lt;br /&gt;P.S.&lt;br /&gt;http://grub.enbug.org/LVMandRAID&lt;br /&gt;GRUB has support for LVM and RAID since version 1.95&lt;br /&gt;&lt;pre&gt;insmod lvm&lt;br /&gt;insmod raid&lt;br /&gt;grub-mkimage --output=/boot/grub/core.img ext2 pc gpt biosdisk lvm&lt;br /&gt;&lt;br /&gt;LILO support boot from LVM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5534847449558261317?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5534847449558261317/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5534847449558261317' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5534847449558261317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5534847449558261317'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/grub-install.html' title='grub install'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-4428033593706626111</id><published>2008-12-08T22:38:00.000-08:00</published><updated>2008-12-08T22:40:38.018-08:00</updated><title type='text'>Test HTTPS https</title><content type='html'>&lt;pre&gt;Test HTTPS&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;openssl s_client -no_tls1 -no_ssl3 -connect www.google.com:443&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.owasp.org/index.php/Testing_for_SSL-TLS&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-4428033593706626111?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/4428033593706626111/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=4428033593706626111' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4428033593706626111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/4428033593706626111'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/test-https-https.html' title='Test HTTPS https'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6104067406695174657</id><published>2008-12-07T00:48:00.000-08:00</published><updated>2008-12-07T00:50:57.346-08:00</updated><title type='text'>mplayer HD video on smaller screen no lag play without problems</title><content type='html'>- get latest svn&lt;br /&gt;- recompile&lt;br /&gt;This is close to 20G HD Movie&lt;br /&gt;&lt;br /&gt;mplayer /mnt/hd/1/Troy.DC.2004.HDDVD.1080p.DTS.x264.dxva-EuReKa/3.\ Movie/Troy.DC.2004.HDDVD.1080p.DTS.x264.dxva-EuReKa.mkv -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all&lt;br /&gt;&lt;br /&gt;-vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all&lt;br /&gt;&lt;br /&gt;- some body of MPLayer TEAM made it show.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-6104067406695174657?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6104067406695174657/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6104067406695174657' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6104067406695174657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6104067406695174657'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/mplayer-hd-video-on-smaller-screen-no.html' title='mplayer HD video on smaller screen no lag play without problems'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-6250751304971430079</id><published>2008-12-02T00:17:00.000-08:00</published><updated>2008-12-06T04:49:48.564-08:00</updated><title type='text'>VI help</title><content type='html'>%s/foo/bar/g  go through all the file and replace foo by bar&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:12,20s/foo/bar/  from line 12 to 20 replace foo for bar&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:s/foo/bar/g  in the current line replace foo for bar  the g after the last / means to replace all the occurrences of foo vby bar and not only the first one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The one I find really useful is&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;.,+20s/foo/bar/g&lt;br /&gt;&lt;br /&gt;Replace all occurrences in the next 20 lines from the current line only. Great when your editing code and you've realised you used the wrong variable name in that method for example.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;^V for block select&lt;/li&gt;&lt;li&gt;Select the lines you want (10j for the next 10 lines)&lt;/li&gt;&lt;li&gt;I for insert mode&lt;/li&gt;&lt;li&gt;Type the # or whatever you want to prefix&lt;/li&gt;&lt;li&gt;&lt;esc&gt;&lt;/esc&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Use visual mode (shift-v) to highlight lines, then shell out to external programs to filter them, such as perltidy. To do that, with lines highlighted, type !perltidy (assuming you have it on your machine). This lets you filter specific lines instead of the whole file.&lt;br /&gt;&lt;br /&gt;&lt;div class="commentBody"&gt;    &lt;div id="comment_body_25666245"&gt;&lt;p&gt;Not horribly exciting ones, but useful:&lt;/p&gt;&lt;p&gt;xp - reverse next two characters&lt;br /&gt;dL - Delete to end of page, in other words, everything visible.&lt;br /&gt;C - Often overlooked: chop off end of line and go into insert mode.&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;:ret over highlighted text will reformat using the tabbing rules set up in your&lt;div id="comment_body_25666337"&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;.vimrc files. Quite handy when you have legacy code and new code mixed together leaving a big mess when opened in a viewer with different settings.&lt;br /&gt;And, to remove the ^M from files that came from windows:&lt;br /&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:se ff=unix&lt;br /&gt;&lt;br /&gt;&lt;div class="commentBody"&gt;    &lt;div id="comment_body_25666385"&gt;&lt;p&gt;Am I just a vim noob? After doing a search and loving the nice highlighting, is there a way to unhighlight the search term without doing a "/lkasjdfkjdfdf"? In less(1), you'd hit &lt;esc&gt;u but haven't found anything for vim.&lt;/esc&gt;&lt;/p&gt;&lt;p&gt;The tricks I use in vi/vim are mostly the arcane flags.&lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;&lt;b&gt;:set nows&lt;/b&gt; &lt;/p&gt;&lt;p&gt;will not search past the top or bottom.&lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;&lt;b&gt;:set sw=4&lt;/b&gt; &lt;/p&gt;&lt;p&gt;will make a nice indentation shiftwidth, especially for using the indent command (&gt;). Works great for programming, especially with autoindent (:set ai). But when programming with autoindent, you often need to unindent one shiftwidth... do that by typing control-D at the beginning of the line. You can go to the very beginning of an autoindented line with 0 control-D.&lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;&lt;b&gt;:set list&lt;br /&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:set nolist&lt;/b&gt; &lt;/p&gt;&lt;p&gt;will turn on/off hidden characters, and show end of lines.  Great for finding tabs or spaces at the end of a line.&lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;&lt;b&gt;:set nu&lt;/b&gt; &lt;/p&gt;&lt;p&gt;will turn on line numbering.&lt;/p&gt;&lt;p&gt;Of course, if you want actual line numbers in your file, in *nix you'd use&lt;br /&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;&lt;b&gt;:%!cat -n&lt;/b&gt; &lt;/p&gt;&lt;p&gt;&lt;b&gt;%&lt;/b&gt; &lt;/p&gt;&lt;p&gt;when pressed over a parenthesis, finds the matching parenthesis or brackets&lt;/p&gt;&lt;p&gt;Now, I want someone to write a lisp interpreter based in vi macros.  That way we can port emacs to vi.&lt;/p&gt;&lt;/div&gt;  &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;move up to the top line of the block to be delete&lt;br /&gt;&lt;br /&gt;mm  (sets a marker "m")&lt;br /&gt;&lt;br /&gt;move down to the last line in the block&lt;br /&gt;&lt;br /&gt;d`m  (deletes to marker "m", and that's the grave below the tilde, not the back-quote)&lt;br /&gt;&lt;br /&gt;Ah, add "set compatible" to your  .vimrc file and you have 99% vi behavior.&lt;br /&gt;&lt;br /&gt;&lt;div class="commentBody"&gt;    &lt;div id="comment_body_25666299"&gt;&lt;p&gt;Also, you can do use "ma" to mark the beginning line, "mb" to mark the ending line, and then:&lt;/p&gt;&lt;p&gt;:'a,'bs/FROM/TO/g&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="commentBody"&gt;    &lt;div id="comment_body_25667295"&gt;&lt;p&gt;(in vim only), &lt;a href="http://www.vim.org/htmldoc/change.html#CTRL-A" title="vim.org"&gt;Ctrl-A and Ctrl-X&lt;/a&gt; [vim.org] find the next number on the line starting at the cursor, and then increment or decrement it respectively.&lt;/p&gt;&lt;p&gt;Apart from being weird, these are surprisingly useful sometimes, e.g. toggling "#if 0" to "#if 1"...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="commentBody"&gt;    &lt;div id="comment_body_25667095"&gt;&lt;p&gt;Very cool. I didn't know how to mark a range like that before.&lt;/p&gt;&lt;p&gt;And, while we're having fun with search and replace, ^ will match the beginning of a line, so if you mark as above, and then change the command to:&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:'a,'bs/^/#/&lt;/p&gt;&lt;p&gt;you will have commented out a section of your code without having to insert a comment character independently on each line.&lt;br /&gt;Reverse it with:&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:'a,'bs/^#//&lt;/p&gt;&lt;p&gt;to remove the comments.&lt;/p&gt;&lt;p&gt;Also, you don't have to use the / command as a separator. Anything typed after s will become the separator, so if you want to, say, change all your Windows paths to Unix paths, instead of starting with:&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:%s/\\/\//g&lt;/p&gt;&lt;p&gt;which, while undeniably cool, can be more easily written as:&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:%s;\\;/;g&lt;/p&gt;&lt;p&gt;which is a little easier to read.&lt;/p&gt;&lt;p&gt;Two other interesting bits:&lt;/p&gt;&lt;p&gt;u all by itself will undo the last command. Handy when you're testing your commands before posting them to Slashdot.&lt;/p&gt;&lt;p&gt;Also, Slashdot's editor will remove the newlines before any line that starts with a :&lt;br /&gt;In my examples, I put each command on it's own line, but Slashdot keeps appending them to the previous line. Weird.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;  And if you add a c (confirm) to the end &lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:'a,'bs/FROM/TO/gc &lt;/p&gt;&lt;p&gt; you will get a Y/N to replace that instance or not, in case you don't want to replace every occurrence. if you search like this&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:'a,'b g/FINDME/ s/FROM/TO/gc &lt;/p&gt;&lt;p&gt; vi will ask for confirmation to replace FROM to TO only on line between a and b markers on lines with the string FINDME on it.&lt;/p&gt;&lt;p&gt;&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;:.,$ g/FINDME/p will search from your current cursor position (.) to the end of the document ($) and get&lt;nobr&gt; &lt;wbr&gt;&lt;/nobr&gt;/regular expression/ print (i.e grep) inside of vi.&lt;/p&gt;&lt;p&gt; 456G &lt;/p&gt;&lt;p&gt; go to the 456 line (G for the last line)&lt;/p&gt;&lt;p&gt; These are a few of my favourite things. Vi plugin for Eclipse and Visual Studio actually makes them have a worthwhile editor, I couldn't imagine not having all the effort I invested into using vi available in some of the "editors" available today.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;By Mi&lt;br /&gt;On some Line just type any number let say 8:&lt;br /&gt;- If press ENTER go 8 Lines Below&lt;br /&gt;- if Press SPACE go 8 symbols ahead&lt;br /&gt;- ? what will do with - in front :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&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/1901736427370590860-6250751304971430079?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/6250751304971430079/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=6250751304971430079' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6250751304971430079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/6250751304971430079'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/12/vi-help.html' title='VI help'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-8808716546945825434</id><published>2008-11-29T00:23:00.000-08:00</published><updated>2008-11-29T00:29:51.539-08:00</updated><title type='text'>tricks man find</title><content type='html'>from: http://linux-blog.org/&lt;br /&gt;&lt;br /&gt;I wanted a quick way to be able to find out what files weren’t visible to others (and therefore, not visible to website visitors).  Messing with arguments and the &lt;strong&gt;file&lt;/strong&gt; command, you can do the following:&lt;br /&gt;&lt;pre&gt;find -type f ! -perm -444&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;This locates all files not visible to ‘others’ in the current directory.  You can apply this to directories as well:&lt;pre&gt;find -type d ! -perm -111&lt;br /&gt;&lt;br /&gt;This allows you to quickly display the 96th line of filename.php.  Hope this helps someone like it has me.&lt;br /&gt;&lt;br /&gt;head -n 96 filename.php | tail -n 1&lt;br /&gt;&lt;br /&gt;Ever wonder how you can get a man page in into a format you can read&lt;br /&gt;and print? There’s many methods of doing it (copy and paste is one) but&lt;br /&gt;one the easiest I’ve found is:&lt;br /&gt;&lt;br /&gt;man command | col -x -b  &gt; command.txt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-8808716546945825434?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/8808716546945825434/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=8808716546945825434' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/8808716546945825434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/8808716546945825434'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/11/tricks-man-find.html' title='tricks man find'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</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-1901736427370590860.post-5082610825772275083</id><published>2008-11-29T00:20:00.001-08:00</published><updated>2009-02-07T00:48:48.574-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='slow laggy GTK under slackware'/><title type='text'>slow laggy GTK under slackware KDE4</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Just change fonts from System Config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Resize speed will be good like under Gnome&lt;br /&gt;- Firefox Auto-Scroll stay laggy&lt;br /&gt;- After some play with resize becom laggy again ???&lt;br /&gt;&lt;br /&gt;- If have trouble with outlook gtk Theme&lt;br /&gt;use &lt;span style="font-weight: bold;"&gt;lxappearance&lt;/span&gt; - compile, run, choose Theme Icons and Save&lt;br /&gt;the resul is seen imediatly&lt;br /&gt;&lt;br /&gt;gtkperf -a -c 1000&lt;br /&gt;&lt;br /&gt;A little update if somebody read this please publish your results!&lt;br /&gt;&lt;pre&gt;Test rounds: 100&lt;br /&gt;GtkPerf 0.40 - Starting testing: Sat Feb  7 09:10:59 2009&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;GtkEntry - time:  0,03&lt;br /&gt;GtkComboBox - time:  3,21&lt;br /&gt;GtkComboBoxEntry - time:  3,21&lt;br /&gt;GtkSpinButton - time:  0,17&lt;br /&gt;GtkProgressBar - time:  0,11&lt;br /&gt;GtkToggleButton - time:  0,32&lt;br /&gt;GtkCheckButton - time:  0,22&lt;br /&gt;GtkRadioButton - time:  0,23&lt;br /&gt;GtkTextView - Add text - time:  0,71&lt;br /&gt;GtkTextView - Scroll - time:  0,79&lt;br /&gt;GtkDrawingArea - Lines - time:  1,53&lt;br /&gt;GtkDrawingArea - Circles - time: 28,29&lt;br /&gt;GtkDrawingArea - Text - time: 10,95&lt;br /&gt;GtkDrawingArea - Pixbufs - time:  0,62&lt;br /&gt;---&lt;br /&gt;Total time: 50,40&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Test rounds: 1000&lt;br /&gt;GtkPerf 0.40 - Starting testing: Sat Feb  7 09:17:01 2009&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;GtkEntry - time:  0,41&lt;br /&gt;GtkComboBox - time: 31,98&lt;br /&gt;GtkComboBoxEntry - time: 31,41&lt;br /&gt;GtkSpinButton - time:  0,95&lt;br /&gt;GtkProgressBar - time:  0,54&lt;br /&gt;GtkToggleButton - time:  2,94&lt;br /&gt;GtkCheckButton - time:  1,64&lt;br /&gt;GtkRadioButton - time:  2,22&lt;br /&gt;GtkTextView - Add text - time: 40,90&lt;br /&gt;GtkTextView - Scroll - time: 44,78&lt;br /&gt;GtkDrawingArea - Lines - time: 14,31&lt;br /&gt;GtkDrawingArea - Circles - time: 169,86&lt;br /&gt;GtkDrawingArea - Text - time: 105,87&lt;br /&gt;GtkDrawingArea - Pixbufs - time:  4,45&lt;br /&gt;---&lt;br /&gt;Total time: 452,24&lt;br /&gt;&lt;br /&gt;A link for other results: http://gtkperf.sourceforge.net/gtkperftesting_06022005.txt&lt;br /&gt;No good thing for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1901736427370590860-5082610825772275083?l=slaky.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://slaky.blogspot.com/feeds/5082610825772275083/comments/default' title='Коментари за публикацията'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1901736427370590860&amp;postID=5082610825772275083' title='0 коментара'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5082610825772275083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1901736427370590860/posts/default/5082610825772275083'/><link rel='alternate' type='text/html' href='http://slaky.blogspot.com/2008/11/slow-laggy-gtk-under-slackware.html' title='slow laggy GTK under slackware KDE4'/><author><name>ivsky</name><uri>http://www.blogger.com/profile/16765582668043542782</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
