Tag Info

New answers tagged

0

use rcconf to enable/disable a service to auto run on boot. sudo apt-get install rcconf Now, type sudo rcconf And you will see list of services that are installed on your Ubuntu machine. Those marked with star are auto run during boot process. To disable Apache, MySql just navigate to it using arrows and press space bar. Then navigate to OK button using ...


0

Make the script with executable permissions and copy to the location /etc/network/if-up.d/ as soon as network ethX up scripts in this location will be triggered.


0

You can put your script in /etc/rc.local. This command will be executed at the end on the start of you pc. Simple you can edit sudo nano /etc/rc.local and at the end of file put you command mavproxy.py --master=/dev/ttyACM0 --baudrate=57600 --out=myipaddress --console &&


4

Autostart an application for all users To autostart an application, either which user logs is, you can store a .desktop file in /etc/xdg/autostart. Automatically start up an application from a launcher in/etc/xdg/autostart will also: give individual users the opportunity to unset autostart. The .desktop file will be automatically copied from ...


0

Also be aware when making aplications with: update-rc.d myscript defaults To have permissions 0755 and to use or get before your .sh the path. Let's say your script is on /root/test.sh , you should first change to CD /root/ before accessing test.sh. So best way is to make a SH on init.d and there change the path to your sh and execute it in the start ...


0

What happens if you hit F2 or F12 during boot? I also have a Lenovo with Secure Boot/UEFI enabled and was always able to hit either one of those to be taken to BIOS or boot menu.


1

Yes and no. As explained in /etc/rc2.d/README, to disable a service in that runlevel you can rename as you suggest but should also run update-rc.d script defaults to reorder the scripts: To disable a service in this runlevel, rename its script in this directory so that the new name begins with a 'K' and a two-digit number, and run 'update-rc.d script ...


0

For me removing all parameters from GRUB_CMDLINE_LINUX_DEFAULT line causes stop system boot. I have encrypted disk and LVM. In this line I have some parameters that show kernel which partition is encrypted. If you want to show all kernel messages during boot time edit /etc/grub.d/10_linux file and find line vt_handoff="1" Change it to vt_handoff="0" ...


2

You may get such an error if your display manager is not sddm. Running the following can show which display manager you are using : cat /etc/X11/default-display-manager For example, if your display manager is /usr/sbin/gdm, running the following may help : sudo systemctl enable gdm.service -f


-1

Mount the swap partition with noauto option: /dev/mapper/vg-vgswap none swap sw,noauto 0 0 /dev/mapper/cryptswap1 none swap sw,noauto 0 0


1

Sorry to labour the point, but I've gone through my answer and found it full of gaps. I have written a full tutorial on the linux mint forum, to which I would like to refer anyone looking for this particular answer. So, here is the link. [Solved] Fix for ALSA Volume reset to 100% at boot/ reboot


0

Though it is not for Huwaii devices, you could try the codes give in this thread.


0

i was also having the same problem with the tata photon wifi max ,i was able to connect to wifi but not lan so i tried this in terminal after plugging the device in terminal and it worked but every time i have tho run this command in terminal : sudo usb_modeswitch -W -v 0x12d1 -p 0x1f01 -M "55534243123456780000000000000a11062000000000000100000000000000" -R ...


3

Log out of your graphical session and go to TTY1 whith Ctrl+Alt+F1. Log in and edit the file /etc/default/grub sudo nano /etc/default/grub or if you like vi sudo vim /etc/default/grub Remove the values for GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_LINUX_DEFAULT="" Then update GRUB and reboot sudo update-grub sudo reboot


0

Change your line to GRUB_CMDLINE_LINUX_DEFAULT="", update grub, and reboot.


2

If you are directly thrown to the GRUB menu, it's too late for pressing those keys. By this time, GRUB has already "taken over control" of your computer. So you have to press the appropriate key(s) before. I've looked it up on Dell's website: The key required for entering the BIOS Setup menu is F2. Unless your system is quite old, in which case some of ...


0

Start a megasync client gui. Right click on the indicator and choose "Settings". Then make sure that "Start on startup" option is checked in Account section. Hope this helps.



Top 50 recent answers are included