F5F Stay Refreshed Software Operating Systems How to create startup scripts in Ubuntu?

How to create startup scripts in Ubuntu?

How to create startup scripts in Ubuntu?

Pages (2): 1 2 Next
R
R3kab
Member
168
06-29-2023, 11:31 PM
#1
To set these configurations each time you boot, add the following commands to your startup script:

```bash
xmodmap -e 'add mod3 = Scroll_Lock'
xinput set-prop 11 279 -1
```

You can automate this by creating a small script (e.g., `startup.sh`) that runs these lines before shutdown. Let me know if you need help building it!
R
R3kab
06-29-2023, 11:31 PM #1

To set these configurations each time you boot, add the following commands to your startup script:

```bash
xmodmap -e 'add mod3 = Scroll_Lock'
xinput set-prop 11 279 -1
```

You can automate this by creating a small script (e.g., `startup.sh`) that runs these lines before shutdown. Let me know if you need help building it!

X
xDank
Junior Member
11
06-30-2023, 08:15 AM
#2
Edit your crontab using crontab -e or open it with sudo.
X
xDank
06-30-2023, 08:15 AM #2

Edit your crontab using crontab -e or open it with sudo.

A
Adamanted_
Member
58
06-30-2023, 09:42 AM
#3
Add the directory to /etc/rc.local for scheduling purposes.
A
Adamanted_
06-30-2023, 09:42 AM #3

Add the directory to /etc/rc.local for scheduling purposes.

Y
yolosolohi48
Member
167
06-30-2023, 10:34 AM
#4
I don’t know what it is. It’s hard for me to grasp how the file system functions in Linux yet.
Y
yolosolohi48
06-30-2023, 10:34 AM #4

I don’t know what it is. It’s hard for me to grasp how the file system functions in Linux yet.

O
oNinja_
Junior Member
4
06-30-2023, 12:12 PM
#5
Yes, it should enable you to execute terminal commands when the system starts.
O
oNinja_
06-30-2023, 12:12 PM #5

Yes, it should enable you to execute terminal commands when the system starts.

P
PlazmaIce
Member
62
06-30-2023, 09:31 PM
#6
Discover eerie startup options, then rename them with a chilling twist. Add the line to your script or a bash file for a spooky effect.
P
PlazmaIce
06-30-2023, 09:31 PM #6

Discover eerie startup options, then rename them with a chilling twist. Add the line to your script or a bash file for a spooky effect.

C
cocochip50
Member
193
07-15-2023, 01:19 PM
#7
rc.local is a configuration file located in the /etc/ directory.
C
cocochip50
07-15-2023, 01:19 PM #7

rc.local is a configuration file located in the /etc/ directory.

_
_Geqr_
Senior Member
554
07-15-2023, 02:02 PM
#8
It performs the task of explaining its function.
_
_Geqr_
07-15-2023, 02:02 PM #8

It performs the task of explaining its function.

M
MrLegal
Member
170
07-15-2023, 09:05 PM
#9
most likely
M
MrLegal
07-15-2023, 09:05 PM #9

most likely

Z
zombietony
Member
55
07-16-2023, 05:25 AM
#10
Refer to the instructions at https://askubuntu.com/questions/205676/h...ensitivity for details on adjusting mouse settings.
Z
zombietony
07-16-2023, 05:25 AM #10

Refer to the instructions at https://askubuntu.com/questions/205676/h...ensitivity for details on adjusting mouse settings.

Pages (2): 1 2 Next