Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5184 closed Bug (fixed)

Transmission 2.73 keeps creating a directory called "$HOME"

Reported by: fturco Owned by: jordan
Priority: Normal Milestone: 2.76
Component: libtransmission Version: 2.73
Severity: Normal Keywords:
Cc:

Description

I use Transmission 2.73 on a Gentoo Linux system. In Help > About it says: 2.73 (13592).

My ~/.config/user-dirs.dirs file contains the following variables:

XDG_DESKTOP_DIR="$HOME" XDG_DOWNLOAD_DIR="$HOME" XDG_TEMPLATES_DIR="$HOME" XDG_PUBLICSHARE_DIR="$HOME" XDG_DOCUMENTS_DIR="$HOME" XDG_MUSIC_DIR="$HOME" XDG_PICTURES_DIR="$HOME" XDG_VIDEOS_DIR="$HOME"

In practice I'm trying to prevent such directories from appearing in my home directory, as I organize files in a different way. This works well for all applications I use except Transmission, which keeps creating a directory called $HOME when I launch it. That is, it doesn't expand the variable, it reads it literally.

Change History (3)

comment:1 Changed 8 years ago by jordan

  • Component changed from Transmission to libtransmission
  • Milestone changed from None Set to 2.80
  • Owner set to jordan
  • Status changed from new to assigned

This is a cute edge case.

comment:2 Changed 8 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r13690.

Short-term (untested) workaround:

 - XDG_DOWNLOAD_DIR="$HOME"
 + XDG_DOWNLOAD_DIR="$HOME/"

comment:3 Changed 8 years ago by jordan

  • Milestone changed from 2.80 to 2.76
Note: See TracTickets for help on using tickets.