LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-21-2019, 10:26 PM   #1
paganini
LQ Newbie
 
Registered: Sep 2019
Posts: 3

Rep: Reputation: Disabled
CDE on Slackware 14.2


Brief introduction: I'm a hobbyist, not a pro. I like retrocomputing partly because I dislike waste (my Thinkpad T42p and 2009 MacBook pro are chugging along just fine, TYVM) and partly because really old machines hold the nostalgia of never-was. While I was slugging away at my VIC-20 and my best friend's 286, my uncle was working for the DMA and spoke strange and mysterious words like "UNIX" and "firewall." Now that I'm much older and have some resources, those formerly unattainably potent old systems are still the ones that hold some allure for me. I like reading vintage UNIX books.

This thread is old, but useful. I'd like to report that today I successfully complied CDE on Slackware 14.2. I used the default "motif" package, and installed xlt from Slackbuilds. I'm running a 32 bit generic kernel on a Thinkpad T42p.I did not have to do any special locale configuring, but I did have to enable rpc, as per that old thread.

I am feeling pretty happy right now; this old rig has been running ubuntu for the last few years, but ubuntu is getting so resource-heavy that scroling through a web-page in firefox is untenably slow. Seamonkey is working just fine here in CDE on Slackware 14.2.


-N
 
Old 09-24-2019, 12:31 AM   #2
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,061

Rep: Reputation: 146Reputation: 146
That's nice but could you use multiple monitors, or the scroll wheel on the mouse? Does it have a system tray with audio mixer, clipboard, clock, maybe even weather forecast, and able to minimize programs to an icon? I know it's like Windows 3 but can you add a Windows 95-style menu? I want to try CDE again but the main problem last time was no mouse wheel scrolling, and maybe not much of a system tray.

Last edited by dchmelik; 10-07-2019 at 12:23 AM.
 
Old 09-24-2019, 02:38 AM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,169

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
I have followed that thread, and I am legit interested in CDE because it just looks so delightfully retro, and if I am not mistaken the latest release no longer requires CDE to run in an insecure mode? If thats the case I would love to at least see a slackbuilds available on slackbuilds.org. I tried to build on my 64-bit 14.2 install just for the hell of it, but it wouldn't work.
 
Old 09-24-2019, 04:38 AM   #4
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i would like to see a SlackBuild for Slackware64-Current

https://sourceforge.net/projects/cdesktopenv/
 
3 members found this post helpful.
Old 09-24-2019, 07:18 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,421
Blog Entries: 7

Rep: Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535
Quote:
Originally Posted by paganini View Post
I'd like to report that today I successfully complied CDE on Slackware 14.2.
That's cool. Well done!
 
1 members found this post helpful.
Old 09-24-2019, 07:31 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
this works fine on current (and should work also on 14.2)

http://ponce.cc/slackware/testing/CDE/

Quote:
Originally Posted by Jeebizz View Post
if I am not mistaken the latest release no longer requires CDE to run in an insecure mode?
I haven't checked what doesn't work in that case, but reports are welcome.
 
2 members found this post helpful.
Old 09-24-2019, 08:13 AM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i tried to build CDE from Ponce's SlackBuild and got this error


Code:
Desktop installed in //usr/dt
 
Executing linux specific CDE-TT customize script
Executing linux specific CDE-MIN customize script
Executing linux specific CDE-SHLIBS customize script
Executing linux specific CDE-RUN customize script
Done.

See installCDE.10326.log for a log of this install session.

install: cannot stat '/home/packages/CDE/files/CDE.sh': No such file or directory
then went back to ponce's website to look for a CDE.sh file i missed and there isn't one
 
Old 09-24-2019, 08:16 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
http://ponce.cc/slackware/testing/CDE/files/CDE.sh

to get all the necessary build files, just
Code:
lftp -c mirror http://ponce.cc/slackware/testing/CDE/
 
2 members found this post helpful.
Old 09-24-2019, 09:00 AM   #9
paganini
LQ Newbie
 
Registered: Sep 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi dchmelik:

Two-finger scrolling worked out-of-the-box on my touchpad. I had to add a couple of xinput lines to my .dtprofile to get middle-button scrolling going. I'm on a thinkpad, and this stuff is pretty well documented at thinkwiki. For a mouse with an actual wheel I expect the procedure is not too different.

CDE doesn't have a notifications area, but the main panel does have some system-tray type functionality. There's a clock, calendar, and trash by default. Windows minimize into individual icons on the desktop, rather than into any particular container (there's no "taskbar" equivalent or "iconification area"). I'm just starting to learn how it all works, but it seems pretty customizable. There's a whole .dt directory with configuration stuff that mostly seem to be plain text files. Since the clock and calendar behave like applets and not launchers, I suspect it would be no problem for someone who knows the motif API to create the functionality you're looking for (e.g., volume control applet).

Jeebiz:

I believe that's correct. The slackware documentation on the sourceforge CDE wiki has a section about "enabling insecure mode," but all it said was something like "this just turns on RPC. CDE doesn't need insecure mode."

Last edited by paganini; 09-24-2019 at 09:01 AM.
 
Old 09-24-2019, 09:59 AM   #10
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,169

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Well I don't know what I did differently this time, and I didn't even bother to worry about nawk, or make any symlinks, and again this is a normal 64-bit install of Slackware, I went into the cde directory and ran a compile just to see what happens, and well...it compiled successfully:

Code:
dtsrload: Exit code = 0
dtsrindex -dCDEDOC '-t
' CDEDOC
dtsrindex.  Run Tuesday, Sep 24 2019, 09:56 AM.
dtsrindex: current working directory = '/home/slackuser/source/cde-2.3.0/doc/C/cde.dti/CDEDOC/dtsearch', .fzk file = 'CDEDOC.fzk'
dtsrindex: Beginning Pass 1, reading records from 'CDEDOC.fzk'.
   Each dot = 20 records.
.......... .......... .......... .......... .......... 
dtsrindex: Rec #1000, 20% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... .......... .......... 
dtsrindex: Rec #2000, 55% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... .......... .......... 
dtsrindex: Rec #3000, 78% done.  Est 0m 00s to end Pass 1.
.......... .......... .......... ........
dtsrindex: Pass 1 completed in 0m 1s, read 3779 records.
  No duplicate records found, parsed 34621 words.
dtsrindex: Beginning Pass 2: batch index traversal and database update.
  Each dot = 500 words.
.......... .......... .......... .......... .......... 
dtsrindex: Word #25000, 72% done.  Est 0m 00s to completion.
.......... .........
dtsrindex: Pass 2 completed in 0m 0s, updated 34621 words.
dtsrindex: Exit Code = 0, Total elapsed time 0m 1s.
echo keytypes CDEDOC = Default Head Graphics Example Index Table > dtsearch.ocf
make[4]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C/guides'
making all in doc/C/m-guides...
make[4]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/C/m-guides'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C/m-guides'
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/C'
making all in doc/en_US.UTF-8...
make[3]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[2]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc'
make[1]: Leaving directory '/home/slackuser/source/cde-2.3.0'

Tue Sep 24 09:56:10 CDT 2019

Full build of Release 2.3.0 of CDE complete.

root@slackmachine:/home/slackuser/source/cde-2.3.0#
Again, thats me ignoring making the language symlinks, disregarding (or forgetting that slackware doesn't have nawk, etc) So.........yea...The dry-run compile worked.
 
Old 09-24-2019, 10:25 AM   #11
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,169

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Well I think I can say that compiling cde on 14.2 64-bit outright is not an issue as I tested it again:

Code:
making all in doc/en_US.UTF-8...
make[3]: Entering directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc/en_US.UTF-8'
make[2]: Leaving directory '/home/slackuser/source/cde-2.3.0/doc'
make[1]: Leaving directory '/home/slackuser/source/cde-2.3.0'

Tue Sep 24 10:22:27 CDT 2019

Full build of Release 2.3.0 of CDE complete.

slackuser@slackmachine:~/source/cde-2.3.0$
However I do not plan to install it (make install), as this is a production machine. Maybe when I have more time I might play with cde in a VM or something - but again no nawk on slackware (so I expected the build to fail, (I did not make a symlink awk to nawk in the cde source code, I outright downloaded the tarball, extracted it and compiled it *as is* and it didn't fail) and I haven't made any language symlinks, I think thats if you just want to actually run cde , but again since this is 2.3.0 , is the rpcbind thing still an issue? As per documentation it appears not to be? I don't know.

Last edited by Jeebizz; 09-24-2019 at 10:30 AM.
 
Old 09-24-2019, 11:24 AM   #12
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,
spamming everywhere, so if you have already installed CDE, you
should remove its stuff prior to building this: this is because CDE
devs have hardcoded building/installing thingies and we can't do
anything about it.

not sure i want to go there...
 
Old 09-24-2019, 11:46 AM   #13
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,169

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by Okie View Post
ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,
spamming everywhere, so if you have already installed CDE, you
should remove its stuff prior to building this: this is because CDE
devs have hardcoded building/installing thingies and we can't do
anything about it.

not sure i want to go there...
No , not on a production machine, but I say play with it in a VM as I am planning to do.
 
Old 09-25-2019, 10:02 AM   #14
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by Okie View Post
ah ha, i see what i did wrong, but now this sounds messy

(from the README.Slackware)

VARIOUS IMPORTANT NOTES - *MUST* READ

- The build process will install stuff into your /usr, /etc/ and /var,
Its wrong. Such kind of site applications should always go under /usr/local. I have Haskell but of course it is under /usr/local. I can't imagine to mess with default directories where all Slackware packages (eventually SBo builds) go. Well some SBo scripts are very poor. So not every application I need, which has actually SBo script, can be build and installed this way. Other example is TexLive. Full version is about 4 GB. It is senseless to try to repackage it into Slackware package. So I removed default TexLive Slackware package and installed TexLive under /usr/local. On shared machine it would be even better to put it under $HOME. Just to avoid other users accidentally run this. Essentially $HOME is user directory where user should put its own binaries and all staff needed to run them - except system shared libraries.
 
Old 09-25-2019, 10:19 AM   #15
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
sorry igadoter, maybe you didn't read that README.Slackware file, but it's about a different thing than the one you are talking about: I'll paste again the interested bit fully
Code:
- The build process will install stuff into your /usr, /etc/ and /var,
  spamming everywhere, so if you have already installed CDE, you
  should remove its stuff prior to building this: this is because CDE
  devs have hardcoded building/installing thingies and we can't do
  anything about it.
it's about install paths hardcoded in the sources (there's no choice whatsoever to install things anywhere else): mainly everything goes in /usr/dt in the filesystem with "make install" so, to package the results, you have to "make install" in clean system (or delete the destination paths interested before issuing the command).
I wrote CDE devs were to blame for this but most probably it's something inherited from the past...

Last edited by ponce; 09-25-2019 at 11:04 AM.
 
  


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
CDE on Slackware woomia Slackware 21 09-08-2012 01:43 PM
Trouble building CDE (Slackware 64 13.37) penduin Linux - Software 16 09-02-2012 08:03 PM
CDE for Slackware on the horizon? pargoo Slackware 29 08-17-2012 01:16 PM
Are there any linux distros with cde, or any way to install cde? woms14 Linux - General 5 01-15-2010 09:08 PM
CDE graphical-login/cde-login in maintenance state czezz Solaris / OpenSolaris 1 09-30-2009 09:20 AM

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

All times are GMT -5. The time now is 03:33 PM.

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
Open Source Consulting | Domain Registration