Wednesday, June 25, 2014

linux sound config

some tips to make your sound work on linux


1. to select a default sound output device, edit /etc/asound.conf or ~/.asoundrc to
pcm.!default {
    type hw
    card 0
}

ctl.!default {
    type hw          
    card 0
}
2. if it says permission denied, and only can play sound by root.

 try:
 chmod a+rw /dec/snd/*

Monday, June 23, 2014

Linux make on Windows

Yes, I like Linux as a ideal programming environment.
there are always source code available.

Also I found mingw is wonderful, it can build and bring Linux library to Windows.

But soon I found it also bring the Linux "./configure make make install" nightmare into Windows,
for, I'm a Java lover.


Thursday, June 12, 2014

window manager select

Selecting a window manager for my desktop is like the feeling of shopping.

first, I go to find out
what is window system(/ display server)
what is window manager
what is Gnome, KDE
what is GTK, QT
where is it and what is the alternatives.

they are confusing,  because they are designed to be confusing, but nothing can stop you to make them clear. even themselves for confusing.

ok, at last.
My selection is Openbox + tint2 + conky + neoeedit

I tried alot of others, whatever what they are saying, they are just advertisement. I must try myself. They are like shoes, maybe they are good, but not fit for me.

PS, window manage is just a small piece of program, simple one only need about 1000 lines of code. They let you can do things like move/scale window, event dispatch to window. so, just keep it simple. However, applications in the window will stay the same. like Firefox, neoeedit, konsole, whatever, they are the same regardless what window manager you choose.