How to activate hibernate in Kubuntu 20.04

Leave a comment
Uncategorized
Leave menu with hibernate option

First of all, hibernate is not recommended for SSDs. However, if you have a HDD disk installed on your system and you have created a SWAP partition on it with size double than the physical memory, RAM, of the system, you could easily activate the hibernation on your Kubuntu 20.04.

1st, you have to be sure that your SWAP partition works fine by this command:

$ swapon -show

This command should return output like:

Filename Type Size Used Priority
/dev/sda6 partition 16601084 0 -2

2nd, run the follwoing command to know the UUID of the SWAP partition:

$ grep swap /etc/fstab

It should returns output like to:

# swap was on /dev/sda6 during installation
UUID=709fc023-c512-4830-931a-770bd244ebc3 none            swap    sw              0       0

3d, Copy the string “UUID=xxxxx…” and then open the grub file using kate:

$ kate /etc/default/grub

At the line that contains GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” add the UUID string like the following:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash resume=UUID=709fc023-c512-4830-931a-770bd244ebc3″

Save the file and run $sudo update-grub

4th, and the end install the hibernate package:
$ sudo apt install hibernate

Restart your computer and you will see hibernate button is active.

Create your virtual local domain names

Leave a comment
Technology
hosts file screen shot

You have any kind of web server application that runs on your local machine and you need to have local domains that works on that web server to create accessible virtual hosts locally.

The secret here is found in almost any operating system file called hosts file. It has the same name in almost all OSs i.e. hosts without any extension. However the path in which that file does exist is varied.

For example, in Linux and all Unix based OS, it found in /etc/hosts while in Windows, it probably found in C:\Windows\system32\hosts

The code that you have to insert in order to create a virtual local domain is just to add a line started with any local loop IP such as 127.0.0.1, 127.0.0.50, etc. followed by any domain name you prefer, just like the above screen shot. However, to prevent any accessibility issues, it is better to void choosing popular domain or common top level domains such as .com, .net, google.com, etc. The best practice here is to make them atomic values such as mydomain.loc, domain.local, php.fox, etc.

System password, Simple & Strong

comments 5
Uncategorized

Your computer’s account password is very important point in order to make your system safe and secured. Here, I will not dive into the technical importance of having strong password for your user account on your computer, but I will give you a hint about it.

The user’s account password should be strong and it should be easy to be written as well, specially, if you are using Linux based operating system in which the using of the password may be needed more than once during the session.

The golden hint that I have, is to draw keyboard patterns linked to a small digit through a special characters. For example, qweszxc*744, the qweszxc is the drawing of Z character on the keyboard. Another one 512-cdertgbv.

Using a password meter application, will show you that the examples above are strong passwords. Indeed, they are not very strong, but we need something quick written and memorable, hence just strong password is fine for your desktop or laptop. However, if you would it to be stronger, just an Upper case character will get it.

Freemyip dynamic DNS Python updater

Leave a comment
Technology

Freemyip.com is a free dynamic DNS service that does not need either any registration nor user account to maintain dynamic DNS based sub domain name such as example.freemyip.com. The validation of the domain ownership is based on an access token that should be kept safe in order to update the sub domain with your computer’s public IP.

I have written a simple Python3 script that allows the sub domains owner, to update the IP easily, with keeping in mind avoiding flood access to the service itself by logging the latest updates and preventing access if the IP is kept fixed for specific period of time.

The script could be found on freemyip-python repository on GitHub. The script is very simple and the README there is probably enough to show the script usage.

Install the PeppermintOS Ice application on Kubuntu

comments 2
Uncategorized

Ice is an application that allows you to deal with web applications like your ordinary desktop applications under, of course, one condition, that you have working Internet Connectivity. It, simply, runs an instance of one of your system available browsers and you are able to make it isolated from other cookies and history settings.

This application is found as a part of PeppermentOS and it should be installed easily with all Debian based Linux distributions including Kubuntu.

First, you have to download the latest Debian package of the application. Go to PeppermentOS section on Launchpad and look for the latest release of PeppermentOS link there. (Currently it is Pepperment 10 respin). Click the link and you will find a list of packages, one of them is ice. Click on the link found at the top right corner of the list named “View Package details” to get another list for details in which you will find a downloadable link to the Debian package of the Ice application. Now, you will find the detailed list with an item named “ice-x.y.z”, where x.y.z is the version of the application , click on that item to reveal some details including at the end section named “Package files” where you will find a file item with .deb extension, click on its link to download it.

After downloading the file right click on it and choose “Open with QApt Package Installer“. It will install some Python’s dependencies and the application will be ready to use.

Screen shot of Ice

First look at Vivaldi blogs

Leave a comment
Uncategorized

This is my first post on my new Vivaldi blog. It looks neat blogging application for the first time. I have performed quick customisation for the look and feel of my new blog. I found the process is clear and easy to be maintained.

In the next days, I will do more tests and I will get deeper with Vivaldi blog experience that I think it will promising.

Hello world!

comment 1
Uncategorized

Welcome to your new Blog! We’re really excited to see what you do with it.

This draft post is here to show you what your posts will look like and to give you a few tips on getting started. Feel free to edit it, delete it or keep it saved as a draft for reference later.

Publishing

If you’re familiar with WordPress, you’ll be right at home. To get started creating your own posts head to your Dashboard and click Add New to bring up the editor. Fill it up with whatever you choose; it could be a recipe, a review of a new product you love, or simply a new idea that needs to be shared with the world. The world is your oyster.

Hit Publish and that’s it – your post will be live and ready for reading.

The new post will be included in the Reader of other members and may also make an appearance on the Community front page, (vivaldi.net).

P.S. Don’t forget to share your new creation far and wide! Tag Vivaldi (on Twitter or Facebook) and we’ll help you spread the word about your new blog.

Customization

There are a number of ways to customize the look of your new Blog. Head to you site’s Admin Dashboard to adjust the theme, site icon, header images, page layouts, custom widgets and much more. Many of these settings can be found in the Appearance menu.

Import

To import content from another blog, select Tools > Import from menu in your dashboard. Right now there are importers for WordPress, Blogger and Tumblr. If you’d like to import content from another service, let us know!

FAQ

What is the Vivaldi Community?

A place for our friends to hang out online. We want to create a place where people can publish, read and discuss ideas with likeminded folks from around the world. We hope you like it.

Do I have to use Vivaldi’s browser to be here?

No. Many Community members use our browser. But many don’t. Everyone is welcome.

What’s included?

Every member gets a free webmail account ([email protected]), access to the Vivaldi Forums and a free Blog with a custom domain (yourblog.vivaldi.net).

What’s the catch?

We have no plans to monetize, share your data or start charging for any of these services. The Community is simply a way for us to give back something to our users. No catch.

Help and Feedback

Help articles for the Community can be found at help.vivaldi.com. If something seems off or you run into a bug, please let us know by using our contact form or leaving a comment in the forum.

Have a read of our Terms of Use and Privacy Policy and let us know if you have any questions.

Enjoy, and welcome!