« first day (3434 days earlier)      last day (45 days later) » 

12:18 AM
0
Q: Execute POST Request Before System Sleep/Wakeup

Jonathan BeaudoinI'm trying to use a script to shut off a smart plug I have when the system goes to sleep and turn it back on when the system wakes up. I've put the following script inside /lib/systemd/system-sleep/ #!/bin/sh /usr/local/bin/smartdeck sleep > $HOME/sleep.txt But it seems that by the time that...

 
 
2 hours later…
2:39 AM
0
Q: cut -d not working?

zactrixoI'm trying to extract all the lines from a file that end with /42 and then remove said /42 with the command cut but for some reason its not working. Here is the command grep "42$" questionnaires.txt > test42 | cut -d '/' -f 1 test42 and the output when I use cat ont test42 is La dernière arm...

 
 
1 hour later…
3:39 AM
0
Q: Preseeding of Ubuntu installer

UbuntuI want to run a few commands immediately after installation of Ubuntu.Therefore I thought of using preseeding concept.I extracted my iso and in the preseed folder appended the following line to custom.seed file d-i preseed/late_command string in-target mkdir /home/abc Now I repacked the iso and...

 
 
8 hours later…
11:26 AM
0
Q: Host cannot connect to Internet but Guest VMs can

WeezyI don't know if this is a question is more suited for this site or askubuntu, but here's my situation: Running 18.04 Ubuntu and I made a bridged interface to allow my VM to share the connection. Now I don't now how /etc/network/interfaces works but my guess is that it defines interfaces(physica...

 
 
3 hours later…
2:08 PM
0
Q: How to keep screensaver running when playing media by FireFox built-in player?

phorasaeI can't find this option like I can in VLC, which can enable or disable screensaver when playing media files. How the Ubuntu automatically lock the screen is allways activate the screensaver on a specific time, then locks the screen, How this set to work on FireFox?

 
 
2 hours later…
4:30 PM
0
Q: using Virtualmin migrate sites on DigitalOcean to new vps but always return 403 forbid

arachide/etc/hosts 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts # 138.xx.xx.xx is my server ip 138.xx.xx.xx mydomain....

 

« first day (3434 days earlier)      last day (45 days later) »