3 ms·
Classic Common Desktop Environment coming to OpenBSD
- malux85 1y agoI have a vm with NsCDE installed for when I what that childhood nostalgia hit https://github.com/NsCDE/NsCDE https://github.com/NsCDE/NsCDE One of my mentors when I was very young gave me an Alphaserver 2100A running OpenVMS with CDE on it, and I remember using the installed scientific software (cant remember the name) to do 3D graphs, and so began a lifelong love of scientific computing!
- anthk 1y agoThat's heavier and lies on GTK tools to mimic the rest. EMWM it's like a micro-CDE but without the panel, almost like the Irix interface. And it will run really fast on ATOM n270 netbooks and the like.
- hexagonwin 1y agoNice. Though it wasn't on the ports tree, seems like it was possible to build already. https://sourceforge.net/p/cdesktopenv/wiki/OpenBSDBuild/ https://sourceforge.net/p/cdesktopenv/wiki/OpenBSDBuild/
- sugarpimpdorsey 1y agoSo it will feel like Real® UNIX® again. Solaris just wasn't the same after they switched to GNOME. Now you just need that utility that replicates HDD clicking noise through the speaker when your SSD is accessed. Is there a Firefox skin that looks like Netscape 4? For extra realism have a script that randomly kills the process every 15 minutes to simulate Netscape crashing.
- LeoPanthera 1y agoThere is a hardware solution for clicking SSDs: https://www.serdashop.com/HDDClicker https://www.serdashop.com/HDDClicker (Though it does require your computer have a drive access LED.) For a modern "Netscape", look into Seamonkey.
- hulitu 1y agoPale Moon has also a Netscape skin.
- anthk 1y agoTBH Solaris' Nimbus theme was amazing; elegant and modern but usable and functional. Not so brutalist but miles ahead of Aero.
- johnisgood 1y agoI am not sure what OpenSolaris had, but I liked that theme. OpenIndiana has the same one. https://upload.wikimedia.org/wikipedia/commons/9/95/OpenIndiana_Hipster_2021.10_MATE_desktop_environment_screenshot.png https://upload.wikimedia.org/wikipedia/commons/9/95/OpenIndi...
- DonHopkins 1y agoSolaris just wasn't the same after they switched from XView Sun Deskset Environment. https://donhopkins.medium.com/the-x-windows-disaster-128d398ebd47#97a7 https://donhopkins.medium.com/the-x-windows-disaster-128d398... >The “drag-and-drop” metaphor tries to cover up the Unix file system, but so little of Unix is designed for the desktop metaphor that it’s just one kludge on top of another with little holes and sharp edges popping up everywhere. Maybe the “sag-and-drop” metaphor is more appropriate for such ineffective and unreliable performance. >A shining example is Sun’s Open Windows File Manager, which goes out of its way to display core dump files as cute little red bomb icons. When you double-click on the bomb, it runs a text editor on the core dump. Harmless, but not very useful. But if you intuitively drag and drop the bomb on the DBX Debugger Tool, it does exactly what you’d expect if you were a terrorist: it ties the entire system up, as the core dump (including a huge unmapped gap of zeros) is pumped through the server and into the debugger text window, which inflates to the maximum capacity of swap space, then violently explodes, dumping an even bigger core file in place of your original one, filling up the entire file system, overwhelming the file server, and taking out the File Manager with shrapnel. (This bug has since been fixed.) >But that’s not all: the File Manager puts even more power at your fingertips if you run it as root! When you drag and drop a directory onto itself, it beeps and prints “rename: invalid argument” at the bottom of the window, then instantly deletes the entire directory tree without bothering to update the graphical directory browser. David Rosenthal (author of ICCCM) summed it up nicely in this leaked email: https://news.ycombinator.com/item?id=44050165 https://news.ycombinator.com/item?id=44050165 That's right, he's a great down-to-earth guy (but he can still write like a passionate punk rocker -- see below), and there's a wealth of interesting thoughtful stuff on his blog. I've known him since the days of the X10 / X11 / NeWS window system wars. He worked with James Gosling on Andrew at CMU and NeWS at Sun, and on X10 as well as X11 and ICCCM, and he implemented the original X10 compatibility layer that was in NeWS 1.0, before X11 was a "thing". https://en.wikipedia.org/wiki/David_S._H._Rosenthal https://en.wikipedia.org/wiki/David_S._H._Rosenthal One of my favorite classics is his Recreational Bugs talk [1989] by "Sgt." David Rosenthal (author of the ICCCM, developer of the Andrew Window Manager, X10, X11, and NeWS, employee #4 and chief scientist at Nvidia): https://blog.dshr.org/2018/05/recreational-bugs.html https://blog.dshr.org/2018/05/recreational-bugs.html [...] Here's David Rosenthal's notorious Sun Deskset Environment flame that some rogue leaked to the Unix-Haters mailing list (inspiring the Unix-Haters Handbook's X-Windows chapter), in which he poignantly concluded: "It's like having a Roy Lichtenstein painting on your bedroom wall.": [...] PS - I notice that someone filed a bug today pointing out that even your example of dropping a mail message on CM doesn't work if CM is closed. That's a symptom of the kind of arrogance that all the deskset tools seem to show - they're so whizzy and important that they deserve acres of screen real estate. Why can't they just shut up and do their job efficiently and inconspicuously? Why do they have to shove their bells and whistles in my face all the time? They're like 50's American cars - huge and covered with fins. What I want is more like a BMW, small, efficient, elegant and understated. Your focus on the whizzy demos may look great at trade shows, but who wants to have their tools screaming at them for attention all the time? It's like having a Roy Lichtenstein painting on your bedroom wall.
- netfortius 1y agoI was hoping someone would mention Solaris... :)
- tracker1 1y agoOh man... Once I started working on NT/Win2k, Netscape 4.x became the bane of my existence... So many ways to make it crash it wasn't even funny or intentional. Especially at a time on dialup, where people weren't willing to spend an hour or more downloading an updated browser.
- Lammy 1y ago> Is there a Firefox skin that looks like Netscape 4? There used to be a really great one called FOXSCAPE, but it was killed off by Firefox's “Australis” UI re-engineering in 2014: https://mw.rat.bz/foxscape/ https://mw.rat.bz/foxscape/ https://mw.rat.bz/foxscape/history/index.html https://mw.rat.bz/foxscape/history/index.html
- ryao 1y agoHave the known security issues in CDE been fixed?
- _mlbt 1y agoIt doesn't look like it... > I wouldn't use is as a daily driver, it's old unsecure code but it's fun if you want to bring back memories.
- anyfoo 1y agoWhat serendipity. I just bought an old Alpha on eBay, and installed both Tru64 and OpenBSD on it. Tru64 came with CDE, and I was once again admiring how ugly it is, and lamenting with friends at work how this eyesore could replace OpenLook. But CDE kind of "belongs" to Tru64. Looks like I now get to "enjoy" CDE on the OpenBSD partition as well!
- jchw 1y agoA couple years ago during NixOS's bi-annual Zero Hydra Failures event, I decided it would be fun to look at the issue breaking CDE, because I was honestly fascinated that CDE existed in NixOS at all (and promptly read up about the history of it being relicensed.) It was a weird one: of all things, a Tcl update somehow broke building, I believe, docbooks in a deprecated old locale. When I looked upstream, it looked like they had been moved to UTF-8 since then, so for the time being I just forced a slightly older version of Tcl for building the docbooks, which worked and I was able to run CDE. I don't know what the status of CDE in NixOS is today: it doesn't appear to be marked broken, so hopefully it's still working. If there was unlimited resources I'd love to have stuff like CDE supported forever, but even though that can't be done it's still cool to see it still being kept up for now. Hopefully with the new Wayback option on the horizon, even if distros do wish to stop supporting X.org as a display server option soon, you'll be able to boot classic desktop environments as though nothing changed... Maybe worth testing weird old stuff like CDE early to see if we can iron out some kinks ahead of time.
- anyfoo 1y agoMy favorite "old software that still miraculously works" is oneko, a once sort-of famous cute little cat that chases your mouse pointer. oneko-1.1b is from 1995, and yet I was still able to build and run it natively on an M1 Pro MacBook unchanged, with XQuartz as the X server. (I just tried again on a more recent Mac, and while it still happily builds, running it crashes the X server. That seems to be an X server bug, though.)
- jchw 1y agoIt's a bit tangential, but thinking of Neko, I miss the old trend of little gimmicks like this. I remember for Windows, there were all kinds of weird widgets and toys on the desktop. I've got an old version of Windows XP Plus pack that has these weird desktop dancers that you can have dance to music awkwardly, for some reason. There were also Microsoft's own desktop agents, I assume developed for Microsoft Office for Clippit originally, but also used in XP (Rover in Search) and of course, BonziBuddy. I recall a program called Shimeji as well, though I don't know much about the origin of it; video game and anime fans would post custom Shimeji characters to places like deviantArt. And speaking of Neko, Japan really seem to take well to the desktop mascot concept. If you look around, you can find official Desktop Accessory software sold for various video game and anime franchises that were popular in the 1990s and 2000s, like Konami's Tokimeki Memorial or Broccoli's Galaxy Angel, which would do various things like add mascots to the desktop or even system dialogs, provide custom icons you could replace Windows ones with, or add things like voice clips, screen savers, or desktop backgrounds to use. But, that's almost all Windows stuff. As far as UNIX and Linux go, the X port of Neko is in fact, the only thing I actually do remember exists. (I presume the original Neko program was the root inspiration for most of the other mascot-style programs that followed.) I guess when I used Linux as a kid, I just didn't really care enough to waste time on such trivial, childish things... And on a serious note, while I kind of get why these sorts of things fell out of favor, it did add some whimsy and variety to the experience of using a computer. It would be kind of neat to see a resurgence of that sort of thing. Doesn't have to specifically be desktop mascots or pets, either; there was a gold mine of gimmicky software in the 90s and 2000s. Likewise, the gradual decline of the screensaver has been somewhat of a bummer. On one hand, yeah, the relevance of screensavers has fallen off so much that I hardly noticed when they were gone... but again, it added some fun to computing. Hard not to miss it a little.
- arp242 1y agoOverview: https://www.youtube.com/watch?v=tR7G-wIm-e8 https://www.youtube.com/watch?v=tR7G-wIm-e8 It is well known that Steve Jobs got his inspiration for the Apple UI from Xerox PARC, but I think we've found the inspiration for the Apple Marketing strategy.
- spauldo 1y agoI often wonder how things would have turned out if the Open Group had placed Motif and CDE under the MIT license back in the late 90s. I've always been a fan of the X resource database, and I think it's a shame it never carried over to QT or GTK+. We'd have much better tools for working with it, and the theming possibilities have only ever been matched by Enlightenment. I remember Netscape let you set pixmap backgrounds for every UI element.
- jmclnx 1y ago>I think it's a shame it never carried over to QT or GTK+ Same here, but we know why. NIH Syndrome, or people did not realize how great it worked so they did their own thing, making things far more complicated then necessary. I remember that time period, people were begging Motif/CDE to open up the source. Back then if that happened, many people would have jumped in and fixed a lot of issues. Now is a far different time :(
- anthk 1y agoThere was LessTif but it was incomplete, altough a good chunk of tools could run with it. DDD for instance.
- hulitu 1y ago> X resource database That was part of Xt (X Toolkit). Of course, GTK and Qt were built on xlib, because they wanted to be hardcore. /s
- hualapais 1y agoI’m personally fond of Motif, even going so far as to hold XEphem as the epitome of timeless user interface design; I wish I had an entire OS following those blocky UI conventions. While normally using emwm, CDE would be productive and welcome on any of the BSDs and illumos distributions, IMHO. Now if only OpenLook/XView could be made to lose its 32-bit cruft and become more portable. What a wonderful pair of desktop environments CDE and OpenLook would be to choose from—and perhaps add more functionality to—in 2025.
- deleted 1y ago[deleted]
- rsecora 1y agoI was surprised when the 64bit fork appears in github. The OpenLook 64bit fork is available at [1], it has 64bit & X11R7 patches. It has a miriad of changes related to ids sizes, %ul, function casts, and a migration from X11R4 to X11R7. Sadly, if a legacy applications is old enough to be linked to OpenLook, it surelly require adaptation. They need their own migration to transition to 64 bits and X11R7. This openlook fork is the start of the journey to resurect them. [1] https://github.com/ggodd/xview-64bit https://github.com/ggodd/xview-64bit
- anthk 1y agoInstall lxappearance, get the CDE icons from https://gnome-look.org https://gnome-look.org and the matching GTK2/3/4 one. Then your setup will look close enough.
- yjftsjthsd-h 1y agoI'm surprised to see this; my first thought was also something like > it's old unsecure code and that seems very unlike OpenBSD. On the other hand, I'm still quite pleased; CDE holds a special place in my heart. Usually I fire it up when I'm particularly ticked off at the GNOME devs reinventing/deprecating the wheel again... There's something magical about being able to install CDE - not a fork, or a clone, or a replacement, but the actual original (yes, with minor updates, but they are minor) - start it up... and you're back in 199? sitting in front of a unix workstation, and everything is just like you remember (clunky and messy, but familiar). It's a unix* system, and you know this. Nothing has ever changed, and nothing ever will. (* Using unix as a family and not the actual on-brand UNIX™, of course, but that's also period appropriate.)
- ninjin 1y ago> I'm surprised to see this; my first thought was also something like >> it's old unsecure code > and that seems very unlike OpenBSD. It is going into ports and I am positive there are plenty of worse offenders in terms of insecure software in there already. If this was going into base, I am confident the clean up would be substantial, but there is already cwm[1] and fvwm [2] for your modern and classic window manager needs in base. [1]: https://en.wikipedia.org/wiki/Cwm_%28window_manager%29 https://en.wikipedia.org/wiki/Cwm_%28window_manager%29 [2]: https://en.wikipedia.org/wiki/FVWM https://en.wikipedia.org/wiki/FVWM
- n4r9 1y agoI'm not that familiar with OpenBSD but my impression was that the team is extremely security conscious. To the point that "there is insecure software in there already" is not an excuse. Perhaps I'm wrong about that?
- ch_123 1y agoMost of the security guarantees are made about the base install of the OS, which is mostly code which the OpenBSD team maintains and develops. The code in ports is mostly subject to the same security issues that exist elsewhere, except where facilities of OpenBSD block them (or the code has been patched by the port maintainers).
- fithisux 1y agoOh yeah!!!! Time to bring Openmotif and Xlibre on Windows
- yjftsjthsd-h 1y agoHuh. I was going to question whether that was even possible, but apparently https://github.com/marchaesen/vcxsrv https://github.com/marchaesen/vcxsrv , http://www.straightrunning.com/XmingNotes/ http://www.straightrunning.com/XmingNotes/ , and https://x.cygwin.com/ https://x.cygwin.com/ are all based on Xorg, so I guess if you wanted you could likely get Xlibre to build for Windows. But... Why? CDE isn't really something that makes sense nested inside another system, and AFAIK modern Windows is pretty hostile to replacing DWM (or wherever their GUI is these days).
- fithisux 1y agoI am mostly interested in using Windows as a dev platform for revitalizing old Motif programs.
- anthk 1y agoXlibre it's not needed when Xenocara does a better job.
- pjmlp 1y agoUnless the point is about FOSS, I had no issues using Hummingbird Exceed back in the CDE glory days.
- anthk 1y agoI prefer EMWM; with XFile, Classic-Colors, Nedit-XFT, XImaging... it's like an-almost-CDE without the panel, or like the Irix desktop but without being bloated like Maxx, and it's 100% free as in freedom software. XPDF can complete a bit the feeling (the old v3 release) and if you are a C programmer with experience, a dumb interface for MPV with XEmbed. For Gopher browsers there's XMosaic but it's still propietary, a shame. XGopher might do far better if you link-LD_PRELOAD it against Xaw3D, which can be Motif-ish, or at least a bit closer to that era, or an alpha Motif build of Netsurf. https://github.com/revmadison/netsurf-motif https://github.com/revmadison/netsurf-motif As for IM'img, any IRC client written against Lesstif will do the trick building it against OpenMotif. https://sourceforge.net/projects/nebula-irc/ https://sourceforge.net/projects/nebula-irc/ Then you can just use Bitlbee as a bridge to anything. On word processor, Ted against Motif can do really well; I could even use the Spanish translation with Metric sized toolbars and such. Ditto with xfig with 'xfig -metric'. Not Motif, but it matches the environment, kinda like GV for PostScript files. Or Emacs with Org-Mode. Emacs linked against Motif will look perfect under EMWM and you'll get: - A Mail/Usenet client - An IRC client - Telegram client with Telega - A gopher/gemini client (Elpher) - NNRSS and another builtin RSS reader - OFC, both handle podcasts fine - File manager with SSH and rclone support - A Z-machine interpreter to play text adventures (Malyon) - Video/music player thru EMMS - Org-Mode/Org-Agenda-Org-Babel and friends - Emacs' builtin spreadsheet - pdf-tools to read and anotate PDF's. - M-x calc with Gnuplot for plots - Nov.el to read Ebooks. For GTK and QT themes, you can use the CDE theme for GTK and the builting one for QT with qt5ct/qt6ct and set EXPORT QT_PLATFORM_THEME=qt5ct to /etc/profile.d/qt5.sh and chmod +x 'ing it. The are similar XDG and GTK/Themes icons at https://gnome-loook.org https://gnome-loook.org and the like called 'CDE' which are great. Decompress them at ~/.icons and use lxapperance to chage your GTK theme. https://www.pling.com/p/1920644/ https://www.pling.com/p/1920644/ It needs JS; but I can just posts a TGZ in my gopher site with both the themes and icons if you like them, or better, with Bittorrent, then aria2c would do the job.
- rjsw 1y ago> Emacs linked against Motif will look perfect under EMWM I think that Motif support has been removed from latest Emacs, it is still there in v29.
- alexshendi 1y agoDoes it come with dtksh? (dtksh or dtmksh, not sure)
- nubinetwork 1y agoJust in time for wayland...
- NoGravitas 1y agoShould run on Wayback, though. Or in a windowed XWayland session.
- GuinansEyebrows 1y agoi try to follow undeadly but i get behind. have there been any major wayland-on-openbsd milestones since last year when they announced it?
- aidenn0 1y agoInteresting. It was recently removed from nixpkgs due to being broken with modern hardening compiler flags; e.g.: > connect.c: In function 'd_connect': > connect.c:87:19: error: initialization of 'LONG' {aka 'int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] > 87 | DB_ADDR mdba = NULL; /* db address of current member record */