Pages

Saturday, January 22, 2022

Fedora 35 : Kdenlive tool.

Note:
The new title of this blog is:About Fedora Linux distro
This was my first blog since blogspot.com and now blogger.com and I wrote my first articles and tutorials using the Linux operating system, especially Fedora distro.
Because I used it so much and it had an impact on my free time. Initially the title was generic "About me and my life" and I later kept it for S.E.O. and because it worked just as well as me.
The new title will not change the content at all and I hope it will come with new and good content.

Let's go back to today's tutorial article: installing kdenlive software.
Kdenlive is a powerful free and open source cross-platform video editing program made by the KDE community.
The last release was on Jan 7, 2022.
I use the DNF utility as follows:
[root@fedora mythcat]# dnf search kdenlive
Last metadata expiration check: 1:20:50 ago on Sat 22 Jan 2022 06:05:54 PM EET.
======================== Name Exactly Matched: kdenlive ========================
kdenlive.x86_64 : Non-linear video editor
[root@fedora mythcat]# dnf install kdenlive
Last metadata expiration check: 1:21:05 ago on Sat 22 Jan 2022 06:05:54 PM EET.
Dependencies resolved.
...
Complete!
After install I run well with this software:
[mythcat@fedora ~]$ kdenlive
QSocketNotifier: Can only be used with threads started with QThread
Invalid metadata for  "audiochannels"
Failed to parse "audiochannels"
Invalid metadata for  "audioconvert"
Failed to parse "audioconvert"
Invalid metadata for  "data_feed"
Failed to parse "data_feed"
Invalid metadata for  "imageconvert"
Failed to parse "imageconvert"
Invalid metadata for  "jack"
Failed to parse "jack"
Empty metadata for  "crop_detect"
Invalid metadata for  "glsl.manager"
Failed to parse "glsl.manager"
Invalid metadata for  "movit.convert"
...
This is a screenshot of the running program:

Saturday, January 8, 2022

Fedora 35 : Testing the new Django web framework version 4.0.1 with channels.

Today I tested in Fedora 35 the new version 4.0.1 of the Django framework and the channels package.
Channels augments Django to bring WebSocket, long-poll HTTP, task offloading, and other async support to your code, using familiar Django design patterns and a flexible underlying framework that lets you not only customize behaviors but also write support for your own protocols and needs. see the GitHub website.
The entire tutorial can be viewed on my blog about python programming language.
The result shows that it works with the admin webpage:

Tuesday, January 4, 2022

Fedora 35 : Roblox Player and Roblox Studio with Grapejuice.

In today's tutorial, I will show you how to install and play Roblox on the Linux Fedora 35 distribution using Grapejuice software.
The Grapejuice software installs protocol handlers to open games from the Roblox website and file handlers to open place files. It also provides a management interface for installing and launching Roblox.
For this, you will need to have a computer with the necessary hardware requirements for this online game.
I tested it on the old HP Compaq 6710b laptop on which I installed Fedora version 35 and it worked very hard.
Here are the Linux commands I used to install.
[mythcat@fedora ~]$ git clone https://gitlab.com/brinkervii/grapejuice
Cloning into 'grapejuice'...
warning: redirecting to https://gitlab.com/brinkervii/grapejuice.git/
remote: Enumerating objects: 6632, done.
remote: Counting objects: 100% (1426/1426), done.
remote: Compressing objects: 100% (426/426), done.
remote: Total 6632 (delta 1019), reused 1375 (delta 983), pack-reused 5206
Receiving objects: 100% (6632/6632), 3.89 MiB | 3.20 MiB/s, done.
Resolving deltas: 100% (4388/4388), done.
[mythcat@fedora ~]$ cd grapejuice/
[mythcat@fedora grapejuice]$ ls
ci_scripts     pylintrc                   setup.cfg
documentation  README.md                  setup.py
install.py     requirements.dev.txt       src
LICENSE.md     requirements.optional.txt  tests
MANIFEST.in    requirements.txt           troubleshooter.py

[mythcat@fedora grapejuice]$ sudo su
[sudo] password for mythcat:
[root@fedora grapejuice]# dnf install wine
...
Total                                           6.0 MB/s | 634 MB     01:45 
...
Complete!
[root@fedora grapejuice]# exit
exit
[mythcat@fedora grapejuice]$ ./install.py
...
After installation, you can search and find the installation and Roblox Player and Roblox Studio.

Sunday, January 2, 2022

Fedora 35 : OBS Studio tool.

This is a free and open-source software for video recording and live streaming for Linux, Mac, and Windows.
You can download it from the official webpage.
This software can be install with the DNF tool:
[mythcat@fedora ~]$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
[sudo] password for mythcat:
Last metadata expiration check: 0:06:53 ago on Sun 02 Jan 2022 10:26:02 PM EET.
rpmfusion-free-release-35.noarch.rpm                26 kB/s |  11 kB     00:00    
rpmfusion-nonfree-release-35.noarch.rpm             35 kB/s |  11 kB     00:00    
Package rpmfusion-free-release-35-1.noarch is already installed.
Package rpmfusion-nonfree-release-35-1.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@fedora ~]$ sudo dnf install obs-studio
Last metadata expiration check: 0:07:23 ago on Sun 02 Jan 2022 10:26:02 PM EET.
Dependencies resolved.
...
Install  37 Packages

Total download size: 31 M
Installed size: 101 M
...
Complete!
If you have an old laptop with an old graphic card then this software will not work.

Thursday, December 30, 2021

Fedora 35 : New Krita version 5.0.0 released.

Today I tested the new released version 5.0.0 for Krita software.
I download the AppImage from the official website.
After download you need to use these commands:
[mythcat@fedora ~]$ chmod +x krita-5.0.0-x86_64.appimage
[mythcat@fedora ~]$ ./krita-5.0.0-x86_64.appimage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Old schema: "0.0.10" New schema: 0.0.15
The Krita software runs well on the old HP Compaq 6710b, but I recommend better hardware because it is a software for graphic activities.
Don't worry about the message is a database change warning message.

Sunday, December 26, 2021

Fedora 35 : Python and Flask-Mailing on Fedora.

First of all, a Merry Christmas to the users and the Fedora team. Python version 3.10.1 works very well on Fedore 35 and today I tested a packet called: Flask_Mailing.
Flask-Mailing adds SMTP mail sending to your Flask applications., see the Github repo.
Let's start with the installation of this packet with the pip utility.
[mythcat@fedora ~]$ pip install -U flask-mailing
Defaulting to user installation because normal site-packages is not writeable
Collecting flask-mailing
  Downloading Flask_Mailing-0.0.5-py3-none-any.whl (15 kB)
...
Installing collected packages: rfc3986, anyio, typing-extensions, httpcore, dnspython, async-timeout, pydantic, httpx, 
email-validator, blinker, asgiref, aiosmtplib, aioredis, flask-mailing
    Running setup.py install for blinker ... done
Successfully installed aioredis-2.0.0 aiosmtplib-1.1.6 anyio-3.4.0 asgiref-3.4.1 async-timeout-4.0.2 blinker-1.4 dnspython-2.1.0
email-validator-1.1.3 flask-mailing-0.0.5 httpcore-0.14.3 httpx-0.21.1 pydantic-1.8.2 rfc3986-1.5.0 typing-extensions-4.0.1
I create a folder named ExempleFlask001:
[mythcat@fedora ~]$ mkdir ExempleFlask001
[mythcat@fedora ~]$ cd ExempleFlask001/
[mythcat@fedora ExempleFlask001]$ vi flask001.py
I created the simplest example to test through the import procedure and then read with the dir function, here is the source code:
from flask import Flask
from flask_mailing import Mail, Message

app = Flask(__name__)
@app.route("/")
def index():
    test = str(dir(Mail))
    return test
if __name__ == "__main__":
    app.run(debug=True)
The result of running the script on the command line:
[mythcat@fedora ExempleFlask001]$ python flask001.py
 * Serving Flask app 'flask001' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 319-368-265
 ...
The browser's response to the script is this:

Saturday, December 11, 2021

Fedora 35 : Share your commands online with asciinema tool on blogger.com .

The asciinema.org is now running the latest server and web player code and thus it fully supports this new format.
In the last tutorial about this online tool we briefly presented how it can be used.
In this tutorial, I will present some other features and how you can integrate the result in blogger.com.
Let's see a short example with some simple commands in Linux and how we used this tool:
[mythcat@fedora ~]$ asciinema auth
[mythcat@fedora ~]$ asciinema rec linux_commands_default.cast
asciinema: recording asciicast to linux_commands_default.cast
asciinema: press <ctrl-d> or type "exit" when you're done
[mythcat@fedora ~]$ ls
...
[mythcat@fedora ~]$ dir
...
[mythcat@fedora ~]$ pwd
...
[mythcat@fedora ~]$
exit
asciinema: recording finished
asciinema: asciicast saved to linux_commands_default.cast
[mythcat@fedora ~]$ asciinema upload linux_commands_default.cast
I used the local recording and uploaded it later to avoid additional fixes in case of errors and inconsistencies with what we want to display online.
The asciinema online tool supports sharing an asciicast on Twitter, Slack, Facebook, Google+, or any other site which supports one of these APIs: oEmbed, Open Graph, and Twitter Card APIs, see also this webpage.
To use this online tool with your blog, you will need to use the three lines of source code to change according to the number of asciinema uploaded from the URL.
In my example case is this number 455414 from this URL: https://asciinema.org/a/455414/ and the source code for this blog post is shown below:
<script src="https://github.com/asciinema/asciinema-player/releases/download/v2.6.1/asciinema-player.css"/></script>
<script src="https://github.com/asciinema/asciinema-player/releases/download/v2.6.1/asciinema-player.js"/></script>
<script id="asciicast-455414" src="https://asciinema.org/a/455414.js" async></script>
Here is the result of the source code above, it did not work now because I don't add javascript libraries on the script area.