Category: Ubuntu (Page 16 of 24)

LibreOffice 5.0 hanging on Ubuntu, can’t highlight fix!

While messing around with LibreOffice Writer 5.0 on Ubuntu I discovered that I can’t highlight text, and trying to highlight text made the whole program freeze! I managed to fix it and this is how I did it..

I always download two versions of LibreOffice, one for Linux and the other for Windows, usually the one with the issues it the Windows version, but in this case it worked fine, while the Linux version was acting off.

I assumed that the main culprit is the Java machine, because in Windows it refused to work with the 32 Java machine I had installed which ran version 4.4 well. So installing a 64 bit Java machine did the trick, and the reports worked fine!
I looked at the machines I have installed and they were: and none of them made the problem go away!
You can access them by clicking: Tools Options Advanced

 

Java machines on Ubuntu

They were both excepted by LibreOffice but the problem persisted even after restarting over and over again!

I’ve finally been able to fix the problem that made LibreOffice hang and freeze when highlighting a text.

All you have to do is to navigate to:

/home/”User name”/.config/ and delete the folder LibreOffice.

It will work fine after that!!

Thunar confing file unhidden to delete LibreOffice config

You might have to unhide the folder in your file manager!

It’s not a Java machine problem. But I don’t think it would hurt if you download the latest version.

Restoring Linux boot (Dual Boot Saga)

After I installed Windows. I have lost Linux in the boot menu, in fact there wasn’t a boot menu at all!
As soon I boot the computer Windows would come up and take the boot from there?!

I wanted to have Windows, not for Windows to be all I have!!
I had to restore booting to Linux, not only I liked it so much, my data and programs were there (Windows can’t “see” the Linux partition).
At first I tried installing BCD Boot to create a boot menu, it failed on a daily biases for me!
I had to try a better solution, and what better solution that the Linux terminal? <3
I booted to Linux from a live disk (you can create one by following the steps in here).
After it boots go into the terminal and enter the following command:

 

sudo fdisk -l

This command will show you all the partitions on your HDD, you have to know which partition your Linux distro is installed on (Gparted can be a great help in that).

Use gparted to see where is Linux installed

and enter this command:

 

sudo mount /dev/sda1 /mnt

then this command:

 

sudo mount --bind /dev /mnt/dev

then this command

 

sudo chroot /mnt

then this command

 

 grub-install /dev/sda 

 

then this command

update-grub 

If the computer boots directly into Ubuntu (or whatever Linux distro you have)
go to the terminal and enter:

 

sudo update-grub

Finally reboot and you will have the grub menu with Both Linux and Windows!

If you have an issue mounting you should use this command

Sudo touch /cow

The purpose of these commands is to install Grub (The boot manager) so you can dual boot easily from the menu.
If you want to customize grub for example the names of the systems and the list order you need to download Grub Customizer. I think I’ll post about it sometime later 🙂

LibreOffice 5.0 is out!

Finally after what seemed like forever! LibreOffice 5.0 is out!
“LibreOffice 5.0 is the tenth major release since the launch of the project and and the first of the third development cycle. LibreOffice is a full feature open source office suite which compares head to head with every product in the same category, while it stands out for superior interoperability features.”

 

I’ve downloaded it for both Windows and Linux. And I immediately noticed the different GUI elements implemented into LibreOffice 5 in comparison with 4.x which are differently cleaner and takes less screen space!

 

Thanks to improved filters the compatibility between LibreOffice and other office suits like Microsoft Office has improved. And a lot of under the hood work has been done to improve the stability and reduce the crashes overall.
Version 5 with be the foundation of the Android version, Ubuntu touch, and the upcoming cloud version.

Note: if you are downloading the 64x version for Windows you are going to need a 64x Java machine.

It looks really good and I can’t wait to sink my teeth into it and make full use of it’s amazing features!

Batch install downloaded DEB packages on Ubuntu

Today’s post is a re-write of “How to add downloaded packages to Synaptic Package Manager in Ubuntu 13.04” because I had to install packages Offline when I was fixing my brother’s computer. And something wasn’t right!

In that particular case I installed Ubuntu 14.04 twice in the same week so using the same packages to update was probably the right thing to do to save time and data plan.

Anyway based on my recent experience it will be much more clear. And I added pictures too! Synaptic is a GTK+-based graphical user interface for Advanced Packaging Tool (APT)—the Package management system used by Debian and its derivatives. Synaptic is usually used on systems based on deb packages but can also be used on systems based on RPM packages. (Source)

We are using it today to batch install software on Ubuntu, and you must take note that it’s a powerful tool and can potentially harm your system. So take care. You are going to need admin permission to access Synaptic.

Also don’t install anything you don’t trust! Be careful because now the program has admin permission to change your system!

 

After we took a look at the warnings, let’s take a look at the scenarios:
You are an Ubuntu admin and you have 10+ computers. And you need to install the same software on all 10 computers. So instead of Connecting them all to the Internet and downloading the same software. Connect one of them and download the required software. Then install it on the rest.

You just installed Ubuntu on a machine and begun to download software. But the Internet is really slow! (Third world problems) so you take the programs on a USB from another computer and get to work!
You have a limited data plan and you are trying to save!

No matter what was the situation. It’s a handy trick and you will comeback to this tutorial over and over to read it!

First of all. Let’s prepare the software.

You can either use the software center cache. Or any random .deb packages you have. (Or both)

If you want to copy the software center cache then go to the directory:

“Computer/var/cache/apt/archives” where “computer” is your system partition.

This is a system folder so you can’t cut or delete any of these packages. And if you copy the .lock file or the partial it will result in copy error.

Remember where you put the packages and the folder name as we are going to need that later.

Open Synaptic and enter your password. If you don’t have Synaptic you have to install it. Say from the Ubuntu Software Center.

 

 

Once you opened it you have to confirm that you are online. I can’t stress this enough. And it won’t work if you aren’t connected to the Internet.

You can confirm that by reloading package information. If it downloads package information without problem. Then you are good to go!

 

Paste all the packages in that directory, in this tutorial it’s called “New Packages”.

Click file Add downloaded packages.

 

You will see a browse dialog., use it to navigate to your folder.

once there click open.

 

Wait a moment for the packages to add. It can take several minutes when adding a lot of packages.

Click Apply and Synaptic will tell you how much packages will be installed. The size of install and how much it will download.

Wait for the progress bar to end.

 

Then click close to finish installing the software.

This way we installed a batch of software as we would install a single one. Without re-downloading them again!

Pretty handy isn’t it?

« Older posts Newer posts »