Hot answers tagged

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 ...


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 ...


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 ...


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 ...


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".



Only top voted, non community-wiki answers of a minimum length are eligible