Use system default window controls linux

Use system default window controls linux

The X-Windowing System
RedHat Linux 5.0

Linux, and other Unixes don’t require a GUI and can often be run just fine from a command-line interface. They do, however, have a graphical system known as the X Windowing System or simply «X» . The interesting thing about X is that because Unix is a multi-user network operating system X was developed with the ability to display program output on single or multiple remote or local graphical terminals.

X accomplishes this by abstracting the user interface at the network level. Windows, Macintosh, OS/2, and most other personal computer operating systems only abstract the graphical user interface at the hardware level. Hardware level abstraction means that the program running does not need to worry about talking directly to the video card. The program instead makes request to the operating system to draw objects. The operating system passes these requests on to a video driver which contains all the details of exactly how to talk to the video display. This abstraction means that any computer running one of these OSs can use any video card from any vendor as long as the vendor provides driver software for the particular OS.

By taking this one step further and abstracting the GUI at the network level, X windowing programs not only do not have to worry about what video display adapter is present, but also do not have to worry about what machine the display adapter is in.

The X-server program is the program responsible for taking drawing requests from programs on the local or remote computer, talking to the video display, and returning information to the program from the mouse or keyboard.

Читайте также:  Установка vpn kali linux

Additionally, the X-server requires a separate program called the window manager that handles window controls such as the title bar, minimize or maximize buttons, controlling the resizing and moving of windows, and providing methods of launching applications.

Red Hat Linux 5.0 is packaged with a free X server program called XFree86, and by default uses a window manager called FVWM95. Other distributions may have different X server programs and often have any one of a number of window managers.

In this screen shot, Xfree86 has been started and has launched the FVWM95 window manager. FVWM95 mimics the Microsoft Windows 95 user interface, providing Windows 95 style minimize/maximize buttons and a task bar.

The xterm program emulates a command line in the graphical environment. This is necessary because many commands are only available from the command line.

The control panel can be used, mainly by the root user, to view and change system settings or edit user account information.

One problem with the X system is that it does not provide a substantial standard set of common controls. This can be a very good thing for developers, but a potential problem for users as controls in programs can have radically different appearances and functionality.

In this example xfm, a file manager, is running. Notice the scroll bar is on the LEFT side of the window. To use this scroll bar, one must click the right mouse button to move down and the left mouse button to move up.

Most applications use controls that are somewhat similar to those found on Macintosh and Microsoft Windows.

Redhat Linux 5.0 comes with Netscape Communicator. Unlike other operating systems, this web browser is not required and may be removed. In fact the entire X windowing system is optional.

Читайте также:  Основное отличие дистрибутивов linux

This is the Redhat 5.0 control panel application that manages installed packages. It offers a relatively friendly folder based view of what is and is not installed, and allows packages to be installed and uninstalled.

This is the User configurator. It is used to easily create and modify user accounts.

There are large number of other programs for X, more than I can show here. Hopefully this gives some idea of what the default Redhat 5.0 system looks like, however this brief example does not really do Linux justice. The X interface is very highly customizable. In fact RedHat Linux 5.0 includes alternate window managers that make the user interface look like NextStep, or Motif which looks sort of Windows 3.1ish but more 3D.

Additionally, Redhat 6.0 uses GNOME as the default window manager and has KDE as an option. So before I get flamed for showing only cheesy screen shots, here are the links to these really cool window manager programs:

Источник

How to set a default desktop environment at system start?

I’m a Linux and KDE user, and recently I started to use also Enlightenment as a substitute Desktop environment when I need a lighter resource consumption. I use KDM as a display manager, and I need to find a way to correctly set the default desktop environment to my preferences. I wish to be able to set KDE as the default choice because I use it on a daily basis, and manually pick a different one just when I need it. Currently it is set to boot the last used DE, and I can’t find how to change this behaviour. The KDM control module in KDE System Settings does not seem to offer me this option. Any clues on how can I do it?

Читайте также:  Редактор кода linux mint

Can’t you chose a DE before logging in? There should be a session menu or similar that allows you to chose the session you want to run.

Yes, but I’ve set it up to automatically login with my account, without asking for a specific user (I’m the only user of the computer).

I understand. But if it automatically logins in the last used environment, there should be some place where the system is told to behave like this, where it must check what was the last used and then to select it.

And, in your experience, is this behaviour specifically related to my display manager (KDM) or it’s a setting that has nothing to do with it? Should I expect to have the same situation also with, in example, LightDM?

5 Answers 5

You should be able to set this up by editing your $HOME/.dmrc file. The sessions available to your display manager (whichever one you use) are .desktop files normally located in /usr/share/xsessions . In my case, this directory contains:

$ ls /usr/share/xsessions cinnamon2d.desktop gnome-fallback.desktop openbox-gnome.desktop xfce.desktop cinnamon.desktop mate.desktop openbox-kde.desktop gnome.desktop openbox.desktop ssh.desktop 

Any of those files is a possible session that my display manager can choose. Which one is controlled by the $HOME/.dmrc file. So, to make KDE the default, you would have to edit that file and make it look like this:

That assumes that you have a kde.desktop file in the xsessions directory, I don’t use KDE so I can’t check but it works for me using cinnamon or xfce . Once you have made that change, you should be logged in to KDE by default every time.

Источник

Оцените статью
Adblock
detector