power save mode for battery in Fedora 19.

2013-08-20 1 min read Fedora

I was getting really bad battery life on my Fedora 19 system, and did not find much on how to tune it. Finally I found something that just does not need much configuration but works pretty well. So, here is what you need to do:

sudo yum install tuned tuned-adm

The second package, tuned-adm installs additional themes for power saving. It is optional and not mandatory. Once you have installed these, you can do the following:

Continue reading

Delete all but some directories

2013-08-16 1 min read Bash Fedora Linux

I think, like me, you would have faced a lot of situations, where you wanted to delete all the files or directories in a location, leaving only the required files/directories. So, I have a directory containing lots of files/directories and I want to delete most of them except some 5/10 of them, how to I do it.

I finally wrote a small script to do that. First save list of files that you do not want to delete in file called “listnames” and then execute the below script. This will give you the rm commands that you need to execute. If you want you can execute the rm command from the script, but to be able to review, I just have the commands echoed.

Continue reading

conky transparent window on Fedora with Gnome.

2013-07-22 1 min read Fedora GNOME

On Fedora with Gnome-shell 3, its been long time that I was not able to get transparent window. So, finally I thought to spend some time to try to fix that. Finally got that fixed with all the configurations below in the conkyrc.  Here the default color is set to  LightSkyBlue but feel free to change that.

I hope this helps fedora community who is struggling to get transparent window. And here is the code :

Continue reading

remove the background the easy way — online

2013-07-17 1 min read Uncategorized

Here is a nice link to web application that lets you remove the unwanted background. Just head over to the side, follow the simple instructions of marking the background and the subject and you are done.

http://clippingmagic.com/

Pretty good results you will get here, you may need to do a little work on the results but otherwise pretty good results.

 

Continue reading

create text tables from delimited files.

2013-07-12 1 min read Bash Fedora

To create simple text tables to paste in emails or to use in any other document where you want to show a table, here is something that you can use. There is a perl module which provides “tablify“. And here is how to use it:

sudo yum install perl-Text-RecordParser

This will install a command “tablify” that you can use in number of ways. Here is a simple example to use it. You can read the man pages to see how you can use it.

Continue reading
Older posts Newer posts