Results 1 to 6 of 6

Thread: make script executable frm F2+Alt

  1. #1
    Join Date
    May 2011
    Location
    here
    Posts
    180

    Default make script executable frm F2+Alt

    hi all,

    have a script and want to be able to run it with Alt+F2 in opensuse 12.1 kde.
    where do I put it and how grant access to a user, myself, as I want run it without root password (like I run Thunderbird, Amarok....)


    thanks&Good Luck!

  2. #2

    Default Re: make script executable frm F2+Alt

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Any script marked as executable (`man chmod`) and in your user's ~/bin
    directory (/home/username/bin) can be executed with Alt+F2. Keep in
    mind your script should change to the directory where you will actually
    be building the software since it needs to find that Makefile and such.
    Also the majority of the compilation/building process should NOT be
    done as root. If you need something to happen as root I would have your
    script change to root via sudo or something at the time necessarily
    (`make install`) for safety.

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJOzO9XAAoJEF+XTK08PnB5mHgQAJk3PwwdQZCeL72OdsClQvj7
    YrdsGW1wRpFvWI0qorz9QJ2JYKls7U7jd3H3UnoQ9mC1PhBg8EkFLIA5k7udHeBa
    X3BzExTZU2t/sLAWkb2WWSOzjLWP0hZ2mNO69Qo3Fr+gIiheIsM/Dg8Ttz3uanz/
    jzpWXbjCH12Jv6C/5AolECHxv6FW9Fkt1Bj4IMb3wHhyyr7JD7NW6VyMPp0ffrdv
    DnMmFvBxft5W3Mp/4nwiJJ61yLtCi7R3/NGIc5MNhKdrhD54L1bfSmK+Yv/mR+HR
    UaIAzchon2G0vXPGf4Yup1/82GlcWMwvBdtgFv+HG1jcf5CBNbLdGZ0UfU+CCe8Y
    mmprFQM1DYmbyAQAN5ZSxqnAlxi6fdMdMTbBz+GIUbJS3g98ZEYTg7avsclC4Ref
    4eoPbYliczau545VKHWyGMqTjnhYR2Qdn3AGPfg3zWbNQmzOSY4Tlw1rNpVhiPwi
    kz2j8wzxNRokpD+AVQnfoGLJyc7yqdv//zjimZxllJFo+STtiVy/mLUhtsvqWSYq
    P+Gz16+U4iHdHFcSoBjivBxE3r7/mJu9jqJ+obqmP7JVwSC7GyWJynolNz+P1LZB
    TuFWBdmmJSUJITCSl0uANrgYO8MChlokC19JAEPkBVBIuiOP8ecLVmTPfeCjDjMH
    uWvVEofB13mJU132SpZr
    =2844
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,863

    Default Re: make script executable frm F2+Alt

    I am with @ab until he comes to the sentence about "building". I did not read annything in your post that refers to the fact that your script will build anything. While ab's remarks are true, they may not be applicable to your question. And I hope they will not confuse you.
    Henk van Velden

  4. #4

    Default Re: make script executable frm F2+Alt

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hilarious.... as I re-read this I think it must have been too early in
    the morning for my post. I read 'make' as a noun, referring to the
    application 'make' which is used for compiling software and therefore
    made a logical leap that was not necessarily or appropriate. Good
    catch, hcw.

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJOzP73AAoJEF+XTK08PnB54ZwQAMCIMfzZKk1e8X8CP2IJcsZG
    MytCaxCISVyddcmfu3YmmnRGuV52h2SeNDGI7r6REr8YcFVn3LOs2+8mw8UmDVBr
    Wa3+d3hK3jffeXpspUfHV6/KfXaILbJ+c5gAIljAFzNsI0NXc2hul26IcI0bpsyH
    FX+jXb8mOjjQ9XgwoCDaKVQf/EAwC9CeiOHAuZ7KgMI/AJOnZ9oZYVGMxvCIZUiT
    1ijFzAoes32jEtCXyyGrPH/5fprtNB3IA+NiLoOF7pSnhdqA2AoChO9YkIYIrwGb
    9Rc7r2xyMKcI7qWWoOdA6RKgTkG7RpFjLFcgW3jz0OZJ6ANPycem8UFpqOAJDogZ
    oaapEHGeWc0gO1EYjghU3IUIo0DoLnIHdSZNpfIyArBQ1sZ+5GRU8SNlAKxYeD9g
    QrxS/VqiK6qJu6UQJJEojSEOiE8s9hfaN0wOnm3Zj23FYrs6vHkoIii3AXnCipDh
    R/P94PncgIKEi9SVCCtuz3iXLizNLRGrESUb4dWjvruiQ2DrXRtLm7ErcLMLP3Xf
    bVvMNAzzCDO0faWwEdnSTA8mTWIIYo6AyYbmfcMDB0M6g4L1OnM5eXVdhNfUeJlw
    RyWIAJTS0qZs40wfDqRqq1zxoerwUWm4f9GvdvlAagtknULKMH1OgiZzNRuPHxBX
    jKZFuDdSmOUkbEQDpU4G
    =VqAm
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,863

    Default Re: make script executable frm F2+Alt

    It is allready 15:00 here, thus I am supposed to be alert for some time to day.

    Take some coffee and relax
    Henk van Velden

  6. #6
    Join Date
    May 2011
    Location
    here
    Posts
    180

    Default Re: make script executable frm F2+Alt

    great, thanks for your responses...
    the script doesn’t build software, it just moves old files to another directory,
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •