Posts Tagged how to
📅 September 27, 2018
A new color scheme of controllers has been released for the PlayStation 4 a few days ago, and one of these controllers is the colorful Berry Blue DualShock 4.
Of course, a fancy controller like this must have more than one purpose in life, right? So, here is the important question: How compatible is it with RetroPie?
As it turns out, this is a very good addition to any RetroPie system as a wired or Bluetooth wireless controller, and it works flawlessly.
📅 June 22, 2018
So, you purchased a brand new Ryzen 5 2600 3.4Ghz processor only to discover that Linux reports its speed as 1550 MHz. Why? Can it be fixed?
It turns out that that newer motherboards (X470, for example) for Ryzen CPUs include extra features. One feature is called PSS Support, and it needs to be disabled when using Linux in order for Linux to show the 3400 MHz CPU speed rating.
📅 June 12, 2018
You are probably aware that you can set a custom icon using the file manager’s GUI, but did you know that you can also set a custom icon on a folder using the command line?
That’s right. The gvfs-set-attribute command will allow you to set a custom icon to a directory so that the new icon will appear in place of the default folder icon when viewed in a GUI file manager.
This is particularly handy for assigning multiple custom icons for movie and music directories while preserving the default folder icons for other system directories. It can be scripted, and it is easier to do than you think.
📅 February 27, 2018
“I wanted to build a new computer, but RAM and video cards are too expensive!”
Given the ridiculous skyrocketing costs (as of the time of this writing) of RAM and GPUs due to cryptocurrency mining, you might feel dismayed at the prospect of building a new computer system. Whether it be a fancy SLI gaming system or a virtualizing system hosting servers, the current costs will make it more expensive than it would have been a few months ago.
But does this mean give up and wait for prices to fall before doing anything?
There is plenty to do with your current system right now. In fact, learning to work with what you have and improve it to the best of your ability will increase your skills and knowledge.
For hardware and software, here are a few tips that will make your system more pleasant to work with and seem faster than it actually might be.
📅 February 13, 2018
Suppose you want to maintain a list of users allowed to login to an FTP server but you do not want to create user accounts for them on the Linux system. The FileZilla server has this feature built in, so is there are way to specify usernames and their passwords for FTP users in ProFTP?
One way is to use a MySQL database that ProFTP checks for allowed users. If a user is listed in the database, then he is allowed to log in.
This might sound like overkill. Why use a full-fledged relational database for FTP? Actually, you can much, much more than manage logins. Every aspect of the FTP session can be recorded and analyzed using a database. Uploads, IP addresses, last logins, login history, access count, upload/download quotas, and more are possible. Almost anything you want to record about your users is possible with ProFTP and a database, such as MySQL.
This article shows how to set up ProFTP to access a MySQL database that lists users allowed to log in without needing to create user accounts on a Linux Mint system.
📅 February 9, 2018
FTP is insecure because all commands, usernames, password, and data transfers in the clear. Anybody sniffing the network can easily peek into an FTP session.
Let’s thwart that attempt by encrypting our FTP server with an SSL/TLS certificate that we generate ourselves.
With the virtual environment set up and the default ProFTP server running, let’s configure ProFTP to serve two virtual FTP hosts that allow anonymous logins each.