Tuesday, August 28, 2012

Nexus 7 - Security Setting

I installed an app VPN one click and for that I had to setup a PIN for "Screen lock".

This page explains how to set the screen lock. However since then I wasn't able to change the Screen lock to "Slide" (None, Slide and Face Unlock were grayed out).  Instead I needed to keep putting in the PIN.

I had to remove the VPN profiles, and that allowed me to see and choose one of the other options again.

Wednesday, July 11, 2012

Firefox 13.0 - saving incorrect bookmarks

Trying to bookmark a page a complete unrelated URL was saved and even trying to change it in "Show all Bookmarks" - "Location" didn't save the changes.

 To see if any of my extension are causing it I started Firefox without them, per Firefox Troubleshoot suggestions. Still wrong bookmarks were saved.

Then I was pretty sure the bookmarks file was corrupted and thought I'll give it a try and delete the "places.sqlite" file.

On openSUSE I just deleted the: my_home/.mozilla/firefox/_my_profile.default/places.sqlite and restarted Firefox.

Sure enough it was the solution to the problem for now.

Firefox also offers a howto to fix it.


Thursday, May 10, 2012

flush swap

Once in a while swap fills up and there's 0 free swap space, so I like to flush it and make room.

swapoff -a
swapon -a

does the trick.

However you have to make sure to close applications consuming a lot of %MEM (see the output of "top") before doing this. In my case free Mem, was less than used Swap and I got:

 # swapoff -a
swapoff: /dev/sda2: swapoff failed: Cannot allocate memory

After closing Firefox which was using 34% of MEM at that time, swapoff and swapon worked well and I got 0 used Swap.

Tuesday, January 17, 2012

cannot execute binary file

trying to execute a binary file located on a NFS mount and get:

bash: ./_binary_: cannot execute binary file

thought I might miss the "exec" mount option, but no, the answer is here: forums.fedoraforum.org

"This message appears if you e.g. try to execute a 64 bit program on a 32 bit system. Please check with the "file" command whether the program fits your architecture."