Stop screensaver in LXDE

You would think it would be easy to turn off the screensaver, which seems to be set at a default 10 minutes, quite annoying if you are downloading and/or watching something, but no there doesn’t seem to be any easy fix.

After trying a lot of things which didn’t work, I found the command:
xset s off

And that seems to do the trick!

So then how to make this happen on startup?

Insane browser CPU use, makes laptop freeze

I seem to be having a problem with browsers using a lot of cpu and thus freezing the computer temporarily.

On debian 7 this started to happen with iceweasel, so i switched to chromium. Then after a period of blissful speed surfing, then chromium went slow too. Other options would be to use midori or quzilla, but what’s interesting is that i had hoped upgrading to debian 8 would disappear the problem and it hasn’t.

From reading around the internets, people were suggesting it’s not necessarily the browser but the desktop environment, so i tried switching from the default (gnome?) to LXDE, choosing this particular environment since it’s alleged to be good for the asus eee (tips).

However, the problems continue as you can see from the screenshot. What’s good is that the LXDE setup makes it much easier to track the problem, with the graphical CPU usage monitor display bottom right. I’m also using top that’s what is in the screenshot (open a terminal, type top).

This is a fresh debian 8 install so the machine is totally uncluttered. It seems bizarre a browser is taking up so much CPU (143% if you look at the screenshot above when i tried to open 3 tabs at once on iceweasel). And this problem was generated with only a few tabs open, trying to open two more.

I don’t yet have an answer on this, so research continues.

Upgrade debian from wheezy to jessie

This process took me a long time (days in preparation!), but it’s good to do it right.

What i wanted to do was upgrade my asus eee laptop from debian 7 to 8 (wheezy to jessie), so i read around the topic a lot, using google searches and of course the debian instructions, which can sometimes be quite verbose but also have a lot of good stuff. In addition there’s specific instructions for the asus eee.

For the upgrade itself i followed the excellent clear instructions at howtoforge

It took a whole afternoon, the “apt-get upgrade” alone took an hour, much longer than i had read.

At a certain point i got this horrifying screen:

problem1

So i needed to go to the debian forums to ask for help about that but ultimately it worked out fine and everything seems to be in order.

Now running Jessie!

As a last point. it shouldn’t need saying but remember to back up all valuable documents!!! This would for me include gpg keys, emails, pictures, films,  writing, bookmarks (chromium, iceweasel, midori), zotero,  passwords and so on. If things had gone to shit (as at a certain point it seemed like it was) at least i still had everything saved on an external hard drive and ready to be reinstalled.

[Solved with xrandr] Dim screen using Twilight, Redshift etc

I’ve never liked staring at a bright computer screen, not so much because it keeps me awake (although maybe it does), more because it hurts my eyes.

On my fone i use Twilight, which works great and is easy to adjust. On laptops, normally i turn the screen right down, but i realised i could probably try something like twilight on the laptop also.

So i tried redshift, but it didn’t work because geoclue wasn’t configured or something. I found a tip on how to give latitude and longtitude, but it still didn’t work. Here’s the tip though:

enter the following in terminal:

redshift -l [LAT]:[LON]

(replacing [LAT]:[LON] by your latitude and longitude)

Anyhoo, redshift adjusts the screen according to the position of the sun, but i just want a way to dim the screen…

F.lux and g.lux aren’t in synaptic, neither is iris (not iirsih, an Irish dictionary for the ispell spell-checker program) and neither is calise, but that works using the webcam, which i rather keep covered up

so instead of using an installed program, none of which actually seem to work that well anyway, how about using a terminal command?

instant justice thanks to ubuntubuzz

xrandr --output LVDS1 --brightness 0.5

the value on the right is the important bit, so 1 for normal, 0.5 for dimmed, 0.1 for superdark, 2 for bright and so on…

job done

or is it?

further reading to be done on backlight and xgamma

Keepass2 – Using a password database

It became necessary to use a program to hold onto all my passwords, since we all have so many nowadays.

I checked some options and ended up plumping for Keepass2, which has some nice features like being open source and cross platform. You can also run it from a USB should you desire.

Using one masterpassword (which should obviously be a real doozie) you can access the control panel where all the passwords are kept.

Almost as easy as using “1234” for everything!