wmctrl – window control manager

2010-06-16 0 min read Fedora Linux
\"Blue
Image via Wikipedia

What is <a class="zem_slink freebase/en/wmctrl" title="Wmctrl" rel="wikipedia" href="http://en.wikipedia.org/wiki/Wmctrl">wmctrl?

wmctrl  is  a  command that can be used to interact with an X Window manager that is compatible with the EWMH/NetWM specification.  wmctrl can query the <a class="zem_slink freebase/en/window_manager" title="Window manager" rel="wikipedia" href="http://en.wikipedia.org/wiki/Window_manager">window manager for information, and it can request that certain window management actions be taken.

Continue reading

Periodically download and use as wallpaper from Flickr in Fedora using Webilder.

2010-06-16 1 min read Fedora

Ever wanted to have wallpaper downloaded from Flickr directly using the tags and then apply them as wallpaper, then the way to go is download Webilder <a href="http://www.webilder.org/static/downloads/Webilder-0.6.3.tar.gz">here. Just do the regular stuff to install the same.

tar xvfz

cd

./configure

make

sudo make install

And then right click on the gnome panel and add the widget. Configure the tags to download and the duration to change the wallpaper and enjoy.

Continue reading

17 Cool firefox tweaks.

2010-06-16 1 min read Fedora Firefox Linux

A very nice article on firefox can be found here. Though written for Ubuntu should be applicable to all distro&#8217;s.

<a href="http://www.ubuntu-inside.me/2009/07/17-cool-firefox-aboutconfig-tricks.html">http://www.ubuntu-inside.me/2009/07/17-cool-firefox-aboutconfig-tricks.html

Most of it was done in my machine even before I read the article but good to see all of them together 🙂

First Fedora 13 Features Listed: NFSv4, DisplayPort

2010-06-11 1 min read Fedora

Fedora 12 will not see the light of day for a few more weeks still, but the first features for Fedora 13 are now known. On the Fedora Project Wiki is now the Fedora 13 feature list. Added so far to the Fedora 13 feature list are mostly the few features that didn&#8217;t make it in time for Fedora 12: NFSv4 protocol by default, support for mounting NFS servers over IPv6, and yum language package plug-in…

Continue reading

Let the cow speak what you want it to – ascii art with cowsay

2010-06-11 1 min read Fedora

A picture is worth a thousand words. So here&#8217;s the thousand word posting.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/cowsay.jpg"><img class="size-full wp-image-829" title="cowsay" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/cowsay.jpg" alt="cowsay" width="209" height="300" />

To install it, just execute:

sudo yum install cowsay

It does install a couple of other timepass things like cowthink and animalsay. So, here are some more screenshots:

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/animalsay.jpg"><img class="size-full wp-image-830" title="animalsay" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/animalsay.jpg" alt="animalsay" width="161" height="167" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/animalsay-1.jpg"><img class="size-full wp-image-831" title="animalsay-1" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/06/animalsay-1.jpg" alt="animalsay-1" width="363" height="187" />

Continue reading

email with templates (with variables) from the command line with sendmail or any other MTA.

2010-06-09 2 min read Bash Fedora Linux

I was trying to get templates to work on evolution and found that although templates are there in evolution mail client, its not that efficient to use. What I thus wanted was to have something that could allow me to send mails to (and cc and bcc) to specified people with predefined template, only some values changed, like changelog and so on. So I wrote a set of files and below files to achieve the same. Hope it helps you too 🙂

Continue reading

Scripts to create logins from bash command – for creating multiple accounts

2010-06-09 1 min read Fedora Linux

Heres the script:

cat «EOF > login.sh
for i in  `cat logins` ; do
login=`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $2}&#8217;`;
comment=&#8221;`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $1}&#8217;`&#8221;;
gr=&#8221;`echo &#8221;$i&#8221;|awk -F&#8221;:&#8221; '{print $3}&#8217;`&#8221;;
echo &#8221;login –» $login –Comment –» $comment  –Group –»$gr  –&#8221;;
echo &#8221;useradd -c &#8221;$comment&#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login&#8221;
useradd -c &#8221;$comment&#8221; -d /export/home/$login -m -g $gr -s /bin/bash $login
done

You would need to create file called logins to store the comment, login name and the group. The group must have already been created. Here is an example of the file:

Continue reading
Older posts Newer posts