There are times when you need to post the outcome of a particular command(s) from a shell on a forum or somewhere else. It might be for troubleshooting or demonstration. However, copy-paste is not exactly a good option if your shell is filled with tons of information. Not to mention, you would spend a lot of time just selecting the text & then pasting it into a word processor. Wouldn’t life be easy if there would be a script which would gather all the data from a terminal & save it to a file? It does exist.
Before starting to run the command(s) whose output you wish to capture, enter;
$script -a filename
You will get,
[shuttertux@localhost ~]$ script -a filename
Script started, file is filename
Now one can begin entering the required commands. Once done, type;
[shuttertux@localhost ~]$ exit
Script done, file is filename
Now you can view the output file simply by,
Wasn’t that easy? Just remember, the output file is saved in your present working directory.
Star-trail photographs are mind boggling to look at. Its one of the most beautiful vista of nature. However most of the times when it comes to post-processing the photos after shooting a star trail can be a pain. Here is a small GIMP plugin which will help you elevate all that pain & concentrate more on shooting part of star trails. The plugin is known as ‘gimp-startrail-compositor‘. You can download it here.
View full article »
Over the time, your operating system tends to generate temporary files which get on accumulating in the temporary directories. This negatively affects the system responsiveness & off-course wastes disk space. Further, there are also other resources like browser caches, thumbnail caches & more which if not cleared from time to time make the system sluggish. An advance user may very well take control & go rectifying each of the above problems. However that would mean more time to clear up each individual thing. Here, steps in to rescue is KDE’s very own utility – Sweeper(Application>Utilities>Sweeper).
As the name suggests, Sweeper is a tiny utility which lets one clear all the unwanted clutter from the system. The interface of sweeper is ridiculously idiot-proof & all the options are self explanatory. Simply check whatever you wish to get rid off from your system & hit “Clean Up”. Sweeper is capable of clearing cookies, temporary files, thumbnail cache, browser cache, favicons, clipboard, recently used document list, recent applications etc.
From time to time, I recommend running Sweeper & letting it do its job. It will ensure you good disk resources & a responsive computer.
Often you’ll find some applications not available in your OS repository/third party repository or you need to install a recent version than the one in your repository. Whatever the case might be, you’re left with no option but to compile & install the application from the source tarball provided from the application’s project website. Beginners might feel this process to be intimidating but its not that difficult. Once you repeat it a couple of times, it will become a second nature to you. I’ll outline some basic steps which will help you to install the application from a source tarball.
View full article »
With the recent Adobe Flash Player update(11.2) in Linux, there seems to be a major color glitch in flash videos for users using Nvidia graphic cards. When viewing flash videos, a user experiences the colors being reversed/altered like you’re watching a negative slide of a film. Imagine, watching a red Ferrari in stark blue & the skin tones of humans being transformed to that of folks from the movie Avatar. Yes, its really frustrating. Updating the Nvidia drivers to the latest won’t work.
To fix this colour glitch, unfortunately one needs to disable hardware acceleration for videos. To disable hardware acceleration, open up a youtube video, right click in the video area & select settings. In the first tab(Display) itself, you should get “Enable Hardware Acceleration” option with a checkmark in the radio box. Simply uncheck this & now try playing a video. If everything goes well, you should be able to view colours accurately.
Another option is to rollback to Adobe Flash 11.1, if you prefer not to disable hardware acceleration. I hope Adobe issues an update on this soon.