MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
Search:
Entire Site This Topic Only
Match:
Any All
Partial Whole Words only
March
Sun Mon Tue Wed Thu Fri Sat
3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
2026
Months
Mar
Apr May Jun
Jul Aug Sep
Oct Nov Dec


Sun, Mar 01, 2026 10:55 pm

Controlling whether a scrollbar appears in a tab in a Terminal window

I needed to scroll back through a tab I had open in a Terminal window on an Ubuntu Linux system, but there was no scrollbar on the right side of the tab in which I had run the command, though a scrollbar was open in other Terminal tabs. I was able to get the scrollbar to appear by clicking on the icon with 3 horizontal bars at the top of the Terminal window and then selecting Preferences.

Terminal Preferences

Then from the Behavior tab, I changed the setting from Follow System to Always, which resulted in the scrollbar appearing where it had been missing, but I could not scroll back any further than the text that had been appearing in the tab before I changed the settiing and that remained the same whenever I issued another command and text moved upwards, so that I could no longer see it or scroll back to see it, so I closed the tab.

Always use scrollbars

When I opened another tab, the scrollbar was there and operated as expected.

[/os/unix/linux/ubuntu] permanent link

Sat, Feb 28, 2026 8:29 pm

Creating a desktop shortcut under Ubuntu for a Windows app runnning under Wine

From a CD, I installed Microsoft Office 2007 under Wine, so that my wife could edit her Microsoft Publisher files on an Ubuntu Linux system. I also installed Microsoft Excel and Microsoft Word. All three seemed to be working OK when I checked them after the installation completed. I was able to open the programs from the File Explorer by issuing the command wine explorer from a shell prompt in a Terminal window and then navigating to the directory, C:\Program Files (x86)\Microsoft Office\Office12, where the applications were located. I could also start Publisher by issuing the command below in a Terminal window:

wine "/home/alice@Wonderland/.wine/drive_c/Program Files (x86)/Microsoft Office/Office12/MSPUB.EXE"

To make it easer for my wife to open Publisher, though, I created a shortcut on her Ubuntu desktop. To create a shortcut you can take the following steps:

Open a Terminal window and create a new .desktop file on your desktop. You can use the nano editor or another text editor to create the file. E.g., nano ~/Desktop/AppName.desktop.

You then need to have lines like the following ones in the file:

[Desktop Entry]
Name=Name of Your Application
Exec=wine "/home/username/.wine/drive_c/Program Files/AppName/app.exe"
Type=Application
Icon=wine
Terminal=false
StartupNotify=true

You need to use the absolute path the the .exe file for the program and, if the directory path contains a space, you must enclose the path within quotes. Also, you need to replace username with your username on the system. For Publisher, I could use the following lines:

[Desktop Entry]
Name=Publisher
Exec=wine "/home/alice@Wonderland/.wine/drive_c/Program Files (x86)/Microsoft Office/Office12/MSPUB.EXE"
Type=Application
Icon=wine
Terminal=false
StartupNotify=true

If you use the nano text editor, you can hit Ctrl+X, the Y, then Enter to save the file. You then need to make the shortcut executable, which you can do by right-clicking on the file on the desktop, selecting Properties, and then makng sure "Executable as Program" is on. Or you can use the chmod command to make the file excutable by a command like chmod +x ~/Desktop/AppName.desktop . You then need to permit launching of the application from the shortcut by right-clicking on it and selecting Allow Launching.

[ More Info ]

[/os/unix/linux/wine] permanent link

Fri, Feb 27, 2026 3:41 pm

Wine window becoming transparent with an attempt to resize it

My wife was using Advanced Diary for journaling on a Microsoft Windows system, but wanted to transition to Linux, so I installed Ubuntu Linux and then, since there is no Linux version of Advanced Diary, I installed Advanced Diary under Wine. She wanted to adjust the size of the Advanced Diary window, but when she attempted to adjust the window size by clicking on the Restore Down icon at the top right side of the window (between the dash and the "X"), the Advanced Diary window became transparent and it was not possible to close it or adjust the size of the transparent box that appeared for the Advanced Diary window. So I had to open a Terminal window to determine the process ID (PID) of the Advanced Diary process with the ps and then kill that process with the kill command. I could also have used the killall command killall AdvancedDiary.exe. I tried closing and opening the program several times. The behavior was consistent — the window would become transparent whenever I tried resizing or minimizing the window. If you are using the GNOME desktop, you can use the steps below to try to resolve the problem. GNOME is the default desktop environment for Ubuntu, but you can verify it is the desktop in use by the command echo $XDG_CURRENT_DESKTOP.

Steps that may resolve the problem:

  1. Run winecfg in a Terminal window.

  2. In the Wine configuration window, click on the Graphics tab.
  3. Toggle the settings for "Allow the window manager to decorate the windows" and "Allow the window manager to control the windows" one by one to see if one of those settings change the behavior. When I toggled off "Allow the window manager to decorate the windows", I now no longer saw the icons to adjust the size of the window or minimize the window at the top of the Wine window for Advanced Diary, but when I clicked where I expected them to appear, the window became transparent again. I toggled the setting back on and then toggled off the "Allow the window manager to control the windows" setting. That resolved the problem. I then closed the window and reopened Advanced Diary and toggled that setting on again, also, so that both settings were checked. I could still adjust the window size as expected. I closed and reopened the application several times and was still able to adjust the window size, so just toggling the "Allow the window manager to control the windows" setting off and then back on seemed to resolve the problem.

[ More Info ]

[/os/unix/linux/wine] 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

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:

  1. Download the Big Fish Games App (Game Manager) for PC
  2. 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.
  3. 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.
  4. You can then close the Compatibility window by clicking on the "X" at the upper, right-hand corner.
  5. 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

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.

  1. cat /etc/passwd
  2. grep -oE '^[^:]+' /etc/passwd - for just the account names
  3. cut -d: -f1 /etc/passwd - for just the account names
  4. awk -F: '{print $1}' /etc/passwd - for just the account names
  5. lslogins
  6. compgen -u - for just the accunt names
  7. 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

Sun, Feb 08, 2026 4:29 pm

Checking an NVMe drive's status in Ubuntu Linux with nvme-cli

You can check the health of a NVM Express (NVMe) drive on an Ubuntu Linux system using the nvme-cli command-line interface (CLI) application. The description for the package is as follows:

NVMe management command line interface

nvme-cli is a NVMe management command line interface. NVM Express™ (NVMe™) is a specification defining how host software communicates with non-volatile memory across a PCI Express® (PCIe®) bus. It is the industry standard for PCIe solid state drives (SSDs) in all form factors (U.2, M.2, AIC, EDSFF).

You can install nvme-cli throught the App Center on a Ubuntu Linux system.

[ More Info ]

[/os/unix/linux/ubuntu] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo