Re: Funny action on opening a pdf document
[Theodore Kilgore, 2013-01-19] OK. I can not do any more of this on the machine which is in the workplace right now, but I tried it at home on my Raspberry Pi which was having the same problem. It seems to fix the problem well enough. great Some observations, both for you who apparently are connected with xdg-open and for the MC people: I'm just a xdg-open user 1. The RPI is a little machine, with minimal resources. It is not expected to deal with mail, so there was no .mailcap file. No mail programs, not even client programs, and so nothing related was installed, either. Hence, the only way that was reasonable for creating a .mailcap file was to copy one over there. For similar reasons, there was no /etc/mime.types, either, and no .mime.types file in my user directory. On Debian, it is provided by mime-support package which is Priority: standard so you have to do some work to... not have this files installed by default. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 signature.asc Description: Digital signature ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Funny action on opening a pdf document
[Theodore Kilgore, 2013-01-18] xdg-open opens a file or URL in the user's preferred application explicitly mentioning a file or a url and then it says If a file is provided the file will be opened in the preferred application for files of that type. These words would indicate that it is going to open a file by doing something to the file, not by doing the extraneous act of starting a web browser. do you have something like: application/pdf;xpdf '%s'; prioryty=1; test=test -n $DISPLAY in ~/.mailcap or /etc/mailcap? If not, can you add it to ~/.mailcap and check xdg-open again? You can also add to ~/.mime.types: application/pdf pdf if /etc/mime.types doesn't have it. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Funny action on opening a pdf document
[Theodore Kilgore, 2013-01-18] On Fri, 18 Jan 2013, Piotr Ozarowski wrote: [Theodore Kilgore, 2013-01-18] xdg-open opens a file or URL in the user's preferred application explicitly mentioning a file or a url and then it says If a file is provided the file will be opened in the preferred application for files of that type. These words would indicate that it is going to open a file by doing something to the file, not by doing the extraneous act of starting a web browser. do you have something like: application/pdf;xpdf '%s'; prioryty=1; test=test -n $DISPLAY in ~/.mailcap or /etc/mailcap? No I did not. If not, can you add it to ~/.mailcap and check xdg-open again? You can also add to ~/.mime.types: I have no such file create it then application/pdf pdf (didn't try adding any .mime.types file. Are you sure it isn't xpdf at the end?) yes, I'm sure (it will let xdg-open know that *.pdf files have application/pdf mime type and later it will choose the right app from ~/.mailcap) if /etc/mime.types doesn't have it. No such file in /etc, either. so that's why xdg-open tries to open this file in a browser The man page says it has something to do with cups. nothing to do with CUPS, see http://en.wikipedia.org/wiki/Mailcap No help from adding the line to .mailcap. echo 'application/pdf pdf' ~/.mime.types -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Unity redefines F10
[Theodore Kilgore, 2011-04-30] One of the reasons the don't bother about keeping the mc keys is that they do not put mc in the distro. Why I have no idea as it is the first thing I have to add. Well, AFAIR the same could be said about several distros, starting with Debian (which might account for mc being missing in the default Ubuntu install) and, I think, Red Hat as well. Why? I have no idea, either. yeah, I don't understand why they all do not include mc even in the = 200 MiB installations. The system is not usable without mc after all. They also should include my favourite $FOO application! What? Other 10 million users didn't even hear about $FOO? Well, that's their problem. I want my $FOO in default installation because I'm too lazy to prepare preseed file, put it somewhere on the web and later start the installer with url=http://mysever/debian_installer_preseed; as it requires even more work than apt-get install mc after the installation. Distro bastards! -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: MC for debian-lenny
[Yury V. Zaytsev, 2009-12-30] On Wed, 2009-12-30 at 19:17 +0100, Klaus Jantzen wrote: when installing the MC 2:4.6.2 the doc file jdk-6u12-docs.zip is requested. The only file that can be downloaded from the Sun download center is ...-6u10-... Where do I get the obviously newer version if not from Sun? This package was probably selected for installation because you've chosen to install suggested packages. mc does not require java per se, so you don't have to install it. jdk-6u12-docs.zip is not shipped in Debian packages. Klaus is most probably not using mc from Debian package anyway (like most people who complain about Debian on this list - Debian users report problems in Debian Bug Tracking System (via reportbug), they do not bother upstreams directly. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: redefind meta key in midnightcommander
i'm a Ubuntu user (yes, gnome desktop distribution). Ubuntu has GNOME as default desktop, yes, but it also contains KDE, XFCE or whatever else you want (and is available in Debian). You don't even have to install KUbuntu to have KDE, just install kde package. so now is the question, how to make the auto completion in mc really work ? i don't want to change the window manager's alt+tab behavior, is it possible to redefine the hot key for bash completion in mc ? say, control+tab for bash completion. try: Esc + tab, I guess it's not possible to redefine these keys without recompilation. -- -=[ Piotr Ozarowski ]=- -=[ http://www.ozarowski.pl ]=- pgppfkCmZMAFS.pgp Description: PGP signature ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc