Skip to main content

Posts

Showing posts matching the search for ubuntu

Modifying UEFI & GRUB Settings to Determine Default OS

This is for the people who wants to change the UEFI and/or GRUB2 configuration. Why? To change boot order or to set default operating system to boot.  I have a laptop which is installed an SSD and a SATA HDD. SSD for Windows 10 (without SSD, working with Windows is like going somewhere on a turtle) and sata HDD for Ubuntu 20.04.  I don't know why, Windows take the charge of booting process. It boots without asking me. But I want my pc to ask me which OS should be booted, and if I do not give it an input, it should boot Windows. I can be able to choose Ubuntu whenever I want. Because of my wife, my system should be set up as default operating system is Windows. If you do not an input, computer should boot up into Windows. Because she has some difficulties with linux systems.  How to Solve This? First it is needed to force the pc to boot into Ubuntu. And Ubuntu should ask which OS should be booted (because Windows never asks this or I do not know how to make it as...

A Solution to Play Some Streaming Videos Which Do Not Play on Ubuntu

While using Ubuntu, the last version, you may encounter that everything works perfect on YouTube. But if you encountered some streaming videos can not be played on some sites in Ubuntu, now you have a solution. Ubuntu needs a video library to be installed  to play all the videos on all ths web sites. Installing  "libavcodec-extra"  package in package manager or using following command in terminal solves this issue:  < sudo apt install libavcodec-extra >

Installation of Hardware Virtualization Support on Ubuntu

While installing Android Studio on Ubuntu, it warned me to install hardware virtualization support for better performance. My CPU supports this technology. I think it should come while installation of operating system. But anyway, there are lots of information to install it: https://help.ubuntu.com/community/KVM/Installation Just follow the directions on the page.

Solution of Error Message: "Ignoring file 'XXXXXXXXXXXX.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension"

While using Ubuntu 20.04, I've encountered the warning in the subject line of this post after using update command in terminal. I think it is about some compatibility problem with the sources added after Ubuntu setup.  I tried to get rid of that message deleting all the ".save" files in /etc/apt/sources.list.d/ directory. But no way... After first use of update command, they have been created again.  After a little research, I found a solution as a workaround. Writing the below command hides the warning message forever:  sudo sh -c "echo 'Dir::Ignore-Files-Silently:: \"(.save|.distupgrade)$\";' > /etc/apt/apt.conf.d/99ignoresave"

What to do If Your Keyboard's AltGR Key is Broken

AltGr Key A little water has been spilled on my laptop's keyboard. And just one key has been broken now. AltGr key... My keyboard is Turkish Q setup. AltGr key is important for following characters: ₺ # $ € @ { } [ ] \ | ~  If you use Windows, you can use CTRL+ALT key combination. It behaves same as AltGr key. Or you can use alt codes. For instance while pressing ALT key, press 64 on numpad. With this combination, you can write @ character on the screen. These two solutions are very efficient for Windows operating system.  On Ubuntu, you can't use alt codes while pressing ALT key. Because ALT key has some other shortcut duties for productivity. You can't use CTRL+ALT combination too.  So, thinked about today. How can i write those special characters. Of course researched about it. And found a solution.  There ise an application in Ubuntu Software store. "GnomeTweaks" First install it. Then run it.  Go to keyboard and mouse section. Go to additional options. Find...

How to Stop File System Check on Every Boot in Ubuntu

While determining the default OS to boot, I have edited too much files. May be I did a wrong thing. Now I realised that on every boot, Ubuntu splash screen says there is a file system check. This bothered me. After a little research, found a solution.  You need to edit fstab file in /etc/fstab . Open the file using this command:  sudo nano /etc/fstab Pay attention the uncommented lines. At the end of each line there is a parameter "0" or "1" or "2". 0: force the system not to do  a file system check 1: force the system to do a file system check at every boot 2: force the system to do a just one file system check at the next first boot I've change the parameters to "0" and reboot.  Voila! There is no "file system check" warning at boot.

How to Add or Resize Your Swap Partition on Linux

I have a laptop with an SSD and an HDD. SSD includes Windows. HDD include Ubuntu 20.04. For some reasons, I need to resize, merge, move the partitions of HDD...  This will be a "How to" post...  First, unmount or disable the swap partition. Because it is impossible editing while it is active.  Install GParted.  After selecting the right disk, do the changes like merging, resizing and moving.  When it was done, use "blkid" command to determine the new UUID of new swap.  Open /etc/fstab/ with gedit. (sudo gedit /etc/fstab/) Find the line which included "sw" There is a UUID which is old partition's one. Change this UUID with the new one learned with blkid command. Then save and close the gedit windows. Now it is time to control that new swap is active or not. Use this command: "free -m". If you see memory line and swap line on the screen, you did everything right. If not, there is a mistake in somewhere above.