| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Mon 06 Aug 2012, 22:44 Post subject:
|
|
| Argolance wrote: | Hello,
Thank you.
@technosaurus | Quote: | | Actually I have shown | Sorry but may I please have a bit more? (Where did you show this?) | Quote: | | that you can boot to X with jwm in ~1s | "in ~1s" ???
Cordialement. | it was just a proof of concept, but:http://murga-linux.com/puppy/viewtopic.php?p=590822#590822
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1383 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Tue 07 Aug 2012, 06:10 Post subject:
|
|
Hello,
@Dave_G
| Quote: | if it's just a gtkdialog script showing picture/s and text, then why don't you
use the pgm called unclutter which hides the mouse cursor after a certain
time of inactivity which you can make very short with the -idle switch | I already tried this, following ETP post (above) but did not get what I am expecting for.
But I found something interesting:
Using xsetroot: | Quote: | # xsetroot -v
usage: xsetroot [options]
where options are:
-display <display> or -d <display>
-fg <color> or -foreground <color>
-bg <color> or -background <color>
-rv or -reverse
-help
-def or -default
-name <string>
-cursor <cursor file> <mask file>
-cursor_name <cursor-font name>
-xcf <ARGB cursor file> <cursor size>
-solid <color>
-gray or -grey
-bitmap <filename>
-mod <x> <y> |
... and following this (cursor_name <cursor-font name> option that lets user change the pointer cursor to one of the standard cursors from the cursor font):
Examples: | Quote: | | xsetroot -cursor_name question_arrow |
| Quote: | | xsetroot -cursor_name watch |
I can at least change the cursor (top left arrow) to another one.
I didn't have a look to the possibilities given by the "cursor <cursor file> <mask file>" option yet (lets user change the pointer cursor to whatever he wants when the pointer cursor is outside of any window. Cursor and mask files are bitmaps - little pictures - and can be made with any bitmap program. He probably wants the mask file to be all black until he gets used to the way masks work). I will soon have a look though this seems a bit strange: cursor file? mask file?
@technosaurus
Thank you for answering!
Damn hard for me!
Cordialement!
_________________

|
|
Back to top
|
|
 |
Dave_G

Joined: 21 Jul 2011 Posts: 459
|
Posted: Tue 07 Aug 2012, 09:23 Post subject:
|
|
Hi Argolance
Nice find with xsetroot.
I especially like the -bitmap option.
By the way, keep in mind that some apps use their own mouse cursors
so it may over-ride your setting.
If I'm not mistaken, FireFox is one of those with it's own cursors.
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 837
|
Posted: Tue 07 Aug 2012, 11:22 Post subject:
|
|
Argolance,
You can do this with xsetroot to blank the pointer-
Make a file named none.xbm
| Code: | #define none_width 1
#define none_height 1
#define none_x_hot 0
#define none_y_hot 0
static unsigned char none_bits[] = {
0x00
};
|
then | Code: | | xsetroot -cursor none.xbm none.xbm |
Cheers,
s
|
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1383 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Tue 07 Aug 2012, 11:27 Post subject:
|
|
Hello Dave_G,
| Quote: | | By the way, keep in mind that some apps use their own mouse cursors | It is not a problem for my case because I use this configuration only at start up of the system. Later, as jwm is launched, the mouse cursor is the one which is defined by default or the user defined himself.
Thank you!
Cordialement.
_________________

|
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1383 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Tue 07 Aug 2012, 11:29 Post subject:
|
|
Hello seaside,
... This is quite perfect!
I was wondering why twice 'none.xbm'... Thinking it was a mistake, I first tried just with one: cursor is a simple cross , twice: no cursor is displayed: great!
Cordialement.
_________________

|
|
Back to top
|
|
 |
Dave_G

Joined: 21 Jul 2011 Posts: 459
|
Posted: Tue 07 Aug 2012, 12:03 Post subject:
|
|
@seaside
Thanks for confirming that xbm cursors still work.
I first came across them years ago when I was messing about with
RedHat but thought it was a thing of the past.
Now that I know and the xbm is a simple format, I'm gonna download and
maybe even make a whole bunch of them.
|
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 1383 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Tue 07 Aug 2012, 12:25 Post subject:
|
|
Hello,
| Quote: | I first came across them years ago when I was messing about with
RedHat but thought it was a thing of the past. | I was used to put hidden xbm pictures (such as ".jwm-bClose.xbm", etc.) in /root/ which were taken into account by jwm and overrode default buttons of the applications windows... but this is unfortunately "a thing of the past" too!
... Unless someone has got opposite information?
Cordialement.
_________________

|
|
Back to top
|
|
 |
|