Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Linux Deepin This forum is for the discussion of Linux Deepin.


  Search this Thread
Old 09-26-2020, 01:04 AM   #1
LQ Newbie
Registered: Sep 2020
Posts: 10

Rep: Reputation: Disabled
Add auto-startup commands

Hi, I have a backlit keyboard that requires Scroll Lock enabled for the backlight to work.

In Ubuntu 20.04.1, I executed xmodmap -e "add mod3 = Scroll_Lock" in the terminal and then saved the code in the startup applications to make it run automatically on boot. However, in Deepin OS I don't find any option for the startup applications. What should I do here to make the command run on every boot?
Old 09-27-2020, 05:09 AM   #2
LQ Newbie
Registered: Sep 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
Run this gedit ~/.config/autostart/ and add this in the file through a text editor:

 [Desktop Entry]
 Exec=xmodmap -e "add mod3 = Scroll_Lock"
 Comment=Enable Scroll Lock


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why static routes set using 'ip route add' and 'route add' commands are not used for routing packets within the same network? Linux - Networking 7 04-25-2017 05:52 AM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
Auto-executing soundcard commands at startup VA3OG Ubuntu 1 11-06-2005 12:25 PM
How do I add start and stop commands to systems startup and shutdown processes? mlsbraves Slackware 1 11-25-2004 07:04 AM
How do add daemons/servers to auto-startup list? bjc Linux - Newbie 2 10-23-2000 04:28 PM > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration