Wednesday, July 28, 2010

Updating AUR packages will have consequences for pacman

If you update aur packages with packer my recommend Aur tool, you should do
packer -Su

but if you have to realize that your pacman, the accepted Arch packages will also be updated. So if you have an issue with a certain package as I have now with libgl which interferes with the nvidia-utils
you should give the command the exception rule: packer -Su --ignore libgl
And don't forget to supervise the build process and act on warnings and possible additional dependencies.

Monday, July 12, 2010

Saturday, July 10, 2010

Shortcuts for Firefox tabs overview and control


In fact, I don't think tabs are the best way to organize all your web pages, a better way is needed.


It is not so bad, tabs, I think: wasn't there an addon that gave a sort of cooliris like view of your tabs, something like alt+tab with apps but then with tabs?
What I really have in mind is some sort slideshow like tab switching (all maximized) with the f5 key as toggle to start sliding/switching and stop switching.

Something like this: https://addons.mozilla.org/nl/firefox/addon/5244/102 is a step in this direction
Ctrl+Tab navigation for Firefox tabs:
* Tabs are presented in most-recently-used order, similar to Alt+Tab on various operating systems
* Releasing Tab and pressing it again moves to the next preview
* Pressing W closes the selected tab
* Releasing Ctrl switches to the selected tab
* Hidden preferences: browser.ctrlTab.mostRecentlyUsed

Shift+Ctrl+Tab shows all tabs in a grid:
* Shows all open tabs
* Tabs can be closed by middle clicking
* Search field filters tabs based on their titles and addresses, Enter selects the first tab

Btw some of this is already included in firefox 3.6 when editng about:config
Set browser.ctrlTab.previews to true; default is false.
I would like to see the previews bigger.

Friday, July 2, 2010

creating a new user or logging in as root from grub

In some circumstances it can be useful to create a new user when your having configuration issues and want to find out if user related configurations are the problem or if it gos further to the heart of your system:
To change the password, turn on the computer and press the ESC key when GRUB appears. Scroll down and highlight ‘Recovery Mode’ and press the ‘B’ key; this will cause you to enter ‘Single User Mode’.

You’re now at the prompt, and logged in as ‘root’ by default. Type ‘passwd’ and then choose a new password. This will change the root password to whatever you enter. If you’re interested in only gaining access to a single account on the system, however, then type ‘passwd username’ replacing ‘username’ with the login name for the account you would like to alter the password for.

Use firefox bookmarks in Uzbl and set Bookmarks page as Home page

First export your bookmarks to a html page:In Firefox, Bookmarks, Organize Bookmarks, Import and Backup and Export Html; this will produce a html page in /home/user/.
Now open the uzbl config file.
This can be according to your setup at different places; on my Arch it is in /home/paul/.config/uzbl

Find uzbl. org till you discover:
# --- Hard-bound bookmarks ---
@cbind gh = set uri = http://uzbl.org


change to:
@cbind gh = set uri = file:///home/paul/bookmarks.html


and find:
menu_add Go Home = set uri = http://uzbl.org

and change to:
menu_add Go Home = set uri = file:///home/paul/bookmarks.html

So in the cmd mode (when you want to type do i; when returning to cmd do Esc, like in Vi) type gh to get to your bookmarks.
Or right click and choose: go home.

Thursday, July 1, 2010

Dangers of editing your host file

Many years ago editing the host file was the most effective way to block ads.
Also many years ago some sites weren't functional and reachable anymore and
it turned out it had something to do with the adapted hosts file, which I had totally forgottenabout;in linux it is etc/hosts.
Because I couldn't get the adblock.py for uzbl to work I decided to use the host file again.
See: http://someonewhocares.org/hosts/
Just copy the list of the to be blocked sites in your host file.
Hopefully I will think about it when I will get some trouble with accessing sites.
But it always better than using a proxy which can really make your internet a lot slower.

Installing Moblock

IP blocking done by Moblock
Dependencies:iptables libnetfilter_queue

Install: packer -s moblock
Start daemon: sudo blockcontrol start
Gui for moblock: mobloquer

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.