You are not logged in.
Hi!
I looked for archlinux xdm-themes today, and I found community/xdm-archlinux which looked plain ugly with comic sans and stuff. So I decided to make my own simplistic archlinux xdm theme and came up with this, which I based on the config files from xdm-archlinux:
http://xappe.klond.se/filer/arch-xdm.tar.gz
To make it work, extract the archive to /etc/X11/xdm and point your xdm to the file xdm-config in the arch-xdm directory.
It is currently made for 1280x1024, so if you use another resolution you may have to fiddle around a bit with the positions of the xclock and the login box. Hope you can live with some trial and error...
EDIT: Here's a screenshot of the login screen:
EDIT2: oh, and you need display from imagemagick for the background image to show up...
Last edited by Xappe (2009-04-07 22:17:39)
vanum est vobis ante lucem surgere
Offline
Nice one Xappe!
I like it, it's on, the tweaking was straightforward for my resolution.
Proper job, that.
Thanks
Blad
Offline
Nice one Xappe!
...
Glad you liked it!
vanum est vobis ante lucem surgere
Offline
Nice!
Now I'm starting to wonder which uses less resources, slim or xdm. Might have to change. :-)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Nice!
Now I'm starting to wonder which uses less resources, slim or xdm. Might have to change. :-)
I've tried slim a couple of times but my impression is that it is quite unstable and slow. Xdm feels quick and robust...
vanum est vobis ante lucem surgere
Offline
Hey, my screen resolution is 1280x800 and when I did the above, only a black screen appears with the prompt and no arch logo/date/time, how would I go about making the changes such that it would work?
Offline
All files are in /etc/X11/xdm/arch-xdm/
You need imagemagick installed to put archblack.png in the background (the image might need a resolution adjustment too) .
The clock settings are in .Xresources
XClock*geometry: +0+990
The poweroff/reboot buttons are setup in the buttons script and started and positioned in Xsetup
vanum est vobis ante lucem surgere
Offline
Hey, my screen resolution is 1280x800 and when I did the above, only a black screen appears with the prompt and no arch logo/date/time, how would I go about making the changes such that it would work?
I have the same problem with a 1280x1024 resolution. I think it could be because we don't have `display` installed, anyone knw what package this program comes in?
Also when I login xdm seems to just restart. It does not read my .xinitrc or a .xsession file?
EDIT: Duh imagemagick silly me
Last edited by gazj (2009-06-10 13:15:42)
Offline
Excellent xdm theme Xappe, really ought to become the xdm-archlinux default theme in my opinion. For some reason display seems to put the logo on my seconf monitor aswell (not centered either as my second monitor is a different resolution from my main), although this is trivial.
I have used a display manager for ages due to, gdm and kdm being to heavy. Slim just annoys the hell out of me as it takes ages to come back up when I log out and xdm was just ugly.
Excellent excellent work.
Offline
For some reason display seems to put the logo on my seconf monitor aswell (not centered either as my second monitor is a different resolution from my main), although this is trivial.
I'm glad you like it.
About the background image spanning two monitors, you might be able to reposition the image with the -geometry flag of display.
vanum est vobis ante lucem surgere
Offline
Hi Xappe,
I also really like your xdm theme which made me try out xdm again. Last time I tried xdm I was still using gentoo
Going the real Arch way, I created a PKGBUILD to install your theme and would like to share it with you and anyone who wants to try your theme
out. Feel free to add it to the AUR if you like.
http://www.mediafire.com/?sharekey=0e23 … 0a1ae8665a
Kind regards,
the_isz
P.S.: I fixed an error in your Xsetup file which kept the buttons from being displayed, I hope that's ok...
Edit: I noticed that uploading the PKGBUILD linking to your old archive while providing the md5sum for my modified archive isn't such a good idea
I uploaded the package including the new archive until it's packed on some server which can be directly accessed...
Last edited by the_isz (2009-06-18 20:33:25)
Offline
Hi Xappe,
I also really like your xdm theme which made me try out xdm again. Last time I tried xdm I was still using gentoo
Going the real Arch way, I created a PKGBUILD to install your theme and would like to share it with you and anyone who wants to try your theme
out. Feel free to add it to the AUR if you like.http://uploading.com/files/CZ2DU9YS/xdm … ar.gz.html
Kind regards,
the_isz
P.S.: I fixed an error in your Xsetup file which kept the buttons from being displayed, I hope that's ok...
Nice job! I'll look into adding it to aur when I've got some spare time...or if you wan't you're free to add it yourself.
You can fix any error you like btw
Edit: Btw, you might want to add imagemagick as a dependency since it's configured to use display.
Last edited by Xappe (2009-06-18 20:35:10)
vanum est vobis ante lucem surgere
Offline
Nice job! I'll look into adding it to aur when I've got some spare time...or if you wan't you're free to add it yourself.
You can fix any error you like btw
Just remember to take the new link (not the one quoted in your last answer) when you try it. I would add it to the AUR but I don't have a file
server at hand to which I could upload the files.
I'll talk to a friend on whose server I have an account on, maybe he'll let me use that.
You are right about imagemagick, but this is a huge dependency for such a resource-friendly login manager. I'll look into using xsetroot these days,
but I gotta go sleep now and tomorrow after work I'll have my diploma handed over, so there'll be little time either. I'm sure I'll find some over
the weekend though.
Edit: Using my minimal-install ubs stick, I noticed that the Xsetup script also depends on the xorg-apps package. I'll see if I can make these optional
dependencies, using sed to comment out the respective lines...
Last edited by the_isz (2009-06-19 05:31:00)
Offline
Nice work, i use 1024x768 and only changing this line:
Xlogin*geometry:400x300+312+400
i made it look good.
https://www.skatox.com/blog -> Visit my blog about (Linux, Hacking, Open Source, Web Development, Windows, Mac Os X, Internet and more......)
Offline
All right, I made a (hopefully) proper PKGBUILD and made some modifications to the files of Xappe.
The package now optionally depends on imagemagick, feh and xloadimage, each of which can be used to set the background. That way, we won't
have too many imperative dependencies on this small package. There are enough already, as I realized scanning through the scripts
And here it is:
Hope you like it!
Last edited by the_isz (2009-06-21 12:03:11)
Offline
Offline
thanks this is really nice...exactly what I was looking for. xdm FTW!
ILoveCandy
Offline
thanks this is really nice...exactly what I was looking for. xdm FTW!
Nice to hear
I'll soon release a minor update supporting additional resolutions, stay tuned
Offline
I've extended the buttons script with a session chooser.
It'll add twm to the wms available in /etc/X11/sessions and store your choice in /etc/X11/sessions/.lastsess (I guess there might be better places to store this?)
Here's my /etc/X11/xdm/arch-xdm/buttons script:
#!/bin/bash
choose_wm() {
files=("twm")
str="twm"
for file in /etc/X11/sessions/*; do
wm=$(sed -rn 's_/etc/X11/sessions/(.*).desktop|(twm)_\1\2_p' <<<"$file")
str+=",$wm"
files+=("$file")
done
xmessage -buttons $str "$@" "";
echo "${files[$? - 101]}" >/etc/X11/sessions/.lastsess
}
if which xmessage >> /dev/null 2>&1; then
if [[ -f /etc/X11/sessions/.lastsess ]]; then
wm=$(sed -rn 's_/etc/X11/sessions/(.*).desktop|(twm)_\1\2_p' /etc/X11/sessions/.lastsess)
else
wm=twm
fi
xmessage -buttons $wm,reboot,halt "$@" "";
case "$?" in
101)
choose_wm "$@"
$0 $*
;;
102)
/sbin/reboot
;;
103)
/sbin/halt
;;
esac
fi
and my user's .xsession file accordingly:
#!/bin/bash
session=$(</etc/X11/sessions/.lastsess)
[[ $session = /etc/X11/sessions/*.desktop ]] \
&& exec $(sed -rn '/^Exec=(.*)$|^(\/.*)$/ s//\1\2/p' "$session") \
|| exec $session
Last edited by mar77i (2009-11-23 02:00:27)
<rickh> f(Arch) = ((Gentoo - Compiletime) + (Slackware + Depency resolution and Downloading))
Offline
I've extended the buttons script with a session chooser.
That's a nice idea. I thought about doing something like this as well but didn't
find a good way of doing so yet.
If I were to adopt this idea for xdm-arch-theme, I'd have to make some
modifications though. First off, the .lastsession file should be user-specific,
which would answer the question as to where to store this file. We could achieve
this by storing the .lastsession file when the user logs in, as opposed to when
the session chooser button is pressed.
Secondly, I don't have a /etc/X11/sessions directory. Is this standard in any
way? Could you tell me whether you created it yourself and - if not - to which
package(s) it belongs? If it's not default in any way, I'd suggest we think
about using /usr/share/xsessions instead, which seems to be standard.
Hope to hear from you, mar77i!
Offline
Secondly, I don't have a /etc/X11/sessions directory. Is this standard in any
way?
On my system, I have /etc/X11/sessions folder with the following files in it:
kde.desktop kde-safe.desktop
So, I think if KDE is using it, it should be okay for us to use it too.
PS. Great little project you got here guys, have been using it for quite sometimes now.
Offline
PS. Great little project you got here guys, have been using it for quite sometimes now.
Nice to hear you like it and thanks for the info.
Offline
I like the work you guys have done with this, I am running into a small problem though. The Arch SVG looks a bit too big for my taste, but when I check the original SVG it seems a lot smaller than the scaled one that's in /var/cache. I assume Xsetup is where the magic happens, but I'm not sure how to get a smaller image (or reposition it, so I can move the login stuff more towards the center of the screen)... Could someone give some pointers?
Also, I've set Dejavu Sans to be used for the clock and buttons, but they still look horribly big (I'm a nitpicker, I know). Yet xfontsel didn't show any font sizes that I could select. Is there a way around this? Changing the xfontsel-generated string by hand just seems to reset XDM to the default (crappy) font.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Nice. Basic themes just appeal more to me. Still amazes me the xdm is still the default login manager for Linux.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline