Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
using_a_samsung_tv_as_computer_screen [25.01.2017 00:36]
Pascal Suter
using_a_samsung_tv_as_computer_screen [25.01.2017 00:50]
Pascal Suter
Line 38: Line 38:
 done done
 </​code>​ </​code>​
-  - now make sure this script is started as background process on boot. in ubuntu you can simply ​add this line to your ''/​etc/​rc.local''​ and make /​etc/​rc.local executable if it isn't already: <​code>/​opt/​checkScreen.sh > /dev/null 2>&1 & +  - now make sure this script is started as background process on boot. simply ​added it to the autostart list of applicatoins in gnomeHere is the command I autostart: <​code>/​opt/​checkScreen.sh > /dev/null 2>&1 & 
-</​code>​ **note** make sure you add this line **before exit 0** :) +</​code>​
-  - make sure your rc-local service is activated and restart it to test your script: <​code>​systemctl status rc-local.service</​code>​+
   - in order to test if everything is working, you can force your screen to standby by running this command in a terminal <​code>​xset dpms force suspend</​code>​. your tv should switch off in no more then 10 seconds and it should swick back on in about 1 second after moving the mouse   - in order to test if everything is working, you can force your screen to standby by running this command in a terminal <​code>​xset dpms force suspend</​code>​. your tv should switch off in no more then 10 seconds and it should swick back on in about 1 second after moving the mouse