Wyoming, NSW 2250

Ubuntu – change lid and button actions

The Ubuntu Settings app is very light on when looking at the power button and lid actions, excluding most of the options a Windows user has to change the customise button/lid actions between AC Power and battery power operation. Fortunately there is an easy command line tool that allows these settings to be changes easily within the Gnome environment,…

Read more

Create an App icon for a website in Linux

Linux Mint provides a little tool called Web Apps. This tool allows a web site to be sandboxed into a separate window, making a website look like an app. This can be handy for a site like Google Messages for using phone SMSes on the PC, allowing this to be shown in its own distinct window rather than just…

Read more

Find Node.js instance on a server

To track down Nodejs processes running on a server first run netstat -lt to list the ports that applications are listening on. This may show port 31044 is listening, for example. Next, find the processes that are listening on those ports with netstat -anp 2> /dev/null | grep :31044 This may return a process id like 7392/server.js – then…

Read more

Debian/Ubuntu/Mint – Mount a Windows network share

To mount a Windows share using the command line in a Debian based distribution, first ensure that cifs-utils is installed. If it isn’t, run sudo apt install cifs-utils To mount a share, run sudo mount -t cifs -o username=userName,domain=DOMAIN //serverName/shareName /mnt/path replacing userName, DOMAIN, serverName and shareName and the mount path as appropriate. If the Windows workstation/server is not…

Read more

Create a PHP/Ubuntu dev environment in Windows 10

Initial WSL, Ubuntu, Apache, PHP and MySQL installation Windows Subsystem for Linux allows a development environment to be set up locally without the need for virtual machine hosts. First, install the WSL feature. Click Start, type ‘Windows features’ and click the Turn Windows Features On or Off item. Tick the Windows Subsystem for Linux option and click OK. The feature will be install, then…

Read more

Permanently Wipe A PC

Disposing of a PC, selling it on or giving it away leaves a security risk if the drive isn’t wiped of old data. Often this can be done easily with an application like MiniTool Partition Wizard for Windows, easicially if you are able to plug the drive into another PC, or are just dealing with an external drive. There…

Read more