Command Syntax: Difference between revisions
Line 88: | Line 88: | ||
8) Exit | 8) Exit | ||
Then, once you've got some initial numbers, choose Option 7 (and go grab a coffee; this takes a while...) | Then, once you've got some initial numbers, choose Option 7 (and go grab a coffee; this takes a while... around 17min) | ||
<br> | <br> | ||
Apply your new calibration: | Apply your new calibration: | ||
<font color=lime>user@hostname</font> <font color=blue>~ $</font> '''dispwin 3008wfp.cal''' ''naturally, change the file-name to whatever you used :-) '' | <font color=lime>user@hostname</font> <font color=blue>~ $</font> '''dispwin 3008wfp.cal''' ''naturally, change the file-name to whatever you used :-) '' | ||
Verify by eye, using Norman Koren's gamma-test-patterns: http://www.normankoren.com/makingfineprints1A.html | Verify by eye, using Norman Koren's gamma-test-patterns: http://www.normankoren.com/makingfineprints1A.html |
Revision as of 18:04, 21 July 2010
Command Syntax
GENTOO_KERNEL
cd /usr/src/
ls -la
cp linux/.config linux-2.6.XX-hard-rX/
rm linux
ln -s linux-2.6.XX-hard-rX/ linux
ls -la
cd linux/
make oldconfig
genkernel --menuconfig all
Load the config.bak (type .bak)
ls -la /boot/
vi /boot/grub/grub.conf
ADD SAMBA USER: CHANGED DEFAULT DIRECTORY
useradd jsama
passwd jsama
vi /etc/passwd
jsama:x:1009:1009::/mnt/raid/jsama:/bin/bash
cd /mnt/raid
mkdir jsama
chown jsama jsama
chmod 750 jsama/
usermod -a -G raidaccess jsama
vi /etc/samba/smb.conf
valid users = jsama
vi /etc/samba/smbusers
jsama = jsama
smbpasswd -a jsama
Samba control
/etc/init.d/samba stop /etc/init.d/samba start /etc/init.d/samba reload (for when the smb.conf file changes)
Samba Commands
smbclient -L localhost (to list available shares on localhost. Use "servername" or IP in place of "localhost" if you are testing from a remote machine)
OpenLDAP
OpenLDAP Commands
On a remote machine, you can access and dump the whole LDAP tree:
ldapsearch -x -b 'dc=whiterock' -D "cn=Manager,dc=whiterock" '(objectclass=*)' -H ldap://192.168.0.110 -W (home) ldapsearch -x -b 'dc=iat,dc=sfu,dc=ca' -D "cn=Manager,dc=iat,dc=sfu,dc=ca" '(objectclass=*)' -H ldap://209.87.56.238 -W (campus)
Colour (color) Management under Linux
hostname ~ # emerge -v argyllcms (currently requires using layman, and adding the sunrise overlay) [ebuild R ] media-gfx/argyllcms-1.1.1 USE="-doc" 0 kB [1]
Attach the Colormunki Photo USB-device, then run (target brightness of 120mc/m^2, final gamma of 2.2, LCD monitor, default target temp=6500K, with large-ish centered patch):
user@hostname ~ $ dispcal -y l -q h -g 2.4 -b 120 -P 0.5,0.5,2.0 -v 3008wfp (this will create a file 3008wfp.cal in the directory where you ran the command)
Typically choose Option 5 from the initial menu:
Display adjustment menu: Press 1 .. 7 1) Black level (CRT: Offset/Brightness) 2) White point (Color temperature, R,G,B, Gain/Contrast) 3) White level (CRT: Gain/Contrast, LCD: Brightness/Backlight) 4) Black point (R,G,B, Offset/Brightness) 5) Check all 6) Measure and set ambient for viewing condition adjustment 7) Continue on to calibration 8) Exit
Then, once you've got some initial numbers, choose Option 7 (and go grab a coffee; this takes a while... around 17min)
Apply your new calibration:
user@hostname ~ $ dispwin 3008wfp.cal naturally, change the file-name to whatever you used :-)
Verify by eye, using Norman Koren's gamma-test-patterns: http://www.normankoren.com/makingfineprints1A.html