Ubuntu&Fedora装机&Mac装机(UOS装机将会持续更新)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#376

帖子 243750496 » 2017-05-24 15:38

鸡尾酒:可乐+冻干柠檬片+枸杞+玫瑰花+山楂片+俄罗斯红茶+陈皮 煮开后或用雅集电茶炉开3档煲1小时后味道出来了,加入1:1苏打水和煲出来的原浆+一条蜂蜜+3-4ml牛奶和3-4ml高度白酒放入冰箱降温,然后陪着100%黑巧克力吃
西瓜枫糖冷水茶:西瓜少许,枫树糖浆,果糖,蜂蜜柚子茶,蜂蜜,柠檬,冷水然后放到冰箱中等凉了喝。
西瓜番茄蔬果饮:西瓜少许,番茄一个+果糖+盐+番茄酱(可选)+苏打水+黑胡椒+蜂蜜柚子茶+蜂蜜芦荟茶+蜂蜜+柠檬+枫树糖浆
新式咖啡:牛奶+2份意式淡咖啡+枫树糖浆+果糖+一条蜂蜜+一块黑巧克力
可乐鸡翅:啤酒+耗油+盐+枫树糖浆+蜂蜜+牛油果少许+可乐+鸡翅进行腌制30min(腌料要没过鸡翅哦),热锅凉油进行煎至变色,最后加入可乐(需没过鸡翅)+盐调味大火去除Co2(因为碳酸饮料中的二氧化碳释放会吸热导致水温达不到100度)然后小火煮制15min
煮鸡蛋水开5分钟=软糖心 7分钟=硬糖心 糖心鸡蛋放冰箱不然会坏
——————————————————————————————————————————
正经茶:红茶+桂花黑糖+开水
消闲茶:茉莉花茶+苹果果珍+开水
寂寞茶:绿茶+鲜柠檬片+果糖
宵夜茶:红茶+宝蓝吉柠檬汁+果糖
温补茶:枸杞+红茶+枫树糖浆+开水
咖啡梅茶:咸梅子+意式大杯咖啡+开水
另外:平时吃些鸡蛋能补肾。
——————————————————————————————————————————
夜用方:注意要喝等量开水否则会不舒服
睡眠方:开水+少量白酒+咸梅子+果糖+芦荟饮
配餐:鸡蛋
消食方:开水+酸梅汤+柠檬片+玫瑰+枫树糖浆+宝蓝吉青柠汁+蜂蜜柚子茶
配餐:黑糖
缓方:开水+枸杞+切开的西红柿+盐+果糖+木瓜雪梨茶+宝蓝吉黄柠檬汁
———————————————————————————————————————————
工作茶:
上午茶:柠檬片+玫瑰+开水
下午茶:荞麦茶+开水
饿了吃块黑糖,积食冲个酸梅汤
———————————————————————————————————————————
上次由 243750496 在 2017-09-19 19:41,总共编辑 16 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#377

帖子 243750496 » 2017-05-25 18:22

Blender 面数计算公式:

2×(基形中矩形的数量×有几个基形)+2×有几个基形=2*(基形中矩形的数量*有几个基形+有几个基形)
https://pan.baidu.com/s/1boT3ps7
上次由 243750496 在 2017-07-24 0:11,总共编辑 31 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#378

帖子 243750496 » 2017-06-07 18:03

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
startup.png
然后输入名称OneDrive
命令onedrived start
StartupOnedrive.png
这样开机启动就能自动同步了和普通网盘一样了


如果出现了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一遍但还是那个坏掉的程序
上次由 243750496 在 2017-07-28 15:43,总共编辑 7 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#379

帖子 243750496 » 2017-06-27 15:59

libreoffice draw 制作流程图(mac linux Windows)
推荐几款linux付费软件
类似QQ的即时消息软件:trillian(个人版(QQ版)不需要商业邮件地址)
还有一款应用如果你是UI控一定会喜欢:dialog messenger
类似钉钉的工作用的软件:hipchat(不需要商业邮件地址,付费版的Gitter)

代码: 全选

sudo sh -c 'echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client $(lsb_release -c -s) main" > /etc/apt/sources.list.d/atlassian-hipchat4.list'
wget -O - https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | sudo apt-key add -
sudo apt-get update
sudo apt-get install hipchat4
Viva Designer(付费排版软件):如果不能运行请输入:sudo apt-get install libusb-0.1-4
simplify3D(3D打印软件)注如果想添加到开始菜单只需输入以下命令:sudo mv '/home/atc/Desktop/Simplify3D.desktop' /usr/share/applications/
ac3d(3d雕刻软件,不要用silo,尽管支持linux但是运行速度非常慢)
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libxmu6:i386 libfreetype6:i386 libstdc++6:i386 libjpeg62:i386 libtiff5:i386 libxft2:i386

To add OpenGL:
sudo apt-get install --reinstall libgl1-mesa-glx:i386
sudo apt-get install libglu1-mesa:i386

check "ldd ./ac3d" to see what libraries are needed.

3dcoat(雕刻软件,主要服务于游戏建模)

aftershot(linux下的linghtroom 支持mac linux windows)
Bitwig Studio liniux下制作音乐的软件(支持mac linux Windows)
Pixeluvo (另一款Photoshop替代品支持Windows和Linux)
Flareget (linux下的下载软件)
lightworks(linux下的剪辑软件)
BricsCAD(比较贵) Linux 下的cl与AutoCAD 媲美的cad软件
nuke(可以申请non-commercial版本(仅供学习使用)) 电影特效软件
modo(推荐):有按月支付选项不喜欢随时取消的3d软件最好一块与mari一并购买(也有按月支付选项
注意安装时需使用
chmod +x *.run
*.run
如果需要输入账号激活请先Deauthorize this device探后authorize this device , 不然会激活试用版
如果使用sudo sh *.run会导致安装停留在是否接受协议的界面,而且千万不要用sudo
安装完毕后modo在相应的软件目录下(用户主目录),mari在相应软件目录/bin里

houdini(也有non-commercial版本,同样也是仅供学习使用,不推荐各种许可贵得很而且都有阉割))类似blender的3D动画软件(sudo ./houdini.install不是sudo sh houdini.install)

aftershot缺少依赖解决办法
sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/sources.list.d/aftershot-dependencies.list'

Then install the dependencies:

CODE: SELECT ALL
sudo apt-get update
sudo apt-get install libpng12-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0

Lightworks 无法启动


I found the easiest solution.
Just download two libs and put them on /usr/lib/lightworks/.

This is the detailed instruction for those who want a little help.

1. Download:
- packages.ubuntu.com/yakkety/libportaudio2
- packages.ubuntu.com/yakkety/libportaudiocpp0
Choose amd64 on the bottom and then any mirror.

2. Extract .deb files. Right click on file -> extract here.
3. Go to each of extracted folder and extract data.tar.xz
4. go to extracted folder usr/lib/x86_64-linux-gnu/ and move two files to e.g. ~/Downloads/
5. Do this for both files
6. you should have 4 files:
- libportaudiocpp.so.0
- libportaudio.so.2
- libportaudiocpp.so.0.0.12
- libportaudio.so.2.0.0
7. now just run the command in terminal:
- cd ~/Downloads/
- sudo cp libportaudio* /usr/lib/lightworks/

Lightworks will work and you do not mess with OS.

houdini

=======
1. Houdini (2187.7Mb) yes
2. Desktop Menus for Houdini yes
3. Symlinks in /usr/local/bin yes
4. Symlink /opt/hfs16.0 to install directory yes
5. Apprentice Licensing (Local Licensing) no
6. Commercial Licensing (License Server) (19.8Mb) yes
7. Houdini Engine for Maya (4.7Mb) no
8. Houdini Engine for Unity (2.1Mb) no
9. HQueue Server (495.0Mb) no
10. HQueue Client (420.0Mb) no

D. Change installation directory (/opt/hfs16.0.633)
F. Finished selections, proceed to next step
Q. Quit (no installation will be attempted)



Note that the Houdini Development Kit (HDK) is installed as part
of the full Houdini installation (selection 1 above).

Current total space requirement: 2261 Mb
What is your selection (1-10,D,F,Q) [F] ==> 5


HOUDINI 16.0.633 INSTALLATION

Enter a number to toggle an item to be installed.

INSTALL
=======
1. Houdini (2187.7Mb) yes
2. Desktop Menus for Houdini yes
3. Symlinks in /usr/local/bin yes
4. Symlink /opt/hfs16.0 to install directory yes
5. Apprentice Licensing (Local Licensing) yes
6. Commercial Licensing (License Server) (19.8Mb) no
7. Houdini Engine for Maya (4.7Mb) no
8. Houdini Engine for Unity (2.1Mb) no
9. HQueue Server (495.0Mb) no
10. HQueue Client (420.0Mb) no

D. Change installation directory (/opt/hfs16.0.633)
F. Finished selections, proceed to next step
Q. Quit (no installation will be attempted)



Note that the Houdini Development Kit (HDK) is installed as part
of the full Houdini installation (selection 1 above).

Current total space requirement: 2240 Mb
What is your selection (1-10,D,F,Q) [F] ==> F

Apprentice:仅供学习使用的序列号,Symlinks in /usr/local/bin在/usr/local/bin中建立链接,方便排错(不然无法用命令来启动并查看输出)

1、重新安装前必须卸载原版如果你安装了商业许可证,否则将无法完成重新安装 2、此外建议装最新版NVIDIA 驱动 3、如果都不行那么只有重装系统才能正确安装了
atc@ATC:~/houdini-16.0.633-linux_x86_64_gcc4.8$ cd /opt/hfs16.0.633/
atc@ATC:/opt/hfs16.0.633$ sudo ./houdini.uninstall
Are you sure you want to uninstall Houdini 16.0.633? [yes or no]
上次由 243750496 在 2017-07-27 7:37,总共编辑 33 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#380

帖子 243750496 » 2017-06-28 15:47

编译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





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
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#381

帖子 243750496 » 2017-07-02 17:48

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的地方
sitemap.png
左边改称昵(鼠标选中变蓝部分)右边改账户ID(鼠标指针所处位置)
2.png
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#382

帖子 243750496 » 2017-07-06 14:48

罗宋汤:部分1:1/4胡萝卜(非胡萝卜丁而是整块,方便控制胡萝卜味道浓度)+黄油(适量)+9度米醋(尽量少放秉持淡口味)+少量生抽调色+圆葱+西红柿酱(适量调味)+3个西红柿打成汁+盐+黑胡椒(压无盐黄油的奶味),
部分2:去过血水的牛腩块(10min)+葱段+姜片
然后将1+2放入压力锅内选到蹄筋档

牛肉清汤(不加葱、姜、料酒)部分1:5片胡萝卜+黑胡椒+高度白酒(非啤酒)+黑胡椒+生抽(调色)
部分2:去过血水的牛腩块(10min)
然后将1+2放入压力锅内选到蹄筋档

新茶叶蛋:立顿红茶3袋+黑巧克力2小块+枫树糖浆(适量)+2份低因咖啡(意式大杯)+黑胡椒+牛奶200ml+水+盐+酱油+柠檬+蜂蜜+鸡蛋(凝固的差不多后拿刀背轻敲)+少量白酒
注:保持微甜即可

新咖啡白(可以取适当加入到新咖啡中进行调味):100%黑巧克力1小块+盐(适量)+枫树糖浆+牛奶
然后加热并使巧克力和奶完全融合,即可饮用,可以适当加入果酱/沙拉酱/黑芝麻酱

果味红茶:相应口味果珍+立顿红茶+果酱(调味)
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#383

帖子 243750496 » 2017-07-07 21:29

机械键盘:
银轴:触发键程短(启动此按键所需时间短),容易误碰。
绿轴:大力青轴,使用时需有使劲敲回车的感觉,但是敲键盘的声音更大,当然力度也更大(适合泄愤)
灰轴:比黑轴力度更大和白轴差不多,费手
白轴:使用时需要最大的力度(激发需要的力度为所有轴中最大的),有段落感(相较灰轴而言)
奶轴:绿轴手感+较小噪音,有咔哒声(相较灰轴而言)
粉轴:红轴触底时是“哒哒哒”的声音,粉轴是“噔噔噔”
黑轴:偏重游戏轴,个人认为:和红轴相比声音大小一样,但是触发需要力度更大
红轴:万金油(打字游戏通用),个人认为:无特点的标准的机械键盘轴
茶轴:接近薄膜键盘(无特点),个人认为:触发压力比红轴小,但是触发声音和红轴一样
青轴:偏重打字,打字很舒服噼里啪啦,个人认为:触发声音比红轴大清脆,但是压力却比茶轴略微大一点点
光轴:下一代机械键盘(比青轴声音更清脆更大,而且触发压力更小)触发压力更小)
(非机械触发,而是光电信号触发,寿命所有轴中最长(但轴是无法更换(没卖的)),省维护成本)个人认为最好用的轴
数字小键盘(体验用)
https://detail.tmall.com/item.htm?id=38 ... 63:6536025

数字小键盘(研究和替换轴使用(最好替换粉轴)):
https://item.taobao.com/item.htm?id=536 ... dmg8j26111
:会替换鼠标微动就会换轴只不过小键盘键位少,换起来方便,省时间

轴体购买:
https://detail.tmall.com/item.htm?id=17 ... 63:6536025




如何测量鼠标编码器尺寸:
MM数为六棱孔中间至接触电路板端的距离,并不是更精确,别被误导了。不同高度导致滚轮轴与编码器不垂直,滚动造成损坏。请更换相同mm的编码器。
IMG_1450.JPG
7:粉轴 8:灰轴 9:白轴
4:银轴 5:黑轴 6:奶轴
1:青轴 2:红轴 3:绿轴
0:茶轴
其他不变(如图)
IMG_1453.JPG
注:这样做是让每个轴的特点充分突出(强调轴的对比清晰

注:粉轴用作小键盘还是手感非常棒的,甚至比光轴都好用(我买了两个实验用的小键盘,一个改成上面所示的体验版小键盘,另一个全是粉轴,十分好用而且静音,还不累手)
上次由 243750496 在 2020-07-10 22:01,总共编辑 2 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#384

帖子 243750496 » 2017-07-13 12:25

亮度控制器安装:

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:
light controller1.png
添加2:
light controller2.png
添加启动项:
light controller3.png

在老电脑上装双显卡驱动注意一点:由于新版本支持手动切换显卡,因此如果在BIOS里禁用了集显而开启独显,会使亮度调节功能失效(笔记本电脑)



一个搜索linux付费软件的好地方:http://lin-app.com/

比linapp更强大的软件搜索网站(付费&免费)
http://alternativeto.net/browse/search?q=subtitle
上次由 243750496 在 2017-07-24 15:20,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#385

帖子 243750496 » 2017-07-22 17:16

3d打印软件Simplify3D使用教程
讲软件之前,先跟大家啰嗦一些基础知识,不想看的可以往下翻。

切片参数,也就是打印模型时在切片软件中设置的速度、温度、路径等参数。参数设置的是否合理,会直接影响到模型的打印效果。


一般来说,影响打印参数设置的因素,主要包括机器、耗材、模型、成型效果四个方面。

先说机器方面。不同的3D打印机,其机械结构、送料机构可能有很大区别,导致其适用打印速度、温度、回抽、运动路径等也有差别。

然后是耗材方面。不同厂家不同配方的耗材,性质也各不相同,有的要打印速度慢,有的要打印温度高,有的要开热床,有的要开风扇。。。

模型方面呢,有些模型小,每层打印时间很短,要降低打印速度和温度,有些模型悬垂大,容易卷边撞喷头,要开Z抬。。。

成型效果方面一般都是根据需求来的。有的要拉丝少,有的要强度高,有的要表面光滑。。。
新手看完表示头都大了。。。 就没有一个所有机器所有耗材所有模型都通用的万能参数么?


很遗憾的告诉你,暂时没有。。。



好,下面步入正题



S3D的切片参数主要是在FFF setting窗口中进行设置。

此窗口包含了大量英文,推荐新手学习使用时,重点学习常用的那些参数,如层高,填充率,温度,速度等。熟练掌握后,再学习其他功能的用法。

一,【Extruder】挤出机选项卡

该选项卡包含了喷头挤出方面的主要设置。
01挤出.png
1,喷嘴直径:按照打印机当前的喷嘴出料口直径填写即可,一般只有更换其他尺寸的喷嘴后才需要更改,目前大部分FDM的3D打印机用的是0.4mm的喷嘴。

2,挤出倍率:也称流量,数值越小,挤出的材料越少,相反越多,一般情况设1。

3,挤出线宽:喷嘴将塑料挤出并压平后的宽度,一般自动就行。当需要打印细节时,可手动将挤出线宽改小。为了加快打印速度或增加打印件强度,可手动将挤出线宽改大。手动修改的数值一般在喷嘴直径的90%-150%范围内,过大或过小可能会使打印效果变差。

4,回抽长度:挤出机反转,将耗材从喷嘴里抽出的距离。近程挤出一般设1-3mm,远程挤出一般设4-8mm。如果喷头空走时拉丝漏料比较多,可适当增加回抽长度,具体数值需要自己根据打印机和耗材性能进行测试。

5,回抽速度:挤出机反转时的速度。近程挤出一般设20-30mm/s,远程挤出一般设25-50mm/s。速度过慢,空走会拉丝漏料,回抽点会形成疙瘩。速度过快,会将喷嘴里的耗材扯断,形成空腔,影响下次挤出。如果喷头空走时拉丝漏料比较多,可适当增加回抽速度,具体数值同样需要自己根据打印机和耗材性能进行测试。



二,【Layer】层选项卡
02层.png
该选项卡主要用来设置模型的每一层该如何打印。

1,层高:每层的打印高度。和喷嘴直径关系密切,一般设为喷嘴直径的20%-80%,越小越精细,越大打印时间越短。FFF/FDM原理的3D打印机,最小层高一般在0.05mm以上,大部分是0.1mm。过小的层高,挤出机是很难稳定挤出的,导致模型表面反而不如0.1mm层高打印的光滑。

2,封顶层数:模型上表面的实体层数。与层高密切相关,一般封顶厚度不小于0.8mm,过薄会导致封顶不严,产生空隙。

3,封底层数:模型下表面的实体层数。同样与层高密切相关,一般封底厚度不小于0.6mm,过薄会导致打印完从平台上取下模型时,底面破裂,或者模型下方产生空隙,尤其是拉桥时。

4,外壳层数:模型每层的外壳圈数。外壳越多,模型越结实,一般用2层。



三,【Additions】附加选项卡
03附加.png
该选项卡包括一些能提高模型打印成功率的附加零件。

1,裙边:围绕模型轮廓的边线。开启裙边后,在打印模型前,会先在模型外围画轮廓。裙边的作用主要有三点,一是防止翘边,二是防止脱床,三是调平。一般裙边用于比较平整的热床,如黑晶板,高硼硅玻璃等。

2,裙边层数:裙边一般打印一层就够。当模型容易倾倒时,可适当增加层数。

3,裙边偏移:裙边和模型底面轮廓的距离。裙边其实是两个含义,当裙边距离模型较远时,一般称为裙,贴着模型时,称为边。裙的作用一般就是打印前预挤出,校正调平。边的作用是增加模型底面和热床的接触面积,减少模型翘边和脱床。

4,底板:在模型下方先打印的一个很厚的垫子。底板和模型底面有一定间隙,打印完后可用手撕掉底板。推荐调平不熟练的新手使用,可一定程度上弥补调平误差。也适用于平整度较差或比较粗糙的平台,如洞洞板。底板打印时间长,浪费材料,如不是必须情况,不建议使用。


四,【Infill】填充选项卡
04填充.png
该选项卡主要用来规划模型内部的打印方式。

1,填充率:模型内部的塑料使用量。填充率越高,模型越结实,也越重。对强度要求不高的模型,一般10%-30%填充率就够。需要高强度的模型,填充率可以更高。打印透光浮雕或月球灯时,填充率为100%,同时需使用非透明的浅色材料,首选白色。

2,外壳与填充的重叠率:填充的塑料线和模型外壳内侧的重叠率。常用范围10%-40%。如发现模型的小范围顶面封顶不严,如二维码顶上的小方块有漏洞,可适当增加重叠率,最高不要超过60%,不然重叠部分会挤出过多的塑料,使模型顶面变的非常粗糙。

3,填充挤出线宽:填充线的挤出宽度,和挤出页的挤出线宽直接相关。除默认的直线填充图案需修改此值,其他填充图案一般都不需要改,100%就可以。默认的直线填充因为是隔一层打印一次同方向的填充线,所以会非常虚,强度很差,增加该值可以让挤出的塑料线变粗,上下两层填充之间能粘到一起,起到即节省打印时间,也能保证打印件强度的作用,但该值尽量不要超过200%。


五,【Support】支撑选项卡
05支撑.png
该选项卡用来规划支撑的打印方式。

1,生成支撑:勾上这个选项后,S3D切片时才会生成支撑。

2,支撑填充率:支撑走线的密度。10-30%是比较常用的范围。

3,支撑类型:可以选择是全模型都可以生成支撑,还是只从平台上生成支撑。

4,支撑柱分辨率:也称最小支撑区域,低于此值的悬空区域将不会添加支撑。理论上该值越小,支撑柱越细,自动添加支撑的区域越多。数值设置过大,会导致一些需要加支撑的区域被忽略,或者仅需要加一点支撑的区域被加了很大一片,甚至大大超出了模型的范围。注意此值与支撑走线的密度无关。推荐设置1-4mm。

5,最大悬垂角阈值:低于该角度的悬垂面,都不会自动生成支撑。该值越大,所加支撑越少。常用范围45-70度。


六,【Temperature】温度选项卡
06温度.png
该选项卡用来设置喷头和热床的温度。

挤出头和热床的温度是分别设置的。注意在左侧列表选择挤出头温度时,需在右侧同时勾选上Extruder。同理选择热床时,右侧需勾选Heated build platform。

右下角红框内的列表是指定层数来设置温度,当层只有一个1时,模型全部用后面的温度来打印。

该表右侧可以添加或删除温度,删除按钮下面的层和温度只和上面添加设定值按钮有关,与实际打印温度无关,第一次用需注意。


七,【Cooling】冷却选项卡
07冷却.png
该选项卡用来设置打印时的冷却方案。

风扇指的是喷头上用来吹模型的风扇。

左侧表格中的风扇转速设置方式和温度选项卡相同,都是指定层数来执行。比如图片中设置的两行,意思就是模型打印的第1层风扇转速0,从第二层开始风扇转速为80%。

八,【Other】其他选项卡
08其他.png
该选项卡主要用来设置打印速度,还有水平补偿、耗材、拉桥等选项可以设置。

1,默认打印速度:也就是喷嘴在挤出时,喷头的移动速度。其他的各种降速比例,都以此速度为基础。常用范围10-100mm/s毫米每秒,注意此处单位,如果是mm/min毫米每分钟,就要把此值乘60。更改速度单位的选项在Tools》Options第一行。

2,外壳降速:打印外壳时的降速比例。外壳打印时需要将打印速度减慢一些,以获得更好的表面效果。如默认打印速度是80mm/s,外壳降速40%,实际外壳的打印速度就是32mm/s。

3,实体填充降速:一般指的是封顶封底的降速比例。封顶封底打印时,降低速度有助于走线更密实平整。

4,支撑降速:打印支撑的降速比例。支撑的走线要比模型虚很多,打印稍慢一些,可以让支撑更结实。

5,XY轴移动速度:喷头在不挤出时的移动速度,也就是常说的空走、空程速度。空程速度一般要比打印速度快,可明显减少拉丝和喷嘴溢流,同时加快打印速度。但也不能太快,有些打印机喷头较重,惯性大,过快的速度会导致过冲错步,还有就是类似i3这种平台水平移动的打印机,空程速度过快会使比较高的模型在Z方向上变形。需要根据机器实际情况进行调整,一般范围80-200mm/s。

6,Z轴移动速度:垂直方向喷头的移动速度,或是平台的下降速度。一般范围10-30mm/s。



好了,比较常用的打印参数就这些,大家熟练掌握后,就能应付平时的打印了。

完整翻译版
1挤出.png
2层.png
3附加.png
4填充.png
5支撑.png
6温度.png
7冷却.png
8代码.png
9脚本.png
10其他.png
11高级.png


其他翻译:
主界面.png
1菜单.png
2文件.png
3编辑.png
4视图.png
5网格.png
5网格-减面.png
6修复.png
7工具.png
选项1.png
选项2.png
选项3.png
选项4.png
选项5.png
选项6颜色.png
机器控制面板.png
机器控制面板2.png
机器控制面板3.png
机器控制面板4.png
07工具03调平.png
固件配置1.png
固件配置2.png
固件配置3.png
固件配置4.png
固件配置5.png
固件配置6.png
支撑.png
08.png
09.png
09.png (4.76 KiB) 查看 7044 次
10.png
机器配置1.png
上次由 243750496 在 2017-07-28 15:46,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#386

帖子 243750496 » 2017-07-22 18:01

继续
机器配置2.png
机器配置3.png
工具.png
模型.png
模型.png (21.46 KiB) 查看 7044 次
模型编辑.png
打印参数列表.png
打印参数列表.png (17.84 KiB) 查看 7044 次
选择打印进程.png
预览.png
相关参数.png
固件默认第一个(Firmware)

根据官方视频(使用Cura)结合使用Simple3D进行相关设置

Help->Configure Assistant->Other
Name:Mostfun Sail
Machine Type:Cartesian Robot
Firmware:Reprap
Baud rate 115200
X:130 Y:130 Z:110
Nozzle Diameter:0.4
Filament diameter:1.75
Number of Extruders:1
This Printer has heated bed:不勾选
1.png
4.png
10.png
好用的记忆棉鼠标垫(尺寸刚好合适)
https://detail.tmall.com/item.htm?id=52 ... d0ltsk7e6c
便宜大牌支持linux(得去英文官网下驱动(国内网站没有))3D打印机
https://item.taobao.com/item.htm?spm=a1 ... d0ltsk8100
上次由 243750496 在 2017-07-28 15:46,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#387

帖子 243750496 » 2017-07-28 2:34

如何使用SparkleShare
从此网站下载dazzle.sh
https://github.com/hbons/Dazzle
然后将其复制到/usr/bin里去掉sh后缀

代码: 全选

sudo cp dazzle.sh /usr/bin/dazzle
# Run the initial setup

代码: 全选

dazzle setup
dazzle create ShareToFriends
It's as easy as that! We've got a new project called FamilyShare. IMPORTANT THING: your linux machine just printed out something you need to remember: something like this:
Project "FamilyShare" was successfully created.
To link up a SparkleShare client, enter the following
details into the "Add Hosted Project..." dialog:

Address: ssh://storage@12.34.56.78:22
Remote Path: /home/storage/FamilyShare

You'll need that later. Now let's do another one!

代码: 全选

dazzle create ShareToME

Host Step 4 (optional(可选:如果你需要插上u盘就自动同步,拔下就立马停止而不是在本机上同步的话,就请执行此步)): let's move our projects onto the external drive.

Somewhere on my linux box I now have two directories, called "FamilyShare" and "MeShare". Where are they? Well what has happened, when you ran "dazzle setup", was that a new user called "storage" has been created, and in his home directory, which is probably "/home/storage", there are now directories called FamilyShare and MeShare. I don't want them there though, I want them on my external hard drive! My external hard drive is mounted on /media/fishandchips; of course if you have any sense then yours will probably be mounted somewhere else. Here's what I did then (still as root!). First I created the directory where I actually wanted the files to be hosted:

代码: 全选

cd /media/fishandchips/
mkdir SparkleShare
chown storage.storage SparkleShare/
chmod 700 SparkleShare/
cd SparkleShare/
[note of course that you need to change directory instead into the place where your external hard drive is mounted, so that first line needs changing at your end.]
And then, in that new SparkleShare directory, I'm going to move each of my projects, and in place of where they originally were I'm going to put a link to where I've moved them. So, for example, for my family's directory (a.k.a. project) FamilyShare, I would do this (still within /media/fishandchips/SparkleShare and still as root):

代码: 全选

mv ~storage/FamilyShare/ .
ln -s /media/fishandchips/SparkleShare/FamilyShare ~storage/FamilyShare
chown storage.storage ~storage/FamilyShare
[noting of course that the fishandchips again needs to be changed to the place where you want to store your files, so probably your external hard drive if you're doing this step]. And of course I repeat this for any other project I want to move onto the external hard drive. I don't know whether I need those symlinks. I do know though, that this is the point where I am a bit unsure about what would have happened if the external hard drive's file system was not ext4; I think that for FAT32 the commands would "work" but would basically just be ignored, and then permissions would be all wrong, and probably it would be possible to sort it all out but I went for the easy option of reformatting the drive to a filesystem that plays better with unix, because I'm using it on a unix machine. Note also that things might have been a bit easier if I had actually been logged in as user "storage" above; then I wouldn't have had to keep chmodding and chowning everything; however by default it's not possible to log in as user storage. One can make it possible to log in as this user, but I am not sure of the ramifications of doing this, and what I did above seems to work fine.
OK, we're now done with the host! As far as I can see, you don't now need to start some daemon or whatever -- the job of the host is just to be there 24/7 and to provide ssh access. There may be more to it than this, but that's all that I understand.[/size]

步骤4(推荐,和step4差不多,但是更改的目的地的是本地文件夹):
sudo chown storage.storage SparkleShare/
sudo chmod 700 SparkleShare/(这步貌似会导致无法访问,实在不行就777权限)
cd SparkleShare/
sudo mv ~storage/ShareToFriends/ .别忘了小点!!!
sudo ln -s ~/SparkleShare/ShareToFriends ~storage/ShareToFriends(小知识:~ = /home
sudo chown storage.storage ~storage/ShareToFriends(这步貌似会导致无法访问,实在不行就777权限)

安装SparkleShare:

代码: 全选

sudo apt-get -s install sparkleshare
然后启动并复制ClientID(包括开头和和结尾括号)
Enter

代码: 全选

dazzle link
然后打开防火墙

代码: 全选

sudo ufw enable
sudo ufw allow 22
sudo ufw status verbose
结果如下:
atc@ATC:~$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action From
-- ------ ----
22 ALLOW IN Anywhere
22 (v6) ALLOW IN Anywhere (v6)
然后点击Add Hosted Project:
Address(一般而言得到的是192开头的,注意storage不可动!
ssh://storage@12.34.56.78:22
Remote Path:/home/atc/SparkleShare/ShareToFriends(实际上等于访问你的机器根目录然后访问到home->atc->*如果不输入子目录,默认的访问会在根目录)
上次由 243750496 在 2017-07-28 15:45,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#388

帖子 243750496 » 2017-07-28 13:51

补充

推荐两款开源字幕编辑软件:
sudo apt-get install gaupol gnome-subtitles

开源特效软件natron
https://natron.fr/features/

dilay(开源3d雕刻软件):
git clone https://github.com/abau/dilay.git
cd dilay
sudo apt-get install qt5-default libglm-dev
qmake -r
make
sudo checkinstall

注:在保存的时候需要加上.obj这样才能在blender里加载(import,不是open!!!

效仿maya的3d软件
sudo apt-get install k3d

多边形建模软件wing3d运行run文件时不需要sudo
https://sourceforge.net/projects/wings/ ... p_redirect
或者使用apt-get下载
sudo apt-get install wings3d

安装开源绘画软件mypaint
sudo apt-get install mypaint
如果无法启动请更新numpy:
sudo pip install numpy --upgrade


类似Windows内置画图软件的绘图软件drawpile
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu zesty-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
sudo apt-get install drawpile

顺便推荐一下mypaint(比drawpile强大一些,但是没有krita强大)
注意:N是普通绘画模式,shift+L是锁定不透明度,不要以为没有这个功能(当初卸掉他以为他没有这个功能,现在发现还是很简洁的(相比krita而言))

图形化查看硬盘smart信息的开源软件:GSmartControl
sudo apt-get install gsmartcontrol

ffmulticonverter既可以转换视频又可以转换图片格式,非常好用但是如果出现以下错误提示,只需要安装pyqt5就行了(但是注意是pip3 install,用新立得安装pyqt5-dev,python-pyqt5都没用!!!
atc@ATC:~$ ffmulticonverter
Traceback (most recent call last):
File "/usr/local/bin/ffmulticonverter", line 4, in <module>
from ffmulticonverter import ffmulticonverter
File "/usr/local/lib/python3.5/dist-packages/ffmulticonverter/ffmulticonverter.py", line 23, in <module>
from PyQt5.QtGui import QIcon, QKeySequence
ImportError: No module named 'PyQt5'
atc@ATC:~$ sudo pip3 install pyqt5

YY的替代品(开源游戏语音软件):discordapp
https://discordapp.com/

一个神奇的聊天软件ring
sudo sh -c "echo 'deb https://dl.ring.cx/ring-nightly/ubuntu_17.04/ ring main' > /etc/apt/sources.list.d/ring-nightly-main.list"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys A295D773307D25A33AE72F2F64CD5FA175348F84
sudo add-apt-repository universe
sudo apt-get update && sudo apt-get install ring

远程开源软件:remmina
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard


移除旧的图片浏览器
sudo apt-get remove eog
安装gpicview 支持raw格式而且打开极为迅速


右键open with->点击不需要的打开方式->右键-forget association
然后view all applications->选择image viewer,然后select
然后就可以使用gpicview浏览文件了
或者打开软件右下角的设置->Make GPicViewe the default viewer for images


terminix提示bash: /etc/profile.d/vte.sh: No such file or directory
sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh

安装obs(Open Broadcaster Software,开源录屏软件)
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio ffmpeg

安装pyExifToolGui(pip3有些依赖还支持不到高版本(python3))
sudo pip install '/home/atc/Downloads/Compressed/pyExifToolGUI-0.5.tar.gz'
注意:如果使用python setup.py install 会安装到terminal现在所处的目录下,但是会在启动程序里生成启动链接,但是新立得里找不到(当然你用pip安装也找不到),如果删除直接删除,或执行相关指令卸载即可,如果发现仍然无法删除启动连接,那么就需要用到以下指令
sudo pip install --upgrade '/home/atc/Downloads/Compressed/pyExifToolGUI-0.5.tar.gz'
然后sudo pip uninstall pyexiftoolgui,然后sudo rm -rf 生成的build文件夹即可(安装到terminal现在所处的目录下的程序文件)

此外:sudo pip install setup.py 是无效的!
pip install .
是有效的
如果执行了pip install -e(正常使用中千万别加-e) . 那么需要执行:
sudo pip install . --upgrade(一次不行就两次,直到成功安装)
然后再
sudo pip uninstall pyexiftoolgui

注意:这是个错误的教程(用来练习意外python stup.py install的卸载)
真正的安装应该看INSTALLATION.txt
Installation:
= DO NOT RUN setup.py DIRECTLY ! =
- Untar the package to some folder (You obviously did that already if you are reading this).
- Open a terminal and move into the folder where you untarred the pyExifToolGui-x.y.tgz
- Run the setup script from the command line with "sudo ./install_remove.py install" (no double-quotes).
- The script will install a "bare bones" pyExifToolGUI.app in your Applications folder.
Note that the pyExifToolGUI.app is NOT a complete self contained application. It needs the mentioned dependencies.
- Start and enjoy.


比uget好用的开源浏览器:persepolis
sudo add-apt-repository ppa:persepolis/ppa
sudo apt update
sudo apt install persepolis

小知识:
有图标的软件(mega sync、steam等)如果是左键能呼出退出菜单需要左键单击然后再左键单击才能退出,右键单击再退出没用,如果是只能右键呼出那么右击可以退出
./autogen.sh可以生成configure配置文件如果./configure无法执行的话
git clone *.git
或者(重命名为mdir)
git clone *.git mdir
debuild -uc -us
-us Do not sign the source package.
-uc Do not sign the .changes file.
查看可执行文件的依赖:
ldd *
如果需要退出Terminal,但是又进行着更新,如果这时候退出,下次打开terminal(不重启)将不能再次进行apt-get(但是按下ctrl+c可以退出终端里的任何程序,包括更新)
linux上软件如果是简约的(功能可以简单但是界面要简洁,不能粗制滥造)一般都很好用(看脸选出好软件

rm -r 是递归删除(删除子目录)加上f
即rm -rf是强制删除平时用第一个就可以了



打包deb的软件
sudo add-apt-repository ppa:antumdeluge/debreate
sudo apt-get update
sudo apt-get install debreate

开源音频分析软件:spek
sudo apt-get install spek

开源录音+编辑软件
ocenaudio

opera欧朋浏览器:
sudo add-apt-repository 'deb https://deb.opera.com/opera-stable/ stable non-free'
wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
Note: Do not change the entry in the first line from "stable" even if you use testing or unstable versions of your distro, otherwise you may receive the warning "W: Conflicting distribution: deb.opera.com" on issuing apt-get update.
Installing Opera

Once the repository is added you can install Opera stable by issuing the following:
sudo apt-get update
sudo apt-get install opera-stable

简约的DVD烧录软件(开源):simpleburn
sudo apt-get install simpleburn


ButtleOFX_Alpha_Linux64_v2.0.tar.bz2 :
https://drive.google.com/uc?export=down ... FNDU21DU0E

kdenlive:
sudo add-apt-repository ppa:kdenlive/kdenlive-stable
sudo apt-get update
sudo apt-get install kdenlive

——————————————————————————————————————————————————————————————————————————————

在用户主目录下解压pyexiftoolgui

然后打开debreate
1.png
打开debian下的control
2.png
版本必须填
3 must.png
依赖不填(缺什么依赖在相应文档里(Readme 或者 installation里,安好就能运行,所以依赖不填))
4 Nothing.png
此代码用来检验文件相关链接到底存放于哪个文件夹:
5 Find.png

代码: 全选

atc@ATC:~/pyexiftoolgui$ sudo cp '/home/atc/pyexiftoolgui/bin/pyexiftoolgui' /usr/bin/
atc@ATC:~/pyexiftoolgui$ pyexiftoolgui
Real folder where this launcher was started from: /usr/bin
We are not running from our source folder. Are we running from /usr/bin?
Yes we are running from /usr/bin 

usr_share_path /usr/share/pyexiftoolgui/scripts/pyexiftoolgui.py

atc@ATC:~/pyexiftoolgui$ sudo rm -r /usr/bin/pyexiftoolgui
atc@ATC:~/pyexiftoolgui$ pyexiftoolgui
bash: /usr/bin/pyexiftoolgui: No such file or directory
atc@ATC:~/pyexiftoolgui$
然后添加相应文件(说白了deb就是一个文件包,把相应文件复制到相应位置,所以如下设置)
注:usr_share_path /usr/share/pyexiftoolgui改名字)/scripts/pyexiftoolgui.py
Add file .png

changelog 和 license 都直接拷贝然后粘贴即可(license右边界面是生成模板然后修改)
6 changelog.png
7 Just copy.png
直接用代码安装,然后找到desktop文件然后打开即可

代码: 全选

sudo ./install_remove.py install
8 open desktop file.png
点击生成deb文件
9 build.png
然后安装:
sudo dpkg -i '/home/atc/Music/pyexiftoolgui_0.40_all.deb'

然后在新立得里查看,确认是有的
10 Final check.png

如果原意可以查看相关文件的安装位置
sudo find / -name *
然后用新立得卸载,然后查看相应文件是否消失(当然结果是肯定的!

如果有错误提示无法启动

代码: 全选

exiftool is missing or incorrectly configured in Preferences!
This tool is an absolute must have!
Please set the correct location or install exiftool first.
missing exiftool.png

请安装libimage-exiftool-perl
sudo apt-get install libimage-exiftool-perl

entangle:用电脑控制相机的软件;flowblade视频编辑器(新秀);inkscape:矢量绘图;hugin:拼接制作全景照片;makehuman人体建模工具;synfigstudio二维动画软件
xournal:PDF标注软件;shotcut:老牌开源视频编辑器)(25页都是开源的软件,26页是收费的软件)
sudo apt-get install entangle flowblade hugin inkscape makehuman pdfmod synfigstudio xournal shotcut

sparkleshare :网盘
sudo apt-get install sparkleshare
sudo add-apt-repository ppa:dismine/valentina
sudo apt-get update
sudo apt-get install valentina
上次由 243750496 在 2017-07-28 14:51,总共编辑 1 次。
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#389

帖子 243750496 » 2017-07-28 14:40

NVIDIA
1、nvidia驱动安装(独显用户请进)
先在bios里把集显禁掉如果你是双显卡(不然发热严重!)
我的thinkpad T430 是开机狂按F1然后进入bios按方向键选择config—》Display->Graphics Device:Discrete Grap

OS Detection for NVIDIA Optimus:Disabled 按F10(Save and Exit)根据自己的bios视情况而定
在软件源右侧的附加驱动中选择313版本安装
(闭源驱动比较好当然你也可以选择.run的驱动
下面提供.run安装教程:
下载好后放在主目录下改名qd.run 然后把开源驱动加入黑名单中: 打开终端 sudo /etc/modprobe.d/blacklist.conf 在打开文件末尾新建一行加入:
blacklist nouveau保存并关闭 重启
进不了桌面? 显示 run in low-graphics mode .....?
ctrl+alt+F1看有没有XX login即输入你的账户名称
没有?按几下回车就有了 然后password是输入密码 输完敲回车 继续输入sudo start lightdm 输便密码就进去了(当然其实进不去最好了输入密码敲回车后直接输入sudo sh qd.run 然后好像基本上都选yes除了开头那个好像是no反正你看着如果开头那个选yes就不能安了就选no 后面的反正都是yes )对了英伟达公司的闭源驱动比开源驱动好 ATI的开源驱动比闭源的好)
(如果你安.run文件后)
安装完后重启后找到
NVIDIA X server Settings ->X Server Display Configuration->Save to X Configuration File ->Browse 最上方选择 / 然后在左边找到etc双击,找到X11双击,最下面输入xorg.conf点击保存
打开终端输入sudo gedit /etc/X11/xorg.conf
找到Section "Device"在EndSection前添加:
Option "NoLogo"
Option "RegistryDwords" "EnableBrightnessControl=1"
(注:开启亮度调节)
注意:
最左侧对齐(新加的命令和之前的左对齐)!不然会导致
用wine 模拟photoshop CS4时崩溃(一运行就注销)
Option "NoLogo" "True" 中true是多余的添加后好像也会导致崩溃
-----------------------------------------------------------------------------------------------------------------------------------------------------
调整分辨率(不然关机很难看)
原文地址:http://idyllictux.wordpress.com/2010/04 ... ed-driver/
现简述解决过程:
1. 确认grub和plymouth的系统配置文件是原始状态,没有应用过其它的修改方案。
2. 安装v86d和hwinfo包,下面我们要用到:
代码:
sudo apt-get install v86d hwinfo

3. 查看自己显卡支持的分辨率:
代码:
sudo hwinfo --framebuffer

引用:
> hal.1: read hal dataprocess 2597: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.464]
Unique ID: rdCR.gPBMypaP+07
Hardware Class: framebuffer
Model: "NVIDIA GeForce
"
Vendor: "NVIDIA Corporation"
Device: "NVIDIA GeForce
"
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xf1000000-0xf1dfffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Mode 0x034a: 1600x1200 (+6400), 24 bits
Mode 0x034b: 1366x768 (+1368), 8 bits
Mode 0x034c: 1366x768 (+2736), 16 bits
Mode 0x034d: 1366x768 (+5472), 24 bits
Mode 0x0360: 1280x800 (+1280), 8 bits
Mode 0x0361: 1280x800 (+5120), 24 bits
Mode 0x0362: 768x480 (+768), 8 bits
Mode 0x0363: 848x480 (+3392), 24 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown

4. 修改/etc/default/grub文件,使用uvesafb的framebuffer来启动
代码:
sudo gedit /etc/default/grub

把下面的两行
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_GFXMODE=640×480

修改为:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1366×768-24,mtrr=3,scroll=ywrap"

GRUB_GFXMODE=1366×768

5. 修改/etc/initramfs-tools/modules文件,
代码:
sudo gedit /etc/initramfs-tools/modules

添加下面这行:
uvesafb mode_option=1366×768-24 mtrr=3 scroll=ywrap

6. 运行下面的命令,启用framebuffer:
代码:
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

7. 运行下面的命令,更新grub配置文件:
代码:
sudo update-grub2
sudo update-initramfs -u

8. 重启。大功告成!
注:(此步有双显卡用户会有关机分辨率正常开机出现条纹(花屏)的问题,勿看)
六、超简单为 Grub 2 启动引导菜单添加背景图
安装Ubuntu Linux时如果也安装了Grub 2 启动引导菜单的,默认的菜单是黑底白字很单调,可以为它加上一个背景图片。
步骤a、下载你喜欢的图片保存好,图片的尺寸大小不限,jpg格式或png格式都可以,也许其它的图片格式也行,
步骤b、按下快捷键 Alt F2 打开“运行一个命令”对话框,输入命令,把图片复制到Grub启动目录中,例如:
代码:
sudo cp /home/cc/图片/sea.jpeg /boot/grub/sea.jpeg

步骤c、最后更新Grub 2,按下快捷键 Alt F2 打开“运行一个命令”对话框,输入:
代码:
sudo update-grub

重新启动计算机,就能看到带背景图的Grub 2 启动引导菜单了



在老电脑上装双显卡驱动注意一点:由于新版本支持手动切换显卡,因此如果在BIOS里禁用了集显而开启独显,会使亮度调节功能失效(笔记本电脑)



一个搜索linux付费软件的好地方:http://lin-app.com/

比linapp更强大的软件搜索网站(付费&免费)
http://alternativeto.net/browse/search?q=subtitle
243750496
帖子: 1038
注册时间: 2012-06-09 15:40

Re: Ubuntu&Fedora装机&Mac装机(Mac装机将会持续更新)

#390

帖子 243750496 » 2017-07-28 14:42

无题
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:
light controller1.png
添加2:
light controller2.png
添加启动项:
light controller3.png

在老电脑上装双显卡驱动注意一点:由于新版本支持手动切换显卡,因此如果在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的地方
sitemap.png
左边改称昵(鼠标选中变蓝部分)右边改账户ID(鼠标指针所处位置)
2.png
















混合

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_Downloader.png
然后YouTube页面就有下载选项了
download_button.png
另外:如果翻了墙还上不了YouTube请把wifi或网线输入的地方改成8.8.8.8;8.8.4.4不是VPN的ip4 DNS
114.114.114.114不可用了现在
vpn.png
vpn_not.png
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
printtarg.png
然后chartread处直接点generate 然后点run不用设置

Manufacture:打印机生产商
Model:打印机型号
Description:相纸类型
-O:文件名.icc
-S:选择AdobeRGB1998(因为不让上传所以请自己从Photoshop的目录里拷)
-Z:Perceptual
其他不设置,
如果-i 和 -f在Generate 生成的命令里出现了那么删除它之后点run就可以了
colprof.png
argyllcms自带错误识别所以不用担心扫错了,但是有个小提示:听到水滴声请将设备置于最前面的白色部分(那个也是要扫描的色块尽管是白色)然后压住按钮匀速扫过去,可以扫的很快,扫错了按“回车”然后按“b”重新扫,全部扫完按d结束,注意:不要点patch by patch!

另外请对打印机设置平直打印,最高质量打印,纸张选择极度高光,关闭快速打印,在打印色表的时候关闭打印机的色彩管理(不是显示器或禁用全部色彩管理)
disable.png
best photo.png
ultra glossy.png
poster printing.png
standard.png
对spyder checkr(48色)进行拍摄,
然后把点击铬球受光面的SpyderCube的灰面(设置白平衡)
wb.png
然后调整曝光(exposure)使白色达到RGB90%(左侧有显示)
white.png
然后拖动Black将黑色达到4%以下(左侧有显示)
black.png
选择netral(裁剪后变为custom),也可以对其进行稍微旋转(按钮在裁剪图标的右边)
crop.png
然后点左下角的齿轮,然后选择16位TIFF其他默认
convert.png
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配置文件:
before.png
应用之后(颜色和色温改善很多):
after.png














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进行相关设置,以防止快捷键冲突

super.png
to none.png
win10 上的色彩管理请按照如图所示输入
打开Control Panel -> System and Security -> System -> Advanced system settings -> Environment Variables -> System varriables -> Path -> 添加
%SYSTEMROOT%\Argyll_V1.9.2\bin
argullcms.jpg
然后设置Control Panel -> Pen and touch -> Press and hold -> 取消勾选
pen.jpg
注意:此处使用的是boogie board sync 需要安装Sync VDC 并开启digitizer模式(比wacom好用)
然后对gimp进行设置使其不显示鼠标图标:Edit -> Preference -> Image Window -> Show pointer for paint tools ->取消勾选
gimp.jpg
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
gimp conflicted.jpg
从官方下载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即可
gimp help.jpg














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
startup.png
然后输入名称OneDrive
命令onedrived start
StartupOnedrive.png
这样开机启动就能自动同步了和普通网盘一样了


如果出现了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
上次由 243750496 在 2017-07-28 16:10,总共编辑 10 次。
回复