I found this great tutorial to use your firefox profile with tmpfs to make firefox more responsible and faster.
Look here to see how it works: Link
cya
Sunday, September 27, 2009
Tuesday, September 22, 2009
make your filesystem faster
i found a tip to speed up your linux filesystem (ext3 and reiserfs) here and here.
To get more infos about this tweak, look at the links above.
You have to do the following steps: (note: you have to change the partition to your needs. In my case its: "/dev/sda8 /")
have fun with a faster performing system. ;)
To get more infos about this tweak, look at the links above.
You have to do the following steps: (note: you have to change the partition to your needs. In my case its: "/dev/sda8 /")
1) edit your /etc/fstab and add thing marked bold to your mount line.
/dev/sda8 / ext3 defaults,noatime,nodiratime,errors=remount-ro,data=writeback 0 1
2) edit /boot/brub/menu.lst and add the bold marked entry.
kernel /boot/vmlinuz26 root=/dev/sda8 ro vga=865 rootflags=data=writeback
3) it can be necessary to run update-grub after that. But its not necessary on my archlinux system.
4) To prefent errors add the new mode to your filesystem before reboot.
tune2fs -o journal_data_writeback /dev/sda8
5) to see if the changes went right, check it with:
tune2fs -l /dev/sda8
(you should do this again after reboot)
have fun with a faster performing system. ;)
Monday, September 21, 2009
speed up your archlinux system
Found this post with some tips to optimize your archlinux system:
http://tuxtraining.com/2009/09/04/optimize-pacman-and-free-space-on-arch
In short:
http://tuxtraining.com/2009/09/04/optimize-pacman-and-free-space-on-arch
In short:
pacman -Sc This clears outdated/uninstalled packages.
pacman -Scc This clears the whole folder, not just the packages that are outdated/uninstalled.
pacman-optimize && sync optimizing the archlinux database
Wednesday, September 16, 2009
Browser independent mouse gestures
In kde4 its possible to define desktop wide mouse gestures.
Here is a file to include in systemsettings to get mousegestures in chrome and most other browsers.
(This is a modified version of the script without firefox support cause in firefox i use a extra extension for mousegestures. There are also some more gestures then in the original script)
Link
The original Skript can be found here: Link There is also a more detailed description, what browsers are supported.
cya
Here is a file to include in systemsettings to get mousegestures in chrome and most other browsers.
(This is a modified version of the script without firefox support cause in firefox i use a extra extension for mousegestures. There are also some more gestures then in the original script)
Link
The original Skript can be found here: Link There is also a more detailed description, what browsers are supported.
cya
Saturday, August 29, 2009
Customize console resolution
You can change you console resolution:
Install "lrmi" using you paketmanager.
After that you can get a list of all available resolutions supported by your graphichardware by using: "vbetest" in a console that already uses framebuffer.
You get a list similar to this one:
Note the number before your preferred resolution (357 in my example).
Add 512 to this number (357 + 512 = 869).
After that open /boot/grub/menu.lst and change the line from your kernel from something like this:
to
Thats it. After restarting your system you get the new resolution in your console session.
hf
Install "lrmi" using you paketmanager.
After that you can get a list of all available resolutions supported by your graphichardware by using: "vbetest" in a console that already uses framebuffer.
You get a list similar to this one:
[356] 1440x900 (256 color palette)
[357] 1440x900 (8:8:8)
Note the number before your preferred resolution (357 in my example).
Add 512 to this number (357 + 512 = 869).
After that open /boot/grub/menu.lst and change the line from your kernel from something like this:
kernel /boot/vmlinuz26 root=/dev/sda8 ro
to
kernel /boot/vmlinuz26 root=/dev/sda8 ro vga=869
Thats it. After restarting your system you get the new resolution in your console session.
hf
Wednesday, August 26, 2009
Starting multiple firefox instances at the same time
With a little hack its possible to start more then one firefox instance at the same time. It is also possible to start different versions and using different profiles.
you have to set a variable. That's all:
export MOZ_NO_REMOTE=1 && firefox -Profilemanager && export MOZ_NO_REMOTE=0
you have to set a variable. That's all:
export MOZ_NO_REMOTE=1 && firefox -Profilemanager && export MOZ_NO_REMOTE=0
Firefox performance tip: Shorter history
you can limit your history size in firefox to get better performance.
Go to:
Preferences > Privacy > History
and set the option: "Keep my history for.." to 5 days.
Go to:
Preferences > Privacy > History
and set the option: "Keep my history for.." to 5 days.
Sunday, August 9, 2009
Advanced bash history completion
To extend the bash completion add this:
If you type "man" and now press up or down on your keyboard only history entry's starting with "man" will be shown. Very useful.
bye
to /etc/inputrc or your ~/.inputrc"\e[A":history-search-backward
"\e[B":history-search-forward
bind -f .inputrcupdates your config without logout/login.
If you type "man" and now press up or down on your keyboard only history entry's starting with "man" will be shown. Very useful.
bye
Google Chrome for linux
You can get the latest nightly build of google chrome for Linux (alpha) here:
Start it like this to get extension, userscript and plugin support:
To get mousegestures in chrome you can use KDE4s build in gesture feature. A script with basic mouse gestures for some KDE browsers can be found here:
cya
http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/
Start it like this to get extension, userscript and plugin support:
./chrome --enable-plugins --enable-extensions --enable-user-scriptsTwo addblocker and a flashblocker can be found here: (i use both addblocker at once)
http://www.adsweep.org/
http://userscripts.org/scripts/show/46974
http://ruzanow.ru/extensions/flashblock.crx
To get mousegestures in chrome you can use KDE4s build in gesture feature. A script with basic mouse gestures for some KDE browsers can be found here:
http://kde-apps.org/content/show.php/Mousegestures+for+all+Browsers?content=109576
cya
Firefox database performance improvement
hi, my first post. :)
here we go.
After some time firefox gets sluggish. You can reach a better performance by optimizing the internal used databases where firefox save bookmars, formdata etc..
You can use sqlit3 commandline tool to optimize its performance.
You can use this script so optimize all database files at once: (this script looks if firefox is running. Maybe its necessary to change the path to your firefox binary)
Tip and script found here: (i changed the script a bit)
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
here we go.
After some time firefox gets sluggish. You can reach a better performance by optimizing the internal used databases where firefox save bookmars, formdata etc..
You can use sqlit3 commandline tool to optimize its performance.
sqlite3 DATABASE* VACUUMYou have to close firefox to use this method.
sqlite3 DATABASE* REINDEX
*Databasename
You can use this script so optimize all database files at once: (this script looks if firefox is running. Maybe its necessary to change the path to your firefox binary)
#FIREFOX-OPTIMIZE
#!/bin/sh
if [ `whereis sqlite3 | grep -c /` -lt 1 ]
then
echo ‘sqlite3 program is necessary to this script. Install it with:’;
echo ‘\tsudo apt-get install sqlite3′;
exit 2;
fi
if [ `ps aux | grep -c /usr/bin/firefox` -gt 1 ]
then
echo ‘Close Firefox to run this script’;
exit 1;
else
echo ‘Optimizing browser database…’;
echo ‘This can take a while…’;
for i in ~/.mozilla/firefox*/*/*.sqlite; do
sqlite3 $i VACUUM;
sqlite3 $i REINDEX;
done;
echo ‘Optimization succesfully’;
exit 0;
fi
Tip and script found here: (i changed the script a bit)
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
Subscribe to:
Posts (Atom)