/dev/video0 permission denied only within tmux

2013-06-05 Thread biinn
Hi, When running an application from a non-root account to open the webcam within a tmux session, I got "Cannot open '/dev/video0': 13, Permission denied" error. But I don't have the error if run the app from outside of tmux. Does anyone have a clue what could be wrong? Thanks, -Bin. ---

Re: Kill all windows in session but one...

2011-08-09 Thread biinn
On Tue, Aug 9, 2011 at 11:23 AM, Richard Foley wrote: > Vim has an even more (imho) cool function than that which would be even more > (imho) cool to implement.  That is if, in Vim, you have a number of buffers > open at the same time, (eg; your window is split into several panes, > horizontally a

Re: tmux command hangs in shell script

2011-05-18 Thread biinn
1? On Wed, May 18, 2011 at 4:11 PM, biinn wrote: > Hi, > > I am using a shell script (fstmux) similar to below to toggle a pane to > full screen. > > #!/bin/bash > tmux joinp -s0.0 || tmux breakp \; movew -t0 > > and in ~/.tmux.conf: > # toggle pane to full scree

tmux command hangs in shell script

2011-05-18 Thread biinn
Hi, I am using a shell script (fstmux) similar to below to toggle a pane to full screen. #!/bin/bash tmux joinp -s0.0 || tmux breakp \; movew -t0 and in ~/.tmux.conf: # toggle pane to full screen bind-key f run-shell fstmux # window 0 is reserved for full screen pane set-option -g base-index 1

howto swap pane focus

2010-11-01 Thread biinn
how easily can I change the focus to the previously focused pane in the same window? I have more than 6 panes opened in the same window, but most of the time I need to swap the focus between two of them. I dont see a command which can query the pane ID previously focused. Thanks. --