Launching deluge from the .desktop file uses the sbin symlink... why?

Can someone explain the following?  Launching deluge-gtk from the package provided deluge.desktop under lxde causes both deluge-gtk and deluged to run from the sbin symlink.  You can see it by a simple:
% ps aux | grep deluge
/usr/bin/python2 /usr/sbin/deluge-gtk
/usr/bin/python2 /usr/sbin/deluged
In contrast, launching deluge-gtk from a shell (i.e. simply typing `deluge-gtk`) causes the expected /usr/bin/deluged and /usr/bin/deluge-gtk as viewed from the ps command.
% ps aux | grep deluge
/usr/bin/python2 /usr/bin/deluge-gtk
/usr/bin/python2 /usr/bin/deluged
If I modify /usr/share/applications/deluge.desktop using the fully qualified paths for the "TryExec=" and "Exec=" entries, deluge-gtk shows up as /usr/bin/deluge-gtk as it should, but the backend daemon, deluged, still shows up as /usr/sbin/deluged if I don't manually start it from the shell:
% ps aux | grep deluge
/usr/bin/python2 /usr/bin/deluge-gtk
/usr/bin/python2 /usr/sbin/deluged
Last edited by graysky (2013-11-23 12:26:29)

After doing some more investigating, I have found that this only happens with the latest version of Java (1.6 update 2). What it is doing is loading the jnlp file that is located as the href link in the jnlp file that is launched. In other words, say you have two jnlp files; jnlp_a and jnlp_b. Say the href link inside jnlp_a points to the jnlp_b file. So the href line in the jnlp_a file would look like this 'href = "jnlp_b"'. In the latest version of Java, if you launch the jnlp_a file from a browser, Java Web Start will acutally load the jnlp_b file instead of the jnlp_a file that was launched. Should it be doing this? With the previous versions, JWS would read the href line and save this jnlp in the cache to be launched if the user creates a desktop shortcut. But it would still load the actual jnlp file that launched. Is this a bug in version 1.6 update 2?

Similar Messages

  • Launching Photoshop from the creative cloud

    Sorry for such a simple question but how do I launch Photoshop from the creative cloud? 

    What operating system and version?
    In general on a windows system there should be shortcut to Adobe Photoshop CC in Start>All Programs menu and on a mac go to your Applications folder and in the folder called
    Adobe Photoshop CC double click on the Adobe Photoshop CC.app.
    On a mac after photoshop cc is started you can go to the dock, right click on the icon for photoshop cc, click on Options and click on Keep in Dock, which will place a shortcut to photoshop cc in the dock.
    On windows you can right click on the photoshop cc shortcut in the all programs and choose Send to>Desktop (create shortcut)

  • I have multiple iPhoto libraries and when I selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open apps window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    I have multiple iPhoto libraries on my Macbook Air 10.7.5 and when I am selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open application window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    If you're pushing Option at the exact moment you're clicking the Dock icon, it's supposed to do that. Wait until just after clicking it.
    (112342)

  • Why does Logic only initially open on one of my monitor screens despite launching it from the other screen's dock?

    I have a second monitor hooked up to my iMac.  How come when I launch Logic from the second screen's dock, it only ever launches in the primary iMac screen?  I thought Mavericks was all about screen independence . . .
    I'm thinking about buying a 27" second monitor to replace my smaller one so that I have extra screen real estate for Logic, but if I can't launch Logic into it by default, I am having second thoughts. 
    Any suggestions?  Thank you!

    Here's a good article to start you off:
    http://support.apple.com/kb/HT3161

  • How can i launch application from the terminal in 32-bit mode?

    how can i launch application from the terminal in 32-bit mode?
    everytime i have to check and uncheck the finder's info panel and it's really annoying, thanks!

    ''Courtesy of cor-el''
    https://support.mozilla.com/en-US/questions/823873
    Other users should note that Firefox has public release versions of 64bit only for Mac And Linux; not for Windows, yet.

  • Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • How to retrieve IndividualStrings from a txt file using String Tokenizer.

    hello can any one help me to retrieve the individual strings from a txt file using string tokenizer or some thing like that.
    the data in my txt file looks like this way.
    Data1;
    abc; cder; efu; frg;
    abc1; cder2; efu3; frg4;
    Data2
    sdfabc; sdfcder; hvhefu; fgfrg;
    uhfhabc; gffjcder; yugefu; hhfufrg;
    Data3
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    i need to read the data as an individual strings and i need to pass those values to diffarent labels,the dat in Data3 i have to read those values and add to an table datamodel as 6 columns and rows depends on the data.
    i try to retrieve data using buffered reader and inputstream reader,but only the way i am retrieving data as an big string of entire line ,i tried with stringtokenizer but some how i was failed to retrive the data in a way i want,any help would be appreciated.
    Regards,

    Hmmm... looks like the file format isn't even very consistent... why the semicolon after Data1 but not after Data2 or Data3??
    Your algorithm is reading character-by-character, and most of the time it's easier to let a StringTokenizer or StreamTokenizer do the work of lexical analysis and let you focus on the parsing.
    I am also going to assume your format is very rigid. E.g. section Data1 will ALWAYS come before section Data2, which will come before section Data3, etc... and you might even make the assumption there can never be a Data4, 5, 6, etc... (this is why its nice to have some exact specification, like a grammar, so you know exactly what is and is not allowed.) I will also assume that the section names will always be the same, namely "DataX" where X is a decimal digit.
    I tend to like to use StreamTokenizer for this sort of thing, but the additional power and flexibility it gives comes at the price of a steeper learning curve (and it's a little buggy too). So I will ignore this class and focus on StringTokenizer.
    I would suggest something like this general framework:
    //make a BufferedReader up here...
    do
      String line = myBufferedReader.readLine();
      if (line!=null && line.trim().length()>0)
        line = line.trim();
        //do some processing on the line
    while (line!=null);So what processing to do inside the if statement?
    Well, you can recognize the DataX lines easily enough - just do something like a line.startsWith("Data") and check that the last char is a digit... you can even ignore the digit if you know the sections come in a certain order (simplifying assumptions can simplify the code).
    Once you figure out which section you're in, you can parse the succeeding lines appropriately. You might instantiate a StringTokenizer, i.e. StringTokenizer strtok = new StringTokenizer(line, ";, "); and then read out the tokens into some Collection, based on the section #. E.g.
    strtok = new StringTokenizer(line, ";, ");
    if (sectionNo==0)
      //read the tokens into the Labels1 collection
    else if (sectionNo==1)
      //read the tokens into the Labels2 collection
    else //sectionNo must be 2
      //create a new line in your table model and populate it with the token values...
    }I don't think the delimiters are necessary if you are using end-of-line's as delimiters (which is implicit in the fact that you are reading the text out line-by-line). So the original file format you listed looks fine (except you might want to get rid of that rogue semicolon).
    Good luck.

  • How to read a tab seperated data from a text file using utl_file

    Hi,
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....
    Thanks in advance...
    Naveen

    Naveen Nishad wrote:
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....If it's a text file then UTL_FILE will only allow you to read it a line at a time. It is then up to you to split that string up (search for split string on this forum for methods) into it's individual components.
    If the text file contains a standard structure on each line, i.e. it is a fixed delimited structure, then you could use external tables to read the data instead.

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Need to read data from pipe separated file using POJO?

    Hi,
    I need to read data from pipe separated file using POJO.
    There is config.properties file which consists of the
    data mapping.
    Can you help me with sample code or help?
    Regards
    Regards
    Taton
    Edited by: Taton on Mar 7, 2009 4:41 PM

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Removing non printable characters from an excel file using powershell

    Hello,
    anyone know how to remove non printable characters from an excel file using powershell?
    thanks,
    jose.

    To add - Excel is a binary file.  It cannot be managed via external methods easily.  You can write a macro that can do this.  Post in the Excel forum and explain what you are seeing and get the MVPs there to show you how to use the macro facility
    to edit cells.  Outside of cell text "unprintable" characters are a normal part of Excel.
    ¯\_(ツ)_/¯

  • How to read a table from a word file, using HWPF

    How can I read a table from a Word file using HWPF?
    I looked in API and Table class doesn't seem to have a constructor... very very strange for me. pls help

    the constructor is HWPFDocument = new HWPFDocument(/*file*/)
    Here is the API for that
    http://poi.apache.org/apidocs/org/apache/poi/hwpf/HWPFDocument.html
    Also here is another link to something that might help you more with tables
    http://www.aspose.com/Community/forums/thread/79182.aspx

  • Identify character from a jpeg file Using OCR

    Hai all...
    is there any way to identify characters from a jpg file using OCR related technologies..
    i want to identify if thr any data in a page .the page is a jpg image contain lines.
    is there any way plz help me..
    very urgent..

    Hai all...
    is there any way to identify characters from a jpg
    file using OCR related technologies..Yes
    i want to identify if thr any data in a page .the
    page is a jpg image contain lines.
    is there any way plz help me..Get an Image Processing / OCR book for Java

  • HT5622 I've can not   from the apple store. I cheched my visa account it still have money in it and the bank told me is working but I still can't buy stuff from the store . Why?

    I've can not   from the apple store. I cheched my visa account it still have money in it and the bank told me is working but I still can't buy stuff from the store . Why?

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    iTunes Store: Accepted forms of payment
    http://support.apple.com/kb/HT5552

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

Maybe you are looking for