Monday, July 6, 2009

working xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
Identifier "Configured Video Device"
EndSection

# Section "Monitor"
# Identifier "Configured Monitor"
# EndSection


# resolution up to 2048 x 1536
Section "Monitor"
Identifier "NEC MultiSync FE2111SB"
VendorName "NEC"
ModelName "FE2111SB"
HorizSync 30 - 115
VertRefresh 50 - 160
DisplaySize 406.1 304.6
Option "dpms"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "NEC MultiSync FE2111SB"
Device "Configured Video Device"
EndSection

#PL_dev keyboard for Solaris/OpenSolaris/Nevada/SXCE
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pl_dev"
EndSection

Blastwave Repo

# pkgadd -d http://blastwave.network.com/csw/pkgutil_`/sbin/uname -p`.pkg
# mkdir /etc/opt/csw # cp -p /opt/csw/etc/pkgutil.conf.CSW /etc/opt/csw/pkgutil.conf
# /opt/csw/bin/pkgutil --catalog
# /opt/csw/bin/pkgutil --install gnupg textutils
# cd /tmp
# /opt/csw/libexec/pkgutil/wget http://www.blastwave.org/gpg_key.txt
# /opt/csw/bin/gpg --import gpg_key.txt
# /opt/csw/bin/gpg --list-keys
# /opt/csw/bin/gpg --edit-key A1999E90

w wierszu polecenie/command trzeba wpisac trust
potem 5
potem quit
# nano /etc/opt/csw/pkgutil.conf
odkomentowac te dwie linie
use_gpg=true
use_md5=true
i ostatnie polecenie
# /opt/csw/bin/pkgutil --catalog


via: blastwave.org/howto.html

polska klawiatura programisty w systemie Solaris / OpenSolaris / Nevada / SXCE

albo z shella wydajemy polecenie /usr/X11/bin/setxkbmap pl_dev

albo dodjemy do /etc/X11/xorg.conf taki wpis

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pl_dev"
EndSection

OpenSolaris DEV Repo

Zanim sie to zrobi, warto ustawic timeout na 15 min (900 sec)
$ PKG_CLIENT_TIMEOUT=900
$ export PKG_CLIENT_TIMEOUT

Żeby sie przełączyć na developerskie repozytorium OpenSolarisa - z normalnego usera wydajemy polecenie:
pfexec pkg set-publisher -O http://pkg.opensolaris.org/dev opensolaris.org
a nastepnie
pfexec pkg image-update
i gotowe :)

Uwaga: powyzsze nie pozwala wybrac jedenego pakietu do update'u, to update'uje CALY system jak leci do najwyzszej wersji developerskiej tworzac po drodze i aktywujac nowy snapshot z kompletnym systemem

Chcac tylko dodac repo dla package managera, zeby sobie wybrac jakas pojedyncza aplikacje do instalacji wystarczy dodac ponizszy wpis w Package Manager --> Repository --> Add

Name : dev.opensolaris.org
URL : http://pkg.opensolaris.org/dev