[go: nahoru, domu]

Skip to content

Commit

Permalink
Add nicer help and tip text for the xiwi command.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnschneid committed Mar 1, 2015
1 parent 4483c65 commit 77df2b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chroot-bin/xiwi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
xiwicmd="`readlink -f "$0"`"

if [ "$#" = 0 ]; then
echo "Usage: $0 cmd params" 1>&2
echo "Usage: ${0##*/} application [parameters ...]
Launches a windowed session in Chromium OS for any graphical application." 1>&2
exit 2
elif [ "$1" = '/' ]; then
shift 1
Expand Down
5 changes: 5 additions & 0 deletions targets/xiwi
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,11 @@ TIPS="$TIPS"'
You can open your running chroot desktops by clicking on the extension icon.
Once in a crouton window, press fullscreen or the "switch window" key to switch
back to Chromium OS.
You can launch individual apps in crouton windows by using the "xiwi" command
in the chroot shell. Wrap that command with enter-chroot to launch directly
from the host shell. Use the enter-chroot parameter -b to run in the background.
Example: sudo enter-chroot -b xiwi xterm
'

### append x11-common

0 comments on commit 77df2b3

Please sign in to comment.