Git Product home page Git Product logo

nscde's Introduction

Not so Common Desktop Environment (NsCDE)

Github commits GitHub contributors PR's Welcome

ScreenShot

Notices:

Screenshots:

Video Presentations and guides:

The author would like to apologize for bad English in the docs. A rand() function putting (the, a, an) in articles would probably be more accurate.

Introduction

What is NsCDE?

NsCDE is a retro but powerful UNIX desktop environment which resembles the CDE look (and partially feel) but with a more powerful and flexible framework beneath-the-surface, more suited for 21st century unix-like and Linux systems and user requirements than original CDE.

NsCDE can be considered as a heavyweight FVWM theme on steroids, but combined with a couple other free software components and custom FVWM applications and a lot of configuration, NsCDE can be considered a lightweight hybrid desktop environment.

In other words, NsCDE is a heavy FVWM (ab)user. It consists of a set of FVWM applications and configurations, enriched with Python and Shell background drivers, couple of the additional free software tools and applications. FVWM3 is also supported.

Visually, NsCDE mimics CDE, the well known Common Desktop Environment of many commercial UNIX systems of the nineties. It supports CDE backdrops and palettes with FVWM colorsets and has a theme generator for Xt, Xaw, Motif, GTK2, GTK3, Qt4 and Qt5. Integrating all these bits and pieces, the user gets a retro visual experience across almost all X11 applications. Enriched with a bunch of powerful FVWM concepts and functions, modern applications and font rendering, NsCDE acts as a link between classic CDE look and a fast and extensible environment, well suited for modern day computing.

NsCDE can even be integrated into existing desktop environments as a FVWM window manager wrapper for session handling and additional DE functionality.

Nevertheless, NsCDE is designed for UNIX oriented users, and generally technical people, and not as something for general public use or for introducing beginners to Linux or some other unix-like system.

As previously said, NsCDE's main goal is to revive the look and feel of the Common Desktop Environment found on many UNIX and unix-like systems during nineties and the first decade of the 21st century, but with a slightly more polished interface (XFT, unicode, dynamic changes, rich keyboard and mouse bindings, desk pages, rich menus etc.). The goal is a comfortable retro environment which is not just eye candy toy, but a real working environment for users who contrary to mainstream trends really like CDE, thus making a semi-optimal blend of usability and compatibility with modern tools with a look and feel which mainstream abandoned for some new fashion, and ... in a nutshell, giving the best of both worlds to the user.

The excellent FVWM window manager is the main driver behind NsCDE with its endless options for customization, GUI Script engine, Colorsets, and modules. NsCDE is largely a wrapper around FVWM -- sort of like a heavyweight theme.

Other main components are GTK2, GTK3, Qt4 and Qt5 themes for unifying the look and feel of most Unix/Linux applications, custom scripts which are helpers and backend workers for GUI parts and some data from the original CDE, such as icons, palettes, and backdrops.


Why NsCDE?

Since the nineties, I have always liked this environment and its somewhat crude socrealistic look in a contrast to the "modern" Windows and GNOME approach which is going in the opposite direction from what I always liked to see on my screen. I have created this environment for my own usage 8-10 years ago and it was a patchwork, chaotic and not well suited for sharing with someone. While it looked ok on the surface, behind it was years of ad-hoc hacks and senseless configurations and scripts, dysfunctional menus, etc. Couple of months in a row I had the time and chance to rewrite this as a more consistent environment, first for myself, and during this process, idea came to do it even better, and put it on the web for everyone else who may like this idea of a modern CDE.

NsCDE is intended for people who don't like "modern" hypes, interfaces that try to mimic Mac and Windows and reimplement their ideas for non-technical user's desktops, and reimplement them poorly. Older and mature system administrators, programmers and generally people with a Unix background are more likely to have attraction to NsCDE. It is probably not well suited for beginners.

Of course, the question arises: why not simply use the original CDE now that it is open source?

Apart from its desirable look, because it has its own problems: It is a product from the 90s, based on Motif and a long time has passed since then. In CDE there is really no XFT font rendering, no immediate dynamic application changes. Besides that, I have found dtwm, CDE's window manager, inferior to FVWM and some 3rd party solutions which can be paired with it. So I wanted the best of both worlds: good old retro look and feel from original CDE, but more flexible, modern and maintained "driver" behind it, which will allow for individual customizations as one find's them fit for their own amusement and usage. As it will be seen later, there are some intentional differences between CDE and NsCDE - a middle ground between trying to stay as close as possible to look of the CDE, but with more flexibility and functionality on the second and third look.


Components of the NsCDE

Components overview

NsCDE consists of 7 main facilities

  • extensive FVWM configuration and customization
  • FvwmScript GUI programs
  • GTK2 and GTK3 theme based on pixmap engine
  • Icon theme
  • Python programs and Korn Shell scripts
  • Miscellaneous pieces for integration, like CSS for Firefox and Thunderbird, etc...
  • Integrated free software components for desktop environment tasks

Central "driver" or framework is FVWM Window Manager. FVWM is in my opinion a model of free choice for people who like to have things set up as they wish and and who are aware of what real freedom of choice is. A stunning contrast to policies forced on Linux users in the last decade by the most mainstream desktop players.

NsCDE is by default installed in /usr/local ($NSCDE_ROOT), but it can be relocated to any other installation path during pre-installation configuration.

It is not using the default configuration directory $HOME/.fvwm but sets it's own $FVWM_USERDIR to $HOME/.NsCDE, and uses NsCDE private $[FVWM_DATADIR] as a source of configuration.

nscde's People

Contributors

damon-kwok avatar dangreene0 avatar davide125 avatar drscream avatar duckyondiscord avatar enkore avatar grobe0ba avatar illegalcoding avatar ivuk avatar nscde avatar robbie01 avatar seifferth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nscde's Issues

WSM issue fixed

Hey
I just wanted you to know that the issue of WSM not loading in FreeBSD has been fixed by doing as you suggested and building fvwm from source. All is well now. Thanks!

[Question] How to debug NsCDE's Splash Screen?

Hi, more often than not, especially at first login after power on or reboot, I experience an annoying freeze of the Splash Screen: the "wheel" to the right of "Starting Up..." stops rotating, the mouse pointer turns to cross hairs, Ctrl+C or mouse click does nothing, eventually after a number of alternate Esc / mouse clicks the Splash Screen goes away.
As I'm quite unfamiliar with Fvwm (i.e. I haven't got the faintest idea how to do that), I wonder whether there's a way to see what's happening behind that Splash Screen, or alternatively just get rid of it.
Thanks

Clipboard & select all and some other small questions

Hi,

First of all, I love NsCDE. Thank you for the effort of creating such a nice WM.

Issue: Ctrl + A (select all) is not working for me. It moves the cursor to the left in most cases.

Q1: I noticed there is no clipboard, some applications are unable to use (or missing) the clipboard functionality. Is this correct? How to solve this?
Q2: I'm currently closing windows with double click on the menu (left top) in the title bar, is this the correct way?
Q3: Firefox is always starting on my left window (iso the main window), can I change this behavior?
Q4: Screenshot button is not triggering any screen record app?

Hint: Please, disable Silent Key Tab A S hotkey or move to another hotkey combo. Since the Shift+Tab action is needed for programming (like fixing a small indent issue).

Thanks!

Regards,
Melroy vd Berg

(request) icon theme

Hi, I realyl like the icon theme and tweaks to QT and GTK that this DE applies while in use.

I was wondering how I could have those things without using nscde, it is kind of unstable at the moment.

i tried just copying the icons to another pc but they do not seem to be useable that way.

Disable switching virtual pages with mouse?

Hey there,

I was wondering whether there was any way of disabling the switching between different pages of a Workspace via the mouse. It, unfortunately, frequently happens that I accidently switch to a different page by having my mouse be too close to the edge of the screen. I was unfortunately unable to find any information regarding this in the documentation.

sysctl suspend/reboot/etc. fail w/ sudo

Environment

  • Stock Fedora 31 installation
  • NsCDE installed, all settings defaults
  • single user account, not sudoer (i.e. I set an "admin" (root) password during install)

Steps to reproduce

  1. Open the system dialog.
  2. Select Suspend, Reboot, Shutdown, or other actions handled by nscde-acpi
  3. Click 'Confirm'

Expected Result

System restarts, shuts down, suspends, etc. as requested.

Actual Result

Nothing. It's a silent failure with zero user feedback. It just... doesn't work.

Executing the relevant command by directly invoking nscde-acpi directly works fine.

Root cause

The SysActionDialog script executes the nscde-acpi wrapper prefixing the command w/ sudo even if it doesn't need to.

Implementation Suggestion

Having to start using sudo just for this isn't a great user experience. But on a modern Fedora install like this I don't need to have sudo just to suspend w/ systemd. (And given that systemd is all but universal on Linux nowadays, anyone still using the legacy methods is probably used to doing lots and lots of manual config. ๐Ÿ˜‰ )

It will make the nscde-acpi wrapper slightly more complex, but it might not be a bad idea to reduce the use of sudo only to what's strictly required. That should improve the default experience, not to mention make it easier for people who won't or can't give sudo to the user accounts.

And no, FreeBSD won't be handled out of the box, but we're used to that too. ๐Ÿ˜†

(Bonus points: add a "lock + sleep" option that calls Xscreensaver before calling the wrapper.)

Color Theme Extensions

Firstly, I love NsCDE!! It's fast, clean, and beautiful!

Is there a way to write an extension to apply NsCDE's color themes to other programs? I use the kitty terminal, and it would be awesome to integrate it with NsCDE's colors. Thanks for any help!

Bit of fun: moxfm

Those of you old enough to remember xfm (X File Manager) may also recall a fork of that long ago which was made to work with motif, called moxfm.

Nine years ago, I found the source for moxfm and threw it here on github.

It still compiles to this day, by:

apt-get install libxmu-dev libxmu-headers libmotif-dev xutils-dev
xmkmf -a
make
sudo make install

(Package names will vary across different Linux distributions/BSDs).

The end result looks like the following screens shot attached. You can see I've found a bug in moxfm in the XTerm behind the file manager which I'll fix in due course.

ss-june-2020

Buggy as hell, I'm sure. But might just about fit with CDE to be nostalgic for some! :)

Scale panel

Hello!

Have been trying NsCDE, nice work, thnx ! :)

I was wondering if there is a way to scale up the size of the panel, because it is a bit small on the high dpi screens of today. There is a script 'run_scaled' that allows individual applications to do this via xpra. Don't know if this is possible for the panel. Is this an fvwm module?

Jos v Riswick

Keybindings: Duplicate functionality of Menu to Multi_key - Result in issue with ISO_Level3_Shift in xmodmap

With the following commit d3c53c1 you added duplicate functionality of Menu to Multi_key. For example on my Thinkpad I use ISO_Level3_Shift (AltGr / Right Alt) to have some special functionality for Umlauts:

! Provide Umlaut support with altGr+u, altGr+o, altGr+a or with altGr+shift
keycode  26 = e E EuroSign cent EuroSign cent
keycode  30 = u U udiaeresis Udiaeresis udiaeresis Udiaeresis
keycode  32 = o O odiaeresis Odiaeresis odiaeresis Odiaeresis
keycode  38 = a A adiaeresis Adiaeresis adiaeresis Adiaeresis
keycode  39 = s S ssharp ssharp ssharp

With your commit this functionality isn't working anymore. I would like to ask for help if you might have any idea why or any idea about a workaround to support xmodmap.

UI glitch after fixed suspend support

So unfortunately, the fix for issue #5 appears to have broken the dialog slightly.

As of 9fe7dc0493, the value of the drop down does not appear to be updated when a selection is made.

Making a selection and pressing "Confirm" still works, and indeed upon bringing up the dialog again the drop-down now displays the previous selection. This behavior is not observed when making a selection and pressing "Dismiss".

Keybinding Context missing explanation

Hi,

The following is explained in the header of /opt/NsCDE/config/NsCDE-Keybindings.conf:

# Contexts:
#     R = Root Window                 rrrrrrrrrrrrrrrrrrrrrr
#     W = Application Window          rIrrrr<---------^rrrrr
#     F = Frame Corners               rrrrrr[13TTTT642]rrrrr
#     S = Frame Sides                 rIrrrr[wwwwwwwww]rrrrr
#     T = Title Bar                   rrrrrr[wwwwwwwww]rrrrr
#     I = Icon                        rIrrrrv_________>rrrrr
#                                     rrrrrrrrrrrrrrrrrrrrrr

But I'm missing the context letter 'A' meaning in the list of explanations. Most likely 'A' in context also mean 'ANY'? Example:

Silent Key Left A S CursorMove -1 0

  • Silent -> supress errors
  • Key Left -> Left key
  • A -> ?
  • S -> Shift
  • CursorMove -1 0 -> the command

Ps. Also the ASCII art on the right side, is a vague for me.

Regards,
Melroy

.dtwmrc parser

You are quite talented and creative with python. Could we get a dtwmrc parser for porting our settings over?

[Suggestion] make last system action saving optional

Hi, it happened to me several times to shut down the system, whereas I just wanted to log out from NsCDE, just because I had shut it down the day before, so "Shutdown" was the last system action saved in $HOME/.SysActionDialog.lastval, and I inadvertently clicked "Confirm" without choosing the "Logout" action from the drop-down list first.
I have therefore taken the liberty of modifying /opt/NsCDE/lib/scripts/SysActionDialog so that $HOME/.SysActionDialog.lastval is always set to 1 (Logoff); this way, if I want to do something different, I have to choose it explicitly from the drop-down list, and that's perfectly fine for me.
Maybe there are other NsCDE users who would prefer such behavior, so I thought that the Logout dialog could be enriched with some sort of "Remember last action" checkbox.
This is a just a simple suggestion based on a personal experience, if you think it's not worth adding it to the ToDo list for the next release I'll understand.
Thanks

Text out of dialog (font size problems)

First of all thanks for creating NsCDE.

Setup

  • Resolution: 2560x1440
  • FVWM version: 2.6.9
  • NsCDE version: fa987b4
  • Font: Liberation Sans / Mono

Issue

I use NsCDE on the above setup and detected that some dialogs doesn't show the full text. Especially menu bars or parts in windows like the Style Manager. I've attached a screenshot which I hope could help to see the issue.

2020-06-09-160418_1233x594_scrot

If additional questions are needed feel free to ask.

Idea

I expect it has something to do with the resolution, DPI and font size. But I'm not sure what would be the best way to debug it or set the correct values to make it look better.

$ env | grep DPI
NSCDE_FONT_DPI=144
DPI=96
NSCDE_DPI=96
$ xrdb -query -all | grep -i dpi
Xft.dpi:        144

The Curious Case of Caja's Dual Pane

Hi again,
I'd like to report another very small thing I noticed.

Premise
Caja is a Gtk3 file manager (part of the Mate Desktop Environment) whose default layout is a classic single pane + sidepane on the left, but its single pane may be optionally split vertically into a dual pane; as for its available view modes, they are large icons ("Icon View"), small icons ("Compact View"), and detailed list ("List View").
When items are selected in List View, $HOME/.themes/NsCDE/gtk-3.20/widgets.css inverts their color, i.e. 'background-color' becomes '@fg_text', and 'color' in turn becomes '@bg_text'.

Small Thing I Noticed
Having split the pane, chosen List View in one of the panes, and selected one or more items in that List View pane, if you click on the other pane the previously selected item(s) disappear.
By "disappear" I mean that it looks like the 'background-color' property is reset to '@bg_text', but not the 'color' property, making the text indistinguishable; only the icon(s) remain visible.

Quick and Dirty Workaround
First, I checked that this happens only with the NsCDE Gtk theme; having done that, I went through $HOME/.themes/NsCDE/gtk-3.20/widgets.css to try and find out which selector/property springs into action when you click on the other pane, but that file is really HUGE and my knowledge of CSS really limited, so eventually I gave up.
As a quick and dirty workaround I created a very simple $HOME/.config/gtk-3.0/gtk.css to just reinstate the selected items color, like so

.caja-notebook treeview.view:selected,
.caja-notebook treeview.view:selected:focus {
background-color: @fg_text;
color: @bg_text;
}

This way they just don't disappear anymore ;-)

I'm posting this FYI, just in case it may help.
Cheers

fonts are sort of screwed up after installing this

I installed this on arch, later quit using it due to instablity, but it seems to have messed with my fonts now. They look off, as if I were on the wrong resolution or they were stretched. Any ideas on how to reverse this?

Support for XDG

Any plans to support XDG? At least the following env variables:

XDG_CONFIG_DIRS=/etc/xdg/
XDG_DATA_HOME=/home/myuser/.local/share/
XDG_CONFIG_HOME=/home/myuser/.config/
XDG_SEAT=seat0
XDG_VIDEOS_DIR=/home/myuser/video/
XDG_SESSION_TYPE=tty
XDG_PICTURES_DIR=/home/myuser/pics/
XDG_PUBLICSHARE_DIR=/home/myuser/
XDG_DOWNLOAD_DIR=/home/myuser/
XDG_MUSIC_DIR=/home/myuser/audio/
XDG_TEMPLATES_DIR=/home/myuser/
XDG_CACHE_HOME=/home/myuser/.cache/
XDG_SESSION_CLASS=user
XDG_DESKTOP_DIR=/home/myuser/
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
XDG_DOCUMENTS_DIR=/home/myuser/doc/
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/home/myuser/.local/share/

E.g. currently $FVWM_USERDIR is used instead of telling the user to use $XDG_CONFIG_HOME. Also the default value $HOME/.NsCDE doesn't take XDG into account. I would say a more compatible option would be to set default to $XDG_CONFIG_HOME/nscde/ and just ensure, that $XDG_CONFIG_HOME contained a sane widespread value - I'm myself using for my FVWM config export XDG_CONFIG_HOME="${XDG_CONFIG_HOME-$HOME/.config/}" and so on for other XDG directories.

Btw. great work this whole NsCDE, thanks.

The Return of the Son of /opt/NsCDE/libexec/nscde-acpi

Hi,
sorry to bother you again about this, but I tried to reboot my MX Linux desktop from NsCDE and received again (in)famous error:
"System has not been booted with systemd as init system (PID 1). Can't operate"
It look like it's necessary modify "f_reboot" the same way you did for "f_poweroff" in that script; I'm sorry for not noticing and reporting this before, the fact is I don't reboot my desktop very often.
While I was at it, I tried the other /opt/NsCDE/libexec/nscde-acpi options and seen that for 'suspend', 'hibernate' and 'hybrid-suspend' the userid should be allowed to 'sudo' the corresponding 'pm-utils', so I noticed a small discrepancy between the documentation and the actual NsCDE directories contents: chapter "8.1. System Tree Layout" says that in 'share/doc/examples' one could find examples for 'sudo' those 'pm-utils', but I couldn't find any.
That's not a problem at all for me, but I'd like to report it to you anyway, in case such small discrepancy wasn't intended. (and unless I'm missing something, or course)
Thanks

Is there a way to tame the Evince PDF viewer?

Hi, I wonder whether Fvwm or NsCDE can command Evince to behave.
I like that application, but it hasn't got a tabbed view, which means that every document has to be opened in a separate window; now, my problem is that when it comes to opening new windows Evince has a mind of its own: each new window gets an initial different size, and in some cases they've been created larger than the screen(!)
Needless to say, there's no option in Evince (at least, in the version that comes with my distribution) to set an initial window size.
I tried NsCDE's GeoDB, but I found out that it only worked for the first Evince window, other windows still get their initial size at random.
I checked the documentation of Fvwm's Style directive, but I only found things like MinWindowSize and MaxWindowSize, if I'm not mistaken there isn't any style option to set the initial size of a window.
Based on your experience, is there anything you can suggest?
Thanks

(request) system tray blended into the bottom bar

The CDE bottom bar has some larger icons for clock, calender, theyre pretty spacy.

Since you're using fvwm for a base I imagine this would be possible, the idea is makinga custom tray app/fork of stalone tray that can become apart of the bottom bar, looking just like another icon and being interacted with like a system tray. It could be like a widget.

People may oppose this, the cde crowd don't lile trays, however stalonetray is an eye sore and sticks out like a sore thumb in its current, and default configuration and theres just noway around that.

unrelated,
Thanks for the excellent DE I have started to move my other CDE comptuers over to it, although I prefer cde, at least his way I dont need to run rpcbind on the already insecure linux desktop

couldint install nscde on void linux becauce cpp is not avalible in the repo

so i tried installing Nscde on Void Linux ived tried installing it but i cant because i get this error message " Error: command or program "cpp" as NsCDE dependency is missing.

Error: Missing required commands or packages: cpp. Install them and run Installer.ksh again" i tried to install cpp but i cant find it any where in the repo but if you know how to install cpp on void let me know.

Alot of things does not execute on freebsd

Hello there i installed nscde with this guide on freebsd with minor modifications (such as python version). My problem is programs such as the terminal, firefox, alacritty, callendar, file manager, print manager, some of the options in style manager (not all), text editor, multimedia, help, etc... does not execute when pressed on panel or called from Exec.

Black fields when choosing GTK integration in Style Manager

Hello,

so I've only just found out about this project and thought it was pretty cool; something, however, has been somewhat annoying, and that is the fact that whenever I choose the options of using the GTK integration options in the Style Manager, certain applications receive black fields where there really shouldn't be any. This is especially noticable on Firefox or Thunderbird as you can see on the screenshot below.

2020-07-26-101836_1024x768_scrot

This does not occur when I uncheck the GTK integration boxes โ€“ but then obviously I will also not have the theme on any GTK application, which is a tad annoying. I have tried changing some colours to white in the CSS files found in the .themes/gtk-xx directories and changing the gtk-application-prefer-dark-theme variable in the GTK-3 settings.ini file from 1 to 0, but that didn't change anything either.

Does anyone have this issue as well and perhaps some tips to mitigate this?

1.0-rc24 doesn't start

Hi
Just built rc24 on Debian stable and testing amd64, did no try on other arch yet, but... the builds went ok, but FVWM starts instead of NsCDE. Any clue, please?
regards
pavroo

Panel not working properly on Ubuntu

Greetings,
I have run the scripts on Ubuntu, but for some reason the Workspace selector on the panel is blank.
I've looked at some of the configurations, but have been unable to resolve.
Is there specific script to run or log to look at?

Thanks.

NOAPP in context of a web browser

First of all, thank you for the great effort clearly put into this project!

I'm getting a NOAPP message when I try to launch anything related to the web browser from the main panel (documentation or right click on the clock icon)

My enviroment has a default web browser - other application can call the browser, my $BROWSER is also set.


I saw that NsCDE/share/fallback/app-catalog/www-browser has a list of binary names, my particular browser is not on the list.
I've edited the file to include it, restarted the enviroment but didn't see a change

Workspace switcher not working on FreeBSD 12

Hi.
Thanks for this by the way, it is amazing.
After a few tweaks here and there I got this to work on FreeBSD 12 with Qt5. I am having an issue, however, with the workspace switcher not loading at all. I tried altering some settings under "manage workspaces" but those setting don't stick and upon reload the switcher still does not load. Any clues? I don't know what files to show here as I am very new to this desktop. Thanks

can't start

I've used CDE; would like to try NsCDE (first as a second X session.) What happens is below.

[email protected]:~$ exec /opt/NsCDE/bin/nscde
xdpyinfo:  unable to open display "".
Warning: DPI "" is not recognized as X DPI specification. Setting DPI to 96
Warning: cannot read /home/d/.NsCDE/Xdefaults file
Warning: cannot find /home/d/.NsCDE/app-defaults directory
Notice: /home/d/.NsCDE/Xset.conf does not exist
[fvwm][main]: <<ERROR>> can't open display

Running wine

Unable to run wine in NsCDE:

$ wine

ERROR: ld.so: object '/opt/NsCDE/lib/XOverrideFontCursor.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

It's a 64-bit so file, that always gets preloaded somehow, but Wine is often still used (for good reasons) as a 32-bit binary.

Please, fix!

Regards,
Melroy

volume/brightness keys and laptop closing

As a laptop user, it was quite frustrating to find that this didn't work with my volume or brightness keys. Also, my laptop doesn't lock when I close it. Closing it seems to just turn the screen off.

Style Manager can't pick backdrop files with spaces in path

Steps to reproduce

  1. Open Style Manager. Select the "Backdrop" control.
  2. Check "Use a photo or picture"
  3. Click "Add"
  4. Navigate to a directory in which there is at least one subdirectory with at least one space character ' ' in the path. (Other whitespace has not been tested.)
  5. Attempt to navigate into the subdirectory with space character(s) in their path.

Expected Outcome

Subdirectory contents are displayed.

Actual Outcome

Subdirectory path is displayed in the "Selected file" input. Pressing "OK" when the dialog is in this state closes the dialog, but otherwise produces no obvious effect.

Test Environment

Fedora 33 on aarch64, fully updated as of this issue's reporting date.

Front panel disappeared

Hey there,

I hate having to open another issue here, but, somehow, the front panel has disappeared. I was simply changing the theme in the Style Manager to something different when, suddenly, the front panel simply disappeared. Reverting the theme didn't help, neither did restarting and attempting to use the several methods of toggling the front panel (such as Shift+Esc).
Any ideas what might've caused this?

NsCDE 1.1 Feedback

Hi there,
I recently discovered NsCDE thanks to a link in the Wikipedia article about the original CDE; I've been using it regularly for about a month and appreciate its consistency and extensive documentation, which are indeed not so common.
So it's with an absolutely positive approach that I'd like to report a few, really small things that I've noticed here and there; I see them not as "issues", just little suggestions, but I don't know where else to report them so I'm posting them here.
Thanks for your attention.

In no particular order:

  1. $HOME/.config/gtk-3.0/settings.ini
    When I switched back to Xfce after setting up NsCDE, I noticed that everything had gone dark, even though I never chose any Gtk dark theme for Xfce; after much head scratching, I noticed this directive
    gtk-application-prefer-dark-theme = 1
    in file $HOME/.config/gtk-3.0/settings.ini.
    I was quite sure I hadn't set that myself; to verify that I created a new test user, checked that no such settings.ini file existed for that user, started NsCDE, and after that I did find that file with that directive in it.
    I switched back to my regular user and changed that directive's value from "1" to "0": Xfce adopted my favorite light theme again, while I didn't notice any changes in NsCDE.
    To avoid confusion, if that directive is not necessary for NsCDE I'd suggest to remove it, and if it is instead to document it in the FAQ and/or Manual.

  2. $HOME/.themes/NsCDE/gtk-3.20/widgets.css
    When clicking a toolbar button of a Gtk application I noticed an horizontal flickering of the toolbar: the farther on the right the button, the wider the flickering (e.g. the 'Exit' button of the Geany text editor)
    Eventually I found out that commenting out the 'padding' property (line 298) of selector
    'button:active, button:checked'
    in file $HOME/.themes/NsCDE/gtk-3.20/widgets.css stopped that annoying flickering.
    (I am not a Gtk themer and my knowledge of CSS is really basic, there may other/better ways of achieving this)

  3. /opt/NsCDE/libexec/nscde-acpi
    The Linux distribution I'm currently using is MX, which is based upon Debian stable, has systemd installed for compatibility, but doesn't use it as its init system; as a result of this, /opt/NsCDE/libexec/nscde-acpi returned (in)famous error
    "System has not been booted with systemd as init system (PID 1). Can't operate"
    when trying to shut down the system.
    One solution I found on the Internet is to check the output of command
    ps -p 1 -o comm=
    which in my case returns "init", to determine whether systemd is actually being used as init system or not.

  4. NsCDE-Keybindings.conf Manual chapter
    I wanted to remove some of NsCDE's default key bindings, but since I'm completely unfamiliar with Fvwm I didn't know how to do that; after unsuccessful search on the Internet I did find the very extremely simple answer (prepend a "-") in NsCDE's FAQ, which I (obviously) hadn't read in the first place.
    I'd suggest to add that information to the Manual chapter for clarity.

  5. Install Icon
    I added some existing application entries to subpanels, but in one case I wanted to change the Name and Icon; although I could change those values in the Install Icon window, those changes were not saved and I eventually had to edit the files $HOME/.NsCDE/NsCDE-Subpanels.conf and $HOME/.NsCDE/Subpanels.actions manually.
    I wonder whether this is the intended behavior, or a small bug, or I just missed something.

  6. $HOME/.NsCDE/Subpanels.actions
    After subpanels customization with "Install Icon", I noticed that this entry
    S8,Entry,PCManFM,,NsCDE/32x32/apps/system-file-manager.png,pcmanfm --no-desktop
    which is present in file /opt/NsCDE/config/Subpanels.actions, had disappeared from $HOME/.NsCDE/Subpanels.actions
    (maybe because its "Entry" keyword is not uppercase, like all the others in that file?)

  7. Compositing Manager and Fvwm window resize/remove
    I noticed that if a compositing manager is running, Fvwm doesn't show the 'X Y' coordinates box while moving a window, or the 'Width x Height' box while resizing a window; since there's already a paragraph in the Manual about compositing manager, maybe this information could be added.

Workspace switcher

Hi
I have build and installed the latest rc21 on Debian stable & testing i686, amd64 and armhf.
The workspace switcher shows up on amd64 desktops only, but doesn't do that on i686 and armhf.
Any clue, please?
Regards
pavroo

Strange VirtualBox GUI behaviour

Hi, I like the Broica 4 colour scheme a lot, but there's one application that seems to dislike it: the VirtualBox GUI (see screenshot)

Broica

I guess that's because of Broica's white text, because using a theme with black text (e.g. Solaris) the same window looks fine.

Solaris

It's not a big problem, just a bit of a nuisance: whenever I want to use VirtualBox I have to either switch theme or switch Desktop Environment, but anyway I'm curious: why is this happening? As far as I know, VirtualBox' GUI is based on Qt, and all other Qt-based applications I use (KeePassX, qBittorrent, Vlc, etc.) look perfectly fine with Broica.
Is there anything you can suggest?
Thanks

[suggestion] allow whitespace in X11 Class/Resource Name in the Geometry Manager

Hi,
while investigating VirtualBox' GUI strange behaviour (issue #57) I noticed something else: the Geometry Manager refused to save the window size and position, due to a whitespace in the Class and Resource Names (as a matter of fact, both identify themselves as "VirtualBox Manager")
Having seen that both scripts confget.py and confset.py in /opt/NsCDE/bin make use of Python's configparser which, according to its documentation, supports whitespaces in keys, I tried to manually editing $HOME/.NsCDE/GeoDB.ini and added a line, like so:

VirtualBox Manager,VirtualBox Manager = (width)p (height)p (x-pos)p (y-pos)p

It worked; I made several experiments modifying the 4 values in $HOME/.NsCDE/GeoDB.ini, and every time the VirtualBox' GUI window did comply with the settings. So, I've taken once again the liberty of modifying /opt/NsCDE/lib/scripts/GeometryMgr slightly, in order to accept and save X11 Classes and Resources with whitespaces in their names.

I've attached my patch, just to give you an idea of what I did
allow_whitespaces_in_x11_class_and_resource_names.patch.txt

However, if you think that such modification would be inappropriate (e.g. may have undesired side effects) do feel free to discard my suggestion.
Thanks

Documentation missing to replace clock icon

It is mentioned in the documentation that it is possible to replace the pclock icon with the Solaris version (globe and hands). But somehow (from my point of view) the documentation should also describe how to replace it.

I tried to understand how it should work but somehow failed - that's also the reason why I open this ticket :-)

Enable Compiz / Smaller Taskbar

I absolutely love NsCDE, but I have a couple issues with it.

First, I can't enable Compiz to eliminate screen tearing. When I try enabling Compiz with compiz --replace, I get logged out. Sign back in and screen tearing is still present. How would I enable Compiz?

Also, how would I make the taskbar smaller than currently allowed? I use NsCDE on a 1024x768 display and it's a bit too big for me.

Please feel free to make use of the fvwm forums

Hi @NsCDE,

Not sure if you're aware, but I've resurrected the fvwmforums.

Please do post anything you like there regarding NsCDE. I've already extended this offer to fvwm-crystal and fvwm-nightshade who are making use of it.

If you're interested, I've created a category for NsCDE already (https://fvwmforums.org/c/fvwm-themes/nscde/).

Feel free to register an account.

If you've any questions, let me know. Hope I'm not being too presumptuous.

Cheers,
Thomas

Add support for packaging on Linux/BSD systems

I'm loving the work you're doing on this project, it looks great! I'd want to use it on my Slackware system but as I'm not too familiar with the KORN shell I can't go through and modify the installer.ksh to allow for a staged install which would let me make a software package out of the application. Because of this, I and anyone else who would wish to use NsCDE are unable to create a software package for it.
Your project also seems to be using a non-standard build system as opposed to something like apache-ant or make. I think that if you were to use the make/gnu autotools related build systems, this would make it easier for your project to be packaged and distributed on Linux repositories and make it easier to install/more accessible to most users.

Wallpaper file picker can't enter folder with spaces in name

First of all thank you for the 1.1 release. The added tile support is very exciting!

I wanted to report that the new dialog window for picking a background picture seems to be unable to traverse into directories with spaces in the name. Attached a screenshot of a the dialog box. At the pictured level, it can traverse deeper into folders without a space in the name.

ScreenShot 'FvwmScript' 0x6600001 20201222 120321

Custom cursor

How i can change the cursor ? i want make my cursor like red cursor in SGI IRIX OS

Problem with web apps

I have been using NsCDE for 1 month now and I can say all the web-apps such as slack, Skype, and Spottily work with delay.
For instance, in the case of Slack, the apps get suspended and then the message is delivered after 10 seconds or for the case of Spotify I change the music or volume but it takes few second for it to take place. This might be due to Electron Javascript library that is not working efficiently with NsCDE but if this problem is resolved, this will become a very useful desktop environment.

Thanks for all the hard work and got to say I love this.

Unable to run installer using OpenBSD ksh

While trying to run the installer, I get the following error:

[15:15:04] toughbook [NsCDE] >> ./Installer.ksh -X /usr/local/share/xsessions -i

*************************************************************************
*                                                                       *
*  Starting Installer.ksh for Not So Common Desktop Environment (NsCDE) *
*                                                                       *
*  Installation procedure in progress ...                               *
*                                                                       *
*************************************************************************

install_nscde: ./Installer.ksh[1051]: whence: -q: unknown option
Error: cannot find fvwm binary. Install FVWM before continuing.

When trying to run whence with the mentioned parameter, I get the following:

[15:20:27] toughbook [NsCDE] >> /bin/ksh 
toughbook# type whence
whence is a shell builtin
toughbook# whence -q ksh
/bin/ksh: whence: -q: unknown option
toughbook# 

(request) right click on title bar

On the normal CDE desktop, you are able to right click anywhere in the title bar to get to the menu for managing that window.

On NSCde, you have to click the - icon, which is the case for cde too, however, on CDE you can do both, it is nice.

I must also ask, is it possible to run the themeing utility stand alone? I often set it to make apps look better with real CDE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.