View previous topic :: View next topic |
Author |
Message |
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Sun Jan 02, 2005 11:41 pm Post subject: |
|
|
jack_mort wrote: | Really cool this howto ! I'll finaly be able to wipe out gdm But I've just a little question : is it possible to change the default cursor, as in gdm ? I suppose it's controlled in the Xresources file, but I can't find how |
XDM runs as root, so if you set a cursor for the root user then it will change the cursor in XDM. There might be another way of doing it, but that will work and I am not sure of other methods. |
|
Back to top |
|
|
WhyteWolf Apprentice
Joined: 01 May 2002 Posts: 168 Location: Las Vegas
|
Posted: Mon Jan 03, 2005 6:26 am Post subject: |
|
|
in regards to setting a cursor
man xsetroot
Code: | -cursor cursorfile maskfile
This lets you change the pointer cursor to whatever you want when the pointer cursor is outside of any window. Cursor and mask files are bitmaps
(little pictures), and can be made with the bitmap(1) program. You probably want the mask file to be all black until you get used to the way masks
work. |
thease might be useful
Code: | -cursor_name cursorname
This lets you change the pointer cursor to one of the standard cursors from the cursor font. Refer to appendix B of the X protocol for the names
(except that the XC_ prefix is elided for this option). |
_________________ Thomas Phipps
Linux User #180408 LFS User #1791 |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Mon Jan 03, 2005 12:58 pm Post subject: |
|
|
WhyteWolf: Yeah, I forgot about reading that. I shall look into that when I get home. |
|
Back to top |
|
|
s4kk3 Apprentice
Joined: 15 Oct 2004 Posts: 232 Location: Finland
|
Posted: Mon Jan 03, 2005 4:38 pm Post subject: Re: Making XDM look good |
|
|
That's sweet. Thanks Pwnz3r! _________________ My own filemanager project |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Mon Jan 03, 2005 8:13 pm Post subject: |
|
|
Is it possible just to use my ~/.xinitrc so when I log in with XDM it is the same as startx? When I log in now whith XDM it only starts my WM discribed in /etc/rc.conf. |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Mon Jan 03, 2005 8:38 pm Post subject: |
|
|
pjj wrote: | Is it possible just to use my ~/.xinitrc so when I log in with XDM it is the same as startx? When I log in now whith XDM it only starts my WM discribed in /etc/rc.conf. |
Make the file /etc/X11/Sessions/default just have the following in it. I shall add this to my howto as well, so thanks for mentioning it.
That should do the trick, but if not then please tell me. |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Mon Jan 03, 2005 8:47 pm Post subject: |
|
|
An easier way to do that is to use ~/.xsession instead of ~/.xinitrc. One can be a link to the other, if you update it often. |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Mon Jan 03, 2005 10:20 pm Post subject: |
|
|
Don't work . I had to create the /etc/X11/Sessions/default file and just put source ~/.xinitrc in it. Also maked a symbolic link from ~/.xinitrc to ~/.xsession but this also didn't solve the problem. It is still starting up just as before no difference. |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Mon Jan 03, 2005 11:39 pm Post subject: |
|
|
Did the /etc/X11/Sessions/default idea work? Just making sure because that post sort of confused me. :\ |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Tue Jan 04, 2005 5:53 pm Post subject: |
|
|
No didn't work . Sorry to confuse you my English isn't that good (you probably noticed already) |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Tue Jan 04, 2005 10:21 pm Post subject: |
|
|
I want to change the font to my own how can I do that.
Thanks |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Jan 04, 2005 10:41 pm Post subject: |
|
|
blmartin777 wrote: | I want to change the font to my own how can I do that.
Thanks |
Look at the Xresources file.
pjj: Make the XESSION in /etc/rc.conf is set to "default". Cheers. |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Tue Jan 04, 2005 10:55 pm Post subject: |
|
|
I changed the fonts in that file but they still don't show up? |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Jan 04, 2005 11:15 pm Post subject: |
|
|
blmartin777 wrote: | I changed the fonts in that file but they still don't show up? |
Post your lines for the fonts. Also, make sure to name them via values from xfontsel. |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Tue Jan 04, 2005 11:20 pm Post subject: |
|
|
OK what if the font that I use on my desktop isn't in xfontsel? |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Tue Jan 04, 2005 11:24 pm Post subject: |
|
|
Not sure how to change the font size either? |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Tue Jan 04, 2005 11:30 pm Post subject: |
|
|
Pwnz3r wrote: |
pjj: Make the XESSION in /etc/rc.conf is set to "default". Cheers. |
Didn't work but I found a solution just put a '#' before XSESSION='(some WM) solves the problem (so now ~/.xinitrc is executed ) |
|
Back to top |
|
|
NME Apprentice
Joined: 18 Nov 2003 Posts: 168 Location: The Netherlands
|
Posted: Tue Jan 04, 2005 11:46 pm Post subject: |
|
|
http://www.picturehost.co.uk/free.one/xdmshot.png
i found a way to control my music before even logging in...
i was lucky ncmpc can be controlled using only the mouse bc the login grabs all keyboard input..
can i get rid of the black borders around the term though? _________________ f# that. |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Tue Jan 04, 2005 11:58 pm Post subject: |
|
|
blmartin777 wrote: | OK what if the font that I use on my desktop isn't in xfontsel? |
XDM only supports using non-AA fonts that show up in xfontsel, so you will have to choose another font.
NME: I am not sure how to get rid of the black borders. :\ |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Wed Jan 05, 2005 12:00 am Post subject: |
|
|
well I installed artwiz fonts and snap the one you have isn't there either nor does it show up on my xdm login? What about changing the size too?
Thanks |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Wed Jan 05, 2005 12:13 am Post subject: |
|
|
make sure you're putting the appropriate path in xorg.conf and running fc-cache -fc as root outside of Xorg after installing a font. try running xfontsel in X, the font should then show up there. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Wed Jan 05, 2005 5:23 am Post subject: |
|
|
blmartin777 wrote: | well I installed artwiz fonts and snap the one you have isn't there either nor does it show up on my xdm login? What about changing the size too?
Thanks |
Make sure to add...
Code: | FontPath "/usr/share/fonts/artwiz" |
...to /etc/X11/xorg.conf. As for changing the size, xfontsel will have an option for that when setting up the font string. |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Wed Jan 05, 2005 3:18 pm Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
ktm Tux's lil' helper
Joined: 13 Aug 2004 Posts: 144 Location: Denmark
|
Posted: Thu Jan 06, 2005 12:52 am Post subject: |
|
|
NME wrote: | http://www.picturehost.co.uk/free.one/xdmshot.png
i found a way to control my music before even logging in...
i was lucky ncmpc can be controlled using only the mouse bc the login grabs all keyboard input..
can i get rid of the black borders around the term though? |
Now this looks cool!! Please release |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
|
Back to top |
|
|
|