FreeUnix.davidleemans.be

WordPress site for Linux and other computernerds

Change in site url

The url of this site is now freeunix.davidleemans.be. The old name freeunix.publicvm.com was posing too much problems.

Mostly because the entire publicvm.com domain, owned by DNSEexit.com is often being blacklisted and/or blocked by most ISP’s. This basically rendered the site useless most of the time. I guess that ‘s what you get with these free domain names, so I finally cashed out some money to buy a proper domain name 🙂 .

So please, adjust your bookmarks. If you don’t, you will still be redirected automatically to the new site url, at least for as long as publicvm.com resolves properly.

This post als marks the end for any new Slackware packages, since I no longer use Slackware as a desktop OS. If you must know, I switched to Debian.

Enjoy 🙂

MKVToolNix 71.1.0 for Slackware x64

 

Latest version of the MKVToolnix package for Slackware (Sbo build), build on a Slackware-current 15.0+ system. Requires Qt5.

 
For Slackware-current x64:

 
You might run into interface issues with this version: the GUI could show partially hidden interface elements, fonts, checkboxes, …
See the next link for more info (GitLab bug report): https://gitlab.com/mbunkus/mkvtoolnix/-/issues/3358

Solution is to create an ENV variable:

QT_AUTO_SCREEN_SCALE_FACTOR=0

Put it somewhere in /etc/bashrc or the user’s .bashrc. That should fix the interface issues.
 
Enjoy 🙂
 

Customize the Default user profile during your Windows 10 OSD

 

Introdcution

 
In this article, I will show how you can edit the default user profile, as part of your Windows 10 deployment task. There are multiple methods available to edit the default user profile (GPO’s, logon scripts, copy configured profile over the default profile,…), but my preferred method for modifying the default user experience is to edit the default user profile directly using a script that is run during Windows deployment.
This script can also be run on existing machines. This approach can easily be adjusted to your likings, is easy to perform, and does not require lots of preparation.
 
Continue reading

iNove1080 WordPress theme

 

For those of you who are interested, I am releasing the WP theme that is used for this site. It’s just a slightly tweaked version of the iNove theme, which afaik is now abandoned.  

Modifications I made:

  • It’s wider, the header/footer image are now 1080 pixels wide
  • PRE css now defaults to Courier font, the text is darker, the quote img is removed
  • PRE text now automatically shows scrollbars when text is too wide (overflow = auto)
  • a few tweaks here and there to various spacings to make it fit better

 
Theme was tested on WP 4.6/4.7 on PHP 5.6.x and appears to work just fine.
 
Downloads:

 

Enjoy 🙂
 

Silent installation and removal of MSI packages

 

Installing MSI files silently

 

To perform the really silent installation of an MSI file, you can use a command line which looks like this:

msiexec.exe /i ApplicationName.msi /qn /norestart

 
Some MSI files provide more options, usually to let you customize the application (apply settings, install only some parts,…).
 

Removing MSI files silently

 

To perform the silent removal (uninstallation) of an MSI file, use a command line which looks like this:

msiexec.exe /x {ProductCode} /qn

 
There is also a more generic command to remove applications that were installed by MSI files:

wmic product where "caption like '%Google Chrome%'" call uninstall /nointeractive

 
In this example, Google Chrome would be uninstalled silently (or more specifically, apps with “Google Chrome” in their name).

 

How to find the MSI product code

 

A simple one-liner in Powershell will do:

get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name

 

This will produce output looking much like this:

{26A24AE4-039D-4CA4-87B4-2F32180102F0} Java 8 Update 102
{E1201675-B966-4B97-82D9-01F292173B49} Client Center for Configuration Manager
{AC76BA86-7AD7-1033-7B44-AC0F074E4100} Adobe Acrobat Reader DC
{343D4507-997F-4553-9F86-2BB81F19A05E} Configuration Manager Client
{BBAF8C17-51A4-3A52-A9C7-08229B38346E} Google Chrome
{90D295B8-BA08-487E-B904-0E624209A410} Microsoft Policy Platform
{B175520C-86A2-35A7-8619-86DC379688B9} Microsoft Visual C++ 2012 x86 Additional Runtime 
{1F1C2DFC-2D24-3E06-BCB8-725134ADF989} Microsoft Visual C++ 2008 Redistributable - x86
{165CC34D-37E9-4B88-A5AA-D0FA2EB5A8CE} DameWare Mini Remote Control 7.5
{EC542D5D-B608-4145-A8F7-749C02BE6D94} Dell Command | Update

 
The productcodes can then be found in the left colum of the output. Note that the above line of code will return the productcodes of all the MSI-based software, installed on your system. This might take quite some time.

 

If you want to lookup the productcode of a specific software, the next code example might be more useful:

get-wmiobject Win32_Product | where Name -Like "*Acrobat Reader*" | Format-Table IdentifyingNumber, Name 

 

In this case, the output returns the productcode for just 1 product:

IdentifyingNumber                      Name                   
-----------------                      ----                   
{AC76BA86-7AD7-1033-7B44-AC0F074E4100} Adobe Acrobat Reader DC

 
Enjoy 🙂

 

« Older posts