Linux Malware – Proof that Linux is not as secure as we all think

2010-03-26 1 min read Linux

<a href="http://www.foogazi.com/2009/12/01/linux-malware-proof-that-linux-is-not-as-secure-as-we-all-think/comment-page-1/#comment-48243">Linux Malware – Proof that Linux is not as secure as we all think<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.lockergnome.com/it/2010/03/18/windows-vs-linux-web-hosting/">Windows Vs Linux Web Hosting (lockergnome.com) <li class="zemanta-article-ul-li"><a href="http://boycottnovell.com/2010/03/19/linux-foundation-and-swpats/">Linux is Not Against Software Patents (and Why Linus Torvalds Should Speak Up) (boycottnovell.com) <li class="zemanta-article-ul-li"><a href="http://blog.blacknight.com/awstats-now-available-on-linux.html">Awstats Now Available On Linux! (blacknight.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/aa7b20f2-237e-4b76-80ab-f0a2a5dbd7df/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b29.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

gnome-blog — Deskbar applet for blogging

2010-03-25 0 min read Linux
\"SAN
Image by Getty Images via Daylife

Chanced upon utility called gnome blog. A nifty nice deskbar applet that can be used to post your blogs quickly.<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.omgubuntu.co.uk/2010/03/gnome-music-applet-dead-long-live.html">GNOME Music Applet dead, long live PanFlute (omgubuntu.co.uk) <li class="zemanta-article-ul-li"><a href="http://www.omgubuntu.co.uk/2010/03/docky-session-applet-video-shows-its.html">Docky Session Applet Video shows it&#8217;s made of win (omgubuntu.co.uk) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2009/12/23/manage-your-secure-shell-connections-from-the-gnome-panel/">Manage your secure shell connections from the GNOME panel (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/03/02/connecting-to-a-microsoft-vpn-with-linux/">Connecting to a Microsoft VPN with Linux (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://www.omgubuntu.co.uk/2010/03/gnome-media-player-adds-volume-control.html">GNOME Media Player Adds Volume control; 2nd release in 2 days (omgubuntu.co.uk) <li class="zemanta-article-ul-li"><a href="http://geek.co.il/wp/2009/11/27/my-desktop-in-a-gnome-shell">My desktop in a GNOME shell (geek.co.il) <li class="zemanta-article-ul-li"><a href="http://castrojo.wordpress.com/2010/03/25/become-a-friend-of-gnome/">Jorge Castro: Become a Friend of GNOME (castrojo.wordpress.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/e1cc81d7-8946-4ce2-9d56-306b35747d8a/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b100.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

vim search multiple files

2010-03-25 1 min read Linux Vim Tips

Searching some pattern in multiple files is something that is required very often. There are multiple ways to do it, like <a class="zem_slink freebase/en/grep" title="Grep" rel="wikipedia" href="http://en.wikipedia.org/wiki/Grep">grep, <a class="zem_slink freebase/guid/9202a8c04000641f8000000006b66ec6" title="Ack (command-line utility)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Ack_%28command-line_utility%29">ack, find and so on so forth. But if your editor already has the capability to do that, then why leave your favourite vi and go to shell. I will point you to some scripts and some wiki pages on how to do this 🙂

Continue reading

Running Nested X server

2010-03-25 1 min read Linux Solaris

Today I was trying to do a XDMCP connection to the other server ( which is solaris, not sure if that matters) so I used the Xnest server. and used the following command:

Xnest :1 -ac -query

And I was getting the error:

AUDIT: Tue Dec 2 20:40:03 2008: 1470 Xnest: client 2 rejected from IP <>

I tried allowing the host to use the display but not use. The command I used was

Continue reading

Photo Compositing with the GIMP

2010-03-25 1 min read Photo

Basing from my previous <a class="zem_slink freebase/en/gimp" title="GIMP" rel="homepage" href="http://www.gimp.org/">GIMP article titled Creating Pseudo-3D Imagery with GIMP, you learned how to do some basic selection manipulation, gradient application, faking <a class="zem_slink freebase/en/depth_of_field" title="Depth of field" rel="wikipedia" href="http://en.wikipedia.org/wiki/Depth_of_field">Depth of Field, etc. In line with that, I’m following it with a new article very much related to the concepts discussed therein but we’ll raise the bar a bit by having a glimpse on <a class="zem_slink freebase/en/compositing" title="Compositing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Compositing">compositing, where we’ll use an existing <a class="zem_slink freebase/en/image" title="Image" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image">image or <a class="zem_slink freebase/en/photograph" title="Photograph" rel="wikipedia" href="http://en.wikipedia.org/wiki/Photograph">photograph and later add in our <a class="zem_slink freebase/en/dimension" title="Dimension" rel="wikipedia" href="http://en.wikipedia.org/wiki/Dimension">2-dimensional element seamlessly with the said picture.

Continue reading

Recursive Regular Expressions

2010-03-24 2 min read Bash Fedora Linux

<img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/yo-dawg-regex.jpg" alt="Yo dawg, I heard you liked regular expressions, so I put a regex in your regex so you can match while you match!" align="bottom" /> The <a class="zem_slink freebase/en/regular_expression" title="Regular expression" rel="wikipedia" href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions we use in our daily lives are actually not that “regular.” Most of the languages support some kind of extended regular expressions that are computationally more powerful than the “<a href="http://en.wikipedia.org/wiki/Regular_expression">regular” regular expressions as defined by the <a href="http://en.wikipedia.org/wiki/Formal_language">formal language theory.

Continue reading

bash – change theme for gtk in gnome and take screenshot from script.

2010-03-24 1 min read Bash Fedora GNOME

I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time take a screenshot also.

#!/bin/bash
path=&#8221;/tmp/screenshot&#8221;
[[ &#8221;$1&#8221; == &#8221;&#8221; ]] && time=5 || time=$1
[[ &#8221;$2&#8221; == &#8221;&#8221; ]] && (
cd ~/.themes
cont=&#8221;y&#8221;
echo &#8221;Select one of the icon themes&#8221;
echo &#8221;When you like some theme just press Ctrl+c&#8221;
for i in *
do
[[ -d $i/cursors ]] || (
echo &#8221;Now trying …. : $i&#8221;
gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$i&#8221;
sleep 1
j=$(echo &#8221;$path/$i&#8221;).jpg
import -window root -quality 95 &#8221;$j&#8221;
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$2&#8221;

Continue reading
Older posts Newer posts