Idan | Hey all. | 12:15 |
---|---|---|
pihhan | hello | 12:29 |
pihhan | is there support for mmc/SD driver for correct behaviour? | 12:30 |
pihhan | after sleep, it does weird things, unless i manually remove it | 12:31 |
pihhan | anyone is present? | 15:06 |
pihhan | what topics is this room for? | 15:06 |
Coggz | anyone about? | 15:33 |
repley | hi all | 15:34 |
Coggz | hi | 15:34 |
Coggz | can you add stuff to the laptop pages? | 15:34 |
repley | i'm a newbie user, not op | 15:35 |
repley | i am here to begging an answer ;) | 15:36 |
Coggz | go on, | 15:36 |
repley | is there an alternative of 'file -i /example/path' to know the mime-type of a file? | 15:37 |
Coggz | !file | 15:37 |
repley | With 'file -i ./favicon.ico' (for example try: 'wget http://www.ubuntu-it.org/favicon.ico; file -i ./favicon.ico') i obtain: 'application/octet-stream' instead of 'image/x-icon' (or 'image/x-ico'. I don't know which is right, nautilus show ''image/x-ico', but in my unmodified '/etc/mime.types' i have: 'image/x-icon ico' | 15:38 |
Coggz | no idea, sorry | 15:38 |
repley | no problem, thank you | 15:38 |
Coggz | why do you need to know? for ico | 15:38 |
repley | 'application/octet-stream' for an .ico file is right? i think no | 15:39 |
pihhan | repley: no, that means file utility did not found it is ico file | 15:40 |
pihhan | repley: ico file does not have good header to recognize format it seems | 15:41 |
repley | but nautilus show me the right mime-type in the properties tab | 15:42 |
Coggz | maybe it is built in | 15:42 |
Coggz | anybody know how to do acer hotkeys here? | 15:42 |
pihhan | because nautilus falls back to suffix recognition | 15:42 |
pihhan | it does know ico file because it have got .ico suffix. Try rename it and see if it does still recognize it | 15:43 |
pihhan | file utility is low level utility, it should not return mime-type based on filename | 15:44 |
pihhan | Coggz: what hotkeys are you missing? | 15:44 |
repley | if i rename a bash-script with *.ico nautilus show the right mime-type: application/x-shellscript | 15:44 |
Coggz | volume, wifi/bluetooth P1, P2, Mail and web(planet) | 15:46 |
repley | pihhan: yes, is a low level utility, but the favicon.ico file is in my filesytem, 'file' can open and check it, but fail | 15:46 |
pihhan | repley: ico file does not have good format to check what type of file it is, it is like generic data, and file does report it looks like generic data | 15:48 |
repley | pihhan: i understand. thank you | 15:49 |
pihhan | repley: i tested it on random file from windows, it guessed it as MPEG sequence :) | 15:55 |
repley | pihhan: ahahahha :) *.ico is a bad beast! | 15:56 |
=== luke__ is now known as Coggz^ | ||
=== Coggz^ is now known as Coggz | ||
=== luke__ is now known as Coggz^^ | ||
=== Coggz^^ is now known as Coggz^ | ||
=== luke__ is now known as Coggz | ||
=== StFS__ is now known as StFS | ||
=== lakin_ is now known as lakin | ||
=== StFS__ is now known as StFS |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!