LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-14-2003, 06:03 PM   #1
syscrash2k
LQ Newbie
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Enlightenment mouse cursor?


Hi,
I'm wondering how to make Enlightenment use my xfree cursor. The enlightenment default one looks like crap . Thanks!
/edit/
Got it. I used this script:
Quote:
#! /bin/sh
#
# A little bash script to add links for the Enlightenment default cusors
# to the 'standard'(?) names as used in the KDE Art X11 cursor themes
# for Xfree86 4.3 XCursor extension
#
# IMPORTANT
# ---------
# Use at your own risk; I take no responsibility as to the results.
# Released under BSD licence.
#
# USAGE
# -----
# download and install an X11 cursor theme.
# cd to the themes 'cursors' directory, run this script.
#
# Finding XFree86 4.3 Cursor Hashes
# ---------------------------------
# This is how I quickly found the cursor hashes- if I'm missing any (the
# Etheme I use may not use them all...) please add to this script.
# execute in a term:
# killall enlightenment
# XCURSOR_DISCOVER=true enlightenment >out.txt
# ...move mouse about, get all the cursors
# Ctrl-C
# enlightenment
# ...take a look at out.txt. You'll find two dumps & hashes/cursor.
# My limited understanding is that one is the mask (not replaced by XCursor)
# the other is the foreground bitmap- this is the hash that XCursor replaces
#
# How to make life easier with themes that include their own cursor definitions
# -----------------------------------------------------------------------------
# This is what I did- YMMV:
# cd ~/.enlightenment
# cd themes/<your favourite theme>
# ... take a look at cursors.cfg; should include cursors/cursors.cfg
# ... assuming this is true
# cd cursors
# mv cursors.cfg cursors.cfg-orig
# touch cursors.cfg
# ... theme should now use Enlightenments built in cursors.
# ... NB- restart X- using restart from Enlightenments menu doesn't clear
# ... all it's caches, or something.


#Cursor image name: 8192cb1ccc988a2b2a866ce8b080a082
#**
#* **
# * **
# ** **
# ** **
# * * **
# * * **
# ** * **
# ** * *
# * * * *
# * * * *
# ** * * *
# ** * * *
# * * * * *
# * * * *
# ** *
#Cursor hash 8192cb1ccc988a2b2a866ce8b080a082 returns 0x0
ln -s left_ptr 8192cb1ccc988a2b2a866ce8b080a082


#Cursor image name: bf1830a128000086a08103becb80207e
# *
# * *
# * **
# *** ***
# * * * *
# ** * * **
# * **** **** *
#* *
# ****** ******
# ** * * **
# * * * *
# *** ***
# * **
# * *
# *
#
#Cursor hash bf1830a128000086a08103becb80207e returns 0x0
ln -s fleur bf1830a128000086a08103becb80207e


#Cursor image name: 6040000080019ce48010d4555655d95e
#
#
# * *
# ** **
# * * * *
# * ****** *
# * *
#* * * * * * * *
# ** * * * * * *
# ** ******* *
# *** * *
# ** **
# * *
#
#
#
#Cursor hash 6040000080019ce48010d4555655d95e returns 0x0
ln -s h_double_arrow 6040000080019ce48010d4555655d95e


#Cursor image name: 83c1067070c060818083831880100120
# *
# * *
# * **
# * * **
# * * **
# **** * ****
# * **
# * * *
# * **
# * * *
# **** *****
# * * * *
# * * *
# * * *
# * *
# *
#Cursor hash 83c1067070c060818083831880100120 returns 0x0
ln -s v_double_arrow 83c1067070c060818083831880100120


#Cursor image name: cbc9d1e7694bb3cd40b141c1c401534e
#*********
#* *
#** *
#* * *
#** * *
#* *** *
#*** ** *
#** ** * *
#* ** * **
# ** * * *
# ** * *
# ** *
# ** *
# ** * *
# ** * * *
# *********
#Cursor hash cbc9d1e7694bb3cd40b141c1c401534e returns 0x0
ln -s bd_double_arrow cbc9d1e7694bb3cd40b141c1c401534e


#Cursor image name: 8bec2e7edaad37203ba06323832b0227
# *********
# * *
# * **
# * * *
# * * **
# * *** *
# * ** ***
#* * ** **
#** * ** *
#* * * **
#* * **
#* **
#* **
#* * **
#* * * **
#*********
#Cursor hash 8bec2e7edaad37203ba06323832b0227 returns 0x0
ln -s fd_double_arrow 8bec2e7edaad37203ba06323832b0227


#Cursor image name: 242435b26f6f1212e7e730388f1f3213
# * *
# * * * *
#** * * **
# ** * * **
# ** * * **
# ** ** **
# ** **
# ** **
# * *
# * ** *
# * **** *
# * ** ** *
# * ** ** *
#* ** ** **
# *** ***
# * *
#Cursor hash 242435b26f6f1212e7e730388f1f3213 returns 0x0
ln -s crossed_circle 242435b26f6f1212e7e730388f1f3213


#Cursor image name: c02a0b547ffcca27901c2895c275aa55
# ***********
# ** *
# * **
# * * * *
# * * **
# * ** * * *
# * * * **
# * * * * * * *
# * * * * **
#* * ** * * * * *
#****************
#* *** * *
#* * * * *
#* * *** *
#** * * *
#*******
#Cursor hash c02a0b547ffcca27901c2895c275aa55 returns 0x0
ln -s cross c02a0b547ffcca27901c2895c275aa55
It's a bit of a bitch to get working, but when it's worth it.

Last edited by syscrash2k; 06-14-2003 at 09:42 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
No mouse pointer (cursor), mouse does work whizz Linux - Hardware 6 04-04-2006 09:00 PM
Is this possible, mouse/ mouse cursor related. beejayzed Linux - Software 1 09-18-2005 09:22 PM
mouse cursor carnophage Linux - Software 0 09-06-2005 12:56 PM
[Mouse cursor] flicking on animated cursor Creak Debian 1 06-10-2005 02:16 AM
Can I run X without a mouse / or without a mouse cursor? jdaniel Linux - General 14 09-24-2003 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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