Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 15:27
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Puppy *Default Cursor* theme question
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
anikin

Joined: 10 May 2012
Posts: 389

PostPosted: Thu 18 Apr 2013, 14:39    Post subject:  Puppy *Default Cursor* theme question  

Where does puppy store its default cursor theme?

Thank you in advance.

Last edited by anikin on Fri 19 Apr 2013, 07:10; edited 1 time in total
Back to top
View user's profile Send private message 
mill0001

Joined: 01 Feb 2007
Posts: 373
Location: "People's Republik of Kalifornia"

PostPosted: Thu 18 Apr 2013, 16:31    Post subject:  

Hi: you'll find them at

usr/local/lib/X11/themes and usr/local/lib/X11/pixmaps.

Have fun.
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 389

PostPosted: Fri 19 Apr 2013, 00:38    Post subject:  

Hi mill0001,

Unfortunately, I can't find them there. Perhaps, they get installed in those directories, but I need the default one.
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 389

PostPosted: Fri 19 Apr 2013, 05:17    Post subject:  

The closest I've come so far in my search is the following:
Quote:
4.3.2. What Themes Are Available by Default?

Unfortunately, Linux distributions vary considerably as to where they store the default cursor themes. If the documentation for your Linux distribution doesn't tell you where to find these themes, you can use a trick to find out where your particular distribution looks for cursor themes. Generally, the file you want to examine is /usr/X11R6/lib/X11/config/Imake.tmpl. Check to see if the file exists with the ls command:

# ls /usr/X11R6/lib/X11/config/Imake.tmpl

If the response is "No such file or directory," you might be able to find the file with the following command:

# locate Imake.tmpl

If this file does not exist on your system, you're going to have to find another way to locate where your distribution stores globally available cursor themes. A Google search or browsing online forums specific to your distribution are good places to start.

If this file does exist on your system, this command should help you determine the default locations where your distribution stores cursor themes:
Code View: Scroll / Show All

$ grep XcursorPath /usr/X11R6/lib/X11/config/Imake.tmpl
# ifndef XcursorPath
# define XcursorPath "~/.cursors:~/.icons:/usr/local/share/cursors/xorg-x11:/usr/
share/cursors/xorg-x11:/usr/share/pixmaps/xorg-x11"
#ifndef XcursorPath
# define XcursorPath Concat(~/.cursors:~/.icons:/usr/local/share/cursors/xorg-x11:/
usr/share/cursors/xorg-x11:/usr/share/pixmaps/xorg-x11:,IconDir)
XCURSORPATH = XcursorPath /* Xcursor cursors path */

The useful information is the first line that includes define XcursorPath. Notice that this particular distribution (Gentoo) defines the XcursorPath to search the following directories:

~/.cursors
~/.icons
/usr/local/share/cursors/xorg-x11
/usr/share/cursors/xorg-x11
/usr/share/pixmaps/xorg-x11

see more here:http://my.safaribooksonline.com/book/operating-systems-and-server-administration/linux/0596009119/related-to-x/linuxdeskhks-chp-4-sect-3

However, even this explanation as comprehensive as it seems to be, didn't help me find the default cursor theme in Puppy. Maybe, it's hidden somewhere in initrd?
Back to top
View user's profile Send private message 
Burunduk

Joined: 21 Aug 2011
Posts: 62

PostPosted: Fri 19 Apr 2013, 20:30    Post subject:  

The simple black & white cursor theme is actually a cursor font. The cursor.pcf file should be here: /usr/share/X11/fonts/misc/
or here: /usr/X11R7/lib/X11/fonts/misc/.

If you want, you can edit this file with the gbdfed editor and pcf-bdf converters: pcf2bdf and bfdtopcf. (Puppy already has the latter).
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 389

PostPosted: Sat 20 Apr 2013, 05:48    Post subject:  

Hi Burunduk,

Thank you very much for your explanation. It was an eye-opener.

I saw those .pcf fonts a thousand times and tripped on them while doing my search... And yes, I want to edit the default theme, instead of installing a new one. Basically I'm doing this to replace the black pointer with a white one and a couple more glyphs.

Did a quick search for gbdfed, found and installed it and here's how the default Puppy cursor looks from inside:
cursor_default.jpg
 Description   
 Filesize   97.65 KB
 Viewed   338 Time(s)

cursor_default.jpg

Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 20 Apr 2013, 08:32    Post subject: Gbdfed pet  

Dear guys,

Here is a pet for gbdfed that I made today. I tried compiling from source but got a weird getline error which I didn't really want to investigate, so I used the Lucid deb and reconfigured it. It has a menu entry under "Graphics". It works fine on my Lucid machine and should work in all recent 32-bit puppies. I UPX'd the binary to reduce its size.

With kind regards,
vovchik
gbdfed_1.5-1.pet
Description 
pet

 Download 
Filename  gbdfed_1.5-1.pet 
Filesize  169.12 KB 
Downloaded  97 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0491s ][ Queries: 12 (0.0037s) ][ GZIP on ]