nautilis fork ( File manager ) with tree view in sidebar.

2014-02-09 1 min read Fedora GNOME

Was searching for this for sometime now, finally found it.

sudo yum install nemo
sudo yum list nemo*

First just install nemo. Configure nemo not to interfere with default desktop and also make it default handler. So, here are the settings that would do it.

gconftool-2 --set  /desktop/gnome/applications/component_viewer/exec --type 'string' 'nemo "%s"'
gconftool-2 --set  /desktop/gnome/url-handlers/trash/command --type 'string' 'nemo "%s"'
gsettings set org.nemo.desktop show-desktop-icons false

Now, if you need more functionality in file manager then check the list of nemo packages from the output of second command of yum. It has plugins like file preview and so on. Install and enjoy.

Continue reading

bash debug – log all executed commands

2014-02-03 1 min read Bash
Screenshot of a Bash 3.1 session demonstrating...
Screenshot of a Bash 3.1 session demonstrating its particularities. Shows exporting a variable, alias, type, Bash’s kill, environment variables PS1, BASH_VERSION and SHELLOPTS, redirecting standard output and standard error and history expansion. A POSIX session is launched from a normal session. Finally, the POSIX session kills itself (since just “exit” would be too boring). (Photo credit: Wikipedia)

Whenever I am writing a script in perl or bash, I always wish that there
was some way to have all the commands logged or output to screen. I know
there is “set -x” option to have debugging enabled, but sometimes that
seems to be too much information and I dont really need all that. So, here
is something I found recently for bash to log all the executed commands.

Continue reading

findmnt – find all the mounts and their source

2013-09-16 1 min read Linux

If you are looking for the source of a mount and the various options used in the mount, then the quickest way to get that is ::

findmnt

By default, with no parameters, it lists all the mounts in a tree like view and all the options used to mount the path. It also lists the source of the mount.

By default again, it uses some capabilities of the terminal to show the tree which you can disable with the option “-a”.

Continue reading

Find directory/file with inode number

2013-09-10 1 min read Fedora Linux

Couple of days back, I was getting the following error:

Directory inode 2362521 has an unallocated block #245823.  Allocate?

And this continued for hours together and I was in a hurry. Did not really care about the error and all I wanted was to get rid of the error but for that I needed to get to the file/directory with inode number  mentioned in the error and finally “find” command came to rescue:

Continue reading

pkgwat -search packages for Fedora.

2013-08-23 1 min read Fedora

pkgwat is a nice utility to search the fedora packages websearch.

Description : Pronounced "package WAT", pkgwat is a fast CLI tool for querying
: the fedora packages webapp.
: https://apps.fedoraproject.org/packages/
:
: You can make its search even better by helping us tag packages.
: https://apps.fedoraproject.org/tagger

And to search for  a package, you can use ::

pkgwat search 
pkgwat -h # get help on package.

 

Continue reading

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

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
Older posts