ponedjeljak, 20. prosinca 2010.

Debian + ATI --> how to

Lot of people are crayig that debiab dos`t work with ati cards.
It works!!
But there are 2 methods.
1.) OSS driver
2.) property driver

So lets start with oss driver.

Run this command to determine what kind of video card you have:
lspci -v | grep VGA
The radeon driver supports R100/R200 (Radeon 7000 – Radeon 9250) and R300/R400/R500 (Radeon 9500 – Radeon X1950) class chips. See the radeon page on the X wiki for more information. The radeonhd driver is for R500 and newer cards. See the the radeonhd page on the X wiki for more info.

For Debian Squeeze and later releases, you will need to install proprietary firmware if you have one of the following Radeon-based cards:
  • Radeon R100-family
  • Radeon R200-family
  • Radeon R300-family
  • Radeon R400-family
  • Radeon R500-family
  • Radeon R600
  • Radeon RS600
  • Radeon RS690
  • Radeon RS780
  • Radeon RV610
  • Radeon RV620
  • Radeon RV630
  • Radeon RV635
  • Radeon RV670
  • Radeon RV710
  • Radeon RV730
  • Radeon RV770
The firmware in question, id est the CP/PFP microcode, can be installed by first enabling the non-free repository for your Debian release and issuing the following command:
aptitude install firmware-linux-nonfree

You will need Direct Rendering Manager as well as Accelerated Graphics Port support in your kernel, preferably as modules. If you are using the stock Debian kernel, you should already have these. To check for DRM support, issue this command:
grep DRM_RADEON /boot/config-$(uname -r) 
The output should be:
If this value is n, then you will have to rebuild your kernel.
To check for AGP support, run:
grep AGP /boot/config-$(uname -r)
The output should be:
Note that you will only need support for your specific chipset.
If you do need to rebuild your kernel, you can find AGP under:
  • Device Drivers --->
    • Graphics Support --->
      • /dev/agpgart (AGP Support) --->
        • (Your chipset)
and DRM under:
  • Device Drivers --->
    • Graphics Support --->
      • Direct Rendering Manager --->
        • ATI Radeon
Essentially, you need to set your device's driver to either "radeon" or "radeonhd" as such:
Section "Device"
    Identifier     "Device0"
    Driver         "radeon"
There are also plenty of options for the driver too. You can find out about them in radeon's man page:
man 4 radeon

It is necessary to install driver libraries in order to utilize the card's 3D capabilities:
aptitude install libgl1-mesa-dri

Just open terminal and add non-free to the sources.lis
and type
sudo aptitude install fglrx-control
sudo aticonfig --initial

shutdow -r now

and you should be running with 3d acceleration.

nedjelja, 19. prosinca 2010.

Making custome debs

Lot of people don`t know how to build custome debs from source.
It`s simple and i will show you how to do it.

First you have to install from repos checkinstall.
Just download the source from the app that you wann to put in a deb.
Like wine.Just download the new 1.3.9 wine source file.It`s in tar.bz2.

Make directory in your $HOME folder called build
 mkdir ~/build

and copy the source in build.
cd to build and just tipe tar xjf wine-version.tar.bz2
New folder caled wine-version was created and simle cd into it and
sudo checkinstall

after the checkinstall you have your own custome wine build that you can simple install with dpkg.

utorak, 14. prosinca 2010.


dwm is a dynamic tiling window manager for X11 exhibiting the principles of minimalism which is known for having influenced the development of other window managers, including xmonadand awesome.It is externally similar to wmii, but internally much simpler. dwm is written purely in C and, for simplicity, lacks any configuration interface besides editing the source code. One of the project's guidelines is that the source code will never exceed 2000 lines, and options meant to be user-configurable are all contained in a single header file.
dwm supports multiple workspaces and unlike ratpoison allows moving and resizing windows with the mouse. Older versions of dwm optionally displayed their stdin in a status bar at the top of the screen. Recent versions use the root window name, which can be changed by an independent process. This is often used to show information that would appear in the notification area of other desktop environments—a clock, system load info, laptop battery and network status, music player information and the like. This status line is often complemented with dmenu, a textual application launcher from the same developer as dwm. dwm uses a focus-follows-mouse model and lacks any window decoration other than a border to show focus.

And here are some my screenshots



and i will share with you my custome .deb
http://uploading.com/files/57b53cd4/dwm ... amd64.deb/