LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-29-2020, 12:44 PM   #31
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 68

Rep: Reputation: Disabled
Seeking guidance on installing CDE on slackware current 32-bit


Hello there;
I'm fairly new to slackware and linux in general, I've slowly been setting up an old thinkpad at a leisurely pace over these past few weeks and I've been experimenting with a few Desktop Environments. I've tried ICEwm, FVWM2 and XFCE so far but I think now I'd like to try CDE; but there doesn't seem to be a slackbuild for it on slackbuilds.org.

Roaming through some threads here, I came across a thread that mentioned http://ponce.cc/slackware/testing/CDE/

Being someone who hasn't yet attempted to write their own slackbuild script, what exactly am I meant to do here?
As in, how do the files linked on that site relate to instructions on slackbuilds.org on writing your own slackbuild script? What gaps does it fill? what do I not have to do anymore that I would've had to do if I was writing a script from scratch? etc
 
Old 03-07-2020, 03:32 AM   #32
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Scientific Linux
Posts: 115

Rep: Reputation: Disabled
The Slackbuild on ponce.cc will simply generate a .tgz package that you will be able to install with installpkg or pgktool.
I think that it is not on slackbuilds.org just because CDE wants to be in its own directory /usr/dt while slackbuilds.org prefers to place applications in standard Linux directories /usr/ or /usr/local/.
In practice, you need to download the most recent stable CDE release from http://www.sourceforge.net/p/cdesktopenv (2.3.2) and the material coming with the script on ponce.cc in the same directory, edit the version number in the Slackbuild script to match the release, make the script executable and run it. If everything works fine, you will see the compile proceed, and you will have the installable package.
Of course, you can directly compile from the source using the instructions on Sourceforge, and follow the CDE install procedure. The only downside is that you will have to remove CDE with rm -rf /usr/dt ; rm -rf /etc/dt; rm -rf /var/dt when you are fed up with it, instead of using removepkg.
 
1 members found this post helpful.
Old 04-12-2020, 04:10 PM   #33
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by edorig View Post
The Slackbuild on ponce.cc will simply generate a .tgz package that you will be able to install with installpkg or pgktool.
I think that it is not on slackbuilds.org just because CDE wants to be in its own directory /usr/dt while slackbuilds.org prefers to place applications in standard Linux directories /usr/ or /usr/local/.
In practice, you need to download the most recent stable CDE release from http://www.sourceforge.net/p/cdesktopenv (2.3.2) and the material coming with the script on ponce.cc in the same directory, edit the version number in the Slackbuild script to match the release, make the script executable and run it. If everything works fine, you will see the compile proceed, and you will have the installable package.
Of course, you can directly compile from the source using the instructions on Sourceforge, and follow the CDE install procedure. The only downside is that you will have to remove CDE with rm -rf /usr/dt ; rm -rf /etc/dt; rm -rf /var/dt when you are fed up with it, instead of using removepkg.
Thank you for your reply. I've only recently had time to get back to setting up my laptop again. Now that I have some more free time, is there a way I can download the slackbuild from ponce.cc as one directory? Forgive my inexperience but it seems as if I can only download individual files from that link, not complete directories so I was wondering if there was an alternative to individually downloading each file in each directory on it's own and then grouping them together appropriately.
 
Old 04-12-2020, 04:22 PM   #34
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,878

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
Quote:
Originally Posted by burning View Post
Thank you for your reply. I've only recently had time to get back to setting up my laptop again. Now that I have some more free time, is there a way I can download the slackbuild from ponce.cc as one directory? Forgive my inexperience but it seems as if I can only download individual files from that link, not complete directories so I was wondering if there was an alternative to individually downloading each file in each directory on it's own and then grouping them together appropriately.
Try a browser extension like "downthemall", you should be able to filter by file types and the like with it.
 
1 members found this post helpful.
Old 05-10-2020, 07:48 AM   #35
dchmelik
Member
 
Registered: Nov 2008
Location: Washington state, USA
Distribution: FreeBSD Unix, Slackware, FreeSlack GNU/Linux, OpenBSD Unix, FreeDOS
Posts: 460

Rep: Reputation: 51
Tried CDE again last several months or 2019... nice to see multiple monitor support... and most--not all--GUI features I'd like. For now I'll have to stay on KDE5 I guess (still miss some things about KDE3.5 and people on ##slackware miss things about all older versions.) I really wish one or the other would allow both Windows 3 & 95/98/ME-style features. Originally I liked program groups in their own windows (never liked start menu as much, to this day) but also like taskbar... which became more important to me than program groups. I felt more productive when I could switch between program groups and see everything else I might use, which of course, you can in CDE. However I also need to see what I have running, preferably (like KDE4+) on a taskbar with launchers that disappear when you start their programs. Nevertheless, I'll keep watching/trying CDE, and if possible I'd donate to the project but unsure they accept... (already did for KDE, TDE...)

Last edited by dchmelik; 05-10-2020 at 07:50 AM.
 
1 members found this post helpful.
Old 05-20-2020, 05:15 AM   #36
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by edorig View Post
The Slackbuild on ponce.cc will simply generate a .tgz package that you will be able to install with installpkg or pgktool.
I think that it is not on slackbuilds.org just because CDE wants to be in its own directory /usr/dt while slackbuilds.org prefers to place applications in standard Linux directories /usr/ or /usr/local/.
In practice, you need to download the most recent stable CDE release from http://www.sourceforge.net/p/cdesktopenv (2.3.2) and the material coming with the script on ponce.cc in the same directory, edit the version number in the Slackbuild script to match the release, make the script executable and run it. If everything works fine, you will see the compile proceed, and you will have the installable package.
Of course, you can directly compile from the source using the instructions on Sourceforge, and follow the CDE install procedure. The only downside is that you will have to remove CDE with rm -rf /usr/dt ; rm -rf /etc/dt; rm -rf /var/dt when you are fed up with it, instead of using removepkg.

Thanks. I'm finally getting around to installing it now. I've downloaded all of the necessary files from ponce and the source. Though, As I'd like to better understand what I'm doing in each step before executing it just to make sure I'm learning as I go, do you think you could answer a few questions I have on the README.slackware file?
In the README.slackware files, it lists multiple steps I need to take before running the slackbuild script.

Quote:
1) Add some additional locales symlinks:

cd /usr/lib@LIBDIRSUFFIX@/locale/
ln -s de_DE de_DE.ISO-8859-1
ln -s es_ES es_ES.ISO-8859-1
ln -s fr_FR fr_FR.ISO-8859-1
ln -s it_IT it_IT.ISO-8859-1

2) Get rpcbind to run into insecure mode:

chmod +x /etc/rc.d/rc.rpc
/etc/rc.d/rc.rpc start

3) Build/install the dependency xlt
( https://slackbuilds.org/repository/14.2/libraries/xlt/ )

4) You will need a cde group on the system to run this script:
create one with a command like

groupadd -g 310 cde

Don't forget to add the user that you want to run CDE to this
group: you can use a command like

gpasswd -a myuser cde

5) Build using this SlackBuild.

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.

- The LANG environment variable of your user *must* have one of the
following values:

C
fr_FR.ISO8859-1
de_DE.ISO8859-1
es_ES.ISO8859-1
it_IT.ISO8859-1

It will be set to LANG=C by default in your
/etc/profile.d/CDE.{sh,csh} but your enviroment could override it:
be warned.
You can change this default also in /etc/rc.d/rc.4 and
/usr/dt/bin/startxsession.sh.

- When you first run CDE and try to run an application from the
front panel, it may fail with a TT error.
Log out and log back in and it will run without errors.

- If you prefer to run its internal login manager, add this on
top of /etc/rc.d/rc.4, before the gdm lines

# Regardless of the comments below, let's check for dtlogin first:
if [ -x /usr/dt/bin/dtlogin ]; then
export PATH="/usr/dt/bin:$PATH"
export LANG=C
cd /usr/dt/bin
exec ./dtlogin
fi

(these notes have been written originally by notKlatuu and Christopher
Turkel for the cde wikii and has been modified by Matteo Bernardini))
1. What exactly are those symlinks connecting? What's the purpose of making those symlinks?
2. What is rcpbind? and why does is need to be run in insecure mode?
3. why do I need to make a new usergroup to run this script specifically?
4. And what exactly is a LANG environment variable? Is it just what determines what language the DE uses? If so, I'd assume C is English? or is it something else?

Last edited by burning; 05-20-2020 at 09:28 AM.
 
Old 05-20-2020, 09:11 PM   #37
dchmelik
Member
 
Registered: Nov 2008
Location: Washington state, USA
Distribution: FreeBSD Unix, Slackware, FreeSlack GNU/Linux, OpenBSD Unix, FreeDOS
Posts: 460

Rep: Reputation: 51
what about NsCDE?
 
1 members found this post helpful.
Old 05-21-2020, 06:39 AM   #38
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by dchmelik View Post
what about NsCDE?
Looks interesting. Would I need to make my own SlackBuild from the ground up in order to install it?
 
Old 05-21-2020, 08:32 AM   #39
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,631

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by burning View Post
4. And what exactly is a LANG environment variable? Is it just what determines what language the DE uses? If so, I'd assume C is English? or is it something else?
Not just the DE: LANG is a setting (global environment variable) that termines language, character coding etc for the whole system. Nowadays it is often set to
Code:
 $ echo $LANG
en_US.UTF-8
that is: ENglish, in the US variant, using the UTF-8 characterset.

LANG=C is the original C charset, pure 7-bits ASCII, no national or international extensions. A lot of older programs still need this setting as they cannot handle multi-byte chars like UTF-8 can use.
 
1 members found this post helpful.
Old 05-21-2020, 09:56 AM   #40
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Scientific Linux
Posts: 115

Rep: Reputation: Disabled
Quote:
Originally Posted by burning View Post
1. What exactly are those symlinks connecting? What's the purpose of making those symlinks?
The CDE build process is expecting the locales in the format de_CH.ISO8859-1 (de=language=German, CH=country=switzerland, ISO8859-1=encoding). On Slackware, this would be simply de_CH. The locales fr_FR,de_DE,it_IT,es_ES are required for the build process. They are already on Slackware, but the build process would not find them without the symlinks.
Quote:
Originally Posted by burning View Post
2. What is rcpbind? and why does is need to be run in insecure mode?
rpcpbind is described in the manual page (man rpcbind) . It is used to connect programs that
make RPC calls to the right RPC service.
The Tooltalk RPC service allows CDE programs to communicate with each other, and the cmsd RPC service is needed by the CDE calendar. Runnning rpcbind in insecure mode is unnecessary with recent versions of CDE since they use tirpc by default.
 
2 members found this post helpful.
Old 05-21-2020, 04:52 PM   #41
burning
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by edorig View Post
The CDE build process is expecting the locales in the format de_CH.ISO8859-1 (de=language=German, CH=country=switzerland, ISO8859-1=encoding). On Slackware, this would be simply de_CH. The locales fr_FR,de_DE,it_IT,es_ES are required for the build process. They are already on Slackware, but the build process would not find them without the symlinks.

rpcpbind is described in the manual page (man rpcbind) . It is used to connect programs that
make RPC calls to the right RPC service.
The Tooltalk RPC service allows CDE programs to communicate with each other, and the cmsd RPC service is needed by the CDE calendar. Runnning rpcbind in insecure mode is unnecessary with recent versions of CDE since they use tirpc by default.
Thanks for the explanation!
 
  


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 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration