This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

This section is about implementation ideas of how to bring all the UNIX power (100s of commands/services/tools) to the GNOME desktop.

For many tasks, power users need still to go to the command line. We should try to get the cases when that happens and try to bring the features to the GNOME desktop, thus making it available, in a nice and GNOMEish way, to all users, whether they are advanced or not.

1. Access to command line tools

As stated before, UNIX systems come with 100s of commands to operate on files, text, images, network sites, etc, for which right now there is no access from GNOME. It would be very nice to provide power user features in the GUI that make use of those commands. Some examples:

1.1. How to implement it?

2. Message of the Day (motd)

Message of the Day is a UNIX feature that allows system administrators to have messages be shown to users as they log in. Most distros use a file (/etc/motd) where admins can put any message and which users can read on login.

Bugzilla bug is gnomebug:159604.

2.1. When to display the messages

Ideally, on log in, although we might offer a way to detect changes in the motd file and display notifications in the middle of the user's session.

Also, it is important to note that most distros include not very useful information in that motd file, and in some systems the file never changes, so there should be some way to avoid showing always the same message.

It's important also to note that motd file might contain some sensible information that shouldn't be shown to people without an account just looking at the login GDM screen. So, in the GDM login screen, the contents of /etc/issue might be better used, leaving the contents of /etc/motd to be shown when a user has actually logged into his/her account.

2.2. Where to display the messages?

As a suggestion, don't put it in a dialog or anything that requires the user to dismiss it every time you log in. That would be very annoying. The way it is displayed in a terminal is ideal; displayed whenever you open a terminal, but requires no effort to ignore it - you can just start typing as if it isn't there. So maybe a notification bubble that first appears on login but automatically dismisses itself after some period of time would be good. Combine this with a notification tray icon that only appears if /etc/motd has changed and I think you have a pretty good solution. -- MikeGratton

As the person who originally logged the Bugzilla request for this feature, I agree with all of Mike's comments above. We definitely do not want it in a dialogue that requires the user to dismiss it each time. Furthermore, once a user has read it, perhaps it should not appear on subsequent logins until the System Administrator changes the message. There are pros and cons for this but perhaps an option the Administrator could set would allow it to appear each time or only if the message had been changed. Another possibility reagarding where to display the message is on the desktop itself as a semi-transparent layer over the wallpaper. I do ot know if this is currently possible but if it were made readable but the user could still see his or her wallpaper, this could be an unobrusive option. I suggest this as a long message would not fit in a notification bubble or on the panel itself. -- David Le Sage, Hobart, Tasmania

The nature of /etc/motd is not such that a sysadmin will change it and expect current users to notice the change. For information like this there are commands like `wall'. Thus the notification tray icon will only add unecessary complication. -- FlorisBruynooghe

2.3. How to implement it?

3. System messages

To get messages from shutdown, apcupsd, etc and the ability to communicate with other users in the system.

JohnPeterson: My suggestion can be found here under "The Dialog" heading.

3.1. What messages do we care about?

What should the user be told about? What does the user need to know?

4. Access Control Lists Support

Linux 2.6 supports POSIX 1003.1e ACLs for most of the common file-systems. Solaris, HP-UX, AIX have ACLs, not POSIX, but they can be easily wrapped. FreeBSD, thanks to the TrustedBSD project has support for POSIX 1003.1e.

Bugzilla bug is gnomebug:62817.

4.1. Where to implement them?

4.2. How to implement it?

The SAMBA project has support for POSIX ACLs and for ACLs from different operating systems. That might be a nice start. A special case for GTK would be win32. For win32 a much better choice would be just to bring out the standard windows file properties panel.

5. Regular expression Support

I often end up going to the console for doing advanced searches which also includes altering the files which matched a regular expression. So one have to write a find command, a grep command and a sed command. This is something I would love to have some GUI support for. Maybe the possibility to preview all files the matches a regular expression. The sed part is probably a bit more tricky.

5.1. How to implement it?


2024-10-23 10:59