无题
sudo -i
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter background-color ''
用gnome-tweak-tool
FAQforge
Set lightdm wallpaper that is independant of the user’s wallpaper (Ubuntu/Linux Mint)
CSch Categories: Basics, Linux & Unix, Ubuntu Tags: background, change, dconf-tools, lightdm, static, user, wallpaper
Using lightdm, the wallpaper that is shown is usually the one used by the selected user. If you want to change this or just set a static wallpaper for your login screen, there are a few possibilities to do that.
1. Method
The first one is to make your wallpaper inaccessible to others, letting lightdm fall back to its default wallpaper. For this method, dconf-tools must be installed. If it isn't installed on your system yet, install it with
sudo apt-get install dconf-tools
With these tools you can easily configure lightdm - however you cannot do so in the GUI since you must be logged in as lightdm user. Do so by entering following into a terminal:
sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
Now you can edit any of lightdm's settings with the command line - you can use the dconf GUI as reference for the paths and variable names (the dconf path to the lightdm unity greeter configuration is com>canonical>unity greeter). Set the background picture with
gsettings set com.canonical.unity-greeter background '/usr/share/backgrounds/orsomewhereelse.png'
Replace the path I use with the one to the wallpaper of your choice - it must be closed in quotation marks. You can also change the background color to black (x000000) or some other neutral color.
What happens in the login screen now is that the dconf wallpaper blinks up for a second and is then replaced by your wallpaper. To counter that, you must make your wallpaper inaccessible to other users. To do that, log in to your account again and open a terminal. Change the ownership to you instead of root if you need to (wallpapers in /usr/share... usually don't belong to you for example). Replace my username (howtoforge)and my group (howtoforge) with yours:
sudo chown howtoforge:howtoforge /usr/share/backgrounds/orsomewhereelse.png
Now right-click the wallpaper and go to the Permissions tab in the Properties menu. Set the rights of Others to None. Lightdm won't be able to access your wallpaper any longer, so it falls back to the one you specified in dconf-tools.
2. Method
The other possibility is to run
id -u
to find out your user ID and afterwards run (replace [your id] with the ID the previous command spit out (without brackets) and the path I used with the one to the wallpaper you want lightdm to display):
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User[your id] org.freedesktop.Accounts.User.SetBackgroundFile string:/path/to/wallpaper.jpg
This command has to be repeated every time you change your wallpaper and only replaces the wallpaper for one user. You can decide whether you like this method or the previous more.
To remove white dots, run the following commands in a Terminal:
去除绘制点
sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid false;exit
禁用:
I don't think there is any need to revert anything. See "man xhost"
You could run this to remove lightdm from the access control list.
Code:
sudo -i
xhost -SI:localuser:lightdm
FYI these are the sequence of commands (tested in 16.04) to remove the greeter dots.
Code:
sudo -i
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid 'false'
You can then type in "exit" and press Enter. Repeat.
or
just close the terminal.
answered Jan 5 '15
updated Jan 5 '15
Using gsettings, for example:
$ gsettings set org.gnome.desktop.wm.preferences button-layout 'minimize,maximize,close:'
That command will put Minimize, Maximize and Close buttons to the left. You can change the order and which buttons to use. (If you put : in front, buttons will be aligned to the right).
HTH,
Germán.
If you're using Gnome Shell and you want the window buttons on the left, use this command:
dconf write /org/gnome/shell/overrides/button-layout "'close,minimize,maximize:'"
Then restart the shell if needed: press Alt+F2, type r and press Enter.
To set the icons you can use dconf-editor or:
gsettings set com.solus-project.budgie-wm button-layout 'close,minimize,maximize:appmenu'
For the gnome windows (like settings) it's:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ShellShowsAppMenu': ,'Gtk/DecorationLayout': <'close,maximize,minimize:menu'>}"
close,maximize,minimize:menu would be
menu:minimize,maximize,close
if you want it the other way around. Then, if you did not have it:
sudo apt install gnome-tweak-tool
Start it, set the themes under appearance and enjoy the eye candy
. Thanks for sharing the PPA's!
[edit] I noticed that you can start Budgie Welcome from the start menu. Start it and click default settings. Then you have the option to install the Arc and Material Design themes. It seems the Material Design is the one with the transparency. Click install and then Apply. [/edit]
gsettings set com.solus-project.budgie-wm button-layout 'close,minimize,maximize:appmenu'
gsettings set com.solus-project.budgie-helper.workarounds fix-button-layout 'close,minimize,maximize:menu'
在Linux中執行.sh腳本異常/bin/sh^M: bad interpreter: No such file or directory
分析:
這是不同系統編碼格式引起的:在windows系統中編輯的.sh文件可能有不可見字符,所以在Linux系統下執行會報以上異常信息。
解決:
1)在windows下轉換:
利用一些編輯器如UltraEdit或EditPlus等工具先將腳本編碼轉換,再放到Linux中執行。
轉換方式如下(UltraEdit):File-->Conversions-->DOS->UNIX即可
2)也可在Linux中轉換:
首先要確保文件有可執行權限
chmod a+x filename
然後修改文件格式
vi filename
利用如下命令查看文件格式
:set ff 或 :set fileformat
可以看到如下信息
fileformat=dos 或 fileformat=unix
利用如下命令修改文件格式
:set ff=unix 或 :set fileformat=unix
:wq (存檔退出)
最後再執行文件
./filename
bash: ./configure: /bin/bash^M: bad interpreter: No such file or directory
atc@ATC:~/Downloads/SampleICC-1.6.10$ sed -i -e 's/\r$//' configure
https://github.com/Fimagena/raw2dng
http://www.ludd.ltu.se/~torger/dcamprof.html
编译raw2dng依赖:sudo apt-get install libexiv2-dev libraw-dev libexpat1-dev libjpeg-dev zlib1g-dev
如果提示有不可信赖的依赖请删除wiznote的deb源即可
编译时进行make的时候会提示缺少/config.h
home/atc/Downloads/raw2dng-master/raw2dng/rawConverter.cpp:19:20: fatal error: config.h: No such file or directory
从子目录raw2dng拷贝此文件至根目录下重新make即可
dcamprof编译依赖:sudo apt-get install libtiff5-dev
make
sudo checkinstall
亮度控制器安装
sudo apt-get install xbacklight -y
命令介绍
代码:
xbacklight -set 45 #xbacklight将屏幕亮度定义0到100的区间,0最暗,100最亮,这里设置为45
xbacklight -dec 10 #降低10个百分点
xbacklight -inc 10 #增加10个百分点
xbacklight #显示当前的屏幕亮度
xbacklight -h #打印帮助信息
光这样还是不够方便滴,所以写了个小脚本:
代码:
#!/bin/bash
XBACKLIGHT_CFG="${HOME}/.xbacklight.conf"
if [[ $# -eq 0 ]]; then
xbacklight -set $(sed -n '1p' ${XBACKLIGHT_CFG})
else
xbacklight $1 $2
xbacklight > ${XBACKLIGHT_CFG}
fi
将上面这段脚本存为文本文件,我取名为xlight
然后
代码:
chmod a+x xlight
sudo mv xlight /usr/bin
打开Settings->Keyboard然后点最下方的“+”
添加1:
添加2:
添加启动项:
在老电脑上装双显卡驱动注意一点:由于新版本支持手动切换显卡,因此如果在BIOS里禁用了集显而开启独显,会使亮度调节功能失效(笔记本电脑)
一个搜索linux付费软件的好地方:http://lin-app.com/
比linapp更强大的软件搜索网站(付费&免费)
http://alternativeto.net/browse/search?q=subtitle
silo 2 无法运行修复方法(
从steam安装可以打折)
/home/atc/.local/share/Steam/steamapps/common/Silo_2/lib/silo,找到libxcb.so.1然后重命名为libxcb.so.1.back即可
(删除不推荐)
spotify linux安装
# 1. Add the Spotify repository signing key to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
# 2. Add the Spotify repository
echo deb
http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt-get update
# 4. Install Spotify
sudo apt-get install spotify-client
购买spotify会员的地方(itunes无法内购而且如果使用信用卡还必须是美国的信用卡,但这个还是教我找到了,发给大家,便宜又实惠)
https://item.taobao.com/item.htm?spm=a1 ... d0ltsk213c
更改ebay名称和账户ID的地方
左边改称昵(鼠标选中变蓝部分)右边改账户ID(鼠标指针所处位置)
混合
You can install Dnscrypt using ppa:shnatsel/dnscrypt PPA
sudo add-apt-repository ppa:shnatsel/dnscrypt
sudo apt-get update
sudo apt-get install dnscrypt-proxy
chrome 搜索:
Tampermonkey
然后在如图所示输入:
https://github.com/gantt/downloadyoutub ... yt.user.js
然后YouTube页面就有下载选项了
另外:如果翻了墙还上不了YouTube请把wifi或网线输入的地方改成8.8.8.8;8.8.4.4不是VPN的ip4 DNS
114.114.114.114不可用了现在
blender教程
https://pan.baidu.com/s/1kUCmPr5
vivaldi浏览器
https://vivaldi.com/download/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 61FF9694161CE595
sudo gedit /etc/apt/sources.list.d/sstp-client.list
安装SSTP清先添加以下地址:
代码: 全选
deb http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main
deb-src http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main
sudo apt-get update
sudo apt-get install sstp-client network-manager-sstp
推荐款新的vpn:purevpn
https://www.purevpn.com
这个是目前网速最快的
玩robocraft 速度很快一点不卡
Ubuntu budgie 17.04 确定能用
但是切记不要从app store 付费而要从官网通过支付宝付费不然只是移动版,桌面版是60人民币一个月,30是移动版(只有手机能用)
而且有24小时在线客服(非email )
而且针对中国用户有特别优化的服务器,网速很快
杀毒软件请用Nod32
淘宝网上二版科技自营商城有售卖
https://item.taobao.com/item.htm?spm=a1 ... d0ltsk93b1
安装flash player
To install the new pepperflashplugin-nofree:
1. Open terminal (Ctrl+Alt+T) and run the command below to add the PPA:
sudo add-apt-repository ppa:jonathonf/pepperflashplugin-nonfree
2. Then update and install the new installer:
sudo apt-get update
sudo apt-get install pepperflashplugin-nonfree
For those who don’t want to add PPA, grab the .deb package directly from PPA page.
When a new flash release is out, just one command to install the updates:
sudo update-pepperflashplugin-nonfree --install
3. The PPA also contains, browser-plugin-freshplayer-pepperflash, an adapter to make pepper flash work for Firefox based browsers, install it via:
sudo apt-get install browser-plugin-freshplayer-pepperflash
Uninstall:
To remove the installer, simply run command:
sudo apt-get remove pepperflashplugin-nonfree browser-plugin-freshplayer-pepperflash && sudo apt autoremove
And the PPA can be removed by going to System Settings -> Software & Updates -> Other Software tab.
linux上的打印机校色教程
从http://
www.russellcottrell.com/photo/LittleArg ... eargyllgui
The -e parameter sets the number of white colored test patches, defaulting to 4 if the -e flag isn't used. The white patches are usually very important in establishing white point that the ICC data is made relative to, so it improves robustness to use more than a single point.
The -B parameter sets the number of black colored test patches, defaulting to 4 if the -B flag isn't used and the colorspace is grey or RGB. The black point can be very important for characterizing additive color spaces, so measuring more than one black patch improves robustness over measuring just a single point.
The -g parameter sets the number of patches in a set of combined (nominally gray) wedges. This will typically be equal RGB or CMY values, and by default will be equally spaced steps in device space. If the -p parameter is provided, then, then the steps will be distributed according to the power value. e.g. the option -g 5 will generate steps at 0.0 0.25 0.5 0.75 and 1.0, while the option -g 5 -p 2.0 will generate steps at 0.0 0.0625 0.25 0.5625 and 1.0. By default, no gray combination values are generated. When creating a test chart for a device that will be used as a source colorspace, it is often useful to generated some per colorant wedge values.
The -f parameter sets the number of full spread test patches.
设置好后
点击Generate然后点run
然后
instrument选colorMunki
Page:A4
output:16bit
resolution:300
点击Generate然后点run
然后chartread处直接点generate 然后点run不用设置
Manufacture:打印机生产商
Model:打印机型号
Description:相纸类型
-O:文件名.icc
-S:选择AdobeRGB1998(因为不让上传所以请自己从Photoshop的目录里拷)
-Z:Perceptual
其他不设置,
如果-i 和 -f在Generate 生成的命令里出现了那么删除它之后点run就可以了
argyllcms自带错误识别所以不用担心扫错了,但是有个小提示:听到水滴声请将设备置于最前面的白色部分(那个也是要扫描的色块尽管是白色)然后压住按钮匀速扫过去,可以扫的很快,扫错了按“
回车”然后按“
b”重新扫,全部扫完按
d结束,
注意:不要点patch by patch!
另外请对打印机设置平直打印,最高质量打印,纸张选择极度高光,关闭快速打印,在打印色表的时候关闭打印机的色彩管理(不是显示器或禁用全部色彩管理)
对spyder checkr(48色)进行拍摄,
然后把点击铬球受光面的SpyderCube的灰面(设置白平衡)
然后调整曝光(exposure)使白色达到RGB90%(左侧有显示)
然后拖动Black将黑色达到4%以下(左侧有显示)
选择netral(裁剪后变为custom),也可以对其进行稍微旋转(按钮在裁剪图标的右边)
然后点左下角的齿轮,然后选择16位TIFF其他默认
scanin -v -p -dipn IMG_9047.tif SpyderChecker.cht SpyderChecker.cie
p will show the sampling areas as colored pixels.
The combination of -dipn is usually a good place to start.
The -v flag enables extra verbosity in processing. This can aid debugging, if a chart fails to be recognized.
Here is a log of the process, from Terminal output:
KT-Laptop-3:Debug kirkt$ dcraw -v -r 1 1 1 1 -o 0 -H 0 -T -6 -W -g 1 1 /Users/kirkt/Desktop/dcamprof/Debug/_MG_0044.CR2
Loading Canon EOS 5D Mark III image from /Users/kirkt/Desktop/dcamprof/Debug/_MG_0044.CR2 ...
Scaling with darkness 2047, saturation 15488, and
multipliers 1.000000 1.000000 1.000000 1.000000
AHD interpolation...
Building histograms...
Writing data to /Users/kirkt/Desktop/dcamprof/Debug/_MG_0044.tiff ...
KT-Laptop-3:Debug kirkt$
scanin -v -dipn target.tif ColorChecker.cht cc24_ref.cie
TIFFFetchNormalTag: Warning, ASCII value for tag "ImageDescription" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFFetchNormalTag: Warning, ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFFetchNormalTag: Warning, ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
Input file 'target.tif': w=2356, h=1562, d = 3, bpp = 16
Data input file 'cc24_ref.cie'
Data output file 'target.ti3'
Chart reference file 'ColorChecker.cht'
Creating diagnostic tiff file 'diag.tif'
About to allocate scanrd_ object
Verbosity = 2, flags = 0x42a01
About to read input tiff file and discover groups
adivval = 1.000000
About to calculate edge lines
379 useful edges out of 482
About to calculate rotation
Mean angle = -0.220790
Standard deviation = 1.164465
Robust mean angle = -0.189701 from 356 lines
About to calculate feature information
About to read reference feature information
Read of chart reference file succeeded
About to match features
Checking xx
Checking yy
Checking xy
Checking yx
Checking xix
Checking yiy
Checking xiy
Checking yix
Axis matches for each possible orientation:
0: xx = 0.320776, yy = 0.306004, xx.sc = 0.134631, yy.sc = 0.135603
90: xiy = 0.225432, yx = 0.351580, xiy.sc = 0.389820, yx.sc = 0.088742
180: xix = 0.301947, yiy = 0.347327, xix.sc = 0.134340, yiy.sc = 0.134642
270: xy = 0.224873, yix = 0.351576, xy.sc = 0.257560, yix.sc = 0.088742
r0 = 0.440145, r90 = 0.095076, r180 = 0.459195, r270 = 0.143794
There are 2 candidate rotations:
cc = 0.440145, irot = -0.189701, xoff = -49.567580, yoff = -74.423086, xscale = 7.427721, yscale = 7.374475
cc = 0.459195, irot = 179.810299, xoff = -2416.435540, yoff = -1602.952441, xscale = 7.443805, yscale = 7.427127
About to compute match transform for rotation -0.189701 deg.
About to setup value scanrdg boxes
About to read raster values
About to compute expected value correlation
About to compute match transform for rotation 179.810299 deg.
About to setup value scanrdg boxes
About to read raster values
About to compute expected value correlation
Expected value distance values are:
0, rot -0.189701: 2410.510929
1, rot 179.810299: 3842.704025
Chosen rotation -0.189701 deg. as best
About to compute final match transform
Improve match
About to setup value scanrdg boxes
About to read raster values
About to write diag file
Writing output values to file 'target.ti3'
KT-Laptop-3:Debug kirkt$
dcamprof make-profile target.ti3 profile.json
Reading target and generating values for the calibration illuminant D50...
Re-generating target reference XYZ values for illuminant D50...
Making camera profile...
Finding a camera raw RGB to CIE XYZ matrix for illuminant D50...
Whitest patch in target differs DE 1.18 from calibration illuminant,
close enough to calculate whitepoint preservation.
Inverting to get ColorMatrix:
{
"ColorMatrix1": [
[ 0.729155, -0.155578, -0.066452 ],
[ -0.482378, 1.364639, 0.172933 ],
[ -0.111882, 0.237018, 0.685179 ]
]
}
Matrix patch match average DE 1.38, DE LCh 0.61 0.63 0.97
mean DE 1.24, DE LCh 0.50 0.51 0.69
p90 DE 2.32, DE LCh 1.28 1.15 1.90
max DE 4.06, DE LCh 1.92 1.90 3.94
ColorMatrix optimal white balance for target: 0.478142,1,0.660402
Using previously calculated RGB to XYZ D50 matrix.
Applying white-balance to get ForwardMatrix:
{
"ForwardMatrix1": [
[ 0.738497, 0.156947, 0.072765 ],
[ 0.257033, 0.850257, -0.107290 ],
[ 0.031675, -0.268494, 1.049609 ]
]
}
Matrix patch match average DE 1.58, DE LCh 0.96 0.59 0.98
mean DE 1.48, DE LCh 0.91 0.60 0.69
p90 DE 2.58, DE LCh 1.83 1.05 1.91
max DE 4.23, DE LCh 2.40 1.78 3.95
ForwardMatrix optimal white balance for target: 0.478142,1,0.660402
Making 2.5D chromaticity-addressed lookup table for XYZ correction...
25.00% of the patches was put in a chromaticity group due to nearby neighbor.
Largest chromaticity group contains 6 patches. Patch count reduced from
24 to 18. Note that patch matching cannot reach 100% when chromaticity
groups are formed, as the LUT matches the average within a group.
Native LUT patch match average DE 0.37, DE LCh 0.14 0.15 0.23
mean DE 0.00, DE LCh 0.00 0.00 0.00
p90 DE 1.21, DE LCh 0.48 0.60 0.81
max DE 1.89, DE LCh 1.19 0.95 1.80
5 worst patches for Overall DE:
0 RGB 0.077 0.106 0.054 => XYZ 0.127 0.111 0.055 (0.130 0.114 0.054) DE 1.89 DE LCh 0.57 0.04 1.80 (dark brown)
18 RGB 0.484 1.000 0.652 => XYZ 0.965 1.000 0.779 (0.948 0.978 0.773) DE 1.40 DE LCh 0.48 0.95 0.90 (white)
23 RGB 0.019 0.041 0.027 => XYZ 0.034 0.035 0.029 (0.039 0.040 0.033) DE 1.21 DE LCh 1.19 0.23 0.05 (gray 20%)
20 RGB 0.194 0.408 0.267 => XYZ 0.380 0.394 0.320 (0.382 0.398 0.318) DE 1.02 DE LCh 0.19 0.89 0.46 (gray 70%)
22 RGB 0.048 0.103 0.068 => XYZ 0.094 0.098 0.081 (0.096 0.101 0.082) DE 1.02 DE LCh 0.42 0.60 0.71 (gray 40%)
5 worst patches for Lightness DE:
23 RGB 0.019 0.041 0.027 => XYZ 0.034 0.035 0.029 (0.039 0.040 0.033) DE 1.21 DE LCh 1.19 0.23 0.05 (gray 20%)
0 RGB 0.077 0.106 0.054 => XYZ 0.127 0.111 0.055 (0.130 0.114 0.054) DE 1.89 DE LCh 0.57 0.04 1.80 (dark brown)
18 RGB 0.484 1.000 0.652 => XYZ 0.965 1.000 0.779 (0.948 0.978 0.773) DE 1.40 DE LCh 0.48 0.95 0.90 (white)
22 RGB 0.048 0.103 0.068 => XYZ 0.094 0.098 0.081 (0.096 0.101 0.082) DE 1.02 DE LCh 0.42 0.60 0.71 (gray 40%)
19 RGB 0.319 0.671 0.440 => XYZ 0.622 0.645 0.521 (0.628 0.654 0.525) DE 0.64 DE LCh 0.28 0.58 0.03 (gray 80%)
5 worst patches for Chroma DE:
18 RGB 0.484 1.000 0.652 => XYZ 0.965 1.000 0.779 (0.948 0.978 0.773) DE 1.40 DE LCh 0.48 0.95 0.90 (white)
20 RGB 0.194 0.408 0.267 => XYZ 0.380 0.394 0.320 (0.382 0.398 0.318) DE 1.02 DE LCh 0.19 0.89 0.46 (gray 70%)
22 RGB 0.048 0.103 0.068 => XYZ 0.094 0.098 0.081 (0.096 0.101 0.082) DE 1.02 DE LCh 0.42 0.60 0.71 (gray 40%)
19 RGB 0.319 0.671 0.440 => XYZ 0.622 0.645 0.521 (0.628 0.654 0.525) DE 0.64 DE LCh 0.28 0.58 0.03 (gray 80%)
21 RGB 0.102 0.215 0.141 => XYZ 0.202 0.210 0.171 (0.202 0.210 0.168) DE 0.78 DE LCh 0.06 0.32 0.71 (gray 50%)
5 worst patches for Hue DE:
0 RGB 0.077 0.106 0.054 => XYZ 0.127 0.111 0.055 (0.130 0.114 0.054) DE 1.89 DE LCh 0.57 0.04 1.80 (dark brown)
18 RGB 0.484 1.000 0.652 => XYZ 0.965 1.000 0.779 (0.948 0.978 0.773) DE 1.40 DE LCh 0.48 0.95 0.90 (white)
1 RGB 0.253 0.363 0.201 => XYZ 0.424 0.382 0.204 (0.422 0.378 0.206) DE 0.84 DE LCh 0.22 0.03 0.81 (red)
21 RGB 0.102 0.215 0.141 => XYZ 0.202 0.210 0.171 (0.202 0.210 0.168) DE 0.78 DE LCh 0.06 0.32 0.71 (gray 50%)
22 RGB 0.048 0.103 0.068 => XYZ 0.094 0.098 0.081 (0.096 0.101 0.082) DE 1.02 DE LCh 0.42 0.60 0.71 (gray 40%)
5 best patches for Overall DE:
16 RGB 0.187 0.186 0.183 => XYZ 0.325 0.223 0.259 (0.325 0.223 0.259) DE 0.00 DE LCh 0.00 0.00 0.00 (purple-red)
3 RGB 0.071 0.154 0.065 => XYZ 0.123 0.141 0.056 (0.123 0.141 0.056) DE 0.00 DE LCh 0.00 0.00 0.00 (yellow-green)
2 RGB 0.089 0.249 0.219 => XYZ 0.189 0.211 0.284 (0.189 0.211 0.284) DE 0.00 DE LCh 0.00 0.00 0.00 (purple-blue)
14 RGB 0.152 0.093 0.045 => XYZ 0.224 0.134 0.041 (0.224 0.134 0.041) DE 0.00 DE LCh 0.00 0.00 0.00 (red)
9 RGB 0.048 0.078 0.084 => XYZ 0.090 0.073 0.117 (0.090 0.073 0.117) DE 0.00 DE LCh 0.00 0.00 0.00 (dark purple)
Writing output to "profile.json"...
Complete!
dcamprof make-dcp -c "Canon EOS 5D Mark II" profile.json testprofile.dcp
然后于Color选项的color management的input profile中选择custom加载即可。
未应用DCP配置文件:
应用之后(颜色和色温改善很多):
Thinkfan
I hail from back in the day when building a profiling target from scratch was a laborious task, involving entering RGB or CMYK numbers by hand into a spreadsheet . When ProfileMaker 5 came out with its own target generator, I thought, "There's a skill set I'll never be called on to use again." Little did I know. There has continued to be and still continues to be a need for manipulating these text-delimited "CGATS-style" text files and getting into the guts of them to see what's going on. The long-awaited flagship product from X-Rite, i1Profiler, allows for several different file types to be used to save and load color lists as needed. Fortunately they have provided support for the more common text files to allow the average person to create and edit their own lists of colors and use them in their software.
In this article, I want to present you with a starting primer for how to build and work with color lists in the form of tab-delimited text files. This is not as daunting as it sounds. Even if you have never done any computer programing, I'll try to make this fairly easy to pick up and understand.
I suppose if I'm going to ask you to wade through a more technical article that you're used to with the CHROMiX ColorNews, I had better start out with a compelling list of benefits for you to do so! Once you know your way around how these color files are put together, you can:
Create a list of Lab spot colors that you want to compare and analyze to see how they work in your printing system. These could be Pantone colors or other spot colors that you or your client are particularly interested in. A color list brought into a program like ColorThink will tell you quickly whether the colors are in or out of gamut for your printer.
Go beyond the limits of the target generator in your profiling software to make a profiling target with *fewer* patches. Why? Perhaps you don't need a profiling target, but a customized "quality verification" target which contains the key colors that your company is interested in keeping an eye on. This would never be used to create a profile, but is a great way to fit the patches you want into a small space that you can print out once in a while to verify that your colors are consistent. I have used this with great benefit in a company that mostly produced 4x6 RGB prints and needed a daily "control strip" of specific colors that fit onto this small space.
Move patches around in a target. It might be very useful to have a row of your primary colors in a certain place on your profiling target. Having a few K-only patches down in a corner makes it easy to verify whether color management was left on when printing the target. Just knowing how to do simple edits like this is very useful.
Become a better troubleshooter. Say you are trying to regenerate a profile with an older measurement file, and your profiling software gives you a message that says "invalid file." Once you get to a certain point in your knowledge of color management, you're going to want to do more than merely fire off a tech support email to the software manufacturer and wait for an answer. A better solution is to find a workaround quickly to allow you to get your job done. Many error messages are attributed to problems in measurement files which are tab-delimited text files.
Create unusually shaped targets. If you wanted to profile the face of a CD or DVD for example, you would need a round target with a hole in the middle rather than the usual rectangular target. It is possible to do this if you know how to edit reference and measurement files.
Contents [hide]
1 So what's a "CGATS tab-delimited text file"?
1.1 Reference Files
1.2 Measurement Files
2 Examples
3 Excel
4 Applications / Programs
4.1 ColorPort
4.2 MeasureTool
4.3 basICColor print
4.4 i1Profiler
4.5 Curve2
4.6 ColorThink Pro
So what's a "CGATS tab-delimited text file"?
This is a simple text file (with a .txt extension) which contains table-based information that uses tabs to separate the different columns of information. You can create and use these files with a simple text editor (like Notepad in Windows or TextEdit in Mac) - but it sometimes turns out to be easier to work these tables out in a spreadsheet program like Excel, and then output them as tab-delimited text.
CGATS is the organization that rolled this exchange format into a standard (CGATS.17-2009) which has been widely adopted in the color industry. Sometimes people refer to any tab-delineated text files as CGATS files, but doing so could be a bit confusing, for the CGATS.17 standard also covers .xml files.
All CGATS-style tab-delineated text files will start at the top with a few rows of "header" information: Explanatory information defining the terms that will be used, and other necessary information. The last line of the header information is: "BEGIN_DATA" (minus the quotes). The only "footer" required is a final line at the bottom which reads "END_DATA".
Reference Files
In between BEGIN_DATA and END_DATA is the table containing all of your patch color information. For a reference file, you would see RGB data if this were an RGB color list (used for monitor profiles or driver-based printing) with numbers between 0 and 255. A CMYK reference will contain CMYK columns running from 0 to 100.
Measurement Files
A measurement file will contain columns of Lab, XYZ or other flavors of information. It might also contain 32 bands of spectral information - which represent the actual bands of color that was measured by the spectrophotometer. These days, measurement files generally contain the reference information columns too, so that the same file can act as both the reference and the measurement.
Examples
But let's start it out nice and simple. Here's a small color list of Lab values that you could type out in about a minute. Just remember to separate the different "words" by hitting the tab key, not the spacebar.
Example of a simple Lab color list in ColorThink Worksheet.
BEGIN_DATA_FORMAT
Lab_L Lab_a Lab_b
END_DATA_FORMAT
BEGIN_DATA
91 -2 96
44 -29 2
END_DATA
click to download this Lab file
This will give you a 2-patch color list containing a yellow and a green patch. This is easily imported into ColorThink 2 or ColorThink Pro, where you can, for example, transform these values through a profile or view them in the Grapher. Of course, you can take this as a template and substitute your own Lab values and make the list as long as you like.
Oftentimes, color lists contain a leftmost column which numbers the items in the list, and also a column next to it which represents the name of the patch.
Some software have different requirements in the header that they are looking for in order to accept a file. You can easily figure out what's needed by saving out a sample file and opening it in a text editor to see what's in the header.
For example, here's a file that would work as a basic RGB reference file for i1Profiler. Type - or copy and paste the following:
Example of an RGB reference file loaded into i1Profiler patch generator.
KEYWORD "SampleID"
KEYWORD "SAMPLE_NAME"
NUMBER_OF_FIELDS 5
BEGIN_DATA_FORMAT
SampleID SAMPLE_NAME RGB_R RGB_G RGB_B
END_DATA_FORMAT
NUMBER_OF_SETS 3
BEGIN_DATA
1 red 250 50 50
2 white 251 252 253
3 blue 30 30 180
END_DATA
click to download this RGB file
You will have the start of an RGB reference list which can easily import into ColorThink 2 or Pro, or into i1Profiler as an RGB patch set.
Excel
A text editor is easily managed, but does not allow you to add/delete entire columns or sort data. So a spreadsheet program like Excel is a much better way to sort columns of data, rearrange data from one part of the color list to another, or eliminate or add entire rows. Don't have Excel? Google docs offers a simple spreadsheet program as well, and it's free.
Sometimes, you can open a text file directly into Excel and it will automatically walk you through a few questions relating to how you want the data parsed out into columns and rows. If you find that Excel does not accept a color list file directly, open a blank worksheet and, from the menu bar, choose: Data > Get external data... Here you can browse to and select the text file you want to get - and Excel will open it into your worksheet.
Some of the useful functions of Excel would be: Using the sort function to identify the location of specific patches in a long color list. If you decide you don't need XYZ data in a measurement file, you can easily delete those columns and edit the header information accordingly. Bringing a file into Excel will strip away any quotation marks that surround the color name, and then you can save this cleaner version out of Excel again. (Some programs won't accept a tab-delimited file that contains quotation marks.)
Saving a file from Excel to be a text-delimited tab file.
To save the file out of Excel back into the tab-delimited file that will open properly in all these programs, choose:
File > Save As...,
Give the file a name, and choose the Format as "Text (Tab delimited)", and
Choose Save.
If you wish to immediately open this color list into another program, you will need to close out of the file in Excel, in order to allow it to be available to other programs.
So far I have been talking about reference files, required for creating targets. If you're also involved in measuring colors, you'll find that measurement files take different forms depending on what application you are using.
If you own a ThinkPad, there's a piece of software called thinkfan that does exactly this. As the name obviously suggests, it is specifically made for ThinkPads (thinkpad_acpi).
The thinkfan software is available in the standard ubuntu software repositories, but it does require a few steps to configure.
Here's an easy step-by-step guide:
http://staff.science.uva.nl/~kholshei/thinkfan_guide/
(which is basically a translated version of this German guide:
http://thinkwiki.de/Thinkfan
)
Relevant Information from Post:
Step 1. Install the thinkfan software and the sensors:
sudo apt-get install thinkfan lm-sensors
Step 2. Make sure that the daemon controls the fan by editting the thinkpad.conf file:
sudo gedit /etc/modprobe.d/thinkfan.conf
by adding the following line:
options thinkpad_acpi fan_control=1
////////////////////////////////////////////////////////////////////////////////////////////////////////
步骤作用未知
cc@CC:~$
sudo apt-get install tp-smapi-dkms read-edid i2c-tools
cc@CC:~$
sudo modprobe -v thinkpad_acpi
cc@CC:~$
sudo modprobe -rv thinkpad_acpi
////////////////////////////////////////////////////////////////////////////////////////////////////////
Step 3. Make the daemon load automatically at start-up by editting the file:
sudo gedit /etc/default/thinkfan
making sure that the START key is set to yes, i.e. there should be a line that says:
START=yes
NOTE! Should "thinkfan" change the fanspeed too rapidly between the different levels, you can edit /etc/default/thinkfan as follows:
sudo gedit /etc/default/thinkfan
Code: [Select]
DAEMON_ARGS="-q -b 1 -s 3"
Meaning of Options:
-b – so called "Bias" (Default: 5) is for making reaction speed better when temperatures change rapidly
-s – max time (in seconds) in between two temperature measurements (Default: 5)
Details in Manpage.
http://manpages.ubuntu.com/manpages/pre ... fan.1.html
http://manpages.ubuntu.com/manpages/tru ... fan.1.html
After changing this file, enable and start the service:
# Traditional:
Code: [Select]
sudo /etc/init.d/thinkfan start
# Upstart:
Code: [Select]
sudo service thinkfan start
For Stoping the service (only if you need to do so):
# Traditional:
Code: [Select]
sudo /etc/init.d/thinkfan stop
# Upstart:
Code: [Select]
sudo service thinkfan stop
Getting a list of Services (so you can confirm it is working):
Step 4. Detect your laptop's sensors:
sudo sensors-detect
and just choose the default answers whenever you're prompted by hitting Enter.
Step 5. Load the new modules. From ubuntu 13.10 this done by:
sudo service kmod start
Step 6. Figure out which sensors are in use:
sensors
(the ones that indicate 0 degrees are not in use, I don't know why those are "detected" too). Remember which ones are in use.
Step 7. Find out the full paths of these sensors:
find /sys/devices -type f -name "temp*_input"
The output should be a list of paths like
/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
Step 8. Copy-paste the paths to the sensors into the configuration file /etc/thinkpad.conf. To do this, first open up the file:
sudo gedit /etc/thinkfan.conf
There should already be like
# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#
# I use this on my T61p:
######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
#
http://www.thinkwiki.org/wiki/Thermal_Sensors
to find out how much you may
# want to add to certain temperatures.
# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#
# I use this on my T61p:
tp_fan /proc/acpi/ibm/fan
#tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
#(0, 0, 55)
#(1, 48, 60)
#(2, 50, 61)
#(3, 52, 63)
#(4, 56, 65)
#(5, 59, 66)
#(7, 63, 32767)
(0, 0, 45)
(1, 45, 48)
(2, 48, 55)
(3, 55, 58)
(4, 58, 60)
(5, 60, 63)
(6, 63, 65)
(7, 65, 32767)
Step 9. Finally we can set the fan speed levels in the configuration file. Open the /etc/thinkpad.conf file if it wasn't open already.
sudo thinkfan -n
which starts thinkfan in verbose mode. You might want to stop the thinkfan daemon first:
sudo /etc/init.d/thinkfan stop
If you want to start the thinkfan daemon again, type:
sudo /etc/init.d/thinkfan start
Just to be complete, my /etc/thinkfan.conf configuration file is:
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# sensor /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
#
http://www.thinkwiki.org/wiki/Thermal_Sensors
to find out how much you may
# want to add to certain temperatures.
# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#
# I use this on my T61p:
#sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
#(0, 0, 55)
#(1, 48, 60)
#(2, 50, 61)
#(3, 52, 63)
#(4, 56, 65)
#(5, 59, 66)
#(7, 63, 32767)
开机自动运行:
sudo systemctl enable thinkfan
对krita和gnome-tweak-tool进行相关设置,以防止快捷键冲突
win10 上的色彩管理请按照如图所示输入
打开Control Panel -> System and Security -> System -> Advanced system settings -> Environment Variables -> System varriables -> Path -> 添加
%SYSTEMROOT%\Argyll_V1.9.2\bin
然后设置Control Panel -> Pen and touch -> Press and hold -> 取消勾选
注意:此处使用的是boogie board sync 需要安装Sync VDC 并开启digitizer模式(比wacom好用)
然后对gimp进行设置使其不显示鼠标图标:Edit -> Preference -> Image Window -> Show pointer for paint tools ->取消勾选
windows10上可以装
PS + Krita + Uget + Blender + Scribus + gimp + Rawtherapee + PureVPN + Steam + iTunes + Office + Libreoffice + QQ + Wechat + 百度网盘 + DisplayCal +
另外如果闲显示不清晰,可以对以下进行设置:
开始菜单 -> 小齿轮 -> System -> Display -> Scale and layout设置第一项为100%
另外一点在DisplayCal 校色时请把Display下的自动亮度给关闭以维持一个固定值另外Night light也要关闭
Gimp填充快捷键冲突解决办法
安装QQ 拼音,卸载搜狗输入法 (因为搜狗输入法自身设置与gimp快捷键冲突但却无法修改 所以请卸载)
然后在Control Panel -> Clock Language and Region -> Language -> Advanced Settings -> Change language bar hot keys -> Advanced Key Settings -> Between input languages ->
Switch Input Language 设置为Ctrl+Shift && Switch Keyboard Layout 设置为Not Assigned
从官方下载help的exe安装包后如果是GB(Globle版)需要将
C:\Program Files\GIMP 2\share\gimp\2.0\help文件夹下的en-GB改为en即可然后在
gimp的
Edit -> Preference -> Help System -> General -> User Manual设置为 Use a locally installed copy即可
https://mega.nz/sync 推荐个国内能用的外国网盘50GB免费 linux能用
在Ubuntu上使用onedrive
sudo apt-get install build-essential python3-dev libssl-dev inotify-tools python3-dbus
rm -rf ~/.onedrive ~/.onedrived
一定要加
sudo否则无法运行
sudo pip3 install git+
https://github.com/xybu/onedrived-dev.git
onedrived-pref account add
通过上面的命令安装Onedrive linux 客户端,安装完成后在控制台输入onedrive然后把生成的链接进行复制,粘贴到浏览器中打开,并执行授权操作,然后会得到一个空白页面,拷贝网址到终端,回车即可
从https://ngrok.com/下载ngrok
然后
sudo cp '/home/atc/Downloads/ngrok' /usr/local/bin/
onedrived-pref drive set
设置同步文件夹,先输入要同步的云端的哪个文件夹(输入其前段的阿拉伯数字比如0)
然后设置本地用于同步的文件夹
/home/atc/OneDrive
To start the program as daemon,
onedrived start
或者
onedrived start --debug
To stop the daemon,
onedrived stop
然后在开始菜单里找到Startup Applications
然后输入名称OneDrive
命令onedrived start
这样开机启动就能自动同步了和普通网盘一样了
如果出现了
The 'zgitignore' distribution was not found and is required by onedrived
使用
sudo rm -rf '/home/atc/.local/lib/python3.5'
然后重新
sudo pip3 install git+
https://github.com/xybu/onedrived-dev.git
即可
全新安装,否则就不能全新安装反而会把老的出问题的程序再安装一遍,尽管又重新git一遍但还是那个坏掉的程序
如果更改了onedrive的密码那么只需要执行此命令即可:
onedrived-pref account add