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 - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-27-2010, 11:54 PM   #1
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
pimp usb sticks


is there anyway to put a custom icon on my usb sticks?
is it just a matter of adding the correct sized .ico file to the usb stick?
excuse my crude drawing in the cut out the usb stick shows the small icon.

assuming every1 all ready knows the windows method of adding the sized .ico file and the autorun.inf calling up the image
assuming in my case mandriva must us .ico files ? (or does linux not care for extenstions at all)
any chance of telling me the sizes of the images ?
Attached Thumbnails
Click image for larger version

Name:	usbiconquestion3.png
Views:	32
Size:	58.8 KB
ID:	2585  
 
Old 01-28-2010, 12:29 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I don't know if that's possible in Linux, and Linux does not use .ico files. Instead it uses more general image formats, usually .png or .svg. Note that SVG is actually a vector vormat, while PNG (and .ico) is raster.
 
Old 01-28-2010, 12:38 PM   #3
carbonfiber
Member
 
Registered: Sep 2009
Location: Sparta
Posts: 237

Rep: Reputation: 46
This most likely depends on the actual application that is supposed to display said icon. If I'm in a terminal and manually mounting the pimped USB stick - where is the icon supposed to be displayed? What if I'm using OpenBox, or dwm? Or FVWM?
 
Old 01-28-2010, 12:40 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by mecelec415 View Post
is there anyway to put a custom icon on my usb sticks?
No idea.

Quote:
is it just a matter of adding the correct sized .ico file to the usb stick?
excuse my crude drawing in the cut out the usb stick shows the small icon.

assuming every1 all ready knows the windows method of adding the sized .ico file and the autorun.inf calling up the image
assuming in my case mandriva must us .ico files ? (or does linux not care for extenstions at all)
any chance of telling me the sizes of the images ?
Linux has nothing to do with this. It's your desktop environment which does that. In your case, it's KDE. Whether that functionality is available or not will depend *entirely* on whether KDE is capable of doing that or not. If KDE can't, then maybe Gnome can, or maybe XFCE can. I have no idea about all this eye candy stuff. I only posted to show you what direction should you be looking at.

About .ico files, they are just a type of image. Many Linux applications can view ico images. I have no idea if any linux desktop can use them to display icons. Traditional image formats for icons in linux are xpm, png and svg.

About extensions. Linux itself do not care about extensions, but about what we call the magic number.

http://linux.die.net/man/5/magic

Files are often recognized by their contents, and not their names. But, of course, the last word is always in the hands of the programmer. If a silly programmer will program his application in a way that it will refuse to open a jpeg file that is named as .gif then so be it. Linux can't do a thing to fix that.
 
Old 01-29-2010, 07:23 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You might use a udev rule to crate your icon and link though I have never done that myself...
 
Old 01-29-2010, 07:31 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
You mean like where the icon appears on desktop when you insert usb?

Just get any grml cd and edit and tell it to use your .ico .png, .jpg, etc
see there it is inside the iso?
http://multidistro.com/icon.png

you got a grml iso?

you want I'll upload the stuff on the iso, and you can download it?
maybe 1mb or somethin?
 
Old 01-29-2010, 07:33 AM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
heres the stuff on iso
http://multidistro.com/icon.zip
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Selling Slackware on usb sticks? vinegaroon Slackware 8 06-25-2009 12:02 PM
Debian server on usb sticks Matizek Linux - Hardware 4 08-17-2008 01:33 PM
SuSE 9.1: USB sticks won't hotplug bitpicker Linux - Distributions 26 10-10-2004 12:50 AM
USB memory sticks island_dude Linux - Hardware 1 01-20-2004 11:16 AM
Mounting different usb-sticks robertmarkbram Linux - Hardware 3 10-22-2003 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:10 PM.

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