LinuxQuestions.org
Help answer threads with 0 replies.
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 07-14-2009, 04:28 PM   #1
DetroitLibertyPenguin
Member
 
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Rep: Reputation: 17
Changin Icons in LXDE


I have a really old (about 11 years) PC originally equipped with Win98 with a Intel Celeron processor. Since switching to Linux, its always been faster than it was with windoze, but I've always been looking for faster and comprehensive.

After dozens of distros (only a few which I used as my day to day) and several years I feel like I'm falling in love with Debian running the LXDE desktop. Pretty, reasonably fast, and not a lot of crap I don't need. And has helped fall back in love with the command prompt and writing some easy scripts after almost a year on Xubuntu.

Anyway only a couple things specific to LXDE that I'm yet to figure out.

One, is there anyway to change the desktop icon for the home directory. By default its a house, fine, but its name MY DOCUMENTS. Gag me with a spoon! Holy Windows redirect Batman! If I could name it HOME I'd be fine (the directory itself is /home/jim). Everything I've read just says "no its build in the source" well how do I edit the source!

The other, which may be easier said than done as well is two fold. If I write new scripts to launch programs and place these on my desktop (i.e. desktop shortcuts) is there anyway to change this icon to anything other than a gear, whether it be a specified .ico, .png, .gif, whatever. Secondly is there anyway to add your own "shortcuts" in the LXDE (START) menu?
 
Old 07-14-2009, 09:42 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by DetroitLibertyPenguin View Post
Everything I've read just says "no its build in the source" well how do I edit the source!
With a text editor. I prefer vim, but you can use your favorite. In the pcmanfm source code, find the file src/desktop/desktop-window.c. Find this line (1842 in version 0.5.1)
Code:
fi->disp_name = g_strdup( _("My Documents") );
Change the "My Documents" to whatever you want. Execute the configure script, make, and as root make install. Restart LXDE.

Quote:
Originally Posted by DetroitLibertyPenguin View Post
...is there anyway to change this icon to anything other than a gear, whether it be a specified .ico, .png, .gif, whatever.
Edit your icon theme. pcmanfm follows the shared-mime-info and icon-theme specs from freedesktop.org. The gear (or something gearish) is the default icon for executables. Lots of documentation on the ARPANet about both specs and their implemenation. Google is a good place to start.

Quote:
Originally Posted by DetroitLibertyPenguin View Post
Secondly is there anyway to add your own "shortcuts" in the LXDE (START) menu?
http://wiki.lxde.org/en/Main_Menu. IMHO the LXDE wiki is far from complete, but its always a good place to start.
 
Old 07-14-2009, 09:50 PM   #3
DetroitLibertyPenguin
Member
 
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Original Poster
Rep: Reputation: 17
Holy Crap! I have never seen such a useful, thoughtful, quick response on any forum in a long time! (At the very least not since I stopped using Mandravia back in 2007.1)
 
Old 07-14-2009, 10:12 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by DetroitLibertyPenguin View Post
Holy Crap! I have never seen such a useful, thoughtful, quick response
Actually, five hours is pretty slow at LQ!
 
  


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
Bluetooth on LXDE DetroitLibertyPenguin Linux - Software 0 06-29-2009 04:36 PM
LXDE Alelinux Linux - Newbie 1 06-26-2009 03:55 PM
Best LXDE Distro? markw10 Linux - Distributions 6 05-09-2009 10:33 PM
How to install lxde michalng Debian 5 03-20-2009 11:54 AM
Lxde ronlau9 Linux - Software 0 08-04-2008 06:56 AM

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

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