• Using irssi as proxy for pidgin

    If you would like to use irssi on a remote server so that it works as proxy for pidgin, you should already have ‘server’ and ‘network’ parameters set up in your ~/.irssi/config . If you don’t know what I’m talking about, take a look here and also examine the config file. You should figure it out pretty fast how to configure irssi to do basic stuff it is supposed to do.

    What you will also need is GNU screen installed on the remote server. So, what is screen? “Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.” Basically what you can do with it is that you can run certain processes and put them into the background (detach from them), and than later see them again (attach to them) when you want to. If you don’t know how to use screen, take a look here, or use google to find a tutorial on using screen. There is plenty of them out there. You will need screen to put the running irssi into the background on your server so that you may disconnect from the remote server after you set irrsi up.

    So, after you have got your irssi configured and running under screen, you will have to load the proxy plugin for irssi, set a password for your future pidgin-to-irssi connection and bind one free port to irssi for sharing server connection. Here is how to do it:

    1
    2
    3
    /LOAD proxy
    /SET irssiproxy_password <password>
    /SET irssiproxy_ports <network>=<port>

    where the parameter is a network name you configured earlier, and

    is the port number you want to bind irssi to.

    The final step is to configure your pidgin client to connect to your remote server. In pidgin, go to accounts -> manage accounts and then add a new IRC account. Fill the following parameters:

    1
    2
    3
    4
    Username: <network name from your config file>
    Server: <IP address or hostname of your server>
    Password: <password you set for irssiproxy>
    Port: <port number you used for binding>

    Keep in mind that you should have your irssi running all the time on your remote server under screen for this connection to work… and, that’s all folks!

    cheers

  • Locking a session after suspending to disk in Ion3

    Ok, so I wanted to lock my session after suspending to disk while using Ion3 WM. There are a few solutions to this but what I’ve found works best for me is using vlock. What you should do to make this work is the following (after you have installed vlock):

    Edit your .xinitrc and add the following line before the exec part:

    1
    vlock -n &

    Also, uncomment the following line in /etc/hibernate/common.conf

    1
    LockConsoleAs

    After you suspend to disk, vlock will lock all virtual terminals and sessions and again later after unsuspending will it prompt you for your username and password.

  • << Newer - Older >> entries
    Navigation missing in apricot wordpress theme fix

    One thing that I don’t know why it isn’t implemented to apricot wordpress theme is the navigation to newer and older entries at the bottom of the page. So, for all of you out there who don’t know how to fix it or are just lazy enough to figure it on your own, do the following:

    Go to and add this few lines to /public_html/wp-content/themes/apricot/index.php after the content section (div):

    1
    2
    3
    4
    5
    6
    7
    8
    <div class="navigation">
    <div class="alignleft">
          <? php next_posts_link('&laquo; Older Entries') ?>
       </div>
    <div class="alignright">
          <? php previous_posts_link('Newer Entries &raquo;') ?>
       </div>
    </div>

    You can see how it looks on the bottom of this page.

  • Installing Backtrack3 to hard drive

    backtrack3

    Here I’ll explain how to install BackTrack3 to your hard drive, using GRUB, and keep the bootsplash since I didn’t find the proper How-to for this… I will assume you already use linux and have some distribution installed on your computer. Please read everything first, and then continue with your installation.

    First of all, download and burn the backtrack image to a CD, and then reboot to your live CD.
    Login as root and download the installer which I found somewhere on the web, and then start it…
    (If the installer opens in your browser and shows just a bunch of code, make a new file and name it BT3.kmdr an c/p the code into that file and then run the file)

    You’ll get this window:
    install

    There are a few things that need setting up:
    Source (BackTrack CD) – leave this as it is.
    Install BackTrack toput a name of the partition you want to use for BackTrack installation.
    Write new MBR (lilo.mbr) to – also leave this as it is.
    Installation methodset to “Real”.
    I use GRUB instead of LILO, so I had to check “Restore Original MBR after lilo”.

    After the installation has finished, boot to your main distribution and edit GRUB
    Add the following lines to your GRUB:

    1
    2
    3
    4
    5
    Title BackTrack3 KDE
    root (hd0,5)
    kernel /boot/vmlinuz vga=791 ro autoexecxconf;kmd
    initrd /boot/splashinitrd
    boot

    If you wish to login to console instead of KDE, use the following:

    1
    2
    3
    4
    Title BackTrack3 console
    root (hd0,5)
    kernel /boot/vmlinuz vga=791 ro
    boot

    Keep in mind that root (hd0,5) will probably be different for you since we almost sure don’t have the same partition order.

    If you liked the fancy bootsplash from the live cd, you’ll have to make it work for your installation first.
    If you used the GRUB options for KDE, when the GRUB boots, navigate to “BackTrack3 KDE” and pres “e” to temporarily edit the GRUB only for this one session so you can enable the bootsplash. Then delete the initrd line with “d”, and also edit (with “e” again) the kernel line to look like showed in “BackTrack3 console”.
    After that, boot to BackTrack and run the following command in your terminal as root:

    1
    splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg >> /boot/splash.initrd

    and reboot.

    There you go, you’re ready to use BackTrack3.

  • Can't remove firefox tags

    Dunno why but in firefox 3 after adding a tag to a bookmark, later on, I haven’t been able to delete it no matter what I tried… hopefully there IS a solution.

    1) download firefox extension: SQLLite
    2) run it.
    3) at the top right of screen, choose places.sqllite, click go.
    4) select Tables -> moz_bookmarks
    5) click browse&search tab, and then click on search
    6) under “6. title=” box enter “nameOfYourTag”
    7) right click -> delete.

    It’s funny mozzila dedevelopers didn’t integrate the option for this…
    Thanks to people who found a way to fix tags.

Back to top