Pages

Wednesday, May 31, 2023

Fedora 39 : GNOME new version 44.2 .

The GNOME Project proudly announced today the release and general availability of the GNOME 44 desktop environment series, a major update that brings several new features and lots of improvements.
You can read more on the official website.
You can see a first version 44 on this youtube video:

Tuesday, May 23, 2023

Fedora 39 : Share folder with Fedora on VirtualBox.

To share a folder called share between the Windows operating system and Fedora 39 using VirtualBox, the folder must be created and added to the settings as follows:
In VirtualBox, make sure the Fedora virtual machine is stopped.
Select the Fedora virtual machine in the list of virtual machines and click the "Settings" button on the top bar of the VirtualBox window.
In the "Settings" window of the virtual machine, select the "Shared Folders" category.
Click the "+" button on the right to add a new shared folder.
In the "Add Share" window, specify the following details:
Folder Path: Browse to and select the C:\share folder on the host.
Folder Name: You can enter a name for the shared folder.
Select the access options you want, such as "Auto-mount" and "Make Permanent".
Click the "OK" button to save the settings.
Start the Fedora virtual machine and on the Fedora virtual machine, open a terminal and run the following command to mount the shared folder:
You can see the file test.txt is visible in Fedora.

Sunday, May 21, 2023

Fedora 39 : Regular expressions with gedit editor.

Regular expressions can be used in the gedit editor using the Find and Replace option with the regular expressions checkbox selected. This can be used to remove empty lines from source code, remove comment lines, replace indexing - if using Python scripts, or replace content. Here's an example of how to remove empty lines from a text using regular expressions:

Friday, May 19, 2023

Fedora 39 : Using a stick or hard disk created in Windows.

When attached to USB, Linux distribution cannot access it.
Install these packages with the DNF utility.
sudo dnf install ntfs-3g
sudo dnf install ntfsfix
Use these commands to create a folder where it will be mounted and test if it can be mounted and where it is viewed :
sudo mkdir /mnt/mydrive
sudo mount -t ntfs-3g /dev/sdb1 /mnt/mydrive
dmesg| grep usb 
sudo mount /dev/sdb /mnt/mydrive
df -h
Fix errors with this command
sudo umount /dev/sdb1
sudo ntfsfix /dev/sdb1
It resumes the operation of mounting it in the folder named /mnt/mydrive:
sudo mount -t ntfs-3g /dev/sdb1 /mnt/mydrive
This command will mount as a superuser but can be modified as a normal user.
Create a USB folder into your home folder as normal user.
You can use these commands to use your files like a normal user:
[mythcat@fedora ~]$ sudo mount -t ntfs-3g /dev/sdb1 ~/USB
[sudo] password for mythcat: 
...
[mythcat@fedora ~]$ sudo umount /dev/sdb1

Monday, May 8, 2023

Fedora 39 : The vifm file manager ...

My monitor broke a few days ago so i'm using an old laptop. Website posts will be less frequent.
You can use the vifm file manager in Fedora 39 easy.
Use the DNF command tool to install it.
[root@fedora mythcat]# dnf install vifm
See the result of this file manager:

Monday, May 1, 2023

Fedora 39 : GPT on linux terminal.

The ChatGPT is possible in your Windows, macOS, and Linux terminal ... tgpt is a cross-platform cli (commandline) tool that lets you use ChatGPT 3.5 in Terminal without API KEYS. It communicates with the Backend of Bai chatbot. Its written in Go. You can see the source code on this GitHub project.