Category: Linux (Page 12 of 33)

I’m back to using Atom Editor

Not a fan of the green icon.

Life is all about discovery, learning and not being afraid of making mistakes, with that being said, I say that I’m back to using Atom after a rocky relationship, of love and hate!

Why I am bothering to give Atom a second chance, the reasons are detailed below.



1. The only “free” editor of the bunch.

I’ve identified Sublime text as the best text editor for development purpose, let’s not forget that Sublime is not free, I know that they allowed using it for those who are under-privileged, but it’s still a Freemium that costs 70$ (free if you can handle the annoying pop up telling you to register every now and then), after changing the licensing plans in early 2018, I don’t know the current status of Sublime text and don’t care very much to be honest!
Atom editor is free and open source under the MIT license, and despite of Microsoft making a money grab for GitHub, Atom will remain free and open source for everyone to enjoy.

2. It’s down right beautiful!

Of all the text editors available on Linux (I use Linux on my everyday laptop), Atom the best looking of the bunch! Not just the color schemes and themes, everything in Atom is designed to look awesome, from user interface to the website, even the shirts and mugs look great (never got any but my birthday is coming up ;), and the user experience is great, even compared to Microsoft VS code (who is based on coffee script and javascript as well), despite my love for efficiency, I value a beautiful GUI. 

Atom Editor interface
Ain’t that a beauty?

3. Very customizable

Atom has a ton of themes and packages available for download, which makes it more expandable and versatile, and with some knowledge you can develop your own themes and packages, all what you need to know is in the Atom flight manual (released in 2015 but still very informative). You can even change the key-map of Atom to whatever editor you migrated from and customize it as you like to decrease the learning curve.

Package installer interface

4. Ease of use

User experience should be always considered when evaluating software, and VIM for example despite being the most efficient and the most praised text editor in all of the Linux ecosystem, however it’s not easy to use at all, the learning curve is steep, I read the book titled “A byte of VIM“, but I still don’t see why or how can it be better than Atom or anything, as I don’t do anything “professional” with VIM. As a matter of fact, I’m not too keen on the whole terminal as a one tool for all.

5. Consumes more resource, so what?

Yes, Atom is heavier than Sublime or VIM, but does it really matter at this point? In the year 2018 laptops are getting faster and RAM is getting bigger, a few hundred megabytes almost seem like nothing when considering all the reasons mentioned above, it might not be the most resource efficient, but it’s the most usable editor of the bunch.
A well tweaked laptop (both hardware and software) can handle Atom like a breeze, and it’s getting better as time goes by. Speed won’t be an issue if you use an SSD (although using an SSD in itself can be an issue at times!), you could say it’s the price of enjoying a beautiful interface and ease of use.
Besides, converting to a less consuming Linux distro has spared some memory to spend (I’ll blog about it later and link back).

6. The devil you know!

I’ve been using Atom (On and Off) for the past three years, I’ve read the Atom flight manual and even reviewed it on my blog in a few posts (this is the fifth), so for the most part I’ll stick to Atom being the familiar editor that I’ve known and loved (sort of) for the past three years. I’m not alone, as it’s one of the most popular text editors on Alternativeto.

Have you ever used Atom before? What are your impressions about it? What do you use to edit prose and code, and if you use VIM, please take your rants to /r/VIM, because they would be appreciated better by fellow VIM zealots than me.

And yes, this post was written in Atom 1.28, so that you know!

Should you replace your SSD after the COMRESET failed (errno=-16) error?

It is a scary boot screen to wake up to, but things aren’t that simple really, should you throw the SSD in the trash and buy a new one? Or simply ignore the message like it didn’t happen? Well today we will look into it with more detail.

 COMRESET failed (errno=-16)

I’ve been having this error now (on and off) for over a year, the disk works fine but tends to throw an error every now and then, I am running Ubuntu Gnome 16.04 and the bug seems to be affecting Linux alone.

When contacting the manufacturer of the drive (silicon power) they suggested to update the firmware via a utility on the website, since it’s Windows only I had to remove Linux, install Windows to update, and then come back to Linux.

Since it started I’m backing up my data daily and creating images with parted magic every week, so far the disk hasn’t died on me (reached around 6400 hours, and the bug appeared in 4000 for the first time).

Do you have to replace the SSD right away?

From my experience, it’s not necessary to replace the drive right away, but backing up is a must!

I’ve installed Gsmartcontrol and set the system to check for errors on startup (was recommended to do so on Askubuntu) and it’s reporting no errors on all tests (short, long and contingency).

I do recommend that you get the drive checked, and if possible send it back if it’s still under RMA.

Update

I swapped out the SDD with the old HDD due to an increase in the COMRESET failed (errno=-16) error, I guess my laptop is showing it’s age, and I am due to replacing it soon anyway.

Are you suffering from this issue too? What did you do to fix it? Please comment below.  

Update #2

Even after getting a new HDD, I still get the same error message! While the same SSD on another device doesn’t!!

When life gives you penguins, you make..?

It’s been a while since I last blogged, and to be honest this isn’t the post that I’ve been planning to publish, this is a lot more positive than the one I was planning to post!

The gifts under the tree

The open source community has been busy! A lot of major updates were pushed this week for no specific reason to be grouped together like that. And I’ve decided to hold them together to give myself that Christmas morning feeling (that I’ve never experienced that to be honest, but you get my drift).
Without no further delay, let’s look at the gifts:

Linux Kernel 4.14

The first update is a bit hidden under the hood and cannot be seen in action, the charismatic father of the Linux operating system Linus Torvalds said it was a tough update to push (or something), and that it brings many improvements to the system’s overall performance, it’s not like I have the hardware for it, but it’s nice to feel current for once. This update is special because the kernel will be updated for 6 years rather than two, so let’s see how this works out!

Linux Kernel 4.14 LTS
Gotta love them penguins!!


It’s always advised to wait till your distro rolls out the update, but I’m not that kind of guy..

LibreOffice 5.4.3.2

Moving on to a more visible update: Other than the interesting build number, it’s not really a surprise getting a new version of LibreOffice knowing how consistent the document foundation is with delivering updates to users. I didn’t notice anything major since 5.3 (since it was running fine) but it’s nice to update the system every now and then, right?


Good old Libreoffice

Also, the mascot candidates look awesome, let’s hope they settle with something classy.

Now moving to the price pig, fox! Firefox 57

Firefox 57 Quantum

This update was hyped for months by Mozilla as the best Firefox yet, and I had to give it a try to see for myself, especially after reading several positive reviews, and I have to say that I’m impressed with how the new Firefox is working!

Firefox Quantum 57
New logo for a revamped browser

It’s lighter, faster and looks like a million bucks! It is very different yet the same. I feel like I’m using it  for the first time (I’ve been a user for 9 years).
Great job Mozilla.
Minor update: To learn how to fix the password issue after an update, click here.

A cheap jab

Since we are talking open source and that’s something I haven’t done in ages, I would like to say that unity is an ugly interface, and that I’m glad that Ubuntu dumped it and went back to Gnome, the interface that it should have stuck with for the past 7 years. I was gloating saying: “I told you so” to anyone who listened to the topic – not too many listeners in case you wondered-.
I won’t miss you, unity..

I’ll see you in hell, unity!

FDM’s crusade going nowhere?

After posting on itsfoss urging the open source community to vote for the favor of a Linux version of FDM (cool bunch of people by the way), and causing some havoc around the forum, I’ve got an e-mail from one of the admins saying that the “developers” learned of the result and that a Linux version of FDM is no being discussed, It’s been two weeks, maybe I should barge into the meeting with a six pack of beer?

FDM 5 logo
I don’t like how the new FDM looks to be honest.

Dear User!

Thank you for your interest. We have seen all your messages and let the developers know that the Linux version takes now the first position on the vote list. You have written a great article.
The previous week developers were busy adding Firefox support and fixing bugs.
At the moment, they need time to discuss the implementation of the Linux version.

Your FDM Support Center Team,
Regards,
Support Department


I know that this e-mail was just a way to buy some time against the heavy pressure I was applying, after all I did bring the big guns in order to force them to release the source code for Linux, will it work?

How awesome open source is!

And all this comes free of charge, can you believe it? If you can donate then please go and give these honest hard working people a well deserved donation. You can think of this as a public service announcement but I’ve never been good with that stuff anyway.

That is a bad ass looking penguin right there!!

Final words

I wish all my issues were as easy as the FDM thing, sadly I have other matters that need more immediate attention at hand, that I might blog about in a future post (the next one will be in Arabic as usual), so wish me luck there.

Thanks for reading this update, see you around.

How to speed up your laptop?

Today we are looking at ways to improve your computer’s performance with simple tips that will optimize the performance and get the best out of the current hardware set..

Using some free tools you can use easily to enhance your computer’s performance and make it run faster and smoother, and some more “radical ” solutions to try in case the tweaks weren’t enough, and finally some hardware upgrades that you do for a little cost (cheaper than buying a new computer) because let’s face it!
You can’t always throw your computer in the trash and get the latest model just because it’s not working like it’s used to, sometimes you just like that computer too much, or simply can’t afford to replace it right now! And yet you want to enjoy the best performance possible, well, you came to the right place!

First of all: Know what you have!

Saying that your computer is “fast” or “slow” isn’t very technical, since speed is relative depending on the user, so we need to see what are the specifications of your computer compared to what software you run.
Chances are that you know what are your computer specifications, which determine it’s performance, in case you don’t know or don’t remember, these tools will come in handy!

(Speccy Z).

This Free software by Priform will tell you exactly and in great detail what are your computer specifications, the free version comes without support but will do for now.

Ccleaner shows your computer specifications at the top of the program interface, it’s quite minimal but sufficient for the average user.
Now that we learned the computer specifications, let’s take a look at the operating system you have.

Common sense: Know your limits!

Every operating system and program has requirements that your computer must meet to ensure the system works without a hitch, there are three levels:

Minimum specs

If your computer is lower than these, than there isn’t much to do and you better look for another operating system with lower demands, sorry!

Required specs

If your computer meets these specifications then you are in luck and you can optimize it and tweak it for maximum performance.

Recommend specs

If your computer meets these specifications or a little more then this post isn’t probably for you, but who doesn’t like a little boost in the performance?
Having your operating system shipped by an O.E.M isn’t always a guarantee it will work properly, for example:
O.E.Ms shipped Windows 7 starter on Netbooks with Intel Atom single core with 1.6 MHZ of clock and 1 GB of RAM! A true disaster!
Now that we got the specs down, lets get to the fun part!

 

Optimizing on a zero budget

Here we are assuming that you are a home user and don’t use these programs for commercial purposes. If so please consider purchasing a license to share some of the profit you make with the hard working coders!

Fair warning! Create a backup, a system restore or a full computer image!
Most of the steps we are attempting here aren’t really risky (except a fresh install of Windows), but it’s better to be safe than sorry, I can’t miss a chance to remind my readers to backup before it’s too late!

Cleaning temporary files

Over time the temporary folder grows in size and expands causing your computer to run slow! You might wonder where did these files come from? And the answer is simple! These files are created when browsing the Internet, installing software, and by Windows itself. Cleaning those will free a ton of space and make your computer run faster.

Again we are using Ccleaner to analyze the temp folder and the recycle bin before deleting the files, make sure to look at the results before deleting them, if you happen to delete something you need by mistake, don’t panic! Check out how to recover files using recuva!

Defrag

Defragging will help speed up the computer by organizing files on your hard disk physically, there is a built in defrag software that comes with Windows but I prefer to use Defraggler by Priform as it’s really easy to use and has more options to work with, you can download it from this link.

 

If you are using an SSD don’t, and I mean DON’T defrag your disk..
Pro tip: It’s better to defrag after finishing all your cleaning so you don’t waste time defragging files then wind up deleting them just like that!

Registry cleaning

This feature is one of the many features provided by Ccleaner, and it helps you to cleanup the registry from all the bad keys, traces of un-installed software and crud here and there, and always create a backup of the registry just in case (I never needed it, but you never know!).

 

Registry defrag.

You can find the full details on this method in this post I did sometime ago, but I think as long as you clean your registry often, the defrag isn’t really necessary!
Freeing up space from the partition that has Windows
You might not be aware of this, but putting a lot of stuff in your documents folder and on your desktop will make your computer slower with time!

I know it’s the same image, and there isn’t that much difference!

Most of the computers I worked on had many folders and files scattered on the desktop, not shortcuts, Important work files and folders placed on the desktop! Some up to 100 GB worth of data! Prone to loss more than ever, as a format will wipe the entire C: partition with all of it’s contents, including the desktop precious files!

Why does Windows need the space?

Windows needs a lot of free space to work and function properly, if your drive has only one partition then you need to remove the folders and try (very carefully) to create another from the Windows provided utility, and it’s better to have your data on a separate disk anyway! A failed attempt will damage your system so have it looked by a techie (someone to blame when things go sour) 😉

Anti-Virus

This should be a given, but some people neglect having a proper protection suit and then wonder why the computer is running slow and crashing often!
A free package should do for most, but for added protection I recommend using a licensed product, Avast anti virus has an optimizing suit that does most of the aforementioned tasks for you, all you have to do is to click next! (After buying a license of course!).
Regardless of what you use, make sure it’s updated and scan any media you insert to your computer and run frequent scans of your system.

Monitor your RAM

If you have less than 1 GB of RAM I suggest you install a RAM monitor like Rampage, which sits in the background and kicks in action when your RAM drops below a predetermined value, say 32 Mbs, and frees up an amount of RAM so your computer doesn’t hang.
Use the Task manager to see what’s hogging things up
When your computer hangs and acts slow it’s a good idea to call the task manager by pressing CTRL + ALT + DEL and seeing what’s the process that’s taking the most RAM or not responding, and dealing with that. Famous RAM hogs like Firefox shouldn’t be installed if your computer has less than 1 GB of RAM.

Unloading dlls from memory

This tweak is a little advance, and you will find detailed steps in one of my earlier posts, what it does is that removes the DLL files out of the memory once the program is closed, it can make your computer a bit unstable, but a ton faster!

Startup programs

If your computer takes a long time to boot and be ready to work, then you have a startup issue, you can look at an older post I made using a tool that measures your startup time and tells you whats making your computer slow to boot.
Many tools you installed and don’t use very often are still starting up with you without knowing they do, and each one on average takes 3 seconds of boot time, that may not sound like much to you, but trust me, it is!

I prefer to use Ccleaner again (which has been download 2 BILLION times according to priform.com), simply disable any tool that shouldn’t start with the system (leave the anti virus running) and anything else you need start manually.
The task manager can help you disable the ones you don’t need and even determine the impact it has on startup!

Driver update

Updating your drivers will improve your computer performance in theory, if it doesn’t you can safely rollback your old driver and that be it! The update can be done from the drivers under system management, but if the update isn’t available you can always try the 9 GB driver disk available on-line for free!
But what if all else fails?

 

Clean install

A clean install (a format) would be a good option if all tweaks failed with your computer, I posted earlier about the benefits of clean installs, you might want to check that out! Just make sure to remove the license first then return it ( I also blogged about this) or use the new options in Windows 8.1 and 10 to refresh the computer, this option will delete all settings and files so be really careful before taking this step and create a full backup of your data.

 

Installing Gnu Linux Ubuntu

Installing Ubuntu in itself is a tweak! Installing Ubuntu will get out the hidden potential of your computer, you will be able to do your work smoothly and flawlessly, just make sure to choose a flavor that fits your computer’s specifications, and you are good to go! All of the steps above aren’t really necessary if you run Ubuntu! And if you like to clean your computer then use BleachBit the way you used to use Ccleaner! And it’s not that necessary either!

The only draw back is that the battery performance decreases a bit compared to what it did on Windows, feel free to use TLP and powertop which I blogged about some time ago to juice some more power out of your battery! And if you use a PC then all you have to do is to install Ubuntu and start working as it comes bundled with everything you need right out of the box!

That was the first part of the post, zero cost optimization, now lets look at the second part where you have some money to spend (not enough to buy a new computer) and feel like upgrading your computer, I’m not going in too deep with the upgrade scenario because this is guided more towards laptop users so you have a minimum room for improvement, as a PC user you can do a lot more upgrading!

Adding more RAM

It’s the first upgrade everyone thinks of, and it can be a huge relief to add more RAM to your computer, make sure to buy the right kind and size, and it’s better to take it to a service center to have it upgraded there. Some laptops have one slot, meaning you will have to throw out your old RAM and add the new one, others have two slots meaning you can add another to double your RAM.

 

Installing a Solid State Drive (SSD)

SSDs are a wonderful light weight disks (not hard disks) that are used to store your data, and by installing one of them you gain these advantages.

 

Benefits of installing an SSD

  • Since they are much faster at reading and writing data, your computer will boot faster and your programs will start much faster too! (Compared to a regular HDD).
  • They require less power to work, so you will save power and your battery should live longer compared to using a usual hard disk.
  • Since there isn’t a mechanical part inside there isn’t much noise to them.
  • They will make your computer lighter in weight, even if it’s just a little but it helps!
  • And it will live longer than the usual Hard disk, up to 10 years according to the manufacturers.

Sounds too good to be true? Well, these benefits don’t come cheap! And like everything there are some disadvantages to take care of.

Disadvantage of SSDs

  • One thing is that they cost much more than the good’ol hard disk we are used to, so much that a 128 GB SSD can cost as much as a 1TB HDD!
  • They come in smaller spaces, and even smaller after reserving space for partitioning (takes about 20% of the total size).

When buying these look online for the best deal, some are as low as 39.99$ but you need to look for what’s best for your needs and not the cheapest! Also check if your computer accepts the SSD upgrade, a little trip to a service center should do!

They cannot be defragged!

Do you enjoy defragging your computer every now and then? If you do then these disks aren’t for you! Defragging an SSD would increase the wear rapidly on the disk and shorten it’s life.

If you have an O.E.M windows or fear that you will lose the license once replacing the hard disk, don’t worry! The license isn’t tied to the hard disk!
If it’s an O.E.M it’s tied to the B.I.O.S and therefore it’s reserved, check the Acer repair post for details. And learn how to Transfer the license of Windows easily from here!

All and all, if you don’t have an SSD I suggest to do your research before deciding to invest into a new one.

Maybe your computer needs more RAM, maybe it has a lot of RAM but it needs a new SSD, and maybe you need them both. Have someone look at it before you buy.

Final words

With these tweaks, optimizations and upgrades. Your computer should be running smooth as milk! No more excuses!

I recommend to clean the files, the registry and defrag weekly, and not less than a month so things don’t build up and slow your computer down!

So how did you like this post? Do you preform these optimizations regularly?
And if not, will you start doing these more often? Please let me know what you think below and share this post with your friends and family.

« Older posts Newer posts »