Results 1 to 4 of 4

Thread: How to run applications and configure wireless interfaces

  1. #1

    Default How to run applications and configure wireless interfaces

    Hey... I have two questions..

    I have a bash script file that runs my programme. I usually execute most of my application in kde by pressing alt+f2 and typing the game of the application. What should i do to this bash file in order to be typed properly?

    Also i would like to be able to configure the network interfaces without having to user the root account. I was wondering if there is some prebuilt group so the only thing i have gto do is to add my user in to this group

  2. #2
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: How to run applications and configure wireless interface

    I'm not sure that I fully understand your question. You have a bash script which will launch your application?

    1. It should have a bang line like this (1st line):

    Code:
    #!/bin/bash
    2. Install it at /usr/local/bin (for use by everyone) or at /home/youruser/bin just for yourself. In the first case user and group should be root.root, in the 2nd case it's youruser.users.

    3. Make it executable for everyone (chmod +x script.sh) or just for yourself (chmod u+x script.sh).

    4. I always have at least one terminal open (using 'Konsole' with KDE) and launch from there. Or you do it with ALT+F2.

    5. Check that /home/youruser/bin is in your path if you put the script there.

    Your second question: configuration of network interfaces must be done as root. Do you use traditional method with ifup or networkmanager?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  3. #3
    Join Date
    Mar 2009
    Location
    London
    Posts
    426

    Default Re: How to run applications and configure wireless interface

    Hi,

    to make a file executable, from the terminal, type:
    Code:
    chmod +x thefilename

    I'm not sure what you're asking about the Network interfaces; Network Manager can be used by anyone, to connect to a wireless network.
    Desktop: openSUSE 11.3 (x86) LXDE
    Laptop: Arch Linux (x86_64) GNOME 3

  4. #4

    Default Re: How to run applications and configure wireless interface

    Quote Originally Posted by vodoo View Post
    ]

    2. Install it at /usr/local/bin (for use by everyone) or at /home/youruser/bin just for yourself. In the first case user and group should be root.root, in the 2nd case it's youruser.users.

    And what should i do in the base that the bash script is already at /usr/local/myapp?

Posting Permissions

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