LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2003, 11:02 PM   #1
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
how to replace cursor image in XFree86


Does anyone know how to get cursor sets and how to replace the cursor images in Xfree86? I installed Knoppix to my hard drive and upgraded to Debian unstable. Knoppix has a cursor shadow that I can't get rid of. It appears in all window managers because it is part of Xfree86. I searched knoppix forums (that is how I found out it is part of XFree), but there is no description of how to replace the cursor set. If anyone could point me in the right direction, that would be great.
 
Old 09-13-2003, 08:28 AM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
cursor?? You mean the pointing arrow? I don't think that X is it...it shoud be a product of your DE. Which Desktop Environment are you using?

I would think that would be the place to start. X is a server where a GUI can ride atop. the DE/WM actually handles the look/feel of the GUI enviro. There may be a way to change it from a config menu.
 
Old 09-13-2003, 08:56 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it IS done at X level, not window manager level, and is really easy to do. there are some X11 mouse themes here: http://kdelook.org/index.php?xconten...3eabb96b715fac it looks KDE specific, but it is not.
 
Old 09-13-2003, 09:14 AM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
it IS done at X level, not window manager level,
Well there you go. I really would have thought that the cursor would be handled by the DE...hmmmm. Oh well at least the orig poster got his answer
 
Old 09-13-2003, 09:29 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well yeah it's a logical assumption really. but it was fixed until XFree86b 4.3.0 when you got two extra default themes, redglass and whiteglass which you can easily add.
 
Old 09-13-2003, 04:08 PM   #6
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Original Poster
Rep: Reputation: 63
Thanks for the help. I have it working now. I actually figured it out after some more googling. I am running Xfree86 version 4.3.0. Here is the description of how to do it for anyone else with the same problem (taken from Xcursors howto):


First, locate where your redglass and whiteglass themes are installed.
In the same directory, you'll find a directory called “default” which should contain a “index.theme” file and a “cursors” directory

Edit the index.theme file, and replace whatever theme it's using by your own theme's name. For example:

[Icon Theme]
Inherits=my_theme

Create a new directory with this name (my_theme), and create a new “cursors” subdirectory there. Just copy all the cursors into this new directory, and the installation has finished.
 
Old 11-09-2003, 12:02 AM   #7
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Afraid this no longer works in suse 9.0. Guess I'll have to keep looking.
 
Old 11-09-2003, 01:23 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 69
Quote:
Originally posted by m_yates
Thanks for the help. I have it working now. I actually figured it out after some more googling. I am running Xfree86 version 4.3.0. Here is the description of how to do it for anyone else with the same problem (taken from Xcursors howto):


First, locate where your redglass and whiteglass themes are installed.
In the same directory, you'll find a directory called “default” which should contain a “index.theme” file and a “cursors” directory

Edit the index.theme file, and replace whatever theme it's using by your own theme's name. For example:

[Icon Theme]
Inherits=my_theme

Create a new directory with this name (my_theme), and create a new “cursors” subdirectory there. Just copy all the cursors into this new directory, and the installation has finished.
Even easier the Debian method:
Code:
HappyTux:/home/stephen# update-alternatives --config x-cursor-theme

There are 4 alternatives which provide `x-cursor-theme'.

  Selection    Alternative
-----------------------------------------------
 +    1        /etc/X11/cursors/core.theme
      2        /etc/X11/cursors/redglass.theme
*     3        /etc/X11/cursors/whiteglass.theme
      4        /etc/X11/cursors/handhelds.theme

Press enter to keep the default[*], or type selection number:
With this you would put the cursor theme in the proper directory and not break the configuration tools at your disposal.
 
Old 11-09-2003, 01:35 AM   #9
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Wish it were that easy. There is no /etc/X11/cursors in suse. The ones from kde-look no longer work, and editing index.themes creates a cursor that only shows in the log in screen.
 
Old 11-10-2003, 10:51 AM   #10
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Original Poster
Rep: Reputation: 63
I think the themes are for XFree86 4.3 and any distribution that has version 4.3 should work unless Suse has done something strange to it. I don't use Suse, but I have used themes on Debian and Mandrake, both running Xfree86 4.3, and they have worked. Version 4.3 comes with default themes called whiteglass and redglass that are located in the same directory as the "default" directory that tells Xfree what theme to use. In Debian, it is found in /usr/X11R6/lib/X11/icons/, but it may be a different location in suse. Try searching for redglass or whiteglass to find the location, or try seraching for the index.theme file that tells Xfree what theme to use. If you place the theme directory in the correct location and edit "index.theme" to use the new theme, it should work.
 
Old 11-10-2003, 03:14 PM   #11
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Suse 9.0 also uses XFree86 4.3. As i posted elsewhere, the fix can be found in yast->system->sysconfig editor->desktop->xcursor. You need another cursor set in /usr/X11R6/lib/X11/icons to point to. It should be possible to edit /etc/sysconfig, but I havn't looked yet.

Three cursor sets are installed but kde control panel cursor selection has never worked, that I know of.
 
  


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
Replace xorg with xfree86 on LE 2005 paull2k1 Mandriva 7 07-10-2005 07:03 PM
replace 'xfree86' by 'xorg' in your xorg config file dindoung Linux - Newbie 2 02-26-2005 05:43 AM
how to replace XFree86? greythorne SUSE / openSUSE 4 11-09-2004 12:47 AM
cursor causes discoloration of pixels in xfree86 ooagentbender Linux - Software 1 07-15-2004 08:44 AM
How do I change the cursor in the new XFree86? gbrad Linux - General 3 03-04-2003 01:00 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration