22halomedia

Category: Linux

  • How to Change the Hostname on Rocky 9 Linux Workstation

    How to Change the Hostname on Rocky 9 Linux Workstation

    Subscribe to 22halomedia YouTube Channel

    Introduction

    Did you know you can create a unique hostname that differs from the default provided value localhost on Linux?

    Setting a FQDN (Fully Qualified Domain Name) is often one of the first steps administrators take when spinning up a new machine.

    While less utilized on desktop, setting a unique hostname for your Rocky 9 workstation gives you a human-readable and memorable name if you ever need to connect to your workstation over a network or need to know the name otherwise. This tutorial applies to any Red Hat flavored Linux.

    How to Change Your Hostname

    Open a terminal and copy/paste the below command, replacing desiredhostname with the value you want to name your host.

    sudo hostnamectl set-hostname desiredhostname

    After changing your host name, you will need to reboot your computer for the change to have permanent effect.

    sudo reboot now

    Conclusion

    In this tutorial, you learned how to change your hostname on a Rocky 9 Linux Workstation. Trust you can take this new found knowledge to create unique hostnames.

    Articles to Read Next

    How to Setup WireGuard VPN on Rocky 9 Linux

    Secure Remote Support on LAN with x11vnc over SSH on Rocky Linux

    How to Install Virtual Box and Answering “What is a Hypervisor?”

    How to Enable Bidirectional Shared Clipboard on VirtualBox VM

    How to Create a Linux VM with VirtualBox

    Affiliate Links

    Form your business with Northwest registered agent

    Create a website with namedotcom

    Secure your website with Wordfence

    My work laptop

    Affiliate Disclaimer

    Please note that my website and content may contain affiliate links. This means that when you click on these links and make a purchase, I may earn a commission. Rest assured, all the products I promote are ones that I believe to be of high quality, and I personally use them as a consumer myself. Your support through these links helps me continue to create valuable content. Thank you for your support!

  • A Quick Start to Annotating Screenshots with Ksnip

    A Quick Start to Annotating Screenshots with Ksnip

    Subscribe to 22halomedia YouTube Channel

    Checkout this same article on the Rocky Linux Documentation website.

    Prerequisites and assumptions

    • Rocky 9.4 Workstation
    • sudo privileges

    Introduction

    Ksnip is a screenshot utility feature rich with tools for annotating screenshots. This guide focuses on installing Ksnip and its annotation tools.

    Install Ksnip

    Ksnip requires the EPEL repository. If you do not have the EPEL enabled, you can do that with:

    sudo dnf install epel-release

    Then perform a system update:

    sudo dnf update -y

    Now, install Ksnip:

    sudo dnf install ksnip -y

    Open an image

    1. Open Ksnip
    2. Click File > Open
    3. Select the image you want to annotate

    Annotate an image with Ksnip

    Ksnip has handy and intuitive tools to annotate screenshots. In the image, down the left side are the options described below.

    The Select tool: used to make a selection. Click an item to select it or click and drag to make a selection.

    The Duplicate tool: used to duplicate a selection. Click and drag to make a selection. Then click and drag the selection to move or further transform it.

    The Arrow tool: used to create arrows. Click and drag to create an arrow.

    The Double Arrow tool (chosen by clicking the down arrow next to the arrow): used to create double-sided arrows. Click and drag to create a double-sided arrow.

    The Line tool: used to create straight lines. Click and drag to create a line.

    The Pen tool: used to make strokes that resemble a pen. Click and move the cursor across the screenshot to use the Pen. Customization options exist to change the style and stroke of the Pen in the top toolbar.

    The Marker Pen tool: used to make strokes that resemble a highlighter. Hold click and move drag the cursor across the screenshot to use the Marker Pen. Customizations exist to change the opacity in the top toolbar.

    The Marker Rectangle tool: is the Marker Pen tool, but when you click and drag your cursor, the Marker Rectangle tool will fill the rectangular selection. Customizations exist to change the opacity in the top toolbar.

    The Marker Ellipse tool: is the Marker Pen tool, but when you left-click and drag your cursor, the Marker Ellipse tool will fill the ellipse made from the selection. Customizations exist to change the opacity in the top toolbar.

    The Text tool: used to annotate a screenshot with text. Click anywhere on the image and begin typing to use the Text tool. Customizations exist in the top toolbar to change the border, color, font-family, font-size, font-style, and opacity of your text.

    The Text Pointer tool: used to annotate a screenshot with text attached to a pointer. The pointer should bring attention to the text, similar to the Text Arrow tool.

    The Text Arrow tool: used to annotate a screenshot with text attached to an arrow. The pointer should bring attention to the text, similar to the Text Pointer tool.

    The Number tool: used to annotate a screenshot with a numbered shape. Click anywhere on the image to place a numbered shape. Customizations exist in the top toolbar to change the color, width, and opacity.

    The Number Pointer tool: used to annotate a screenshot with a numbered shape attached to a pointer. Click anywhere on the image to place a numbered shape attached to a pointer. Customizations exist in the top toolbar to change the color, width, and opacity.

    The Number Arrow tool: used to annotate a screenshot with a numbered shape attached to a pointer. Click anywhere on the image to place a numbered shape attached to an arrow. Customizations exist in the top toolbar to change the color, width, and opacity.

    The Blur tool: used to blur a selection. Left-click and drag anywhere on the screenshot to blur a selection.

    The Pixelate tool: used to pixelate a selection. Left-click and drag anywhere on the screenshot to pixelate a selection.

    The Rectangle tool: used to make a rectangle from a selection. Left-click and drag anywhere on the screenshot to make rectangular selection. Customizations exist in the top toolbar to change the color, width, and opacity.

    The Ellipse tool: used to make an ellipse from a selection. Left-click and drag anywhere on the screenshot to place an ellipse. Customizations exist in the top toolbar to change the color, width, and opacity.

    The Sticker tool: used to place a sticker or emoji on a screenshot. Selecting the tool and clicking will place the sticker.

    Conclusion

    Ksnip is an excellent utility for annotating screenshots. It can also take screenshots, however the main focus of this guide is the annotation capabilities and tools provided by Ksnip.

    Checkout the Ksnip GitHub Repo to learn more about this excellent screenshot utility.

    Articles to Read Next

    How to Setup WireGuard VPN on Rocky 9 Linux

    Secure Remote Support on LAN with x11vnc over SSH on Rocky Linux

    How to Install Virtual Box and Answering “What is a Hypervisor?”

    How to Enable Bidirectional Shared Clipboard on VirtualBox VM

    How to Create a Linux VM with VirtualBox

    Affiliate Links

    Form your business with Northwest registered agent

    Create a website with namedotcom

    Secure your website with Wordfence

    My work laptop

    Affiliate Disclaimer

    Please note that my website and content may contain affiliate links. This means that when you click on these links and make a purchase, I may earn a commission. Rest assured, all the products I promote are ones that I believe to be of high quality, and I personally use them as a consumer myself. Your support through these links helps me continue to create valuable content. Thank you for your support!

  • A Quick Start to GNOME Shell Extensions

    A Quick Start to GNOME Shell Extensions

    Subscribe to 22halomedia YouTube Channel

    Introduction

    From the GNOME website:

    GNOME Shell provides core user interface functions for GNOME, like switching to windows and launching applications. User interface elements provided by GNOME Shell include the Panel at the top of the screen, the Activities Overview, and Message Tray at the bottom of the screen.” GNOME Shell extensions are small pieces of code written by third party developers that modify the way GNOME works. (If you are familiar with Chrome Extensions or Firefox Addons, GNOME Shell extensions are similar to them.) You can find and install GNOME Shell extensions using this website. Creation of extensions are created outside of the normal GNOME design and development process, they are supported by their authors, rather than by the GNOME community. Some features first implemented as extensions might find their way into future versions of GNOME.

    Assumptions

    • A Rocky Linux Workstation or Server with GUI installation that uses GNOME.

    Install GNOME extensions

    GNOME Extensions is available from the “appstream” repository, requiring no additional repository configuration. Install with:

    sudo dnf install gnome-shell

    Installation includes all needed dependencies.

    Install browser integration

    Gnome Extensions has a software library available through their website gnome.extensions.org where you can install extensions right off their website. To achieve this, your browser and gnome-extensions needs to facilitate a connection.

    sudo dnf install chrome-gnome-shell

    GNOME browser integration installation guide

    Determining GNOME shell version

    The browser extension used to facilitate extensions installations from extensions.gnome.org should automatically detect the version of GNOME shell your system is currently running.

    If you wish to perform a local install you will need to download the extension with the correct GNOME shell version.

    gnome-shell --version

    Installing an extension

    For this example we will install the popular dash to dock extension.

    1. Go to dash to dock extension webpage
    2. Toggle extension from “off” to “on”
    3. When prompted to install the extension, click “yes”

    Managing installed extensions

    GNOME extensions are installed and managed on gnome.extensions.org.

    To manage your GNOME extensions, first go to https://extensions.gnome.org/local/.

    On this page you will find a list of installed extensions. You can toggle each of these on or off. You can also configure the shell settings by using the toggle button on either of the two available menu options “Disable all extensions” “Disable version validation”.

    Conclusion

    GNOME Extensions is a good tool for adding additional functionality and customizing your GNOME desktop environment.

    Read this guide on the Rocky Documentation website.

    Articles to Read Next

    How to Setup WireGuard VPN on Rocky 9 Linux

    Secure Remote Support on LAN with x11vnc over SSH on Rocky Linux

    How to Install Virtual Box and Answering “What is a Hypervisor?”

    How to Enable Bidirectional Shared Clipboard on VirtualBox VM

    How to Create a Linux VM with VirtualBox

    Affiliate Links

    Form your business with Northwest registered agent

    Create a website with namedotcom

    Secure your website with Wordfence

    My work laptop

    Affiliate Disclaimer

    Please note that my website and content may contain affiliate links. This means that when you click on these links and make a purchase, I may earn a commission. Rest assured, all the products I promote are ones that I believe to be of high quality, and I personally use them as a consumer myself. Your support through these links helps me continue to create valuable content. Thank you for your support!