Linked Questions

1 vote
3 answers
5k views

Swappiness setting are ignored in sysctl.conf

swappiness is set to 0 and I can't change it. I have tried changing the swappiness setting in /etc/sysctl.conf and /etc/sysfs.conf - both are ignored after reboot (Ubuntu 12.04): $ sudo gedit /etc/...
2 votes
3 answers
6k views

How to disable touchscreen on a fresh install of Ubuntu 22.04 (Wayland)

I have an 5 year old laptop and I think the touchscreen is getting glitchy because my cursor is sometimes flickering and windows suddenly move and whatnot like my laptop is possessed. It started ...
0 votes
2 answers
4k views

usb_modeswitch.conf isn't loaded on startup

I'm trying to configure the PC to connect to the Internet over Huawei modem when it's started. However, after start, the modem is recognized as Mass storage device. I can switch it to correct mode by ...
0 votes
1 answer
134 views

Remember /sys/power/mem_sleep setting after reboot

I had this solution for the question Macbook takes 20 seconds to wake up where I had to run echo s2idle | sudo tee -a /sys/power/mem_sleep in order to set /sys/power/mem_sleep to [s2idle] deep But ...
0 votes
1 answer
552 views

Starting a simple sh script at reboot? Why is this to difficult? [duplicate]

I've tried everything, I've followed and undone every method I've come across on here but nothing works. I want to run a simple start-up script for an executable upon reboot, and no other time, as a ...
2 votes
1 answer
1k views

Run gnome-terminal with sudo on boot

I need to run the gnome-terminal with some command with sudo rights on the startup. How could I do that?
0 votes
0 answers
148 views

Printing on Yocto MiniDisplay on System Startup

I have developed a C application and I am also using a Yocto_MiniDisplay, which prints some messages from the application. I need to start the application on System Start up, so that on the display ...
60 votes
7 answers
58k views

Host name reverts to old name after reboot in 18.04 LTS

This may be related to running 18.04 LTS as a virtual machine (Host is Win 2016 DC) but I can't figure it out how. I have tried every method of I know of to change the hostname but it always reverts ...
50 votes
26 answers
106k views

Mouse cursor invisible after 15.04 update

My mouse pointer became invisible after some updates after I upgraded to 15.04 from 14.10. In all standard settings the mouse pointer is activated (system settings, dconf...) I also tried different ...
0 votes
0 answers
447 views

Start script ts3server_startscript.sh after REBOOT automaticaly

Could someone help me with automatic start of the script after reboot? It is regarding TeamSpeak3. I want to start ts3server_startscript.sh again if some unwanted reboot of the server occurs. I ...
14 votes
3 answers
24k views

Startup script with sudo in Ubuntu 16.10

I need to start a script and a binary file from /usr/bin at startup with sudo/root privileges. I've tried many guides from this forum but nothing worked (rc.local and systemd style, Upstart) - maybe I'...
2 votes
1 answer
143 views

Suspend temporarily linux update apt for the session until reboot

hi everything is in the title, i want to Suspend temporarily linux update apt for the session until reboot reason? when i'm on my mobile phone hotspot i don't want to linux PC to DL GB of data so i ...
1 vote
3 answers
3k views

Run rkhunter regularly on a desktop system

I want to get a warning on my desktop when rkhunter finds something odd on my system. I whitelisted some files and dirs that seem ok in /etc/rkhunter.conf so I get no warnings anymore. Now I want to ...
21 votes
2 answers
68k views

How do I run a script as sudo at boot time on Ubuntu 18.04 Server? [duplicate]

How do I run a script as sudo at boot time? I need to run ethtool --offload <net> rx off to disable the annoying jme udp checksum error message.
19 votes
1 answer
62k views

Run terminal sudo command at startup [duplicate]

I need to run the following command at startup or upon login to make my samba share accessible to my file system. How can I make this command run when I start my computer? sudo smbnetfs ~/Shared -o ...

15 30 50 per page