Script for CentOS 8 Linux from KODI to HTPC

I prepared a script that automates the installation and configuration of CentOS 8 Linux with KODI (formerly XBMC) under HTPC (a computer for media playback). Thanks to this, we get a ready system which, after connecting to e.g. TV or projector, enables comfortable playback of multimedia materials (video, audio, streams).

File, commands to download it, and even video material on YouTube can be found on the newly created subpage of this project. You are welcome: HTPC on CentOS 8 Linux with Kodi.

iVCam – smartphone instead of webcam

Chinese software development company  – e2esoft is publisher of iVCam application. Software website link: https://www.e2esoft.com/ivcam/
It is made of smartphone app (Android or iOS) and for computer (Windows 7/8/10). It is allow you to use smartphone connected to WiFi network (the same that computer is connected) as webcam device.
Some time ago i sent Polish translation, but instead they put own translation (that isn't bad). If you would like to use the one i prepared, you may download this file: strings.xml.
To make it work just put it inside "resource" directory, where software is installed (default C:\Program Files\e2eSoft\iVCam\resource) overwriting file that is already there with the same filename.
This file is prepared for version 5.3.5 of iVCam.

Testing Deepin 20 graphical interface manager on Fedora 32

There have been packages of a drop-down version of the window manager, Deepin Desktop 20 (known for its Debian-based Deepin Linux distribution). To check how the builder version looks and works on Fedora Linux 32 just use the terminal and the following commands:

Adding reporsitory of Deepin testing Desktop for Fedory:
# sudo dnf copr enable cheeselee/deepin-20-testing

Anad next we install packages:
# sudo dnf install deepin-api deepin-album deepin-calculator deepin-calendar deepin-control-center deepin-daemon deepin-desktop-base deepin-desktop-schemas deepin-dock deepin-draw deepin-editor deepin-file-manager deepin-icon-theme deepin-image-viewer deepin-kwin deepin-launcher deepin-menu deepin-network-utils deepin-picker deepin-polkit-agent deepin-qt-dbus-factory deepin-qt5integration deepin-qt5platform-plugins deepin-reader deepin-screensaver

Deepin Desktop Fedora 32Re-login but select Deepin on the login screen (cog down on the right). That's all.

BBClone statistics inside WordPress

Today's entry concerns the launch of statistics of website visits based on the WordPress system, using the BBClone – a script entitled as – A PHP based Web Counter on Steroids!

An example of how the BBClone works can be seen here: https://www.bbclone.de/demo/.

There's not much to describe, so I'll get to the point.
I assume you already have a working WordPress engine site.

1 – We are downloading a development version of the BBClone (the last stable release is from 2015, and does not support PHP version 7, so we need a version with later changes). Link to file: http://download.bbclone.org/bbclone-nightly-build.zip.
2 – The unpacked files are copied via FTP to a server. We can rename the bbclone directory to another.
3 – Edit the config.php file from the /conf/ directory, where you set the parameters as required.
4 – We change the WordPress file, template-loader.php, which is located in the /wp-includes/ directory. Simply add this piece of code under the first line containing "<?php":

define("_BBC_PAGE_NAME", get_bloginfo("name") . wp_title("/", false));
define("_BBCLONE_DIR", "/home/user/public_html/bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);

Instead of /home/user/public_html/bbbclone/ (bold above) you should enter your own full bbclone directory location on the server. Upload the modified file, replacing the original and it's ready.

The only thing you need to remember is to correct this file after updating WordPress.

Firmware update for SSD – HPE 5200 ECO model VK003840GWSXL

Recently, I have been able to purchase an SSD from Micron, the 5200 ECO with a 3840GB capacity. The purchased item is branded by HPE (Hewlett Packard Enterprise, model VK003840GWSXL). In order to update the device's firmware, I encountered problems, the solution of which I would like to share. You are welcome.

ssd-hpe-micron-5200-eco-4tb Continue reading "Firmware update for SSD – HPE 5200 ECO model VK003840GWSXL"

Short review Xiaomi Wireless Power Bank PLM11ZM

Xiaomi Wireless power bank (model PLM11ZM) – with 10,000mAh battery capacity is the first Xiaomi device used as a backup power bank with wireless charging function. I recently purchased this product and would like to share my first thoughts.

Krótka recenzja Xiaomi Wireless power bank PLM11ZM

Continue reading "Short review Xiaomi Wireless Power Bank PLM11ZM"

Pure-FTPd with Let's Encrypt

Currently, the most frequently used FTP server by me in Linux is Pure-FTPd. It allows to use TLS encrypted connections. I thought it would be nice if I could link Pure-FTPd to my certificate signed by Let's Encrypt. By default, the application does not have such a possibility, so I wrote a simple script that helps both projects work together.

I would like to invite you to a short description and download.

Cheap USB to LAN and WiFi

Since I often solve computer problems using my own hardware, I decided to buy the cheapest and smallest size USB devices to connect computers to LAN and WiFi networks. In this entry I will present what I bought and how it works (iperf3).

Continue reading "Cheap USB to LAN and WiFi"

Windows 10 – Start Menu don't work

I've been using Windows 10 for some time now, and despite the update I occasionally had a problem with the Start Menu. It just did not work sometimes. It turns out that one of the system's services is responsible for this. In order to help other people with this problem, I present below a way to solve it.

1. Task Manager.2. Registry Editor.3. Change parameter.
Start by running the Task Manager. To do this, right-click on the clock located at the bottom right of the screen. Then select the Task Manager by clicking on it.

When the Task Manager is running, you must switch to the full information and function display mode by pressing on "More details".

After this operation, the Task Manager will enable us to run a registry editor by using the File \ Run new task (left side of the top).

In the window that will appear, just type a regedit and press enter (or mouse click OK).

Then we have to find and change one of the entries. Expand the branch in the registry editor from the left panel:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WpnUserService

We are interested in the value of the Start parameter placed in the right panel. To do this, double-click on the Start parameter, and in the window that shows you will change the value to 4, confirming by pressing OK.

Then close the registry editor and restart your computer. From now on, the Start Menu should work properly.

 

Windows 10

The moment has come when I had to purchase a new version of operating system – Windows 10 Pro (64-bit version) because of my work.

First impressions after installation:
– start up quickly
– seems to be more responsive
– after installing the system (from scratch) it has a lot of unnecessary programs (like games, spotify, onedrive)
– problems with the USB 3.0 controller from VIA (which I repaired manually by installing drivers for Windows 8.1)
– has installed drivers for the graphics card, sound, etc. by itself (comfortable)
– waits for an external USB drive to start during the start (better if it is working in the background)
– microphone boost does not work for a USB webcam with a built-in microphone (in Windows 7 worked without problem), here typically an error on the MS side that does not want to fix it (although it is more likely that it does not know how to fix it)
– built-in antivirus (but unfortunately quite slow, and broken down, after detecting the threat and pressing the action of repairing does nothing)
– the start menu did not work for a moment, after the installation of some update started.

In general, there are a few advantages and some disadvantages. Well somehow, unfortunately, we will have to move around. As for me, problems match the BETA version rather than the final product.