RISC OS Desktop Modernisation Project


In this post we’ll have a look at the status of another RISC OS project I started last year. Given that it’s starting to take shape and quite a bit of it started to work I think it’s time to present it 🙂

Disclaimer

This page should be considered an introduction to the project and not exhaustive of all the features offered by the Project it describes.

The Desktop Modernisation is an ongoing effort and so things may change over time.

Intro

By reading a lot of posts on the ROOL forum, following multiple people on social media and new initiatives being started as Kickstarters I have noticed there is a big portion of RISC OS users that really would like to have a more “modern” desktop experience on our beloved OS. I took inspiration for this project after a ROUGOL presentation from WiFi Sheep‘s Tom Williamson to start working on some of what is needed to make the RISC OS Desktop look and feel more “modern”.

I do not yet have a name for this project, so I asked on the ROOL Forum for the community help on suggesting a name for it. If you are interested then here is the link to the thread there please feel free to express your ideas on a possible name or vote for one of the proposed ones, thanks! 🙂 (if you do not have an account on ROOL then you can leave a comment in the comment section below or send me a message with the contact-me form).

Please note: this effort is purely to address the desktop experience itself, not to improve the OS security or architecture to work as a more modern OS. 

I am also looking for help on this project, please see the bottom for more details.

RISC OS Desktop experience modernisation

A possible take on the modernisation process is that it has to act on the following points:

  1. Allow more modern themes to be applicable to RISC OS WIMP
    1. Extend the Theming protocol as much as possible (including sounds, animations and what’s possible)
      1. Support for palette per Theme
      2. Support for fonts and Font size per Theme
      3. Support for sounds per Theme
      4. Support for gadgets per Theme (optional)
      5. Support for backgrounds per Theme (optional)
    2. Add a more modern WIMP Theme to RISC OS (this will be included in the list of available Themes)
    3. Make it easy to add new Themes from 3rd parties
    4. Introducing Dark Mode
    5. Convert ALL existing Themes for ALL versions of RISC OS to the new Desktop Modernisation Engine
    6. Integrate the Theme creation/editing with some existing Theming application like Skinny (from Real Small Software Company) so that non-technical users can easily create their own themes using tools like !Paint, !Fonts and some others for Palette editing and sound editing (no coding should be required to create a new theme!)
  2. Allow the addition of new “global desktop controls
    1. Add control to allow a user to bring any window to front just with a click
    2. Integrate with ARMClub’s !Workspace to allow multi-desktop on RISC OS in an easy way that also looks and feels as it’s experienced on other modern desktops like KDE etc. 
    3. Introduce more modern controls for menus 
    4. Improve the Filer to have more modern features
      1. Customisable views per directory (aka support for having some windows with details and others with large icons depending on the user needs and without forcing the same setting for all Filer windows)
      2. Add a Utility bar to the Filer Window for quick access to most used functions
      3. Add more features right now in TBD
    5. No need to improve the Pin-board as this is already being worked out
    6. Introduce a framework to handle keyboard shortcuts
    7. Allow mouse control via arrow keys for the situations where the regular mouse stops working or for RISC OS deployments that may require no mouse.
    8. Introduce a new Notification Framework to make it easy for applications to generate notifications and have them delivered to the user without the use of modal windows
    9. Allow easy installation and activation of 3rd parties global desktop controls
  3. Add more desktop gadgets to improve the desktop experience
    1. Introduce a protocol for windowless and borderless gadgets on the desktop (pin-board)
    2. Integrate with other useful and already existing Desktop tools (I do not want to re-invent the wheel where possible)
    3. Allow easy installation and activation of 3rd party Desktop Gadgets
  4. Allow a user to customise his/her experience on the new RISC OS Desktop
    1. Make sure that all the new features can be turned off so the purists of the original RISC OS desktop can maintain their favourite approach
    2. Allow the user to create a configuration file of his/her choice to make it easy to replicate it on multiple RISC OS computers (this will also help companies like RISCOSBits, Elesar, RComp, Cloverleaf, CJE and other RISC OS hardware vendors to distribute their computers with their own branded RISC OS for example)
  5. Make the Desktop Modernisation Engine capable of supporting as many RISC OS Releases as possible
    1. Ideally I would like to support from RISC OS 3.x to 5.x and possibly also the non standard Adjust ( I tend to not call ROS 6.x with the official release number because technically it’s just a “4.x +++”, and that 6 just makes things confusing )
    2. At the moment it supports and recognise RISC OS 4.x, 5.x and Adjust

Some early screenshots

Here there are some early screenshot of the initial modernised themes working:

DMEScreenShot01

Another Theme even cleaner:

DMEScreenShot02

Please keep an eye on this spot, as soon as I have some time I’ll also add some videos that shows how the new controls work! 🙂

Design and Development phases

This effort is going to be going for a while given a lot of potential issues along the way, so I have decided to split the whole project into two different big phases (phases named after Dr. Who episode titles!):

  • Phase 1: 
    • In this phase the intention is to design and develop what is possible, using what is available
    • In this phase the goal is to make the RISC OS DME (Desktop Modernisation Engine)  support as many RISC OS releases as possible. This is in order to allow the entire RISC OS community to access the project and benefit from it as soon as possible and allow more people to help.
    • Milestone 1: “The Firemaker” – Dr. Who Series 1, 14 December 1963)
      • Committed Goals
        • New Theming Protocol
        • DM Engine core and configuration tool
        • Initial set of Themes including:
          • 2 modern themes ( preview above )
          • RISC OS 3 Theme (yes for the nostalgia guys, they will be able to run RISC OS 4, 5 etc… but looking like RISC OS 3.11!)
          • RISC OS 4 Theme (so if you loved RISC OS 4 and want RISC OS 5 to look like it now you’ll be able to do this!)
          • RISC OS 5 Theme (a reproduction of the standard RISC OS 5 theme that now can be used everywhere)
          • Converted new RISC OS 5 themes ( Morris etc.)
        • Global Control for Windows to Front
        • Initial implementation of Better Filler
        • Window Menu
        • Integration with ARM Club !Workspace (big thanks to Druck for allowing this!)
      • Stretch Goals
        • Dark Mode
        • Palette Editor
        • Include also RSSC Themes converted to the DM Engine
        • Include original Rich Goodwin beautiful Themes converted to the DM Engine ( I have received written notice from Rich Goodwin that allows me to import all his original work into the new DM Engine, so big big thanks to Rich for his support! )
    • Milestone 2: TBD
  • Phase 2:
    • In this phase, after gained knowledge of what is missing at the WIMP level and really needs to be added to the WIMP itself, the goal should be to lay out a set of changes for the WIMP as a proposal for ROOL and eventually try to work them out.
    • Such changes won’t be available to RISC OS versions different than the ROOL ones.
    • Milestone 1: “Dangerous Journey” – Dr. Who Series 2, 7th November 1964)
      • Add configurable Windows border to improve customisability of the WIMP
      • Add support for translucency (transparent windows)
      • others TBD

The entire process will be incremental, so the early releases will be available already from phase 1 as soon as the core components start to work in a stable enough way. Then through a process of multiple releases there will be more functionalities added and to be tested by the community.

Architecture

The Architecture for the ROS DME (RISC OS Desktop Modernisation Engine) is very simple. It sits on top of the existing WIMP and (depending on the RISC OS version) it will either extend or introduce the specific features.

DMESoftwareArchitecture

Each component is either built as a TaskModule or as a stand-alone application, making it extremely easy to be loaded/unloaded as the end-user desire. So nothing from another planet.

Each component can use the historical RISC OS vectors API or regular WIMP SWIs. The programming languages used are: Norcroft C (using ROOL DDE) and BBC BASIC. On the BBC BASIC side, I am trying to do my best to use it on some of the components, so that many RISC OS users will be able to hack them and improve them.

DME will have a RISC OS !Boot configuration tool to make it extremely easy for the end-user to choose their favourite Theme and enable/disable every functionality.

Put in few words: “RISC OS DME is a collection of tools and components that sits on top of the WIMP to modernise the RISC OS Desktop experience.

For the Architecture details there will be multiple articles describing each single part and protocol. This initial page is mostly intended as an introduction of the project itself.

Why a layer on top of the existing WIMP and not rewrite the entire thing?

Because:

  • I do not have much time available for this
  • Many do not want to wait for a full WIMP re-write in C
  • Even when WIMP will be rewritten in C and extended we’ll still need a comprehensive  solution to configure all the options
  • I think there are already plenty of pieces developed here and there, so we just need to collect them, clean them up, make sure they run fast and smooth and combine them in a single solution easy to configure and install

Why are you doing this?

Mostly for fun and to refresh my knowledge of RISC OS WIMP programming, no strings attached and it’s something that may benefit quite a lot of users in the community.

License

The DME will be released with the exact same license as RISC OS 5, so it’ll be open source and the hope is that it’ll be integrated into the RISC OS 5 source tree. Anyway it’ll be licensed under Apache License 2.0.

Scheduling and availability

The speed at which this is being worked out can be summed in the following statement: Modernising RISC OS Desktop experience one weekend at the time! Yup that’s all I have for this which is also why I need your help to make this happen! (Read below how to help).

Initially it will be made available for alpha and beta testers as a RiscPkg package (so installable via !Packman) from my public repository

Source code available in the new RISC OS Community space on github.com, link here.

Please note: You have time to subscribe as an Alpha or Beta tester. First Alpha (if everything goes well) should not be available for download before the end of August 2021

In the following picture I summarised some of the effort, its state to date and a possible scheduling for availability of the first Alpha release. Please understand that the time I have to work on this is extremely limited and potentially only being done during weekends when I am not working on other projects of mine. The reason I show the following picture is to give an idea of the effort if a single developer were to work on this. So your help would be very much appreciated 🙂

Phase 1 initial scheduling (more phase 1 features will be added on a 2nd and 3rd milestone):

Screenshot 2021-04-04 at 23.33.30

How the scheduling above works is simple: I defined as “working week” only the weekends and from 16:00 to 20:00 which is a pretty much realistic scenario. On top of that I added an “efficiency” of 60% (this to include weekends that I may not be able to work on this and all the usual life/family interruptions). Finally displayed it in year-quarters to avoid committing on specific dates given that such a thing would be hard to keep. Hopefully this approach will allow many out there to be able to join knowing that the scheduling is being planned for who has very little time available.

How to contribute to the project

There are multiple ways to contribute:

  1. Helping with the coding
  2. Helping with porting old Themes to the DME
  3. Helping reviewing documents and templates for spelling errors (corrected by Steve Pampling, he is officially in the team now!)
  4. Helping reviewing code 
  5. Helping testing on multiple RISC OS distributions and releases
  6. Supporting the project with your comments and feedback! 

Initially the project will be hosted on github.com, but the hope is that in the future it’ll be hosted in ROOL gitlab. The reason why I will start with a repo on github.com is because I have noticed that many already have accounts there, so that will probably make it easier for many to join and support the project. If you think ROOL gitlab would be a better place from the beginning please let me know in the comments below or on the ROOL forum, thanks!

EVERYONE is very welcome to join 🙂

What do I need to know in order to be able to help?

Not much, I recommend:

  • The RISC OS Programmer reference (these type of projects are heavily based on using RISC OS SWIs and OS Vectors, so a good reference it’s a must have)
  • Knowledge of C and/or BBC BASIC. As I said I am doing my best to use BBC BASIC where possible so more old RISC OS users can help, but obviously certain parts are better coded in C.
  • DDE development environment (or GCC) is required only by those who would like to help on the C side. For the BBC BASIC side there is an offer to get ABC BASIC Compiler for free from ROOL and RISC OS France, so for parts that may require you to compile BASIC you should be ok without any investment.
  • Knowledge of how to code on RISC OS for the WIMP, now this is not strictly required and if you do not possess it this is a great opportunity to either refresh your WIMP knowledge or build one!
  • If using GCC make sure you keep the pure C code in ANSI C99 standard and all the OS calls abstracted to make sure the source can be recompiled in both DDE and GCC.

How to join this project

Simple:

  • For alpha and beta testers:
    • Send me a message via the “Contact Me” form explaining you want to be tester. That means I’ll message all the testers from time to time to collect feedback
  • If you would like to help with coding, code review and documentation
    • Make sure you have an account on github.com (if you do not know how to use git please review git use on one of the billion available resources)
    • Send me a message via the “Contact Me” form explaining you want to help with coding, code reviews, documentation etc. and your github.com account so I can add you to the github.com project repo

I am planning to create a chat room on ChatCube, so probably an account on chatcube would help!

5 thoughts on “RISC OS Desktop Modernisation Project

  1. Interesting project and about time the desktop is updated I think. I have some small ideas/suggestions and wonder what you think about them:

    – more mouse gestures (like in Mouser and MouseAxes), e.g. long Select click on an application opens the directory. I can’t live without this feature and think it should be integrated into the OS or maybe your theme manager
    – I like the RISC OS Select way of menus moving to the left if there is not enough screen space on the right to show a submenu
    – Will you also update visual appearance of the buttons (like in Select or a similar way)?

    Liked by 1 person

    • Hi Michael,
      thanks for your feedback!

      So, in phase 1 I am putting together what can be done without hacking the WIMP, so it sounds like your proposals are all for phase 2 ’cause the may require some more “invasive” approach.

      Given that one of the goals is to have a tool that runs on RO 3, 4 and 5 (with 5 being the favoured OS) and possibly 6 (stretch goal), initially my intention is to limit the WIMP patching activity to what is really necessary (ideally this is a tool that the average jo should feel very comfortable with to install and use and that also do not interfere with apps and daily use).

      I’ll add your requests to the Phase 2 if that’s ok for you and again thanks for your ideas! 🙂

      Like

    • Mauser is indeed nice, menus opening to the left is there as !SmartMenu app (AFAIk on the StrongED website).
      A working LineEditor (i.a. a decend command line interface) would be a nice one too.

      Liked by 1 person

Leave a Reply or Ask a Question

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.