Difference between revisions of "GNOME/Flashback"

From ArchWiki
Jump to: navigation, search
m (Using GNOME Panel with a standalone window manager)
m (Installation: fix typo)
 
(71 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
[[Category:GNOME]]
 
[[Category:GNOME]]
 +
[[ja:GNOME Flashback]]
 
{{Related articles start}}
 
{{Related articles start}}
 
{{Related|GNOME}}
 
{{Related|GNOME}}
{{Related|Desktop Environment}}
+
{{Related|Desktop environment}}
{{Related|Window Manager}}
+
{{Related|Window manager}}
 
{{Related articles end}}
 
{{Related articles end}}
  
[https://wiki.gnome.org/GnomeFlashback GNOME Flashback] (previously called ''GNOME fallback mode'') is a shell for GNOME 3. The desktop layout and the underlying technology is similar to GNOME 2. It doesn't use 3D acceleration at all, so it's generally faster and less CPU intensive than GNOME Shell with llvmpipe.
+
[https://wiki.gnome.org/Projects/GnomeFlashback GNOME Flashback] (previously called ''GNOME fallback mode'') is a shell for GNOME 3. The desktop layout and the underlying technology is similar to GNOME 2. It doesn't use 3D acceleration at all, so it's generally faster and less CPU intensive than GNOME Shell with llvmpipe.
 
+
{{Warning|GNOME Flashback is not compatible with GNOME 3.10. See: [https://mail.gnome.org/archives/gnome-flashback-list/2013-September/msg00042.html]}}
+
  
 
== Installation ==
 
== Installation ==
  
GNOME Flashback can be [[Pacman|installed]] with the package {{AUR|gnome-panel}}, available in [[AUR]]. In order to login, you have to install the following packages as well:
+
GNOME Flashback can be [[installed]] from the {{Pkg|gnome-flashback}} package. It's recommended to install its optional dependencies also to get a more complete desktop environment.
* {{pkg|gnome-screensaver}}
+
* {{pkg|gnome-session}}
+
* {{AUR|gnome-settings-daemon-compat}}
+
* {{pkg|gnome-themes-standard}}
+
* {{pkg|metacity}}
+
* {{pkg|notification-daemon}}
+
* {{pkg|polkit-gnome}}
+
  
 
You can also install the following packages which provide some additional applets for the GNOME Panel:
 
You can also install the following packages which provide some additional applets for the GNOME Panel:
*{{AUR|gnome-applets}}
+
*{{App|GNOME Applets|Small applications for the GNOME panel|https://wiki.gnome.org/Projects/GnomeApplets|{{Pkg|gnome-applets}}}}
*{{AUR|byzanz}}
+
*{{App|Byzanz Applet|Record what's happening on your desktop|https://git.gnome.org/browse/byzanz/|{{AUR|byzanz}}}}
*{{AUR|indicator-applet}}
+
*{{App|Command Runner Applet|Applet for GNOME Flashback panel which periodically displays a command output|https://github.com/porridge/command-runner-applet|{{AUR|command-runner-applet}}}}
*{{AUR|netspeed-applet}}
+
*{{App|Pomodoro Applet|GNOME Panel applet for timing the intervals used in the Pomodoro Technique(tm)|https://github.com/stump/pomodoro-applet|{{AUR|pomodoro-applet}}}}
*{{AUR|sensors-applet}}
+
*{{App|Sensors Applet|Applet for GNOME Flashback panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings|http://sensors-applet.sourceforge.net/|{{Pkg|sensors-applet}}}}
*{{AUR|window-picker-applet}}
+
  
To get a complete desktop environment, it's recommended to install the {{Grp|gnome}} group which contains applications required for the standard GNOME experience.
+
It's recommended to install the {{Grp|gnome}} group, which contains applications required for the standard GNOME experience.
  
 
== Starting ==
 
== Starting ==
  
 
=== Graphical log-in ===
 
=== Graphical log-in ===
Simply choose '''GNOME Flashback''' session from your favourite [[display manager]].
+
 
 +
Choose ''GNOME Flashback (Metacity)'' from the menu in a [[display manager]] of choice.
 +
 
 +
Those who wish to use [[Compiz]] with GNOME Flashback should select ''GNOME Flashback (Compiz)'' instead.
  
 
=== Manually ===
 
=== Manually ===
If you prefer to start GNOME Flashback manually from the console, add the following line to your {{ic|~/.xinitrc}} file:
+
* For the '''GNOME Flashback (Metacity)''' session, add the following to the {{ic|~/.xinitrc}} file: {{bc|<nowiki>export XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
{{hc|~/.xinitrc|<nowiki>
+
exec gnome-session --session=gnome-flashback-metacity</nowiki>}}
exec gnome-session --session=gnome-flashback
+
</nowiki>}}
+
  
After the {{ic|exec}} command is placed, GNOME Flashback can be launched by typing {{ic|startx}}. See [[xinitrc]] for details.
+
* For the '''GNOME Flashback (Compiz)''' session, add the following to the {{ic|~/.xinitrc}} file: {{bc|<nowiki>export XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
 +
exec gnome-session --session=gnome-flashback-compiz</nowiki>}}
 +
 
 +
After editing {{ic|.xinitrc}}, GNOME Flashback can be launched with ''startx''. See [[xinitrc]] for details.
  
 
== Configuration ==
 
== Configuration ==
  
GNOME Flashback shares most of its settings with GNOME. See  [[GNOME#Customizing GNOME appearance|Customizing GNOME appearance]] for more details.
+
GNOME Flashback shares most of its settings with GNOME. See  [[GNOME#Configuration]] for more details.
  
 
=== Customizing GNOME Panel ===
 
=== Customizing GNOME Panel ===
Line 52: Line 47:
 
* To configure the panel, hold down the {{ic|Alt}} key, and right-click on it in an empty area.
 
* To configure the panel, hold down the {{ic|Alt}} key, and right-click on it in an empty area.
 
* To move an applet on the panel, hold down the {{ic|Alt}} key, and grab it with middle-button.
 
* To move an applet on the panel, hold down the {{ic|Alt}} key, and grab it with middle-button.
 +
 +
{{Note|If the Alt+right-click combination does not work, try Super+Alt+right-click instead.}}
  
 
=== Alternative window manager ===
 
=== Alternative window manager ===
  
You can use an alternative window manager with GNOME by creating two files:
+
You can use an alternative [[window manager]] with GNOME Flashback by creating a custom GNOME session with the following components:
 +
 
 +
{{ic|1=RequiredComponents=gnome-flashback-init;gnome-flashback;gnome-panel;'''window-manager''';gnome-settings-daemon;nautilus-classic;}}
  
{{Note|Xmonad is used as an example, but this works for other window managers.}}
+
where '''window-manager''' is the window manager you wish to use. See [[GNOME#Custom GNOME sessions]].
  
{{hc|/usr/share/gnome-session/sessions/gnome-xmonad.session|<nowiki>[GNOME Session]
+
Also see [http://makandra.com/notes/1367-running-the-awesome-window-manager-within-gnome this article] on running awesome as the window manager in GNOME.
Name=GNOME xmonad
+
RequiredComponents=gnome-panel;gnome-settings-daemon;gnome-screensaver;xmonad;notification-daemon;polkit-gnome-authentication-agent-1;gnome-fallback-background-helper;gnome-fallback-media-keys-helper;gnome-fallback-mount-helper;</nowiki>}}
+
  
{{hc|/usr/share/xsessions/gnome-xmonad.desktop|<nowiki>[Desktop Entry]
+
== Tips and tricks ==
Name=GNOME xmonad
+
Comment=This session logs you into GNOME with the traditional panel
+
Exec=gnome-session --session=gnome-xmonad
+
TryExec=gnome-session
+
Icon=
+
Type=Application</nowiki>}}
+
  
The next time you log in, you should have the ability to choose ''GNOME xmonad'' as your session.
+
=== Panel speed settings ===
  
If there isn't a .desktop file for the window manager, you'll need to create one. Example for [[wmii]]:
+
;Hide/Unhide delay
 +
To adjust the amount of time it takes for the panel to disappear or reappear when autohide is enabled, execute the following:
 +
$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/''panel''/ hide-delay ''time''
 +
$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/''panel''/ unhide-delay ''time''
 +
where ''panel'' is either ''top-panel'' or ''bottom-panel'' and ''time'' is a value in miliseconds, e.g. 300.
  
{{hc|/usr/share/applications/wmii.desktop|<nowiki>
+
;Animation speed
[Desktop Entry]
+
To set the speed at which panel animations occur, execute the following:
Version=1.0
+
$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/''panel''/ animation-speed ''value''
Type=Application
+
where ''panel'' is either ''top-panel'' or ''bottom-panel'' and ''value'' is either {{ic|"'fast'"}}, {{ic|"'medium'"}} or {{ic|"'slow'"}}.
Name=wmii
+
TryExec=wmii
+
Exec=wmii</nowiki>}}
+
  
For more information, see [http://makandra.com/notes/1367-running-the-awesome-window-manager-within-gnome this article on running awesome as the window manager in GNOME].
+
=== Replace applications menu icon ===
  
==Using GNOME Panel with a standalone window manager==
+
{{Note|This change will be overwritten on updating your icon theme package.}}
The GNOME Flashback experience is largely provided by GNOME Panel and GNOME Applets. The other components are only required for the Flashback session. If you would like to use GNOME Panel without the Flashback session you can just install the {{AUR|gnome-panel}} and {{AUR|gnome-applets}} packages and autostart the panel with a standalone window manager such as [[Openbox]].
+
  
For example: if you want to use GNOME Panel with [[Openbox]] add {{ic|gnome-panel &}} to the {{ic|~/.config/openbox/autostart}} file.
+
Replace {{ic|/usr/share/icons/''icon-theme''/16x16/places/start-here.png}} with your own icon (where ''icon-theme'' is the name of your icon theme).
  
==Troubleshooting==
+
After making the change, restart GNOME Panel: {{ic|gnome-panel --replace}}.
===Mouse cursor is not visible===
+
When used with Gnome 3.10 the mouse cursor is not visible. As a workaround, in the {{ic|dconf-editor}} expand: org -> gnome -> settings-daemon -> plugins and click on 'cursor.' Uncheck the box labelled active.
+
  
== Known issues ==
+
== See also ==
  
* The Logout and Shutdown dialogues do nothing.
+
* [https://wiki.gnome.org/Projects/GnomeFlashback GnomeFlashback - GNOME Wiki]
* The clock applet crashes when opening its settings.
+
* The desktop background image is sometimes blanked out.
+
* The panel won't resize properly when the screen resolution changed.
+

Latest revision as of 18:32, 18 March 2016

GNOME Flashback (previously called GNOME fallback mode) is a shell for GNOME 3. The desktop layout and the underlying technology is similar to GNOME 2. It doesn't use 3D acceleration at all, so it's generally faster and less CPU intensive than GNOME Shell with llvmpipe.

Installation

GNOME Flashback can be installed from the gnome-flashback package. It's recommended to install its optional dependencies also to get a more complete desktop environment.

You can also install the following packages which provide some additional applets for the GNOME Panel:

  • GNOME Applets — Small applications for the GNOME panel
https://wiki.gnome.org/Projects/GnomeApplets || gnome-applets
  • Byzanz Applet — Record what's happening on your desktop
https://git.gnome.org/browse/byzanz/ || byzanzAUR
  • Command Runner Applet — Applet for GNOME Flashback panel which periodically displays a command output
https://github.com/porridge/command-runner-applet || command-runner-appletAUR
  • Pomodoro Applet — GNOME Panel applet for timing the intervals used in the Pomodoro Technique(tm)
https://github.com/stump/pomodoro-applet || pomodoro-appletAUR
  • Sensors Applet — Applet for GNOME Flashback panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings
http://sensors-applet.sourceforge.net/ || sensors-applet

It's recommended to install the gnome group, which contains applications required for the standard GNOME experience.

Starting

Graphical log-in

Choose GNOME Flashback (Metacity) from the menu in a display manager of choice.

Those who wish to use Compiz with GNOME Flashback should select GNOME Flashback (Compiz) instead.

Manually

  • For the GNOME Flashback (Metacity) session, add the following to the ~/.xinitrc file:
    export XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
    exec gnome-session --session=gnome-flashback-metacity
  • For the GNOME Flashback (Compiz) session, add the following to the ~/.xinitrc file:
    export XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
    exec gnome-session --session=gnome-flashback-compiz

After editing .xinitrc, GNOME Flashback can be launched with startx. See xinitrc for details.

Configuration

GNOME Flashback shares most of its settings with GNOME. See GNOME#Configuration for more details.

Customizing GNOME Panel

  • To configure the panel, hold down the Alt key, and right-click on it in an empty area.
  • To move an applet on the panel, hold down the Alt key, and grab it with middle-button.
Note: If the Alt+right-click combination does not work, try Super+Alt+right-click instead.

Alternative window manager

You can use an alternative window manager with GNOME Flashback by creating a custom GNOME session with the following components:

RequiredComponents=gnome-flashback-init;gnome-flashback;gnome-panel;window-manager;gnome-settings-daemon;nautilus-classic;

where window-manager is the window manager you wish to use. See GNOME#Custom GNOME sessions.

Also see this article on running awesome as the window manager in GNOME.

Tips and tricks

Panel speed settings

Hide/Unhide delay

To adjust the amount of time it takes for the panel to disappear or reappear when autohide is enabled, execute the following:

$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/panel/ hide-delay time
$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/panel/ unhide-delay time

where panel is either top-panel or bottom-panel and time is a value in miliseconds, e.g. 300.

Animation speed

To set the speed at which panel animations occur, execute the following:

$ gsettings set org.gnome.gnome-panel.toplevel:/org/gnome/gnome-panel/layout/toplevels/panel/ animation-speed value

where panel is either top-panel or bottom-panel and value is either "'fast'", "'medium'" or "'slow'".

Replace applications menu icon

Note: This change will be overwritten on updating your icon theme package.

Replace /usr/share/icons/icon-theme/16x16/places/start-here.png with your own icon (where icon-theme is the name of your icon theme).

After making the change, restart GNOME Panel: gnome-panel --replace.

See also