New answers tagged

0

I wasn't getting any error messages, but source /etc/apache2/envvars && /usr/sbin/apache2 worked for me. (on Debian)


0

Thanks, I removed that xinput line at it worked!


0

You can use the xclip command. Then you can use the ps aux | grep 'your specification' | xclip -selection clipboard to copy the command in to the system clipboard. Here is the xclip manual


0

Not sure about the Process Tab, but you could on a console type: ps -C <command name> -ww -o args This will print the full command line to the console and this can be copied.


0

without LSB on /etc/init.d/ init files will end up with warning. Eg: insserv: warning: script 'noip2' missing LSB tags and overrides ### BEGIN INIT INFO # Provides: noip2 # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot ...


1

Ok so after lots of reading: Since Ubuntu 15.04, fstab entries are converted into systemd units (*.mount files found under /run/systemd/generator) by systemd-fstab-generator and are then mounted in no particular order, which is why mine was failing. However systemd supports dependencies, and these can be specified using the fstab option ...


0

Your HDD has gone bad. I have faced the same error sometime back on Ubuntu 14.04. I had to get my HDD replaced. You can try connecting the HDD to different computer and try to recover important data. In my case I lost all data :(


2

If I understood your question correctly, you want to use Ubuntu in "kiosk" mode, where it boots straight to one single application. This tutorial assumes that you want to use Chrome for the app, but you can easily adapt it to use your app instead. This tutorial assumes you’re starting with an Ubuntu desktop, all installed with working network and ...


0

i had some similar problem in rc.local not executing at startup sshades provided me with the following answer : Ubuntu is now using systemd, and rc.local is now considered a service which is turned "off" by default. You can turn rc.local "on" by entering the following command and rebooting: sudo systemctl enable rc-local.service ...


0

At the login screen use the icon in the upper right to mute the sound. The setting is persistent.


7

I created a script addressing your requirements: #!/bin/sh # To check internet access after booting ping -c 4 8.8.8.8 status=$? if [ $status -eq 1 -o $status -eq 2 ] then zenity --warning --text='<span foreground="red" font="15">Unable to establish Internet connection</span>' --title="Connection status" fi Save this as con_status.sh file ...


1

In Ubuntu, you can use Startup Applications (Press Super/Windows key and type Startup Applications) Create a shell script with your necessary code to check the internet To display message to the user, I would suggest you use notify-sendsince its non-intrusive and simple. Take a look at this notify-send tutorial Make your script executable chmod a+x ...


0

The following should do what you want: #!/bin/bash num=0 while ((num <= 10)) do gnome-terminal -x sh -c "obs --startstreaming; exec bash" & timestamp=$(date) echo "Started OBS in new terminal window at $timestamp" sleep 4h pkill -n obs timestamp=$(date) echo "Killed OBS @ $timestamp" ((num++)) done Here is the output ...


1

First problem is bug in Metacity 1:3.18.3-1ubuntu3 and should be fixed by upgrading to 1:3.18.4-0ubuntu0.1 version. Unfortunately I don't have answer for your second problem...


1

Here are two examples from the Upstart Cookbook: To start a job when eth0 is available start on net-device-up IFACE=eth0 To start once a non-loopback device has come up: start on net-device-up IFACE!=lo Note: net-device-up is not a regular job, it's an "Ubuntu well-known event".


1

You should enter in recovery mode. Start the machine and when the BIOS passes press (hold) SHIFT. (Once the Ubuntu logo appears you have missed it. Do it again.) When Grub appears select "Advanced Options" and then select the line where you see something like "recovery mode". After while few options will appear. Select "Drop to root shell prompt". Partition ...


0

Open LibreWriter and check Tools / Options / LibreOffice / Memory if the quickstarter is enabled and uncheck it. I had such an issue.


5

If your auto started .desktop file is a script you simply can put a control echo into the script like following example: # if yyou want only data saved for one run echo "Script has run on $(date)" > ~/script.log # if you want a continous log output append if [ -e ~/script-log ] then echo "Script has run on $(date)" >> ~/script.log ...


0

If you want to either autostart or cancel autostart for any given app upon login, You can: A) go to the Dash, and open "Startup Application". Select the application you want to not autostart anymore and hit the button "Remove". or B) go to yr terminal (CTRL+ALT+T) and type: $ cd ~/.config/autostart ; ls -AF # check that you see the file ...



Top 50 recent answers are included