|
| ←2026→| Months |
| Jan |
Feb | Mar |
| Apr |
May |
Jun |
| Jul |
Aug |
Sep |
| Oct |
Nov |
Dec |
|
Thu, Feb 26, 2026 10:31 pm
Restarting the Windows audio service
If you are experiencing problems with sound on a Microsoft Windows system,
such as being unable to hear audio even when the sound hasn't been muted
and any external speakers are turned on and set to an audible volume level,
one possible way to resolve the problem is to restart the
Windows Audio service. To do so, you can can take the following steps:
- Type
services in
the Windows Search field. You should see it returned by the search
utility. Click on "Run as administrator" and provide the login credentials
for an account that has adminisrator privileges.
- When the Services window opens, scroll
down until you see Windows Audio.
- Right-click on the entry and choose "Restart".
- When the status for the service returns to "Running",
you can close the Services window.
[ More Info ]
[/os/windows]
permanent link
Wed, Feb 25, 2026 11:57 pm
Configuring Sendmail to listen on the mail submission port
Sendmail is an
email server application that is available for many operating systems.
It will listen on
TCP
port 25 for connections from other mail servers that use the
Simple
Mail Transfer Protocol for email transmissions. As
a message
submission agent (MSA), another common port it listens on is TCP port 587
for email transmissions from users' email clients. On a
Linux system you can use the
netstat or
ss
commands to determine if a system is listening for connections on a
particular port. When I checked a Sendmail server to determine whether it
was listening on port 587, I could see that it was not listening on that
port, though that was needed.
# netstat -an | grep 587
# ss -ln | grep ":587 "
#
When I searched /etc/mail/sendmail.mc for
RELAY_MAILER_ARGS, I saw the following
lines, which are needed to have Sendmail listen for email transmissions
from users on TCP port 587, were already present and were not commented out:
define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`ESMTP_MAILER_ARGS', `TCP $h 587')
When I searched for DAEMON_OPTIONS, I saw the following:
dnl # The following causes sendmail to additionally listen to port 587 for
dnl # mail from MUAs that authenticate. Roaming users who can't reach their
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
dnl # this useful.
dnl #
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
I removed the dnl from the begining of the line so that
I then had the line below, instead:
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
I then rebuilt /etc/sendmail/mc and restarted the Sendmail
service.
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# service sendmail restart
Redirecting to /bin/systemctl restart sendmail.service
#
I could then see that the system was listening for connections on port
587.
[ More Info ]
[/network/email/sendmail]
permanent link
Tue, Feb 24, 2026 4:06 pm
Installing Advanced Diary on a Linux system with Wine
I needed to install Advanced Diary
on an Ubuntu Linux system.
for someone who had been using the program for journaling on a Microsoft Windows
system. I had previously installed
Wine, a program that
allows one to run Windows applications on
Linux,
macOS, and
FreeBSD
systems. I used AdvDiary.sh, which
contains the following lines, to install Advanced Diary:
#!/usr/bin/env bash
set -e
if [ -z "$1" ]; then
echo "Usage: $0 AdvancedDiarySetup.exe"
exit 1
fi
INSTALLER="$(realpath "$1")"
PREFIX="$HOME/.wine-advdiary"
echo "Creating 32-bit Wine prefix..."
export WINEPREFIX="$PREFIX"
export WINEARCH=win32
winecfg -v win7 >/dev/null 2>&1 || true
echo "Installing required components (gdiplus, corefonts)..."
winetricks -q gdiplus corefonts
echo "Forcing native GDI+..."
cat > "$PREFIX/user.reg" <<'EOF'
[Software\\Wine\\DllOverrides]
"gdiplus"="native"
EOF
echo "Running Advanced Diary installer..."
wine "$INSTALLER"
echo
echo "✔ Installation complete"
echo "Run with:"
echo "WINEPREFIX=$PREFIX wine \"$PREFIX/drive_c/Program Files/Advanced Diary/Diary.exe\""
To run it, you need to assign "execute" permission to the file, which can be
done in a Terminal
window with chmod + x filename or chmod a+x
filename to make a file executable by all users or
chmod u+x filename to make it executable by just the owner
of the file, i.e., the user.
alice@Wonderland:~/Downloads$ chmod u+x install-advanced-diary.sh
alice@Wonderland:~/Downloads$
When I ran the shell
script .sh file, I realized I hadn't installed
Winetricks beforehand, so I installed it with
sudo apt install winetricks after running the script.
I then reran the installation script for Advanced Diary. The installation
completed successfully — I selected the option to have the program
opened automatically at the conclusion of the installation — and it
appeared to open normally (I had to press Enter in the terminal
window to return to the shell prompt).
[ More Info ]
[/os/unix/linux/wine]
permanent link
Mon, Feb 23, 2026 10:05 pm
Determining if a drive is encrypted with Bitlocker on a Windows system
If you need to determine if a drive in a Microsoft Windows system or connected
to it via USB is
BitLocker encrypted, you
can use the
manage-bde utility. To use the program, open a
command prompt window with
administrator privileges and then issue the command
manage-bde -status to see the status of all drives. To see just
the status of one drive, e.g., C:, you could use manage-bde -status
C:.
C:\Windows\System32>manage-bde -status c:
BitLocker Drive Encryption: Configuration Tool version 10.0.26100
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
Volume C: [Windows]
[OS Volume]
Size: 14826.87 GB
BitLocker Version: None
Conversion Status: Fully Decrypted
Percentage Encrypted: 0.0%
Encryption Method: None
Protection Status: Protection Off
Lock Status: Unlocked
Identification Field: None
Key Protectors: None Found
C:\Windows\System32>
[ More Info ]
[/os/windows/commands]
permanent link
Sun, Feb 22, 2026 3:38 pm
Running the Big Fish Games Manager on an Ubuntu system
You can run the Big
Fish Games Game Manager on an
Ubuntu Linux system
under Steam.
You can install Steam as a
Snap package
from the Ubuntu App Center.
Steps:
-
Download the Big Fish Games App (Game Manager) for PC
-
In Steam on the Ubuntu system, click on Add a Game, which is
at the lower, left-hand corner of the Steam window, then
select Add a Non-Steam Game, then browse to where you downloaded
the .exe installer for the game manager, click on it, and then
click on Add Selected Programs.
-
You should then see the Big Fish Game Manager in the "Uncategorized" list
of games at the left side of the Steam window, e.g., you may see
bfginstaller32_s1_l1.exe listed. Right-click on it and then select
Properties, then Compatibility, and then, from the
drop-down list that becomes available, select Proton Experimental
or the latest stable version — I selected Proton Experimental.
-
You can then close the Compatibility window by clicking on the
"X" at the upper, right-hand corner.
-
Then with the Big Fish Game Manager selected in the Uncategorized
list, click on the Play button to launch the Big Fish Game Manager
Setup and agree to the License Agreement when you see it appear.
When I started the install process, the installation appeared to hang at
"Execute: C:\Program Files (x86)\bfglient\epoch.exe". When I clicked on the
title bar for the window, I saw "About Wine", so it appeared to be using
Wine, which I had
previously installed on the Ubuntu system.
But I waited and eventually the installation succeeded, though I think it
took over 15 minutes. I closed the window and then went back to the
Steam window, I saw bfginstaller32_s1_l1.exe was still there. This time
when I clicked on it, the Big Fish window where I could sign in to Big
Fish Games opened fairly quickly.
Note: if the window goes blank or displays just a white background,
minimize it by clicking on the "-" in the upper, right-hand corner of
the Big Fish window and then switch to it again, which you can do with
Alt+Tab — continue to press the Tab key while
continuing to hold down the Alt key to cycle between open open
windows until you get to the Big Fish window.
Initially, you will see "No games to play," but if you have already
purchased games that you've played on another system, you can click
on Purchase History and install them on the Linux system.
When I installed the Big Fish Games Manager under Steam, I had my wife
check one of her games, Aquascapes, and that ran fine. I then closed
the Big Fish window and the Steam window and reopened it. Note: if
you want to change the name that appears for Big Fish Games in the
Uncategorized list, you can right-click on the entry, e.g.,
bfginstaller32_s1_l1.exe, and choose Properties and then change
the "Shortcut" value to something you prefer, such as "Big Fish Games".
When I reopened Steam and started Big Fish Games, I saw the Aquascapes
game under "My Games".
[ More Info ]
[/os/unix/linux/ubuntu]
permanent link
Sat, Feb 21, 2026 10:37 pm
Mounting a network drive under Ubuntu Linux
To access a directory that is shared from a Microsoft Windows system in a
Windows domain, you
can take the following steps on a
Ubuntu Linux system.
Note: you will need to have a package installed that provides
Server Message
Block (SMB) support. If the libsmclient0 package is installed, you should be
able to use these steps. You can check if it is installed by opening
a Terminal window and
issuing the command dpkg -s libsmbclient0.
If it is not installed, you can install it with sudo apt install
libsmbclient0.
alice@Wonderland:~$ dpkg -s libsmbclient0
Package: libsmbclient0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 259
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: samba
Version: 2:4.22.3+dfsg-4ubuntu2.2
Replaces: libsmbclient
Provides: libsmbclient (= 2:4.22.3+dfsg-4ubuntu2.2)
Depends: samba-libs (= 2:4.22.3+dfsg-4ubuntu2.2), libbsd0 (>= 0.0), libc6 (>= 2.38), libndr6 (>= 2:4.17.2), libtalloc2 (>= 2.0.4~git20101213), libtevent0t64 (>= 0.15.0)
Breaks: libsmbclient (<< 2:4.22.3+dfsg-4ubuntu2.2)
Description: shared library for communication with SMB/CIFS servers
This package provides a shared library that enables client applications
to talk to Microsoft Windows and Samba servers using the SMB/CIFS
protocol.
Homepage: https://www.samba.org
Original-Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
alice@Wonderland:~$
[ More Info ]
[/os/unix/linux/ubuntu]
permanent link
Fri, Feb 20, 2026 11:01 pm
Clearing the cache for a webpage displayed in Firefox
I had opened an
HTML file
in the
Firefox browser
and needed to refresh the display of the file, which was using a
CSS file located on a
remote web server, after the remote CSS file had changed. Clicking on
the refresh/reload button on the Firefox navigation bar or pressing the
F5 key would show changes I made to the local file, but would not
reflect changes to the remote CSS file, which was
cached
on the local system's disk drive.
You can remove a cached
CSS
for a specific webpage by performing a forced reload of that webpage.
A forced reload tells Firefox to ignore the cached files and download fresh
copies from the server. The keyboard shortcut, which works on Linux, is to
hold down Ctrl + Shift + R or Ctrl + F5. Alternatively, you can hold
the Shift key and click the Reload button on the navigation toolbar.
This is usually the quickest solution for a single page.
[/network/web/browser/firefox]
permanent link
Thu, Feb 19, 2026 9:43 pm
Listing all accounts on an Ubuntu Linux system
If you need to list all of the accounts on an
Ubuntu Linux system, there
are many commands that you can use.
cat /etc/passwd
grep -oE '^[^:]+' /etc/passwd - for just the account names
cut -d: -f1 /etc/passwd - for just the account names
awk -F: '{print $1}' /etc/passwd - for just the account names
lslogins
compgen -u - for just the accunt names
getent passwd
[ More Info ]
[/os/unix/linux/ubuntu]
permanent link
Wed, Feb 18, 2026 4:01 pm
Determining the amount of memory in a system running Ubuntu Linux
If you need to determine the amount of memory in a system that is running
the Ubuntu Linux
operating
system (OS), you can open a
Terminal
window from the App Center and then use the free command.
If you use the command without any options, you will see the amount
of memory displayed in
bytes. To display the value in a more human-friendly format, you
can add the argument -h or --human, e.g.,
to see the value in
gigabytes.
alice@firefly:~$ free -h
total used free shared buff/cache available
Mem: 14Gi 2.4Gi 10Gi 426Mi 2.3Gi 12Gi
Swap: 4.0Gi 0B 4.0Gi
alice@firefly:~$
Other options for the command are shown below:
jim@Serenity:~$ free --help
Usage:
free [options]
Options:
-b, --bytes show output in bytes
--kilo show output in kilobytes
--mega show output in megabytes
--giga show output in gigabytes
--tera show output in terabytes
--peta show output in petabytes
-k, --kibi show output in kibibytes
-m, --mebi show output in mebibytes
-g, --gibi show output in gibibytes
--tebi show output in tebibytes
--pebi show output in pebibytes
-h, --human show human-readable output
--si use powers of 1000 not 1024
-l, --lohi show detailed low and high memory statistics
-L, --line show output on a single line
-t, --total show total for RAM + swap
-v, --committed show committed memory and commit limit
-s N, --seconds N repeat printing every N seconds
-c N, --count N repeat printing N times, then exit
-w, --wide wide output
--help display this help and exit
-V, --version output version information and exit
For more details see free(1).
jim@Serenity:~$
Note:The
free command in Linux shows the total amount of installed physical memory in the total column, but this value is less than the actual hardware
random-access
memory (RAM) installed because the Linux
kernel
reserves a portion of memory for itself and for hardware devices (like video
card buffers) at boot time. The total shown is the usable RAM available to the
OS, not the absolute hardware total.
[
More Info ]
[/os/unix/linux/ubuntu]
permanent link
Tue, Feb 17, 2026 1:53 pm
Adding and removing users from the sudoers list on an Ubuntu Linux system
On a Ubuntu Linux system,
you can determine which users are allowed to use the
sudo command by looking
at the contents of the /etc/group file. If you
grep for sudo
you will see which accounts on the system can use the command.
jack@firefly:~$ grep sudo /etc/group
sudo:x:27:jack,jill@ad.example.com
jack@firefly:~$
The above output shows that the local jack account and a
Windows domain
account, jill@ad.example.com, can use the command.
You can see what groups a particular user belongs to with the command
groups username, where username is the user's
account name.
jack@firefly:~$ groups jill@ad.example.com
jill@ad.example.com : domain users@ad.example.com ra_allowmediaaccess@ad.example
.com ra_allowcomputeraccess@ad.example.com ra_allowaddinaccess@ad.example.com ra
_allowshareaccess@ad.example.com ra_allowremoteaccess@ad.example.com wssusers@ad
.example.com ra_allowvpnaccess@ad.example.com ra_allowhomepagelinks@ad.example.c
om
jack@firefly:~$ groups jack
jack : jack adm cdrom sudo dip plugdev users lpadmin
jack@firefly:~$
You can also determine if a user has sudo privilege using
groups username | grep -c sudo. If the result is 0, then
the user does not have that privilege. If the result is 1, inciding that
the grep command found username one in the output of the groups command,
then the user has that privilege.
jack@firefly:~$ groups jill@ad.example.com | grep -c sudo
1
jack@firefly:~$
You can grant a user that privilege by issuing the command
sudo usermod -aG sudo username from an account that already
has the capability to run the sudo command.
jack@firefly:~$ sudo usermod -aG sudo mary
[sudo: authenticate] Password:
jack@firefly:~$
You can remove a user's account from the list of those allowed to run
the command using the
gpasswd
command, which is part of the sysutils package by issuing the command
sudo gpasswd -d username sudo.
jack@firefly:~$ sudo gpasswd -d mary sudo
Removing user mary from group sudo
jack@firefly:~$ groups mary | grep -c sudo
0
jack@firefly:~$
[ More Info ]
[/os/unix/linux/ubuntu]
permanent link
Privacy Policy
Contact