

However, the changes will persist for any upgrade as the file is part of your data, and the "autostart" is stored locally in your config. Also, if you do a fresh installation, then you will need to do the above again. Longer term, you'd likely want the file in a sub-directory rather than littering the home directory. (The command su exists on Linux also, but here all users may execute it - it still runs as the root-user though.) Other programs may also run as some system-user (and group) - for example the apacheweb-server is often run as the www-data-user (and www-data-group). Select when you would like it to run, probably "on login". And that other users may neither read, write nor execute it. Click on the button to the right of the "Command" and select the file you just created. Click on the + button towards the bottom. Click on the "Application Autostart" tab. go to the start menu and find the "Session and Startup" program. If so, edit the file and correct the command(s).įinally, this is for XFCE, but the other desktops should be similar. wacomsetup (or whatever filename you used).

Now within a terminal, check that all of your commands in that file are correct by running it directly using. Make sure that the "Access" for "Others" is set to "Read only" or "None" - that is, no-one else can write to this file.ī) alternatively open a terminal and run the command chmod 700 wacomsetup (or whatever filename you used). sh but this is entirely optional.Ī) use the file manager, right click on the file you just created, select "Properties.", select the "Permissions" tab at the top, then make sure that there is a tick in the checkbox for "Allow this file to run as a program". By convention, you would also give the filename an extension of. For example wacomsetup or anything that is not likely to get confused with a system command. Save the file in your home directory, with a suitable filename. Probably the simplest option is to use the 'autostart' mechanism.įirst use the text editor program and add all the commands that you want to run.
