Category: Gedit

Fix some Ubuntu startup issues with this easy trick!

I fresh installed Ubuntu 14.04.4 lately and things has been smooth, most of the issues I encountered were because of the interface change, looking back maybe the interface was buggy, and I should have read the bug list before installing it!

After installing I noticed that every time I reboot the system shows prompt to send error messages, I sent the error to the developers thinking that was it, I send the error report and I’m done, but another one came, and another one.. And it just keeps happening every time I reboot (to install updates for example) so it became a minor nuisance!

I remember facing this issue back in April 2014 when I first installed Ubuntu, and the fix was so easy!

Apparently Ubuntu tends to look for records of errors and send them, even the old ones that have been reported, so the easy way to stop it is to disable Apport.

Disabling Apport

It’s actually very easy to do, just go to the terminal by pressing Ctrl + Alt + T

Then type in gksudo gedit /etc/default/apport and press Enter. You will be prompted to enter your password, please do that.

Be careful because this command is running Gedit in root privileges and we will use it to change a vital part of the system, so follow the steps carefully!

Change Enabled=1 to Enabled=0 and save.

Close Gedit and the terminal.

The next time you reboot, you won’t see such error messages!

It’s as easy as that!

You can research the issue further by visiting this link.

After installing Gnome on Xubuntu 14.04: Reflection!

To end this series on my blog, I choose Gnome as interface, and went through some steps and issues to make it work properly. Now these are some notes and changes I made.

 

Gnome interface


I tried to use native apps as much as I could, with some exceptions of course!

That meant dropping Docky and Kupfer for the sake of the native launchers in Gnome.
I also merged the use of some apps and discarded some others to save space and for the sake of minimalism:
I added a clipboard extension manager and dropped Diodin.
Added a weather widget because it seemed convenient!
Merged the note keeping with the journal, that means rednotebook took the boot (Which really is really sad to me, but I need to move on!).

Had to replace RSSowl which I used for over 4 years on daily basis for QuiteRss to save space.

Uget replaced XDM downloader, that’s until FDM lands on Ubuntu!
I replaced Ubuntu tweak with Bleachbit.
Gnome Clocks , and pompodro timer does what Instant boss does exactly! Totally proved it’s worth as a timer app with great functionality!
uGet is better than XDM in terms of interface and development, as for video download the feature is missing some features like grabbing the name, so having Clipgrab is a good idea.
Gedit is by far the best editor I’ve seen in a very long time!! Better than atom and sublime (let’s not forget it’s native with Gnome).
I’m using Evolution for e-mail and calendar (task management), in place of the great (and huge) Thunderbird, and Tasque.

There were some native apps that I had to replace
Nothing is better than VLC to display media and stream, period!

Tomboy isn’t the best personal wiki, and it still can’t import and export notes properly, so my verdict with Zim desktop wiki stands! I found some bigtemp files in the /Root/Desktop folder (had to access as root to clean them), which won me back 4GB of free space! Here is a fair warning: If you are using Ubuntu 14.04, then the latest supported version of Gnome is 3.12.2 and don’t ever EVER try to update it, you will windup with a system that won’t boot. Also, don’t try it on Unity, it won’t work no matter what you try.

If you like the Gnome interface and would like to have the latest version, consider downloading distros that use it like Fedora or OpenSuse, if you want Ubuntu, there is a flavor called UbuntuGnome which supports the interface natively.

Fix the p { margin-bottom: 0.1in; line-height: 120%; }a:link { } problem in your blog

It happens more often with me than ever, maybe because now I write my posts outside of blogger and then paste them (and there is nothing wrong with that by the way!). It makes my blog look bad and a lot less professional.

I tried so many things including font play and adjusting the breakers, nothing worked! I was able to fix it so easily, so read on to learn the complete fix!
My old fix was to delete the post and post it again, and I’d lose the comments, and a lot of time. But thankfully I was able to fix it on my own. I looked the problem on line and found nothing.

The Fix

First of all if you publish your post and notice the Fix the p { margin-bottom: 0.1in; line-height: 120%; }a:link { } line where it shouldn’t be then go to blogger and edit the post.

The post has that line

On the edit menu you will see the button to the far left called “Compose”

Compose view

  and a button next to it called “HTML”, click on HTML.

HTML view

Even if you had zero knowledge with HTML, this fix is really easy (And I recommend you as a blogger to learn some HTML as it’s so easy to learn!).
What are we going to do is to remove the Fix the p { margin-bottom: 0.1in; line-height: 120%; }a:link { } line from the post, it’s highlighted in red so it should be easy.

The line to remove is highlighted in red

From the HTML view click find and search for “p { margin-bottom: 0.1in; line-height: 120%; }a:link { }” and you will find it looking like this <style type=”text/css” p { margin-bottom: 0.1in; line-height: 120%; }a:link { }</style
Delete only the line maintaining the brackets or you will result in an error, it needs to look like this after delete <style type=”text/css” </style
go back to compose and update, the problem will be fixed right away!!

So what’s the cause of this annoying bug anyway?

I discovered that it is caused by “Rich text formatting”, as I use LibreOffice to do all of my writing work, I tend to copy and paste directly into blogger, that caused these characters to appear inside the posts!

How to avoid it?

The only way is to strip the text of formatting before pasting it into blogger’s text editor, you can do that by clearing format from LibreOffice’s right click menu. Or by pasting it into a plain text editor like Notepad or Atom.

I hope you found this useful, how often did this happen to you? And how did you deal with it? Please let me know what you have in mind in the comments section below.

P.S: This post itself was infected with this issue, glad I could get it fixed eventually.