LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2016, 01:50 PM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
I found the Windows logo being used to identify a Linux kernel! Is this normal?


I'm teaching a friend to use Linux (she loves it so far). Yesterday we discussed how computers boot and I showed her the contents of the /boot directory. This was in AntiX using the rox file manager. I was shocked to see that the Windows logo was the icon used for the kernel. Has anyone else ever seen this?

ps I've just looked with pcmanfm in Debian, and that uses a violet diamond with gear wheels inside it.
 
Old 12-03-2016, 01:57 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,142
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
I'll wait for Anti to reply since he builds the kernels. But I see what you mean <but not concerned about it on my end>

http://postmyimage.com/img2/205_screeny.jpg

Edit. Are you using rox file manager in Debian. Just wondering if thumbnails in rox file manager is the reason for the kernel image being a windows logo?

Because. If you had used SpaceFM file manager instead to show /boot folder. This is what you would have seen.

http://postmyimage.com/img2/315_screenshot1.jpg

Last edited by rokytnji; 12-03-2016 at 02:04 PM.
 
Old 12-03-2016, 02:20 PM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Just installed rox in Debian and it uses the standard "binary file" icon for both the kernel and the initrd. The Windows logo seems to be an AntiX thing.

You might not mind seeing the Linux kernel labelled as Windows software but I find it creepy.
 
Old 12-03-2016, 02:32 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,142
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Do you have

Code:
$ apt-cache policy tumbler
tumbler:
  Installed: (none)
  Candidate: 0.1.30-1+b1
  Version table:
     0.1.30-1+b1 0
        500 http://ftp.gr.debian.org/debian/ jessie/main i386 Packages
installed in Debian? As you can see. I do not in AntiX.

Quote:
You might not mind seeing the Linux kernel labelled as Windows software but I find it creepy
Fair enough. I would not put so much weight into a thumbnail as calling it a label.
But to each their own.
 
Old 12-03-2016, 04:35 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
I'm teaching a friend to use Linux (she loves it so far).
Congrads,glad to hear it.
 
Old 12-03-2016, 05:04 PM   #6
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631

Rep: Reputation: 190Reputation: 190
nothing sinister. Just change the rox icon theme

Last edited by anticapitalista; 12-03-2016 at 05:05 PM.
 
1 members found this post helpful.
Old 12-03-2016, 11:47 PM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,129
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I would think the file manager isn't really aware that the file is a kernel. It just sees a file without an known extention, and is trying to guess the file type.
 
1 members found this post helpful.
Old 12-04-2016, 02:57 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by replica9000 View Post
I would think the file manager isn't really aware that the file is a kernel. It just sees a file without an known extension, and is trying to guess the file type.
But file knows it's a kernel so it must be in the magic numbers database. Don't file managers use magic numbers to identify files?

Last edited by hazel; 12-04-2016 at 03:01 AM.
 
Old 12-04-2016, 06:42 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
But file knows it's a kernel so it must be in the magic numbers database. Don't file managers use magic numbers to identify files?
Easy test. change the file extension temporarily in the file manager and do a refresh.
See if the icon for the type changes.
 
Old 12-04-2016, 11:51 AM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Apparently that Windows logo stands for "dos executable". It comes from a theme called Faenza-Cupertino. Why rox thinks a Linux kernel is a dos executable I have no idea, but the cure turns out to be easy. Rox gives you a "change icon" option in the contextual menu for a file. On my AntiX system (oldboy upstairs) I changed the icon to the gear wheel for a Linux executable.

I could do the same for Michelle but I probably won't bother because that logo isn't going to bother her. She's a complete computer virgin and probably doesn't even know what that pesky flying window represents.

btw that's not the only weird association that rox makes. For example the grub modules seem to be taken for audio files; their icon is a pair of bright blue quavers. In that case it's definitely the filename suffix that's being read and not any kind of magic number. Grub modules have the suffix .mod and, according to Wikipedia, there's a music format called MOD.
 
Old 12-04-2016, 05:14 PM   #11
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631

Rep: Reputation: 190Reputation: 190
Not only rox, but spacefm as well (on antiX-full). The plot thickens ...
 
Old 12-04-2016, 06:51 PM   #12
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,129
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I use Dolphin, which shows a gear with a DOS label.
 
Old 12-07-2016, 07:19 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The kernel file starts with the magic number MZ which is precisely used by DOS executables.

This issue has already been reported, see https://bugs.debian.org/cgi-bin/bugr...cgi?bug=680175 but being only cosmetic, might stay uncorrected for a long time, if ever...
 
2 members found this post helpful.
Old 12-08-2016, 01:02 AM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611

Original Poster
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Now that's what I call a solution! I solved the problem in practice but you've explained how it arose. Well done!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux kernel logo Sujathapm Linux - Newbie 1 07-27-2013 06:24 PM
LXer: The Linux 3.1 Kernel May Have A New Logo LXer Syndicated Linux News 0 09-11-2011 10:41 PM
help to identify a logo devbro General 2 03-22-2007 09:29 AM
How to get Linux identify windows partition? vikas Linux - General 3 07-27-2006 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration