{"action":"created","issue":{"url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/22","repository_url":"https://api.github.com/repos/johannesjo/linux-window-session-manager","labels_url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/22/comments","events_url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/22/events","html_url":"https://github.com/johannesjo/linux-window-session-manager/issues/22","id":359499981,"node_id":"MDU6SXNzdWUzNTk0OTk5ODE=","number":22,"title":" I get \"undefined findDesktopFile cant find file; searched patterns\" for like half the apps, why so much?","user":{"login":"NinjaTurtle007","id":29625392,"node_id":"MDQ6VXNlcjI5NjI1Mzky","avatar_url":"https://avatars2.githubusercontent.com/u/29625392?v=4","gravatar_id":"","url":"https://api.github.com/users/NinjaTurtle007","html_url":"https://github.com/NinjaTurtle007","followers_url":"https://api.github.com/users/NinjaTurtle007/followers","following_url":"https://api.github.com/users/NinjaTurtle007/following{/other_user}","gists_url":"https://api.github.com/users/NinjaTurtle007/gists{/gist_id}","starred_url":"https://api.github.com/users/NinjaTurtle007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NinjaTurtle007/subscriptions","organizations_url":"https://api.github.com/users/NinjaTurtle007/orgs","repos_url":"https://api.github.com/users/NinjaTurtle007/repos","events_url":"https://api.github.com/users/NinjaTurtle007/events{/privacy}","received_events_url":"https://api.github.com/users/NinjaTurtle007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-09-12T14:11:48Z","updated_at":"2018-10-02T23:57:07Z","closed_at":"2018-09-27T20:28:31Z","author_association":"NONE","body":"## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: latest\r\n* Operating System and version: ubuntu 18.04\r\n* Desktop Environment: ubuntu gnome\r\n* Node version:\r\n\r\n## Expected Behavior\r\nIt should save all windows but it doesn't\r\n\r\n## Current Behavior\r\nIt saved the session with bunch of errors and can't properly restore it later\r\n\r\nI see this is discussed and is common bug, but it does that for half the applications I have. So instead of editing the paths for each one individually, maybe there is something more generally wrong that I can just fix instead of individually fixing each one of them?\r\n\r\nI have quite popular setup, so I imagine that affects a lot of people. So, any ideas why it can't find the paths for soo much apps? \r\n\r\n## Steps to Reproduce (for bugs)\r\n```\r\nlwsm save test1\r\nfindDesktopFile cant find file; searched patterns [ '/home/user/.local/share/applications/Telegram.desktop',\r\n  '/home/user/.local/share/applications/**/Telegram.desktop',\r\n  '/home/user/.gnome/apps//Telegram.desktop',\r\n  '/home/user/.gnome/apps//**/Telegram.desktop',\r\n  '/usr/share/applications/Telegram.desktop',\r\n  '/usr/share/applications/**/Telegram.desktop',\r\n  '/usr/local/share/applications/Telegram.desktop',\r\n  '/usr/local/share/applications/**/Telegram.desktop',\r\n  '/usr/share/app-install/Telegram.desktop',\r\n  '/usr/share/app-install/**/Telegram.desktop',\r\n  '/home/user/.config/autostart//Telegram.desktop',\r\n  '/home/user/.config/autostart//**/Telegram.desktop' ]\r\nutil: Generic Error findDesktopFile cant find file; searched patterns undefined\r\nutil: { '0': 'findDesktopFile cant find file; searched patterns' }\r\nInput Handler Error:  No input for desktop file path for window \"Telegram.TelegramDesktop\". Please fix this manually in config file for this session in ~/.lwsm/{currentSessionName}.json\r\n\r\nLWSM was unable to guess the location of your executable/desktop file.\r\n \r\nThere are two things, that you can do now: \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/comments/426468883","html_url":"https://github.com/johannesjo/linux-window-session-manager/issues/22#issuecomment-426468883","issue_url":"https://api.github.com/repos/johannesjo/linux-window-session-manager/issues/22","id":426468883,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQ2ODg4Mw==","user":{"login":"johannesjo","id":1456265,"node_id":"MDQ6VXNlcjE0NTYyNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/1456265?v=4","gravatar_id":"","url":"https://api.github.com/users/johannesjo","html_url":"https://github.com/johannesjo","followers_url":"https://api.github.com/users/johannesjo/followers","following_url":"https://api.github.com/users/johannesjo/following{/other_user}","gists_url":"https://api.github.com/users/johannesjo/gists{/gist_id}","starred_url":"https://api.github.com/users/johannesjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannesjo/subscriptions","organizations_url":"https://api.github.com/users/johannesjo/orgs","repos_url":"https://api.github.com/users/johannesjo/repos","events_url":"https://api.github.com/users/johannesjo/events{/privacy}","received_events_url":"https://api.github.com/users/johannesjo/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T23:57:07Z","updated_at":"2018-10-02T23:57:07Z","author_association":"OWNER","body":"This should normally only happen when the config file is invalid json for some reason. Could you maybe post your config here?"}}
{"actor":{"display_login":"johannesjo"}}