The tool in slackware to do this is called "xwmconfig". It's installed by default.
It uses dialog to open a semi-graphical selection tool. It scans the default xinitrc files in /etc/X11/xinitrc/, presents a list, and copies the select file into the user's ~/.xinitrc file. startx run runs this xinitrc script to launch the desktop. if ~/.xinitrc is not readable, or if xwmconfig is launched as a different user (e.g. root), then it might not have the intended effect. -Ben On Monday, April 14th, 2025 at 7:46 AM, Michael Ewan <[email protected]> wrote: > Do you get a graphical login screen? If so there should be an icon > somewhere that allows you to select the default desktop. So far I > have not found a command line method for changing the desktop. > > On Mon, Apr 14, 2025 at 7:21 AM Rich Shepard [email protected] wrote: > > > I have Slackware-current installed on an HP laptop. The default DE is KDE > > and I want to change that to Xfce as that's what I've used for 28 years. > > > > Opening a 'konsole' (ctrl-alt-t) as root I entered the command, 'xwmconfig', > > and a dialog box opened with all available choices. > > > > Selecting xinit.xfce (the second option below kde) I clicked on the 'OK' > > button and the console bash prompt appeared, overwriting a portion of the > > GUI dialog box. Entering 'halt' shut down the computer. > > > > Re-starting it still brings up the KDE DE rather than Xfce. > > > > What am I missing here? > > > > TIA, > > > > Rich
