How to Flush the DNS Cache on Ubuntu—and Verify the Fix
Flush Ubuntu’s DNS cache, identify the resolver your application uses, and verify website, email or API changes before calling a migration complete.
Flush Ubuntu’s DNS cache, identify the resolver your application uses, and verify website, email or API changes before calling a migration complete.
Diagnose a CPU-heavy whoopsie-upload-all process, stop Ubuntu crash uploads safely, and choose between disabling, masking, or removing the packages.
A nice little guide: https://tecadmin.net/run-shell-script-as-systemd-service/
shutdown -h hh:mm schedules a halt, for example shutdown -h 22:35. The reply is "Shutdown scheduled for ... use 'shutdown -c' to cancel", so shutdown -c cancels it; shutdown --help has the rest.
Suspend at a given time instead: sudo echo 'sudo pm-suspend' | at 22:35
Possible fix:
Delete the cache: ~/.config/skypeforlinux/Cache/
Skype start command: nice -n 19 rm -r ~/.config/skypeforlinux/Cache/* ; nice -n 19 /usr/bin/skypeforlinux %U skypeforlinux --disable-accelerated-video-decode=true
Skype start command vanilla: /usr/bin/skypeforlinux %U
In firefox I have enabled a couple of tweaks described here for hardware acceleration: https://askubuntu.com/questions/1216192/why-is-kubuntu-using-much-more-…
Maybe more info here: https://itectec.com/ubuntu/ubuntu-why-is-kubuntu-using-much-more-cpu-th…
Prevent broken text in MySQL exports by checking column metadata, choosing the right dump charset, and proving the restore before migration handoff.
Use "xdotool key Menu" in a global shortcut. That's it!
Quick note: xinput map-to-output 11 eDP
I have a thinkpad laptop with a touchscreen. When I connect my external screen, then the touch sensor on my laptop screen moves the cursor on the external screen, which is not what I want. I want to keep my touch on my laptop screen.
I followed the instructions here: https://askubuntu.com/questions/51445/how-do-i-calibrate-a-touchscreen-…
First run:
xinput
Output:
Missing icons or a broken KDE Plasma panel after a Kubuntu upgrade? Follow a careful repair sequence, check Qt versions, and back up your layout before resetting it.
To detach a process started in the terminal, you can always add & at the end. For example: npm run evaluation &
Or: nohup bash script.bash &
After that you can run "jobs", to see the running jobs for that user.
Otherwise you can use "htop" or "ps -ef |grep bash" to find all bash jobs for instance.
References:
https://www.dev2qa.com/how-to-run-node-js-server-in-background/
Written recommendations from Trafik og Veje, Aarhus Municipality (2011) and AgroTech (2010).