You are not logged in.
Pages: 1
Kind of a weird and non important question but here goes.
Why the mirrorlist file is of type text/x-matlab????
Offline
I'm not getting this when I open up the Properties from right-click in Cinnamon or MATE.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
$ file /etc/pacman.d/mirrorlist
/etc/pacman.d/mirrorlist: ASCII text
$ file --mime-type /etc/pacman.d/mirrorlist
/etc/pacman.d/mirrorlist: text/plain
But I don't use the default. Where do you get the data that it is that type?
EDIT: I just re-extracted the default mirrorlist from the pacman-mirrorlist package, and I get the same results as I just posted for my generated one.
Of course I also don't have matlab installed, so maybe matlab registers something as it's 'type'.
Last edited by Trilby (2014-06-02 21:01:41)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
When I look at "properties" via thunar it shows as "Kind: MATLAB script/function"...
EDIT:
empty@Arch ~ % pacman -Q matlab
error: package 'matlab' was not found
1 empty@Arch ~ % pacman -Ss matlab :(
community/sage-mathematics 6.2-2
Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab
Last edited by Head_on_a_Stick (2014-06-02 21:26:24)
Offline
@ 89c51, I assume that you are using
mimetype
, part of the perl-file-mimeinfo package.
I can confirm that it shows a similar output in my case. But
file
shows it as "ASCII text".
Offline
I get this when from Right Click>File Properties in Enlightenment File manager. In the file type field. It uses mimetype probably.
It was just weird. I have nothing matlab related on the computer.
I was expecting it to be text/plain or something.
Offline
$ mimetype -a /etxc/pacman.d/mirrorlist
mirrorlist: text/x-matlab
mirrorlist: text/plain
$
$ mimetype -D /etc/pacman.d/mirrorlist
> Data dirs are: /home/panoramix/.local/share, /usr/local/share, /usr/share
> Checking inode type
> Checking globs for basename 'mirrorlist'
> Value "##" at offset 2 matches at /usr/share/mime/magic line 1449
/etc/pacman.d/mirrorlist: text/x-matlab
$
Looks like the starting ## causes this.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Looks like the starting ## causes this.
Wow, thanks. I didn't know about the -D flag.
Indeed, it's the double hash sign which causes mime and probably the other GUI filemanagers as well, to recognise the file as
text/x-matlab
If I change the double hash to a single hash, I get
$ mimetype /etc/pacman.d/mirrorlist
/etc/pacman.d/mirrorlist: text/plain
Offline
Pages: 1