Difference between pages "Reporting Bugs" and "GNOME First Steps"

(Difference between pages)
m (update to include emerge --info && build log information per oleg's request.)
 
(GNOME 3.14 from a clean install)
 
Line 1: Line 1:
The Funtoo community's goal is to provide a seamless and problem-free computing experience, and we take all bugs seriously. Please use the following resources for reporting bugs, technical support, and troubleshooting assistance:
+
=== What is GNOME? ===
  
=== Collecting Info ===
+
"GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation." — [http://gnome.org GNOME]
Before submitting bugs collect information about your system, & problem.
+
  
{{console|body=###i## emerge --info > /tmp/emergeinfo.txt}}
+
=== Prerequisites ===
  
Towards the end of failed emerges are messages about build logs.
+
==== From a Clean Install ====
  
{{note|This is an example, your exact messages will vary. Use your emerge output rather than this example.}}
+
Ensure that the [[X Window System]] is installed.
* The complete build log is located at '/var/tmp/portage/sys-fs/lvm2-2.02.111/temp/build.log'
+
  
==== IRC ====
+
=== Preparing to emerge ===
  
The {{c|#funtoo}} IRC channel on freenode available for informal, real-time technical support and troubleshooting. Please use Funtoo channels rather than Gentoo channels for Funtoo Linux support.
+
To get your system ready to emerge gnome, first set your system flavor to desktop, and enable the gnome profile mix-in. To accomplish this, do the following:
 +
{{console|recipe=setup,setup-light|desc=Set profile|body=
 +
# ##i##eselect profile set-flavor funtoo/1.0/linux-gnu/flavor/desktop
 +
# ##i##eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome
 +
}}
  
To share information on irc use {{package|app-text/wgetpaste}}, and share links rather than posting directly to the channel.
+
By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.
  
==== Support Forums ====
+
=== Emerging ===
  
The following Web-based discussion resources are specifically created for community-based support and troubleshooting, and are monitored by the Funtoo Linux core team.  Under the new thread text area, attach the emerge info, and build logs directly to your posts rather than using wgetpaste links.  Wgetpaste links expire where the forums attached files are timeless.
+
You are provided with two packages that will pull in this desktop environment:
  
* [http://forums.funtoo.org/forum/7-installation-help/ Installation Help]
+
* ''gnome''
* [http://forums.funtoo.org/forum/9-portage-help/ Portage Help]
+
* [http://forums.funtoo.org/forum/4-desktop-help/ Desktop Help]
+
* [http://forums.funtoo.org/forum/8-server-help/ Server Help]
+
  
=== Bug tracker ===
+
{{fancynote|This is the "whole shabang" - pulls in a range of applications made for the gnome desktop environment including a few games, an archive manager, a system monitor, a web browser, a terminal, etc.}}
  
We are using JIRA for tracking Funtoo Linux issues. See [http://bugs.funtoo.org bugs.funtoo.org] to access the bug tracker.
+
* ''gnome-light''
  
For information on how to properly use the bug tracker, see below.
+
{{fancynote|As the name implies, this pulls in the base minimal you need to get a functioning GNOME Desktop Environment.}}
  
==== How To Report Bugs ====
+
==== GNOME 3.14 from a clean install ====
  
# First, {{CreateAccount}}.
+
===== gnome =====
# Go to Issues -> Create Issue
+
# Set Issue Type to "Bug".
+
# For Summary, enter a clear description of the defect.
+
# For Description, enter:
+
## a clear, detailed description of the problem
+
## clear steps to reproduce the problem
+
## output of the failure
+
## a description of what you expected to happen instead of the failure
+
## attach emerge info, and build logs under bug description
+
  
When your issue is created, it will have a short name such as FL-17 that can be used to reference it.
+
To emerge ''gnome'' run the following command
  
Each issue is intended to track a specific defect in Funtoo Linux. Please respect the focus of each individual issue. Use the mailing lists and forums for general discussion.
+
{{console|desc=Emerging GNOME|body=
 +
# ##i## emerge gnome
 +
}}
  
==== Bug Status ====
+
===== gnome-light =====
  
When bugs are first reported, they are marked as ''Awaiting Review''. This means that they are waiting to be reviewed by staff. Once reviewed and possibly revised somewhat, they will be moved into ''Queued'' status. This means that the bug has been accepted and is in queue to being fixed. When a developer starts working on the bug, it will move to ''In Progress'' status. This means that the bug is being actively worked on. When the bug is resolved, it will move to ''Test/Integration'' status, which means that it will now be tested and fully integrated into Funtoo Linux. When it has been fully integrated into Funtoo Linux, it will be marked as ''Closed'', and the resolution will be set appropriately.
+
To emerge ''gnome-light'' run the following command
  
There are a few other statuses that are used. ''Upstream Review'' is used when a bug is submitted to an upstream project and is awaiting review or feedback. '''Workaround''' is used when a short-term fix is used to resolve a problem, but a longer-term fix is also required. There is also a ''Community Discussion'' status. This status is used when we are actively requesting community feedback. In general, we want to use JIRA as a way to have a very focused discussion about a specific bug, so we don't want the bug comments to be used like forums posts as a type of general discussion. Use the forums for this.
+
{{console|recipe=setup-light|desc=Emerging a minimal GNOME environment (alternative)|body=
 +
# ##i## emerge gnome-light
 +
}}
  
==== Fixing Bugs ====
+
==== Upgrading from GNOME 3.12 ====
  
When developers fix bugs, they can reference the issue(s) being fixed in the git commit message, by saying something like "This fixes FL-22". The funtoo-overlay and other repositories are integrated with JIRA, so you will be able to see links to these commits by going to the ''Commits'' tab for the issue.
+
To update either ''gnome'' or ''gnome-light'' run the following command:
  
==== Upstream Bug Reporting ====
+
{{console|body=
 +
# ##i## emerge -vauDN world
 +
}}
 +
=== Subsystems ===
  
Please report all bugs to us first, so we are aware of the issue. We will handle reporting bugs to upstream projects, including Gentoo Linux.
+
==== Bluetooth ====
 +
 
 +
For bluetooth support, ensure that:
 +
 
 +
# Bluetooth support is enabled in your kernel (using modules is fine).
 +
# Your bluetooth hardware is turned on.
 +
# Add the <code>bluetooth</code> startup script to the default runlevel, and start it.
 +
 
 +
This can be done as follows:
 +
 
 +
<console>
 +
# ##i##rc-update add bluetooth default
 +
# ##i##rc
 +
</console>
 +
 
 +
Once this is done, you should now be able to navigate to ''Settings'' -> ''Bluetooth'' and turn bluetooth on. The icon next to devices should now animate and you should be able to discover and add devices such as keyboards.
 +
 
 +
{{Note|1=
 +
Additional kernel drivers may need to be enabled for certain input devices. For example, for the bluetooth Apple Magic Trackpad, the following option must be enabled in your kernel:
 +
 
 +
{{kernelop|title=Device Drivers,HID support,HID bus support,Special HID drivers|desc=
 +
<M> Apple Magic Mouse/Trackpad multi-touch support
 +
}}}}
 +
 
 +
==== Printing ====
 +
 
 +
To enable printing support, add <code>cupsd</code> to the default runlevel:
 +
 
 +
<console>
 +
# ##i##rc-update add cupsd default
 +
# ##i##rc
 +
</console>
 +
 
 +
You should now be able to navigate to ''Settings'' -> ''Printers'' and add printers to your system, and print.
 +
 
 +
==== Scanning ====
 +
 
 +
To enable scanning support, add your user account to the <code>lp</code> group. This will allow your user to access the USB scanner.
 +
 
 +
Then, <code>emerge xsane</code>, and run it. It should be able to access your scanner.
 +
 
 +
=== Finishing Touches ===
 +
 
 +
==== X ====
 +
 
 +
===== Setting up xdm (GUI log-in) =====
 +
 
 +
Typically, you will want to use <code>gdm</code>, the GNOME display manager, to log in to GNOME. This will allow you to log in graphically, rather than using the text console.
 +
 
 +
To enable gdm, edit <code>/etc/conf.d/xdm</code> and set <code>DISPLAYMANAGER</code> to <code>gdm</code> instead of <code>xdm</code>. Then, perform the following steps to add <code>xdm</code> to the default runlevel, and have it start automatically from now on when your system starts:
 +
 
 +
{{Note|Funtoo's <code>/etc/init.d/xdm</code> initscript has been modified to start the requisite services <code>dbus</code>, <code>openrc-settingsd</code> and <code>consolekit</code> prior to starting <code>gdm</code>.}}
 +
 
 +
{{console|recipe=setup|desc=Enable the GNOME display manager|body=
 +
# ##i## rc-update add xdm default
 +
}}
 +
 
 +
Then, if you want to start it now do:
 +
 
 +
{{console|body=
 +
# ##i##rc
 +
}}
 +
 
 +
But you should reboot to avoid having an open login terminal.
 +
 
 +
===== Setting up xinitrc (text log-in) =====
 +
 
 +
Adding the following to your <code>~/.xinitrc</code> file is sufficient:
 +
 
 +
<pre>
 +
# Fix Missing Applications in Gnome
 +
export XDG_MENU_PREFIX=gnome-
 +
 
 +
# Properly Launch the Desired X Session
 +
exec ck-launch-session gnome-session
 +
</pre>
 +
 
 +
Additionaly, if you need support for different input sources, there is no longer a need to configure IBus or SCIM in your <code>.xinitrc</code> file as GNOME uses IBus natively. Simply configure it in the Control Center under Region & Language.
 +
 
 +
=== Automatically Starting Applications at Login ===
 +
 
 +
When using an old-fashioned <code>.xinitrc</code>, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the <code>~/.xprofile</code> file. Here's my sample <code>.xprofile</code> to start <code>xflux</code> to dim the screen at night:
 +
 
 +
<pre>
 +
xflux -z 87107
 +
</pre>
 +
 
 +
{{Note|Remember to add a <code>&</code> at the end of any command that doesn't return to the shell prompt after running.}}
 +
 
 +
=== games ===
 +
Gnome has several games that can be added on to your install.  By default most games are not included in gnome's emerge.
 +
 
 +
Users wishing to play games need to be added to the games group:
 +
{{console|body=###i## gpasswd -a $USER games}}
 +
 
 +
game list:
 +
;gnome-sudoku
 +
;gnome-mastermind
 +
;gnome-nibbles
 +
;gnome-robots
 +
;gnome-chess
 +
;gnome-hearts
 +
;gnome-mahjongg
 +
;gnome-mines
 +
;gnome-klotski
 +
;gnome-tetravex
 +
 
 +
game system emulators:
 +
 
 +
;gnomeboyadvance
 +
;gnome-mud
 +
 
 +
=== Significant Known Issues (Workarounds Available) ===
 +
 
 +
[https://bugs.funtoo.org/browse/FL-1678 FL-1678]: Bluetooth interface gives wrong pairing key
 +
 
 +
[https://bugs.funtoo.org/browse/FL-1687 FL-1687]: Wallpaper corruption when resuming from suspend
 +
 
 +
[[Category:Desktop]]
 +
[[Category:First Steps]]
 +
[[Category:Official Documentation]]

Revision as of 17:45, February 22, 2015

What is GNOME?

"GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation." — GNOME

Prerequisites

From a Clean Install

Ensure that the X Window System is installed.

Preparing to emerge

To get your system ready to emerge gnome, first set your system flavor to desktop, and enable the gnome profile mix-in. To accomplish this, do the following:

# eselect profile set-flavor funtoo/1.0/linux-gnu/flavor/desktop
# eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome

Console: Set profile{{#subobject:|step=|stepCount=1|In recipe=setup,setup-light|+sep=,|action=runcmd|body=# ##i##eselect profile set-flavor funtoo/1.0/linux-gnu/flavor/desktop

  1. ##i##eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome}}

By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.

Emerging

You are provided with two packages that will pull in this desktop environment:

  • gnome
Note

This is the "whole shabang" - pulls in a range of applications made for the gnome desktop environment including a few games, an archive manager, a system monitor, a web browser, a terminal, etc.

  • gnome-light
Note

As the name implies, this pulls in the base minimal you need to get a functioning GNOME Desktop Environment.

GNOME 3.14 from a clean install

gnome

To emerge gnome run the following command

#  emerge gnome

Console: Emerging GNOME

gnome-light

To emerge gnome-light run the following command

#  emerge gnome-light

Console: Emerging a minimal GNOME environment (alternative){{#subobject:|step=|stepCount=2|In recipe=setup-light|+sep=,|action=runcmd|body=# ##i## emerge gnome-light}}

Upgrading from GNOME 3.12

To update either gnome or gnome-light run the following command:

#  emerge -vauDN world

Subsystems

Bluetooth

For bluetooth support, ensure that:

  1. Bluetooth support is enabled in your kernel (using modules is fine).
  2. Your bluetooth hardware is turned on.
  3. Add the bluetooth startup script to the default runlevel, and start it.

This can be done as follows:

# rc-update add bluetooth default
# rc

Once this is done, you should now be able to navigate to Settings -> Bluetooth and turn bluetooth on. The icon next to devices should now animate and you should be able to discover and add devices such as keyboards.

Note

Additional kernel drivers may need to be enabled for certain input devices. For example, for the bluetooth Apple Magic Trackpad, the following option must be enabled in your kernel:

Under Device Drivers-->HID support-->HID bus support-->Special HID drivers:

<M> Apple Magic Mouse/Trackpad multi-touch support

Printing

To enable printing support, add cupsd to the default runlevel:

# rc-update add cupsd default
# rc

You should now be able to navigate to Settings -> Printers and add printers to your system, and print.

Scanning

To enable scanning support, add your user account to the lp group. This will allow your user to access the USB scanner.

Then, emerge xsane, and run it. It should be able to access your scanner.

Finishing Touches

X

Setting up xdm (GUI log-in)

Typically, you will want to use gdm, the GNOME display manager, to log in to GNOME. This will allow you to log in graphically, rather than using the text console.

To enable gdm, edit /etc/conf.d/xdm and set DISPLAYMANAGER to gdm instead of xdm. Then, perform the following steps to add xdm to the default runlevel, and have it start automatically from now on when your system starts:

Note

Funtoo's /etc/init.d/xdm initscript has been modified to start the requisite services dbus, openrc-settingsd and consolekit prior to starting gdm.

#  rc-update add xdm default

Console: Enable the GNOME display manager{{#subobject:|step=|stepCount=3|In recipe=setup|+sep=,|action=runcmd|body=# ##i## rc-update add xdm default}}

Then, if you want to start it now do:

# rc


But you should reboot to avoid having an open login terminal.

Setting up xinitrc (text log-in)

Adding the following to your ~/.xinitrc file is sufficient:

# Fix Missing Applications in Gnome
export XDG_MENU_PREFIX=gnome-

# Properly Launch the Desired X Session
exec ck-launch-session gnome-session

Additionaly, if you need support for different input sources, there is no longer a need to configure IBus or SCIM in your .xinitrc file as GNOME uses IBus natively. Simply configure it in the Control Center under Region & Language.

Automatically Starting Applications at Login

When using an old-fashioned .xinitrc, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the ~/.xprofile file. Here's my sample .xprofile to start xflux to dim the screen at night:

xflux -z 87107
Note

Remember to add a & at the end of any command that doesn't return to the shell prompt after running.

games

Gnome has several games that can be added on to your install. By default most games are not included in gnome's emerge.

Users wishing to play games need to be added to the games group:

# gpasswd -a $USER games


game list:

gnome-sudoku
gnome-mastermind
gnome-nibbles
gnome-robots
gnome-chess
gnome-hearts
gnome-mahjongg
gnome-mines
gnome-klotski
gnome-tetravex

game system emulators:

gnomeboyadvance
gnome-mud

Significant Known Issues (Workarounds Available)

FL-1678: Bluetooth interface gives wrong pairing key

FL-1687: Wallpaper corruption when resuming from suspend