tag:blogger.com,1999:blog-18299871815414469842024-03-08T08:24:05.818+02:00fester's blogfesterhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-1829987181541446984.post-70687888059712154382011-05-09T08:54:00.000+03:002011-05-09T08:54:09.480+03:00Wireless driver and suspendI was having problems with my wireless card when resuming from suspend. The download speed topped somewhere around 200 Kb/s whereas usually I had at least 2 Mb/s.<br />
Rebooting the system restored the proper speed, so it was clear the suspend has something to do with it.<br />
The solution that worked for me: I've put in /etc/pm/config.d/config this line:<br />
<blockquote>SUSPEND_MODULES="ath9k"</blockquote>Where ath9k is my wireless driver.<br />
If /etc/pm/config.d/config doesn't exist, just create it and add that line (changing ath9k with whatever driver is bothering you while suspending)festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-77604171374557387932011-05-01T16:18:00.000+03:002011-05-01T16:18:25.673+03:00[arch] Adobe Flash x64 on ArchThe flash plugin from the Arch repository doesn't work really well on a 64 bit system (at least for me), being started within a plugin wrapper.<br />
<br />
I tried the latest beta flash plugin form, and so far it is very stable.<br />
<br />
To manually install the flash player use the following script:<br />
<br />
<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">#!/bin/sh<br />
wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz -O flash.tar.gz<br />
mkdir -p ~/.mozilla/plugins<br />
tar -xvzf flash.tar.gz<br />
mv libflashplayer.so ~./mozilla/plugins<br />
rm flash.tar.gz<br />
echo -n "Flash plugin updated"<br />
exit 0</span></blockquote>Hope this helpedfesterhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-41376200102821852852011-04-29T12:34:00.000+03:002011-04-29T12:34:24.726+03:00[arch] Configure CPU frequency scalingYou don't usually use your CPU at it's maximum frequency. When you install Arch, being such a malleable distribution, you don't get a CPU frequency scaler by default.<br />
<br />
Modern CPU have frequency scaling, which means that you can configure the OS to speed up the CPU only when it needs to. This saves power and your CPU won't produce unnecessary heat.<br />
<br />
In this article I will show you how to configure CPU Frequency scaling as a daemon, so that it starts at boot time. Note that you won't have GUI controls like gnome applets. For those please consult the link at the end of the article.<br />
<br />
To enable frequency scaling in Arch you need to install cpufreq-utils<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white; font-family: 'Courier New', Courier, monospace;">pacman -S cpufrequtils</span></blockquote>After that you need to load the appropriate driver for you hardware:<br />
<br />
<ul><li>acpi-cpufreq for Intel CPU's </li>
<li>powernow-k10 for AMD</li>
</ul>If these don't work for you (probably older hardware, please consult the Arch wiki for further details).<br />
<br />
So as root:<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white; font-family: 'Courier New', Courier, monospace;">modprobe acpi-cpufreq</span></blockquote>Now CPU frequency scaling is enabled in you system.<br />
<br />
Next you need to select a scaling governor. Most people go for <b>ondemand </b>and this is the one I will use:<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white; font-family: 'Courier New', Courier, monospace;">modprobe <span class="Apple-style-span" style="line-height: 14px; white-space: pre;">cpufreq_ondemand</span></span></blockquote><br />
Just loading the kernel module isn't enough. You need to activate it in the cpufreq daemon's configuration. For this edit /etc/conf.d/cpufreq and enable your desired CPU scaling governor.<br />
<br />
After this start the cpu scaling daemon with:<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white; font-family: 'Courier New', Courier, monospace;">/etc/rc.d/cpufreq start</span></blockquote><br />
CPU scaling is now configured.<br />
<br />
To retain these settings after a reboot edit your<br />
/etc/rc.conf and add your CPU scaling driver and governor to MODULES so it looks like this:<br />
<br />
<span class="Apple-style-span" style="background-color: #999999; color: white;">MODULES=(acpi-cpufreq cpufreq_ondemand fuse [other kernel modules])</span><br />
<br />
and activate the cpufreq daemon:<br />
<br />
<span class="Apple-style-span" style="background-color: #999999;"><span class="Apple-style-span" style="color: white;">DAEMONS(dbus networkmanager [other daemons] @cpufreq )</span></span><br />
<br />
Hope this helped !<br />
<br />
<br />
<a href="https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling">CPU Frequency Scaling [Arch Wiki]</a>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-18677457546271725542011-04-28T10:02:00.000+03:002011-04-28T10:02:38.785+03:00[arch] Fix upside down camera in SkypeOn my laptop(an Asus K52F) the integrated webcam works out of the box in applications such as Cheese.<br />
But when it comes to Skype, the image is upside down.<br />
<br />
To fix this you need to install lib32-libv4l from AUR.<br />
<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">yaourt -S lib32-libv4l</span></blockquote>After this create /usr/local/bin/skype with the following contents:<br />
<br />
<br />
<blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">#!/bin/bash</span></blockquote><blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so</span></blockquote><blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">export LD_PRELOAD</span></blockquote><blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">exec /usr/bin/skype</span></blockquote><blockquote><span class="Apple-style-span" style="background-color: #999999; color: white;">exit 0</span></blockquote>And now you can launch Skype from your desktop environment and use your webcam properly.<br />
<br />
Why it works? It has to do with the PATH environment variable.<br />
As /usr/local/bin precedes /usr/bin, when the system looks for "skype" it finds it in /usr/local/bin.<br />
<br />
In the script above we specified the absolute path to the skype executable so that it knows it's not the same file ( if you would only put skype in there it would enter an infinite cycle)festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-61905127882841455372011-04-27T12:07:00.001+03:002011-04-27T12:09:42.484+03:00Moving to ArchAfter almost 4 years with Ubuntu (or other spins such as Kubuntu) and with the upcoming horror named Unity I've decided to move to ArchLinux.<br />
<br />
Everyday I was finding myself typing in a<br />
<blockquote>sudo apt-get update && sudo apt-get upgrade -y</blockquote>and had a lot of PPAs so moving to a rolling release distro made sense.<br />
<br />
I've installed Arch x64 on my laptop and have only good things to say.<br />
Arch detected all my hardware ( integrated webcam and microphone (which didn't work in Ubuntu 10.10!) wireless card and so on) and worked like a charm.<br />
<br />
I am currently using GNOME3 as my desktop environment.<br />
<br />
<br />
<a href="http://archlinux.org/">ArchLinux</a><br />
<br />
<a href="http://ubuntu.com/">Ubuntu</a><br />
<br />
<a href="http://gnome.org/">GNOME</a>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-13716957727334166332011-03-23T15:21:00.000+02:002011-03-23T15:21:52.549+02:00Pinned tabsCa tot s-a lansat <a href="http://mozilla.com/firefox/">Firefox 4.0</a>, am dat peste o chestie misto pentru tab-uri, numita pinned tabs.<br />
La fel ca si taskbar-ul din Windows 7, si in browser poti sa-ti pui aplicatiile preferate sa se incarce automat si sa nu ocupe spatiu alocat unui tab normal.<br />
<br />
Asa poti sa seta ca la pornirea browser-ului sa fie pornit automat GMail, facebook sau orice alt site web.<br />
<br />
Treaba asta vad ca merge si pe Firefox 4 si pe Chrome 10 (stable la momentul de fata) .<br />
<br />
Totul e gata integrat in browser, nu ai nevoie de alte extensii.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://cache.gawker.com/assets/images/lifehacker/2009/10/chrome-pin-tab-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="http://cache.gawker.com/assets/images/lifehacker/2009/10/chrome-pin-tab-2.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-74837563001236360152011-01-22T14:18:00.000+02:002011-01-22T14:18:56.350+02:00TomatoAm schimbat firmware-ul de la router-ul meu din DD-WRT in Tomato. Se simte deja diferenta. QoS-ul este mult mai bun cu Tomato, nu mai mi se blocheaza routerul si download-urile de pe torrente nu-mi sufoca toata banda de net.<br />
<br />
Interfata de administrare este mult mai "curata" decat cea al DD-WRT-ului, continand doar setarile de bun simt pentru un home-router.<br />
<br />
Are functii de DHCP, WDS, Bandwidth monitoring, Port Forwarding, setarea puterii de transmitere a antenei, Access Restriction.<br />
<br />
Interfata face uz de Ajax, deci dupa modificarea unor setari paginile nu trebuiesc reincarcate (si nici routerul rebootat)<br />
<br />
Pentru acasa/ birou mic Tomato is the way to go.<br />
<br />
<a href="http://www.polarcloud.com/tomato">Tomato - site oficial</a>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-89429885135457719622010-12-17T20:35:00.000+02:002010-12-17T20:35:05.305+02:00Quick image resizer in Kubuntu 10.10<blockquote>sudo apt-get install imagemagick<br />
</blockquote><br />
apoi in terminal:<br />
<br />
<blockquote>cd ~/Pictures/album<br />
mogrify -resize 1024x768 *.jpg<br />
</blockquote><br />
Nice, quick & dirtyfesterhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-81108215644230946192010-04-22T16:46:00.001+03:002010-04-22T16:46:03.833+03:00Drag & drop attachements in GMail<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/IJdWYDTbj6U&hl=en_US&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/IJdWYDTbj6U&hl=en_US&fs=1&rel=0&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
<br />
Look ma, no filepickerfesterhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-9329813074986376182010-03-21T20:16:00.002+02:002010-03-31T17:43:36.023+03:00Hai cu bormasina<embed src="http://videonews.ro/jwplayer/player.swf" width="407" height="324" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" align="middle" flashvars="image=http://videonews.ro/files/videos/thumbnails/3348eb92c98456bL.jpg&file=http://194.152.42.99/videos/3348eb92c98456b.flv&streamer=lighttpd&skin=http://videonews.ro/jwplayer/nacht.swf&logo=http://videonews.ro/images/vn/vn_logo.png&link=http://videonews.ro/action/viewvideo/40663/Badea-Nu-cred-ca-spiralul-de-15-pune-o-friptura-pe-masa/&displayclick=link&width=407&height=324&autostart=false&showicons=true"></embed>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-15605789840747541742010-03-04T22:31:00.002+02:002010-03-04T22:44:24.686+02:00Skype pe S60Dupa Adobe Reader si Opera Mobile si Skype intra in randul aplicatiilor portate pentru smartphone-uri cu Symbian. Astazi mi-am instalat si eu versiunea S60 a clientului de Skype pe E63 si totul a mers din prima. N-a trebuit sa configurez nimic, doar m-am logat si am sunat la Skype Test. Nici pe PC n-a fost asa usor. Cred ca e foarte bun pentru apeluri internationale (mult mai ieftin decat daca ai suna direct prin orange), dar doar daca esti intr-o zona cu wireless. Altfel transferul 3G de date o sa-ti umfle factura de numa. Astept Mozilla Fennec pe Symbian :D .<br />
<a href="http://www.skype.com/intl/en/download/skype/symbian/">Download Skype for Symbian</a>festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0tag:blogger.com,1999:blog-1829987181541446984.post-27142001213883021902010-02-27T11:17:00.005+02:002010-03-31T17:43:54.146+03:00VUMM VUMMM<embed src="http://videonews.ro/jwplayer/player.swf" width="407" height="324" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" align="middle" flashvars="image=http://videonews.ro/files/videos/thumbnails/cf1420a1b265012L.jpg&file=http://194.152.42.99/videos/cf1420a1b265012.flv&streamer=lighttpd&skin=http://videonews.ro/jwplayer/nacht.swf&logo=http://videonews.ro/images/vn/vn_logo.png&link=http://videonews.ro/action/viewvideo/37068/Mircea-Badea-vrea-o-masina-mare-Vezi-ce-ar-face-el-cu-un-Range-Rover/&displayclick=link&width=407&height=324&autostart=false&showicons=true"></embed><br />
<br />
Pentru faza cu locul de parcare mi-as lua si eu un monstru, sa-l urc unde vreau eu :))festerhttp://www.blogger.com/profile/00942934641818686706noreply@blogger.com0