sabato 28 febbraio 2009

peazip 2.5.1


PeaZip è un gestore di archivi multipiattaforma gira perfettamente sia su linux che windows supporta molti formati: tra cui 7Z, BZ2, GZ, PAQ/LPAQ, PEA, QUAD, TAR, UPX, ZIP; legge ACE, ARJ, CAB, DEB, ISO, LHA, RAR, RPM

il sito di riferimento del progetto lo trovate qui http://peazip.sourceforge.net/

per l'installazione su archlinux possiamo servirci di yaourt.

sudo yaourt -Sy peazip-portable-gtk2

venerdì 20 febbraio 2009

eeepc 904 HA

in questo post pubblico i principali file di configurazione del mio asus eeepc 904 ha con installato archlinux, come iso di riferimento ho scelto la 2008.12 test ma si può benissimo utilizzare la nuova 2009.02.

Seguite l'installazione classica appoggiandovi alla guida che trovate sul sito www.archlinux.it per poter utilizzare la scheda di rete del portatile bisogna caricare il modulo del kernel atl1e mettetelo nella linea modules di rc.conf se non viene caricato in automatico.

ecco il mio rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="it_IT.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(atl1e ath5k ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd !snd-pcsp snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="eeepc"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus !network netfs crond alsa hal fam gdm wicd)


per il riconoscimento della scheda wifi ho installato i driver madwifi è caricato il modulo ath5k mettendolo nella linea modules, la scheda audio sembra riconosciuta senza problema bisogna solo disattivare il modulo snd-pcsp dal caricamento automatico mettendo.
mv xorg.conf.new /etc/X11/xorg.conf

Sembra che utilizzando la nuova iso 2009.02 non bisogna più trafficare con la linea modules di rc.conf penserà udev al caricamento dei vari moduli del kernel in automatico.

per configurare xorg, scheda video e touchpad ho seguito i consigli sul wiki riferiti
all' eeepc 901 praticamente ho copiato il file xorg.conf adattandolo alle mie esigenze, bisogna prima di installare xorg, installare hal e fam metterli nella linea daemons e farli partire come servizi scrivendo.

# pacman -S hal fam

# /etc/rc.d/hal restart
# /etc/rc.d/fam restart

adesso si può installare il pacchetto xorg con pacman.

# pacman -S xorg

installate inoltre i driver video intel, synaptics per il touchpad.
# pacman -S xf86-video-intel synaptics xf86-input-evdev xterm

create il file xorg.conf scrivendo:

# Xorg -configure

copiate il file xorg.conf.new dentro la cartella /etc/X11/
# mv xorg.conf.new /etc/X11/xorg.conf

vi posto il mio xorg.conf inserite synaptics dentro la sezione module, create una nuova sezione di input device per la configurazione del touchpad utilizzando synaptics

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "synaptics"

EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "extmod"
Load "freetype"
Load "record"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "synaptics"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "PalmDetect" "0"
Option "SHMConfig" "true"
Option "SendCoreEvents" "yes"
Option "RBCornerButton" "0"
Option "RTCornerButtom" "0"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "AccelFactor" "0.0320"
Option "MaxSpeed" "0.72"
Option "MinSpeed" "0.6"
Option "Emulate3Buttons" "true"
Option "TouchPadOff" "0"
Option "LBCornerButton" "2"
Option "LeftEdge" "60"
Option "RightEdge" "1070"
Option "TopEdge" "90"
Option "BottomEdge" "680"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "HorizScrollDelta" "20"
Option "LockedDrags" "1"
Option "CoastingSpeed" "0.13"
Option "CircularScrolling" "1"
Option "CircScrollTrigger" "8" # 8=Top Left Corner
EndSection


Section "Monitor"
#DisplaySize 200 110 # mm
Identifier "Monitor0"
VendorName "HSD"
ModelName "325"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor" # []
#Option "ColorKey" #
#Option "CacheLines" #
#Option "Dac6Bit" # []
#Option "DRI" # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces" #
#Option "PageFlip" # []
Identifier "Card0"
Driver "intel"
Option "XAANoOffScreenPixmaps" "true"
Option "AccelMethod" "XAA"
VendorName "Intel Corporation"
BoardName "Mobile 945GME Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection



nella sezione device inserite queste due righe:
Option "XAANoOffScreenPixmaps" "true"
Option "AccelMethod" "XAA"


installate pure mesa .

# pacman -S mesa

controllate se avete il direct rendering abilitato da terminale scrivete:

glxinfo

per la connessione wireless ho scelto di installare wicd.



sabato 14 febbraio 2009

rai e Microsoft Silverlight

sul portale mutimediale rai per visualizzare i video bisogna utilizzare microsoft silvelight, ma grazie agli amici del progetto mono sul nostro amato pinguino possimo visualizzare i vari filmati utilizzando Moonlight.

Moonlight non è altro che un implementazione open source del giovane plug-in Silverlight.

il codecs si installa come una semplice estensione di firefox, per l'installazione collegatevi qui:
http://www.go-mono.com/moonlight/





scegliete l'architettura 32 o 64 bit, cliccate sul bottone linux/i586 riavviate il browser.

per la visualizzazione dei video vi basterà cliccare sul video da voi scelto penserà il plugin allo scaricamento dei vari codecs necessari purtroppo ho notato che su schede video che non siano nvidia non si riesce ha selezionare lo schermo intero.