Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
15.4使用中的几个问题,请教大神
Experiences and Insight
909
views ·
5
replies ·
To
floor
Go
cctvsod
deepin
2017-03-23 18:51
Author
1.我为了输入方便,把公共目录改名为pub,模板改名为tmp,并修改了user-dirs.dirs中对应的设置,如下:
XDG_PUBLICSHARE_DIR="$HOME/pub"
XDG_PUBLICSHARE_DIR="$HOME/tmp"
并在home下建了文件夹pub、tmp。
现在每次开机后,pub就会被重命名为".Public",tmp被重命名为".Templates"并且user-dirs.dirs也被修改为:
XDG_PUBLICSHARE_DIR="$HOME/.Public"
XDG_TEMPLATES_DIR="$HOME/.Templates"
但是我改的其他目录就没有这个问题,比如图片目录改名为pic,文档目录改为doc
2.深度的终端,我把快捷键修改后,比如复制粘贴改为ctrl+c ctrl+v,重启就又恢复默认了。ps:几乎所有的软件复制粘贴都是ctrl+c ctrl+v,新标签页ctrl+t ,就linux下各个发行版的终端不按这个来,也是不能理解
Reply
Like 0
Favorite
View the author
All Replies
raphaelzhang
deepin
2017-03-23 18:59
#1
Ctrl-C绝对不行,那是中断程序运行
Reply
Like 0
View the author
raphaelzhang
deepin
2017-03-23 19:00
#2
https://superuser.com/questions/421463/why-does-ctrl-v-not-paste-in-bash-linux-shell
Reply
Like 0
View the author
justforlxz
deepin
2017-03-23 19:05
#3
终端的复制粘贴是ctrl shift c 和ctrl shift v,因为ctrl c是终止程序。
Reply
Like 0
View the author
cctvsod
deepin
2017-03-23 19:15
#4
windows10下的cmd,就可以ctrl+c复制,虽然这也是终止命令。
我觉得是通过是否有选定了文本来判断了一下,选定了文本,就是复制,没有就表示终止
Reply
Like 0
View the author
ghou
deepin
2017-03-23 19:32
#5
问题 1 之前我试过,遇到同样的问题,后来也没继续下去。
现在想起来可以提供个思路,用 chattr 锁住 user-dirs.dirs,不知道行不行。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
XDG_PUBLICSHARE_DIR="$HOME/pub"
XDG_PUBLICSHARE_DIR="$HOME/tmp"
并在home下建了文件夹pub、tmp。
现在每次开机后,pub就会被重命名为".Public",tmp被重命名为".Templates"并且user-dirs.dirs也被修改为:
XDG_PUBLICSHARE_DIR="$HOME/.Public"
XDG_TEMPLATES_DIR="$HOME/.Templates"
但是我改的其他目录就没有这个问题,比如图片目录改名为pic,文档目录改为doc
2.深度的终端,我把快捷键修改后,比如复制粘贴改为ctrl+c ctrl+v,重启就又恢复默认了。ps:几乎所有的软件复制粘贴都是ctrl+c ctrl+v,新标签页ctrl+t ,就linux下各个发行版的终端不按这个来,也是不能理解