LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2015, 03:46 AM   #1
sauravsarkar
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Rep: Reputation: Disabled
Want To Register Images For Desktop Icons In Debian Linux


Hi, I downloaded one torrent software and by the torrent software programmer i unziped the tar.bz2 to a folder and ran the program software.

Now i created a desktop icon by right clicking on the desktop and selecting "create launcher" option, then i gave all the details to create the launcher and it is working properly.

The launcher which is created it has a default icon.

Now i want to change the launcher icon to the torrent software program icon.

I used "vi full_launcher_filename" command in terminal window and changed the icon name to different names and found that it is taking only the registered icons from a default directory even i made a copy of one of the registered icon and changed the filename and it is not taking.

So it is proved that only the registered icons in debian linux will work.

So my question is how to register an image file as an icon file.
 
Old 09-25-2015, 07:55 AM   #2
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
...that's not how you install software.

Most Linux distributions distribute software in packages. https://en.wikipedia.org/wiki/Package_format

On Debian, you can use Synaptics (a graphical program) or apt-get (command line).

What program are you using?
 
Old 09-25-2015, 01:26 PM   #3
sauravsarkar
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
I downloaded Vuze bit-torrent client tar.bz2 file.

After untaring or extracting in a folder i found one readme file where it is written i can just run the program azureus and do not have to install.

As the program is working or running, so i want a desktop shortcut.

I did it by right clicking on the desktop and selecting "create launcher" option.

Then i choose "location" as type and given a name for the shortcut and in command field i gave the path of the program file by clicking on browse command.

The shortcut link created with a debian linux default icon.

The shortcut link is absolutely working properly.

Now i want to change the default icon to vuze program icon.

I found that the default icons are in /usr/share/icons/hicolor/scalable/apps folder, where .svg files are located.

I confirmed the folder by renaming the files and tested with the shortcut link.

I found that only the registered filenames are working as icons.
 
Old 09-25-2015, 01:54 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by sauravsarkar View Post
I found that only the registered filenames are working as icons.
What do you mean? Registered with what/whom?

Can't you right click on your launcher and use the menu system to change the icon to whatever image file you want? You never told us what DE you're using, but I do that all the time on xfce. I have my own directory in /usr/share/icons/custom where I stick my pngs to use as launcher icons.
 
1 members found this post helpful.
Old 09-25-2015, 02:05 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
The OLD program "vuze" might not be in the debian repos


but Deluge ( aka azureus aka vuze ) is in the repos
along with Ktorrent ,qbittorent,rtorrent , transmition

no need to grab a random tarbal

-- you DID!!!! get it from the official web site ???? RIGHT!!!!!!

if not..........

please install rkhunter and ClamAV and scan your now likely infected system

linux WILL!!!! run viruses if YOU!!!! install them



as to the icon

did you not see the "vuze.desktop" launcher in the tarbal!!!!!
copy that to/usr/share/applacations
then edit the *.desktop file to POINT the icon to the vuze.png ( i put them in /usr/share/pixmaps/)

Last edited by John VV; 09-25-2015 at 02:07 PM.
 
Old 09-25-2015, 02:35 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
for the love of Pete:
and there's an icon in the archive called vuze.png

Code:
jj@my-kungfu ~/Downloads/vuze $ cat vuze.desktop 
[Desktop Entry]
Encoding=UTF-8
Categories=Java;Network;FileTransfer;P2P
Comment=Multimedia Bittorrent Client 
Exec=vuze %f
GenericName=Multimedia Bittorrent Client
Icon=vuze.png
MimeType=application/x-bittorrent
Name=Vuze
Type=Application

Last edited by Habitual; 11-10-2015 at 12:06 PM.
 
Old 09-25-2015, 02:36 PM   #7
sauravsarkar
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks suicidaleggroll, actually i thought it was just a style or look because icon is not written under that command button.

Actually i tried with "vi full_filename" command and changing the icon names and found that only the default icons can be changed so i thought images should be given an unique ids as an icon file or registered as an icon file.

I am using Debian Mate Linux 8.1.0.

Because it has a very simple look.

And John VV, when i have to download a bittorrent client or an upgraded version of given torrent clients in the linux package, i downloaded the available, maybe the latest version of VUZE bit-torrent client for linux because i like this bit-torrent client.
 
Old 09-26-2015, 01:44 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:

Actually i tried with "vi full_filename" command and changing the icon names and found that only the default icons can be changed so i thought images should be given an unique ids as an icon file or registered as an icon file.



what did 3 people just say !

there is and never was anything called "registered"

unless you KNOW the keyboard commands for VI , do not use it
-- VI is a great tool but rather VERY DIFFICULT for new to linux users to use

you have a desktop manager installed
use the default text editor
gedit for Gnome

as in
open the vuze.desktop file with gedit ( but there really is NO NEED to edit it )


this is how i install the "vuze.desktop" launcher on my install of Debian8
Code:
su -

cd /to/the/location/of/the/vuze/folder

cp vuze.desktop /usr/share/applacations
cp vuze.png /usr/share/pixmaps
NOW
there is NO EDITING NEEDED!!!!
the vuze.png is in a location that the desktop file can find

and you will have the launcher IN YOUR MENU!!!!! on the Gnome desktop

Last edited by John VV; 09-26-2015 at 01:46 PM.
 
  


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
Possible to delete default icons on Debian GNOME desktop? Jinouchi Linux - Newbie 3 10-16-2011 08:10 PM
how to create and remove desktop icons or icons from shell scripts? kkpal Linux - Newbie 7 09-01-2008 10:04 AM
New Debian Linux Community Website and Register yourself sridhar11 Linux - News 9 10-06-2006 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 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