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 Thu 02 Oct 2014, 00:45
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 Posts_count  
Author Message
anikin

Joined: 10 May 2012
Posts: 496

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.

Edited_time_total
Back to top
View user's profile Send_private_message 
mill0001

Joined: 01 Feb 2007
Posts: 375
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: 496

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: 496

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: 496

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   412 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  169 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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