xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #1244: list-socket-dir-only.patch

File list-socket-dir-only.patch, 687 bytes (added by Antoine Martin, 5 years ago)

fix for xpra list - with just too many disadvantages

  • xpra/scripts/main.py

     
    19471947    no_gtk()
    19481948    if extra_args:
    19491949        error_cb("too many arguments for mode")
    1950     dotxpra = DotXpra(opts.socket_dir, opts.socket_dirs)
     1950    if opts.socket_dir not in ("auto", "none"):
     1951        #a specific socket-dir was specified, only search this path:
     1952        dotxpra = DotXpra(opts.socket_dir, [])
     1953    else:
     1954        dotxpra = DotXpra(opts.socket_dir, opts.socket_dirs)
    19511955    results = dotxpra.socket_details()
    19521956    if not results:
    19531957        error_cb("No xpra sessions found")