Tuesday, November 29, 2011

Doom 3 Game of the day Hexen : Edge of Chaos HD Gameplay video

The mod is is based on doom3 and
to keep it short , watch the video and be scared


Friday, November 25, 2011

Replacing gnome3 with xfce/lxde on #fedora core 16

To replace and remove the ugly gnome 3 interface from fedora core 16 (it doesn't work if you don't have hw 3d acceleration if you are on a remote vnc session ) and to enable something more light and classy

you need to do the following easy steps

(it's better to do it in a console)


yum groupremove 'GNOME Desktop Environment'
yum groupinstall XFCE
yum groupinstall LXDE




create the file with a editor
/etc/sysconfig/desktop

DISPLAYMANAGER=/usr/sbin/lxdm
PREFERRED=/usr/bin/startlxde

and reboot


to enable vnc session for remote users
/bin/su username -c "/usr/bin/vncserver :1 -geometry 1440x900"



also it can be added in the rc.local so they will be enabled at server startup

/bin/su username2 -c "/usr/bin/vncserver :2 -geometry 1440x900"
/bin/su username3 -c "/usr/bin/vncserver :3 -geometry 1440x900"
....



Wednesday, November 23, 2011

Volumeicon +xfce-mixer part two : better volume applet in #lxde for !debian or #Lubuntu

Dedicated to Jancsi who just switched from unity to Lubuntu

As you might now from part one i use volumeicon for controlling my speakers when i listen to music
There is no easy graphical mixer in lubuntu but
There is the help of xfce4-mixer to the rescue



open console and type to in
sudo apt-get install xfce4-mixer
next install and compile volumeicon with the patch to use xfce4-mixer by default
it places an icon in status bar and when you right click you can choose mixer and it will show you the xfce4-mixer in all it's glory

git clone https://github.com/mariuz/volumeicon.git
cd volumeicon
sudo apt-get install libasound2-dev
./configure --prefix=/usr 
sudo make install

I have two soundcars so i have added in the config
cat /proc/asound/cards
0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeaec000 irq 44
 1 [default        ]: USB-Audio - Microsoft LifeChat LX-3000 
                      Microsoft LifeChat LX-3000  at usb-0000:00:1d.2-1, full speed

vi ~/.config/volumeicon/volumeicon
[Alsa]
card=hw:1
Start volumeicon or add it to the startup session
volumeicon &
if you are on pure LXDE/Debian
editor ~/.config/lxsession/LXDE/autostart
#add to the file
@volumeicon
If you are on Lubuntu
editor ~/.config/lxsession/Lubuntu/autostart
#add to the file
@volumeicon
by default when you click on volume icon it mutes the sound card so in preferences i put Left Mouse Button Action to open the Slider And the Channel will be PCM



LightDM on Xubuntu 11.10 horror story

I have installed xubuntu 11.10 on one machine that was already with kubuntu installed on it
after reboot there was nologin only some flashes
I have disabled graphical boot , deleted quiet and all the pretty options in the grub menu (nomodeset added too)
no luck
removed kdm still no luck
I have launched lightdm manually with debug flag
lightdm -d and saw that it needs unity-greeter and there was no such thing as unity-greeter installed
so i have installed it  and changed to the classic gtk greeter
In /etc/lightdm/lightdm.conf i have changed
greeter-session=lightdm-gtk-greeter

Reboot and still in the logs i saw "lightdm main process  TERM signal"
and No greeter .
What is weird that lxdm started if launched from command line also
the start-xfce4 worked ok
what to do ?
i have added in rc.local
start lightdm and after reboot
the login was ok again






Tuesday, November 22, 2011

Installing qxl drivers on Windows7 guest (and others virtio drivers for ballooning memory, virtioserial, network and viostor)

Download qxl driver Windows qxl driver qxl-0.10-20112808.zip

extract it  then install it

cd x86
pnputil -i -a qxl.inf


from the downoad page also you need to install spice vd-agent Windows guest agent - vdagent-win32_20111124.zip



Last thing you need to do is install the virtual desktop agent for your windows 7 guest. To do this, copy the two executable files from the vdagent zip file 






Now go to the directory where these executables are located and type “vdservice install”. This will install and start the guest agent service as shown below.








You might need  virtio drivers 
The drivers include virtio drivers for ballooning memory, virtioserial, network and viostor ( block drivers ). These drivers are signed but not WHQL and there are no gui installers for them.


This is the installation method with virtio drivers :
Download the the host the iso.
Mount the iso in the windows guest machine from the the virt-manager details interface


and for each inf install it and then configure the machine to use the virtio


d:\
cd Windows7 
cd x86 
pnputil -i -a *.inf

Monday, November 21, 2011

Ie9 on kvm-linux

The steps/scripts for using ie9 test machine are quite easy to follow if you are using virtualbox
but what about kvm-linux ?


I followed the guide to make vhd to kvm raw This guides works but it creates a raw partition of 127G in size so is not so good :
qemu-img convert -f vpc -O raw Windows\ 7.vhd Windows7ie9.img

 so i used this command line instead:

 qemu-img convert -f vpc -O qcow2 Windows\ 7.vhd Windows7ie9.qcow

and image is now ~ 13G
Create new virtual machine importing the converted qcow2 image

Notice I had an issue with the tablet device so i have disabled it for vnc

You can add montly script in scheduler to rearm it on the windows guest
rearm.bat
slmgr –rearm
shutdown -r -t 0

Next i had some issues with vnc (mouse positioned weird and at the distance with the vnc cursor when connecting from remote)


and I have enabled the spice server instead of the vnc one in the virt-manager configuration for this host and then installed spice client on my machine

sudo apt-get install spice-client

run it with

spice-client
type host port and password if you have one set

To Exit the spice client Shift - F12






Monday, November 14, 2011

theÖutlet new free album by absurdcus

Absurducus launched his album on 11.11.11 and at 11.11 AM/PM you can add remove a few nanoseconds just for fun

Album is under Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) and can be ripped and then after you listen you can donate to make him millionaire

Sunday, November 13, 2011

Correcting #ubuntu Unity mistake - move it at the bottom

I use Lubuntu or Xubuntu and i have read that the problem with the unity on the left side can be easily fixed
I think no one would complain if the bar would be at the bottom with a proper classic start menu (win7 style) isn't it ? and yes with the close buttons on the right please

ps : I have enough pixels or two monitors to put unity wherever i like and want , that is the cost of freedom

Saturday, November 12, 2011

My next phone will be with Debian / Ubuntu

This ubuntu phone art concept made me think that i really want a Linux phone based on Debian/Ubuntu
I don't want a Nokia zombie all i want a true open source phone (true in the heart and true in the ubuntu spirit)



Friday, November 11, 2011

#Ubuntu After the uTorrent page was virused i recommend QBittorrent to anyone

I'm pissed utorrent doesn't make a client for Linux until the endof the year (only next) but in a sense we Linux users don't really care , there are many torrent clients to choose from One that i love is qbittorrent. It works great on all platforms , it is written in QT framework and it looks and feels just like uTorrent minus the crappy bars and viruses Did i mentioned that is small and better in the sense that is simpler to use than kTorrent (starts in < 1s instead of minutes) And it does have a cool logo too

In ubuntu you can install this way

 sudo apt-get install qbittorrent

 or on windows/macosx from this page

Building kinterbasdb docs

sudo apt-get install python-sphinx

svn co https://firebird.svn.sourceforge.net/svnroot/firebird/kinterbasdb kinterbasdb

kinterbasdb/trunk/sphinx

make html
mkdir -p .build/html .build/doctrees
sphinx-build -b html -d .build/doctrees   . ../docs
Running Sphinx v1.0.7
loading pickled environment... not yet created
building [html]: targets for 11 source files that are out of date
updating environment: 11 added, 0 changed, 0 removed
reading sources... [100%] tutorial                                                                                                                                                           
/home/mariuz/work/kinterbasdb/trunk/sphinx/beyond-python-db-api.txt:75: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.

/home/mariuz/work/kinterbasdb/trunk/sphinx/beyond-python-db-api.txt:: WARNING: using old C markup; please migrate to new-style markup (e.g. c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html
/home/mariuz/work/kinterbasdb/trunk/sphinx/changelog.txt:950: (WARNING/2) Block quote ends without a blank line; unexpected unindent.

/home/mariuz/work/kinterbasdb/trunk/sphinx/changelog.txt:1158: (WARNING/2) Definition list ends without a blank line; unexpected unindent.

/home/mariuz/work/kinterbasdb/trunk/sphinx/concurrency.txt:167: (WARNING/2) Block quote ends without a blank line; unexpected unindent.

/home/mariuz/work/kinterbasdb/trunk/sphinx/python-db-api-compliance.txt:32: WARNING: duplicate object description of kinterbasdb.Cursor, other instance in /home/mariuz/work/kinterbasdb/trunk/sphinx/beyond-python-db-api.txt, use :noindex: for one of them
/home/mariuz/work/kinterbasdb/trunk/sphinx/python-db-api-compliance.txt:107: WARNING: duplicate object description of kinterbasdb.Connection, other instance in /home/mariuz/work/kinterbasdb/trunk/sphinx/beyond-python-db-api.txt, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] tutorial                                                                                                                                                            
writing additional files... genindex py-modindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 7 warnings.

Build finished. The HTML pages are in .build/html.

Saturday, November 05, 2011

fixing !Debian sid dpkg: warning: 'ldconfig' not found in PATH or not executable.

If you have this bug with sid when you do sudo apt-get dist-upgrade
dpkg: warning: 'ldconfig' not found in PATH or not executable.
The simple solution is to modify in /etc/sudoers
Defaults   env_reset
Defaults   secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 

constantly usable #debian testing installer

If you search for usable testing iso you can find a debian Official CD/DVD images of the testing distribution (regenerated weekly) you only need the first cd from the list , burn CD1 iso it and start (boot from it)