Results 1 to 3 of 3

Thread: Create a new dwww launcher

  1. #1
    Join Date
    Jun 2012
    Beans
    310

    Create a new dwww launcher

    I've been trying to add a new launcher for the dwww application,as it relies on apache2 and I have this stopped in normal use,I've just written a simple one line script that starts apache2 and then launches dwww,and it works fine in a terminal.
    It doesn't however when I try to launch that script from a custom application launcher,not even prepending the script path with sudo:it does work if I use gksudo,but then it will open the Firefox profile for root,which is clearly not what I'm after.
    What am I doing wrong?

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Create a new dwww launcher

    Show us the script contents, otherwise we are stabbing in the dark trying to suggest a reason.

  3. #3
    Join Date
    Jun 2012
    Beans
    310

    Re: Create a new dwww launcher

    Fair enough,it's really just a one line command (well,actually three)

    Code:
    #!/bin/bash
    
    #start apache server and then dwww
    
    sudo /etc/init.d/apache2 start  &&  dwww
    and as I've said it works in a terminal,but if I paste the location of this script in the Command field of the new custom launcher,nothing happens.

Tags for this Thread

Bookmarks

Posting Permissions

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