startup - Can't understand systemd in Ubuntu 16.04 - Ask Ubuntu


i trying fight against synaptics commands not executed on startup ubuntu 16.04 (on macbookair), detailed here. after trying rc.local realised have create systemd service instead. i

1) created file 2 lines

#!/bin/bash echo 'hello, world.' > desktop/foo.txt 

and saved /usr/bin/touchpad. made executable via chmod.

2) created file

[unit] description=touchpad  [service] type=oneshot execstart=/usr/bin/touchpad  [install] wantedby=multi-user.target 

and saved /etc/systemd/system/touchpad.service. made executable, too.

3) finally, run

systemctl enable touchpad.service 

i shut down , started again hoping see file on desktop named foo.txt text hello, world in it, nothing happens. wrong?


Comments

Popular posts from this blog

Windows XP installation, no previous version of Windows NT - Super User

permissions - Mount is denied because the NTFS volume is already exclusively opened - Ask Ubuntu

software installation - How to install linux driver for a lb-link wireless usb adapter - Ask Ubuntu