Showing posts with label Linux Tips. Show all posts
Showing posts with label Linux Tips. Show all posts

Friday, 9 September 2016

Great image viewers for Xubuntu

I just want something that lets me zoom in and out with the mouse wheel, lets me run multiple instances, and is easy to use. Gliv fits the bill for that, and you can easily install it directly with apt. However, it is not currently maintained.

GPicView, the default viewer of LXDE, was also evaluated, but it was found to use the mouse wheel to scroll between images, which is not my preferred UI option. Therefore GPicView is not my preferred choice.

I eventually discovered Eye of Gnome (Eog), which is better than Gliv as it allows you to turn the mouse wheel the correct way to zoom in and out (that matches Google Earth and Qgis) and also names its windows directly after the image, which is handy if you have a lot of them open. Eog is therefore my preferred image viewer on my Linux computers.

Saturday, 3 September 2016

Linux RAID-1 [9]: Removing an array

The last step having set up a new array is to remove the old one from the computer. This is relatively straightforward.

Firstly the array has to be unmounted, which is a simple umount command with the path, in this case umount /oldhome. The next thing is to run a mdadm command to remove the array from the disk.

mdadm --manage --stop /dev/md0

is the command that will stop the running md0 RAID array.

Then another command removes the array:

mdadm --remove /dev/md0

Final action is to remove the superblock on the individual disks (only one disk present in this case as the failed drive has already been taken out of the computer):

mdadm --zero-superblock /dev/sdd

We also need to remove its entries from /etc/fstab  and from /etc/mdadm/mdadm.conf


At this point GDU is showing me the disk is just a disk with nothing on it, it still shows "Block device /dev/md0" however, I have not got much of an idea whether that will just disappear the next time the computer is restarted, I assume it will.








Tuesday, 21 June 2016

Today's Linux Tip - 21/6/2016

How to debug a program that is not working properly

If you are having trouble with a software application that is not working properly in Linux, start the command from a terminal shell. The shell will receive all the status messages from the application that you don't see in the GUI shell. You can see a lot of extra information about what is happening in the application.