Oct. 25, 2022
As Linux users, we frequently encounter issues when file commands or applications stop working because of a space in a filename. This can often be caused by file operations or habits like saving files with spaces in their names. In this article, we’ll explore several methods for renaming such files by removing or replacing the spaces in the filename.
Bash script:
#!/bin/bash
ls | while read -r FILE
do
mv -v "$FILE" `echo $FILE | tr ' ' '_' `
done
Oct. 23, 2022
Open registry edit by Win+R, regedit, ENTER. Go all the way down to
HKEY_CURRENT_USER\SOFTWARE\Synaptics\SynTP\TouchPadxxxx
There you will find 3FingerTapPlugInActionID key, change the value to 4. If you see 3FingerTapAction, change it to 4 as well.
Sign out of Windows and sign-in.
This change can be reverted by the Synaptics setting app, as you change any configuration using the app (through Control Panel-> Mouse). So when it’s not working, check the registry again.
Aug. 3, 2019
Hugo is an open-source project and lives by the work of its contributors. There are plenty of open issues, and we need your help to make Hugo even more awesome. You don’t need to be a Go guru to contribute to the project’s development.
Jul. 1, 2019
Hugo is a fast and modern static site generator written in Go, and designed to make website creation fun again.
Jan. 16, 2019
This script use tr command to convert uppercase file name to a lowercase file name.
Bash script:
#!/bin/bash
for filename in *
do
n=`echo $filename | tr '[:upper:]' '[:lower:]'`
mv $filename $n
done
Jan. 16, 2019
D-Bus is a message bus system, a simple way for applications to talk to one another. In addition to interprocess communication, D-Bus helps coordinate process lifecycle; it makes it simple and reliable to code a “single instance” application or daemon, and to launch applications and daemons on demand when their services are needed.
The dbus-send command is used to send a message to a D-Bus message bus.
If you have dbus-send installed, you can shutdown via dbus without the need to escalate to root privileges.