Saturday, May 23, 2009

How to create a shutdown button on a Linux desktop.

A shutdown button can be created on a Linux desktop using a single lined script.

Open your favorite text editor

eg : vi shutdown or
: gedit shutdown

append the following lines

#!/bin/bash
poweroff


save and quit. Move the file location to your desktop

chmod 777 shutdown
chmod +x shutdown (made the file 'shutdown' executable)

Now double click on your 'My Computer" icon to open the file browser window.

goto Edit-->Preferences-->Behavior-->Run executable text files when they are clicked-->close

Now you can double click on the 'shutdown' file to shutdown the machine. You can rightclick on it to choose an appropriate icon for the button.

3 comments:

  1. ``Hes standing right next to me. A tall, auburn hairedlady goes in, a shorter, black haired one comes out.
    free lesbian sex galleries and stories
    filthy teen sex stories
    brotherinlaw fuck stories
    pregnant sex stories post
    adult sex picture stories
    ``Hes standing right next to me. A tall, auburn hairedlady goes in, a shorter, black haired one comes out.

    ReplyDelete
    Replies



    1. xxx video


      bangladeshi singer Porshi Sex Scandal


      xxx video


      bangla choti golpo বেগুন মেরে আগুন নেভানো


      18 year old porn


      choda chudir golpo আমার দুইটা সেক্সি সুন্দরী শ্যালিকা


      indian porn video


      Read new sexy মেয়েদের চোদার bangla choti golpo for free


      college girls porn video


      lesbian porn video


      Read free Daily update new choda chudir golpo bangla choti


      sexy girls porn mms


      Indian auntyder গুদ চোদার গল্প bangla choti পড়ুন আমাদের সাইট এ


      Blonde turns guy on before giving cock massage


      Bill Bailey shows nice sex tricks to Ella


      Sexy Ass Indian Mehla Hardcore Movie


      নতুন নতুন বাংলা চটি গল্প পরতে আমাদের সাইট এ আসুন bangla choti


      কলেজ পড়ুয়া হট মাগীদের কিভাবে গুদের কামড় মাড়িয়ে জানতে আমাদের সাইট এর গল্প পড়ুন bangla choti


      Petite babe was a great motivator for guys


      BigXMovies


      choda chudir golpo পাপিয়া র বৌদি র গোলাপী ভোদা



      bangla choti golpo জীবনের প্রথম মাগি চোদা


      Brunette oriental is in heaven eating Tommy Gunns meaty love stick


      Casada, The Original Teen Next Door


      Bruce Venture is one hard-dicked stud who



      Meet local sexy girls for free cam sex or dating



      ********************************************************

      Delete
  2. Hurrah, that's what I was looking for, what a stuff! present here at this website, thanks admin of this website.
    Look at my web site :: diets that work

    ReplyDelete