{"action":"created","issue":{"url":"https://api.github.com/repos/ranger/ranger/issues/1797","repository_url":"https://api.github.com/repos/ranger/ranger","labels_url":"https://api.github.com/repos/ranger/ranger/issues/1797/labels{/name}","comments_url":"https://api.github.com/repos/ranger/ranger/issues/1797/comments","events_url":"https://api.github.com/repos/ranger/ranger/issues/1797/events","html_url":"https://github.com/ranger/ranger/issues/1797","id":543379224,"node_id":"MDU6SXNzdWU1NDMzNzkyMjQ=","number":1797,"title":"Cannot Set Title for Terminal Emulator","user":{"login":"3N4N","id":32037751,"node_id":"MDQ6VXNlcjMyMDM3NzUx","avatar_url":"https://avatars0.githubusercontent.com/u/32037751?v=4","gravatar_id":"","url":"https://api.github.com/users/3N4N","html_url":"https://github.com/3N4N","followers_url":"https://api.github.com/users/3N4N/followers","following_url":"https://api.github.com/users/3N4N/following{/other_user}","gists_url":"https://api.github.com/users/3N4N/gists{/gist_id}","starred_url":"https://api.github.com/users/3N4N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3N4N/subscriptions","organizations_url":"https://api.github.com/users/3N4N/orgs","repos_url":"https://api.github.com/users/3N4N/repos","events_url":"https://api.github.com/users/3N4N/events{/privacy}","received_events_url":"https://api.github.com/users/3N4N/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-12-29T12:37:33Z","updated_at":"2019-12-30T18:46:13Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n    Thank you for contributing to ranger by opening this issue.\r\n    Please check through this list, so you can be as helpful as possible:\r\n\r\n    1. Was this issue already reported?  Please do a quick search.\r\n    2. Maybe the problem is solved in the current master branch already?\r\n       Simply clone ranger's git repository and run ./ranger.py to find out.\r\n    3. Provide all the relevant information, as outlined in this template.\r\n       Feel free to remove any sections you don't need.\r\n-->\r\n\r\n#### Runtime Environment\r\n<!-- Retrieve Python/ranger version and locale with `ranger --version` -->\r\n- Operating system and version: Ubuntu 18.04.3 LTS\r\n- Terminal emulator and version: xfce4-terminal 0.8.7.4 (Xfce 4.12)\r\n- Python version: 3.6.9 (default, Nov  7 2019, 10:44:02) [GCC 8.3.0]\r\n- Ranger version/commit: ranger 1.9.2\r\n- Locale: en_US.UTF-8\r\n\r\n#### Current Behavior\r\nThe title for terminal emulator doesn't change when `ranger` is executed.\r\n#### Expected Behavior\r\nThe titlebar of terminal emulator should say ranger is running.\r\n#### Context\r\n<!-- How has this issue affected you?  What are you trying to accomplish? -->\r\nI would like to know which window of terminal emulator is running ranger so I can quickly locate it from the windows-panel or taskbar. I have `set update_title true` in my `rc.conf`, but it does nothing.\r\nI do have the following snippet in my `bashrc` which sets the title for my terminal emulator window when in bash.\r\n```bash\r\ncase \"$TERM\" in\r\n\txterm*)\r\n\t\tPROMPT_COMMAND='printf \"\\033]0;%s@%s:%s\\007\" \"${USER}\" \"${HOSTNAME%%.*}\" \"${PWD/#$HOME/\"~\"}\"'\r\n\t\t;;\r\nesac\r\n```\r\nMaybe this is clashing somehow with ranger, but I have checked disabling the snippet, and ranger still doesn't set the title. So it can't be the problem.\r\n<!--\r\n#### Possible Solutions\r\n\r\n#### Steps to reproduce\r\n1. \r\n2. \r\n3. \r\n\r\n#### Traceback\r\n\r\n```\r\n\r\n```\r\n-->"},"comment":{"url":"https://api.github.com/repos/ranger/ranger/issues/comments/569761426","html_url":"https://github.com/ranger/ranger/issues/1797#issuecomment-569761426","issue_url":"https://api.github.com/repos/ranger/ranger/issues/1797","id":569761426,"node_id":"MDEyOklzc3VlQ29tbWVudDU2OTc2MTQyNg==","user":{"login":"toonn","id":1486805,"node_id":"MDQ6VXNlcjE0ODY4MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1486805?v=4","gravatar_id":"","url":"https://api.github.com/users/toonn","html_url":"https://github.com/toonn","followers_url":"https://api.github.com/users/toonn/followers","following_url":"https://api.github.com/users/toonn/following{/other_user}","gists_url":"https://api.github.com/users/toonn/gists{/gist_id}","starred_url":"https://api.github.com/users/toonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toonn/subscriptions","organizations_url":"https://api.github.com/users/toonn/orgs","repos_url":"https://api.github.com/users/toonn/repos","events_url":"https://api.github.com/users/toonn/events{/privacy}","received_events_url":"https://api.github.com/users/toonn/received_events","type":"User","site_admin":false},"created_at":"2019-12-30T18:46:13Z","updated_at":"2019-12-30T18:46:13Z","author_association":"MEMBER","body":"Oh, hold on. You're asking for something different. We recently merged something so `WM_ICON_TITLE` is updated as well. I think that's what you're looking for. So either run the master branch or wait for the next release."}}
{"actor":{"display_login":"toonn"}}