LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2019, 09:32 AM   #16
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,503
Blog Entries: 1

Rep: Reputation: Disabled

It does not work for me. When xdm starts there is warning message Warning setxdmbg failed to display /etc/X11/xdm/slackware/pixmaps/default-wallpaper.pixmap.
 
Old 10-22-2019, 09:53 AM   #17
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 XDM_Themes/WMaker
Posts: 705

Rep: Reputation: 225Reputation: 225Reputation: 225
Did you view all the videos? They are excellent in how to setup and begin using xdm-slackware-themes.
Are you setting up for one or two monitors? You'll have to provide more information to answer your somewhat vague error message. Cheers
 
Old 10-22-2019, 10:18 AM   #18
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,503
Blog Entries: 1

Rep: Reputation: Disabled
It seems that lack of feh program was missing dependency. Although I didn't notice in movies that feh is requirement. Yet I found it in configuration files so I started to suspect that the lack of feh is the source of problem. I built feh from slackbuild script - and now background is being displayed. Yet it still not clear why I need feh.

Edit: It just came to me. Maybe now background is displayed by feh. I mean in presence of feh - it is used to display background, if feh is absent - setxdmbg is used.

Last edited by igadoter; 10-22-2019 at 10:23 AM.
 
Old 10-22-2019, 10:54 AM   #19
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Hello,

Quote:
Originally Posted by igadoter View Post
It does not work for me. When xdm starts there is warning message Warning setxdmbg failed to display /etc/X11/xdm/slackware/pixmaps/default-wallpaper.pixmap.
Well, I reproduced that issue. When feh is not installed, setxdmbg uses the command 'display' (from imagemagick) to display the image on the root window. Unfortunately 'display' returns 1 (even when the image is correctly displayed) which is interpreted as an error by setxdmbg which automatically set the root window to black and print that error message.

The easiest way to fix this, is to install feh (requires imlib2). Note that feh is a requirement if you consider using a compositor like compton.

Otherwise, you can apply, as root, the attached patch as below :
Code:
$ cd /usr/libexec/setxdmbg
$ patch -p0<setxdmbg-consume-display-exit-code.patch.txt
P.S: I will submit a new version with this fix to SBo, asap.

--
SeB
Attached Files
File Type: txt setxdmbg-consume-display-exit-code.patch.txt (481 Bytes, 8 views)

Last edited by phenixia2003; 10-22-2019 at 12:44 PM.
 
Old 10-22-2019, 11:28 AM   #20
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,503
Blog Entries: 1

Rep: Reputation: Disabled
Thanks for reply. I am now trying to set up all the candies - clock and conky. I just have built compton for cairo-clock - but I understand that compton needs to be started before xdm screen appears, so how to set this?
 
Old 10-22-2019, 12:29 PM   #21
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Hello,

Quote:
Originally Posted by igadoter View Post
Thanks for reply. I am now trying to set up all the candies - clock and conky. I just have built compton for cairo-clock - but I understand that compton needs to be started before xdm screen appears, so how to set this?
compton is automatically started by /etc/X11/xdm/slackware/Xsetup when : compton is installed, the property WITH_COMPTON (in /etc/X11/xdm/slackware/Xsetup.conf) is set to on (or 1 or yes or true), and feh is installed.

for more about Xsetup configuration, read this (or type 'man Xsetup.conf'). If you want to setup multiple XDM logins (with multiple Xsetup configurations), read this.

--
SeB

Last edited by phenixia2003; 10-22-2019 at 12:38 PM.
 
2 members found this post helpful.
Old 11-09-2019, 04:06 PM   #22
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 XDM_Themes/WMaker
Posts: 705

Rep: Reputation: 225Reputation: 225Reputation: 225
SeB, sbotools caught me off guards when it wanted to update xdm-slackware-theme to 2019.1023. Thanks for the patch. Any special steps to take when upgrading to the latest version from 2019.0628? Maybe the title of this thread could be updated also? Cheers, Brian
 
Old 11-10-2019, 03:58 AM   #23
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
[ANN] xdm-slackware-theme

Hello,

Quote:
Originally Posted by bamunds View Post
Thanks for the patch.
You're welcome.

Quote:
Originally Posted by bamunds View Post
Any special steps to take when upgrading to the latest version from 2019.0628?
No. I didn't make change to the configuration files. If you have changed some of them, there must be .new files in /etc/X11/xdm/slackware and/or /etc/X11/xdm/slackware/extensions.d. You can ignore (or delete) them.

--
SeB
 
Old 11-10-2019, 02:41 PM   #24
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 XDM_Themes/WMaker
Posts: 705

Rep: Reputation: 225Reputation: 225Reputation: 225
Done and everything is working without issues. Yes there were .new files which I removed and left my original configs in place. Cheers again. BrianA_MN
 
Old 11-12-2019, 03:12 PM   #25
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,497
Blog Entries: 14

Rep: Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328
What do you think to the idea of adopting a dedicated /etc/X11/xdm/themes/ directory to drop themes in? IMO having the extra directory level as a standardised location for theme directories will make having multiple themes a little tidier and won't clutter the main /etc/X11/xdm directory.

full disclosure:
I've already been doing this with my own theme, so I have a vested interest here. I start it with:
/usr/X11R6/bin/xdm -config "/etc/X11/xdm/themes/$xdm_theme/xdm-config" -nodaemon
 
Old 11-13-2019, 03:44 AM   #26
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Originally Posted by GazL View Post
What do you think to the idea of adopting a dedicated /etc/X11/xdm/themes/ directory to drop themes in? IMO having the extra directory level as a standardised location for theme directories will make having multiple themes a little tidier and won't clutter the main /etc/X11/xdm directory.
Yes that's good idea. This only requires small changes to xdm-slackware-theme. I will add this to my todo-list.

Quote:
Originally Posted by GazL View Post
full disclosure:
I've already been doing this with my own theme, so I have a vested interest here. I start it with:
/usr/X11R6/bin/xdm -config "/etc/X11/xdm/themes/$xdm_theme/xdm-config" -nodaemon
This requires to change /etc/rc.d/rc.4, which I want to avoid.

I prefer the way xdm-slackware-theme works: replacing the original /etc/X11/xdm/xdm-config file (saved beforehand) by a symlink which points the xdm-config file of selected theme.

This symlink can be manually set by user, or with a simple TUI, which could looks like this:

Click image for larger version

Name:	xdmconfig.png
Views:	38
Size:	31.5 KB
ID:	31830

--
SeB
 
1 members found this post helpful.
Old 11-13-2019, 04:24 AM   #27
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,497
Blog Entries: 14

Rep: Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328Reputation: 3328
Quote:
Originally Posted by phenixia2003 View Post
Yes that's good idea. This only requires small changes to xdm-slackware-theme. I will add this to my todo-list.
Great. Thanks SeB.


Quote:
Originally Posted by phenixia2003 View Post
This requires to change /etc/rc.d/rc.4, which I want to avoid.

I prefer the way xdm-slackware-theme works: replacing the original /etc/X11/xdm/xdm-config file (saved beforehand) by a symlink which points the xdm-config file of selected theme.

This symlink can be manually set by user, or with a simple TUI, which could looks like this:

Attachment 31830

--
SeB
Yep, no problem. Current supports a rc.4.local, which is what I use, but I wasn't suggesting messing with the rc files in your package (it was just an example showing the theme subdir in action). I agree, your symlink solution is likely to be the better solution for most folk.
 
Old 01-17-2020, 08:28 PM   #28
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 XDM_Themes/WMaker
Posts: 705

Rep: Reputation: 225Reputation: 225Reputation: 225
Update version available for 2020.0101? What were the fixes or upgrades? Cheers, BrianA_MN
 
Old 01-18-2020, 03:30 AM   #29
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Original Poster
Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Hello,

Quote:
Originally Posted by bamunds View Post
Update version available for 2020.0101? What were the fixes or upgrades? Cheers, BrianA_MN
This version fixes an issue with imagemagick 7 (comes with -current). You don't need to upgrade to 2020.0101 unless you're using -current, or if you have upgraded imagemagick to 7 on -14.2.

Since this fix does not break xdm-slackware-theme on 14.2 with imagemagick 6, I chose to publish it instead of waiting for 15.0.

--
SeB

Last edited by phenixia2003; 01-18-2020 at 03:56 AM.
 
1 members found this post helpful.
Old 01-19-2020, 01:40 PM   #30
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 XDM_Themes/WMaker
Posts: 705

Rep: Reputation: 225Reputation: 225Reputation: 225
Thanks for the update. Just for grins, I applied the latest under 14.2 and all is well still.

In fact xdm-slackware-themes is better than SDDM 0.18.0. SDDM will start only a single session on VT7 and only on invoking "switch user" from KDM or XFCE do you get a session on VT8. The only nice feature of SDDM is that of avatars and iconified buttons for shutdown, reboot, suspend, switch to another user which has no avatar. But I have not seen SDDM with conky and clock like xdm-slackware-themes. I would guess that all the iconified buttons could be created with XDM, but having them in the upper corner is sufficient for my work. The avatar is cool, only because my wife isn't using the Linux machine daily and forgets what to do when looking at username: (she is so use to the Win10 login, Win10 needed because our financial investment firm refuses to support Linux and builds everything on Win10).

Just as a curiosity, have you ever considered adding avatars to the XDM Login? Cheers, BrianA_MN
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Atolm GTK Theme + Clarity Icon Theme = Perfect for Dark Theme Fans LXer Syndicated Linux News 0 02-26-2011 11:50 PM
[SOLVED] xdm init script problem - "invoke-rc.d xdm start" fails ? Vilius Debian 2 09-13-2010 12:15 AM
openoffice force default theme / no theme | dark theme fix H_TeXMeX_H LinuxQuestions.org Member Success Stories 1 03-08-2010 12:56 PM
disabling XDM-AUTHORIZATION-1 in xdm shpenat Linux - Desktop 0 03-18-2009 09:11 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration