{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/1630","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/1630/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/1630/events","html_url":"https://github.com/dnschneid/crouton/issues/1630","id":68986584,"number":1630,"title":"ROS commands (or any alias) using zsh and startxiwi do not function","user":{"login":"usfbrian","id":4408242,"avatar_url":"https://avatars.githubusercontent.com/u/4408242?v=3","gravatar_id":"","url":"https://api.github.com/users/usfbrian","html_url":"https://github.com/usfbrian","followers_url":"https://api.github.com/users/usfbrian/followers","following_url":"https://api.github.com/users/usfbrian/following{/other_user}","gists_url":"https://api.github.com/users/usfbrian/gists{/gist_id}","starred_url":"https://api.github.com/users/usfbrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usfbrian/subscriptions","organizations_url":"https://api.github.com/users/usfbrian/orgs","repos_url":"https://api.github.com/users/usfbrian/repos","events_url":"https://api.github.com/users/usfbrian/events{/privacy}","received_events_url":"https://api.github.com/users/usfbrian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dnschneid/crouton/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-16T18:49:05Z","updated_at":"2015-04-16T21:45:24Z","closed_at":"2015-04-16T18:57:00Z","body":"On an Asus C300 with Ubuntu 14.04 with xiwi and xfce4 targets (among others), attempting to open ROS (Indigo) terminals in a Chrome OS tab does not work. I am using zsh---specifically, prezto.\r\n\r\nThis is the command I'm running: `sudo startxiwi -b roscore`\r\nIf I run without the background flag, I receive the error, *xiwi: roscore: not found*.\r\n\r\nI've since tried a workaround using an alias in my **.zshrc** to `xfce4-terminal` (an awkward command to type). The alias _also_ does not load; same error type.\r\n\r\n(There might be two separate issues or one common issue with zsh.)\r\nWhen I try the absolute path to roscore, I get several error messages after the extension connects, particularly:\r\n*Cannot open /sys/class/tty/tty0/active: No such file or directory*\r\n*Traceback (most recent call last):*\r\n*File \"/opt/ros/indigo/bin/roscore\", line 62, in <module>*\r\n*import roslaunch*\r\n*ImportError: No module named roslaunch*\r\n\r\nIf I start xterm from xiwi, I can run the `roscore` service, but I'd prefer a different terminal for some of the simulators (or the ability to directly call the `ros*` commands, ideally).\r\n\r\nThanks in advance for your guidance."},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/93846791","html_url":"https://github.com/dnschneid/crouton/issues/1630#issuecomment-93846791","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/1630","id":93846791,"user":{"login":"DennisLfromGA","id":3418772,"avatar_url":"https://avatars.githubusercontent.com/u/3418772?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisLfromGA","html_url":"https://github.com/DennisLfromGA","followers_url":"https://api.github.com/users/DennisLfromGA/followers","following_url":"https://api.github.com/users/DennisLfromGA/following{/other_user}","gists_url":"https://api.github.com/users/DennisLfromGA/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisLfromGA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisLfromGA/subscriptions","organizations_url":"https://api.github.com/users/DennisLfromGA/orgs","repos_url":"https://api.github.com/users/DennisLfromGA/repos","events_url":"https://api.github.com/users/DennisLfromGA/events{/privacy}","received_events_url":"https://api.github.com/users/DennisLfromGA/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T21:45:24Z","updated_at":"2015-04-16T21:45:24Z","body":"@usfbrian - In addition to Chrome OS aliases, you can wirite functions too which more easily handle more elaborate commands. I have both and source them in my `.bashrc` -\r\n  `[ -f ~/.bash_aliases ] && . ~/.bash_aliases`\r\n  `[ -f ~/.bash_funcs ] && . ~/.bash_funcs`"}}