View previous topic :: View next topic |
Author |
Message |
Pixelbrei n00b
Joined: 25 Apr 2003 Posts: 62
|
Posted: Sat May 17, 2008 2:45 pm Post subject: |
|
|
Nice idea, putting a conky there
I recently found out, xdm finally supports xft fonts, really cool! |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Sat May 17, 2008 6:22 pm Post subject: |
|
|
Pixelbrei wrote: | Nice idea, putting a conky there |
I am wondering what other applications can be included in the xdm login screen.
Pixelbrei wrote: | I recently found out, xdm finally supports xft fonts, really cool! |
I am playing on this at the moment... Amazing all the configuration you can do.
Cheers! |
|
Back to top |
|
|
Pixelbrei n00b
Joined: 25 Apr 2003 Posts: 62
|
Posted: Sun May 18, 2008 2:19 pm Post subject: |
|
|
I had even a window manager running on the login screen
I used FVWM to add some "shutdown", "reboot" buttons.
And i found a little catch: the xlogin*passwdPrompt Resource does not work with pam
enabled, because pam provides its own prompt.
I found the ">" prompt from the screenshot quite nice, but would like to have the
password prompt as short, like a second ">". But pam says the password prompt will read
"Password:", so i stick with "Username:" for the first prompt for now. |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Mon May 19, 2008 3:42 am Post subject: |
|
|
Pixelbrei wrote: | I had even a window manager running on the login screen
I used FVWM to add some "shutdown", "reboot" buttons. |
Fantastic tip...!!! I really love fvwm, so I have transformed the xdm login screen with fvwm. This is the result. I have the 'shutdown' and 'restart' buttons and I also have added the possibility of starting and stopping my ethernet card. The screen shows the message after I have started eth0. I have really enjoyed this. Thanks!
Pixelbrei wrote: | And i found a little catch: the xlogin*passwdPrompt Resource does not work with pam
enabled, because pam provides its own prompt.
I found the ">" prompt from the screenshot quite nice, but would like to have the
password prompt as short, like a second ">". But pam says the password prompt will read
"Password:", so i stick with "Username:" for the first prompt for now. |
Yes, it is a pity. I have looked at the PAM documentation, but I have not found an option to change the password prompt.
Cheers! |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Mon May 19, 2008 11:18 pm Post subject: |
|
|
I have finally been able to easily select the window manager from xdm. In this same thread, hicksboson posted a script that allowed to select the window manager. Nevertheless, I wondered if there was a simpler solution.
I have found this page that suggest you can pass arguments to Xsession by defining keyboard translations in /etc/X11/xdm/Xresources. Instead of:
Code: | xlogin*login.translations: #override\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field() |
You can add different window managers and select one of them:
Code: | xlogin*login.translations: #override\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>F2: set-session-argument(wmaker) finish-field()\n\
<Key>F3: set-session-argument(afterstep) finish-field()\n\
<Key>F4: set-session-argument(startkde) finish-field()\n\
<Key>F5: set-session-argument(fvwm) finish-field()\n\
<Key>F6: set-session-argument(enlightenment) finish-field()\n\
<Key>F7: set-session-argument(blackbox) finish-field()\n\
<Key>Return: set-session-argument() finish-field() |
I have tried it and it works. I write my username and password and, instead of a final 'return' i give a <F_> key and the corresponding window manager appears. Nevertheless, I have not been able to understand how this works. I mean: how is the 'set-session-argument' is passed to the startup scripts like Xsession?
Cheers! |
|
Back to top |
|
|
FrankRizz0 l33t
Joined: 29 Nov 2006 Posts: 617
|
Posted: Tue May 20, 2008 2:29 am Post subject: |
|
|
I did not read the whole thread but did anyone mention adding superkaramba to their desktop? I google'd it and found an easy way to add it successfully! Emerge kdesktop and superkaramba, afterwards type "killall xfdesktop" and then type "kdesktop." Make sure you do this as user in terminal. XFCE 4 still runs like a beast and looks awesome! |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Tue May 20, 2008 4:32 pm Post subject: |
|
|
FrankRizz0 wrote: | I did not read the whole thread but did anyone mention adding superkaramba to their desktop? |
Thanks for the tip FrankRizz0. Nevertheless, the thread deals with xdm (the X Window Display Manager). If you want a light desktop you may not want to use kdm or gdm, and xdm can be a good alternative. You may want to have a look at this article from the gentoo wiki, specially if you are using xfce.
Cheers! |
|
Back to top |
|
|
Dheath Tux's lil' helper
Joined: 06 Aug 2006 Posts: 131
|
Posted: Thu May 29, 2008 11:01 am Post subject: |
|
|
How do you exactly take screenshots from your xdm login? |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu May 29, 2008 1:26 pm Post subject: |
|
|
Dheath wrote: | How do you exactly take screenshots from your xdm login? |
I have this line in /etc/X11/xdm/Xsetup_my:
Code: | sleep 15 && import -w root /tmp/xdm.jpg & |
I created Xsetup_my following the article on XDM from the gentoo-wiki.
Cheers! |
|
Back to top |
|
|
Pixelbrei n00b
Joined: 25 Apr 2003 Posts: 62
|
Posted: Thu May 29, 2008 8:46 pm Post subject: |
|
|
You could also allow any connections to the X-Server by executing "xhost localhost" in Xsetup, and do a Code: | DISPLAY=:0 <screenshot-program> | from a tty. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|