Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
用户的开机自启动程序写哪儿?
Experiences and Insight
603
views ·
4
replies ·
To
floor
Go
noparkinghere
deepin
2017-05-10 04:07
Author
这个系统的用户开机自启动程序写哪边?比如我要更该键盘映射 :xmodmap /home/damon/.Xmodmap 2>/dev/null ,但写了几处地方都没有生效。
Reply
Like 0
Favorite
View the author
All Replies
ygidtu
deepin
2017-05-10 05:19
#1
.profile文件行不,deepin
Reply
Like 0
View the author
ygidtu
deepin
2017-05-10 05:20
#2
ygidtu 发表于 2017-5-9 21:19
.profile文件行不,deepin
wiki有介绍
Reply
Like 0
View the author
cy844757727
deepin
2017-05-10 06:36
#3
你可以试试把这个写成desktop文件,然后放到~/.config/autostart 目录下,则在每次登录账号时会执行一次(如果需要sudo的我就不知道行不行了)。
Reply
Like 0
View the author
noparkinghere
deepin
2017-05-12 17:26
#4
放在 .profile 中没啥反应,也试了放在 rcS.d 和 rc5.d 下面,都还是不行,xmodmap 之前用 ubuntu 的时候好像会自动加载当前用户的配置文件 .Xmodmap 并不需要特意放置。
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