-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.txt
More file actions
38 lines (26 loc) · 1.05 KB
/
setup.txt
File metadata and controls
38 lines (26 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SETUP GUIDE FOR RACO SCRIPT (FIXED)
===========================
STEP 1: Grant Permissions (Run Once)
----------------------------------
1. Open your terminal.
2. Navigate to the folder where you saved the script.
(Example: cd ~/Downloads or cd /home/yamada/)
3. Run these TWO commands in order:
First, make the script executable:
chmod +x Raco-Main.sh
Second, whitelist the script (allows running without password):
echo "$USER ALL=(ALL) NOPASSWD: $(readlink -f Raco-Main.sh)" | sudo tee /etc/sudoers.d/raco-control
(If asked for a password here, enter your user login password once).
STEP 2: Set Keyboard Shortcuts
----------------------------------
Go to your System Settings -> Keyboard -> Shortcuts and add these commands.
IMPORTANT: Do NOT use "sh" in these commands. Use the full path directly.
For Performance Mode:
sudo /path/to/Raco-Main.sh 1
For Balanced Mode:
sudo /path/to/Raco-Main.sh 2
For Powersave Mode:
sudo /path/to/Raco-Main.sh 3
----------------------------------
Example (if your script is in /home/yamada/):
sudo /home/yamada/Raco-Main.sh 1