Re: mplayer keyboard control
On 8/31/16, benoit felixwrote: > Hiya > I managed to make mplayer the default video player in mc. It is all fine but > the keyboard control does not work anymore (eg. pause, stop, etc). How exactly are you launching mplayer? How did you configure mc to use it? And do you want it to run in the foreground (stopping mc) or in the background (detached from mc)? (BTW, you do know there's 'mpv' nowadays, right?) ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: mplayer keyboard control
mplayer must be running in the foreground in order to receive your keyboard events. I've found the best way to use mc for music control is to modify your menu file (F9 -> Command -> Edit menu file) and add entries with slave commands for xmms/deadbeef/whatever running elsewhere. eg: =+ t r & t t Q Enqueue tagged files in MP3 Player deadbeef --queue %t set %u It's also possible to get your window manager to intercept certain key combos and send commands to your audio player. The technique varies from one wm to another. On 2016-08-31 06:46, benoit felix wrote: Hiya I managed to make mplayer the default video player in mc. It is all fine but the keyboard control does not work anymore (eg. pause, stop, etc). I initially thought that I would have to put some prefix key like Esc-Tab for the autocompletion in the mc command line but nope. How to tell mc to not intercept keybindings send to running applications like mplayer? Best ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc -- Peace and Cheer ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: view .gnumeric files in mc (in console)
On 8/31/16, Mooffiewrote: > On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> >> when run on the commandline, ssconvert needs output file > > The manual page for ssconvert says you can use fd://1 for standard > output. Use this as the output file. BTW, most systems support the /dev/fd/# pseudo files. So even if the software doesn't have special support for stdout, you can always use /dev/fd/1. http://www.informit.com/articles/article.aspx?p=99706=15 ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: view .gnumeric files in mc (in console)
On 8/31/16, Fourhundred Thecat <400the...@gmx.ch> wrote: >> On 2016-08-31 10:51, Slava Zanko wrote: >> >> Hi Fourhundred, >> >> Try to use this: >> >> View=%view{ascii} ssconvert %f || xls2csv %f || strings %f >> > > that obviously cannot work > > when run on the commandline, ssconvert needs output file The manual page for ssconvert says you can use fd://1 for standard output. Use this as the output file. ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: view .gnumeric files in mc (in console)
Try it: View=%view{ascii} (TMP_FILE=${MC_TMPDIR}/view.; ssconvert --recalc "%f" -T Gnumeric_stf:stf_assistant ${TMP_FILE} && cat ${TMP_FILE} && rm ${TMP_FILE}) || xls2csv %f || strings %f >> On 2016-08-31 10:51, Slava Zanko wrote: >> >> Hi Fourhundred, >> >> Try to use this: >> >> View=%view{ascii} ssconvert %f || xls2csv %f || strings %f >> > > that obviously cannot work > > when run on the commandline, ssconvert needs output file, and possibly > also --export-type. The following command works for me: > > ssconvert --export-type=Gnumeric_stf:stf_assistant zzz.gnumeric zzz.txt > > The question is, how to make it work inside mc? > I don't want the output to go to a file. I want to view it in mc. > ___ > mc mailing list > https://mail.gnome.org/mailman/listinfo/mc > signature.asc Description: OpenPGP digital signature ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
mplayer keyboard control
Hiya I managed to make mplayer the default video player in mc. It is all fine but the keyboard control does not work anymore (eg. pause, stop, etc). I initially thought that I would have to put some prefix key like Esc-Tab for the autocompletion in the mc command line but nope. How to tell mc to not intercept keybindings send to running applications like mplayer? Best ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: view .gnumeric files in mc (in console)
> On 2016-08-31 10:51, Slava Zanko wrote: > > Hi Fourhundred, > > Try to use this: > > View=%view{ascii} ssconvert %f || xls2csv %f || strings %f > that obviously cannot work when run on the commandline, ssconvert needs output file, and possibly also --export-type. The following command works for me: ssconvert --export-type=Gnumeric_stf:stf_assistant zzz.gnumeric zzz.txt The question is, how to make it work inside mc? I don't want the output to go to a file. I want to view it in mc. ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: view .gnumeric files in mc (in console)
Hi Fourhundred, Try to use this: View=%view{ascii} ssconvert %f || xls2csv %f || strings %f > Hello, > > has anybody figured out, how to view gnumeric files in mc (in > console/text mode)? > > I am aware that this can be configured in /etc/mc/mc.ext, and I see > there is already section for excel files: > > type/^Microsoft\ Excel > Edit=true > Open=(gnumeric %f >/dev/null 2>&1 &) > View=%view{ascii} xls2csv %f || strings %f > > Gnumeric has a utility ssconvert for converting into other formats. Can > I use it similarly as xls2csv in the example above? > ___ > mc mailing list > https://mail.gnome.org/mailman/listinfo/mc > signature.asc Description: OpenPGP digital signature ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
view .gnumeric files in mc (in console)
Hello, has anybody figured out, how to view gnumeric files in mc (in console/text mode)? I am aware that this can be configured in /etc/mc/mc.ext, and I see there is already section for excel files: type/^Microsoft\ Excel Edit=true Open=(gnumeric %f >/dev/null 2>&1 &) View=%view{ascii} xls2csv %f || strings %f Gnumeric has a utility ssconvert for converting into other formats. Can I use it similarly as xls2csv in the example above? ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc