Sunday, February 25, 2007

SSH auto start on boot

Each time I do a new install of Linux, I set up ssh like this (as root, of course):

update-rc.d -f ssh remove

and then:

update-rc.d -f ssh defaults




KDE tips : window candy

translucency & shadows

KDE has a nice translucency and shadow feature ,
but its heavy on the cpu usage, and doesn't work
with the ATI propriety driver.

The easiest way to turn it on is to right click on any
windows title bar and select "Configure window behavior".

Then goto the bottom of the features list and click on
translucency.
Now you should see a bunch of tabs and checkboxs on the
right side.

The shadows look really nice if you increase the shadow size
on active windows etc, to the maximum settings.

As a tweak to increase speed, I find that if you enable
the check box on the "Opacity" tab, called
"Disable ARGB windows...", the windows redraw a bit faster.

the Xserver must be restarted for the chances to have an effect.

*ATI propriety driver note:
If you change the xorg.conf line
Extensions / Composite / from "0" to "1"
then it might work but hardware 3D acceleration will be disabled.
Composite "Disabled" makes the 3D work.

apt-get : free up the cached space

Command:

apt-get clean

will free up the localy cached downloaded files,
thus you will have more free space on your drive.

After a few months of heavy use, it clean over 700Mb
from my system.

Linux programs or user Login not working?

One thing that seems strange will happen when your rootfs is full.

If you cant login as a user, or some programs fail to load / crash,
check your disk usage at the commandline with

df -h

If you have no space on your rootfs then you will have to
clear up some space before you can login as a user (root login still works).

You would think that there would be some warning in dmeg
or some logfile.

Monday, February 19, 2007

Flac Audio encoding

Flac is one of the most widely used and supported formats for audio.
The commandline flac encoder has some quick encode options via
-1 thru -8

Command-line:

flac -6 filename.ext

Using -6 is apparently great for speed (3.5x than -8),
and quality

Wednesday, February 14, 2007

KDE file assosiations

So everyone probly knows how to change their file assosiations
within KDE control / components, or use the right click context menus
in konqueror when you have selected a partical file.

But how would you do it from a console or better yet script.
Firstly you would have to find the file that stores the file associates.

/home/reckless/.kde/share/config/profilerc

seems to be the magical location, so once you edit / setup this file,
it can be copied to any users home directory and they will have the
same associations.

*Untested

ref: http://docs.kde.org/userguide/file-associations.html

Starting with something simple: matrix style console glitz

Need a little console glitz?
So if you have debian based distro, you can

apt-get install cmatrix cmatrix-xfont

and then " cmatrix " in a console
to get your very own matrix like vertical scolling random text screen.

Just thought I would start with something simple to
get things going.

Ez6

Welcome!

Hello!
login complete!


Ez6