LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 Images
File Type: png usbiconquestion3.png (58.8 KB, 18 views)
 
Old 01-28-2010, 12:29 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,656

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
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration