Re: Run the Shell as a "real" session?
- From: Dean Loros <ubuntu1user gmail com>
- To: Ray Strode <halfline gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: Run the Shell as a "real" session?
- Date: Sat, 01 Aug 2009 23:03:51 -0700
Reverse first: I put it back to stock...
gconftool-2 -R /desktop/gnome/session
shell_session = [gnome-shell,gnome-settings-daemon]
required_components_list = [windowmanager,filemanager,panel]
default_session = [gnome-settings-daemon]
idle_delay = 5
/desktop/gnome/session/required_components:
filemanager = nautilus
windowmanager = metacity
panel = gnome-panel
I had removed panel & changed windowmanager to mutter--then tried it
with metacity & remove panel--then back to defaults--no change.
All 4 files as attachments...I had just done a copy/paste for the
xsession file & I am going to bet the problem is with my applications
file...I tried it similar to your one, then called the shell
straight...in all cases the session defaulted to 2.27 default.
Thanks for looking!!!!
Dean
On 08/01/2009 09:22 PM, Ray Strode wrote:
> Hi,
>
> On Sat, Aug 1, 2009 at 9:14 PM, Dean Loros<ubuntu1user gmail com> wrote:
>
>> Hmmm--that tries to work--I get a default 2.27.4 Gnome session instead
>> of the Ubuntu-centric session---not sure what's going on, I tried
>> several different takes on the
>> /usr/share/applications/gnome-shell.desktop file--using my .jbuildrc,
>> pointing at my "real" build location & a couple of non-working ideas....
>>
>> I'm using the default .jbuildrc & .jbuildrc-custom files--not sure what
>> I'm doing wrong--any other ideas?
>>
> Not off hand.
>
> Can you post:
>
> 1) your .jhbuildrc and .jhbuildrc-custom files
> 2) your /usr/share/applications/gnome-shell.desktop
> 3) your /usr/share/xsessions/gnome-shell.desktop
> 4) the output of
>
> gconftool-2 -R /desktop/gnome/session
>
> ?
> --Ray
>
>
--
Dean Loros
autocrosser at ubuntuforums.org
Performance by Design Ltd.
# -*- mode: python -*-
#
# jhbuildrc for building gnome-shell. Customizations shuld be done in
# ~/.jhbuildrc-custom
#
# Copyright (C) 2008 Red Hat, Inc.
#
# Some ideas and a bit of code taken from gtk-osx-build
#
# Copyright (C) 2006, 2007, 2008 Imendio AB
#
# Use .jhbuildrc-custom to override the moduleset, modules to build,
# the source checkout location, installation prefix, or svn usernames
# etc.
#
# JHBUILDRC_GNOME_SHELL - Do not edit this line (or anything else)
# Only rebuild modules that have changed
build_policy = 'updated'
moduleset = 'http://git.gnome.org/cgit/gnome-shell/plain/tools/build/gnome-shell.modules'
modules = [ 'gnome-shell' ]
# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('~/gnome-shell/source')
# the prefix to configure/install modules to (must have write access)
prefix = os.path.expanduser('~/gnome-shell/install')
# Use system libraries for the builds
if use_lib64:
_libdir = 'lib64'
else:
_libdir = 'lib'
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
# Look in /usr/share for icons, D-BUS service files, etc
addpath('XDG_DATA_DIRS', '/usr/share')
# Look in /etc/xdg for system-global autostart files
addpath('XDG_CONFIG_DIRS', '/etc/xdg')
#
# For Ubuntu Intrepid, libmozjs lives in /usr/lib/xulrunner-<version>
# However, that path isn't in ld.so.conf, meaning that it's basically
# impossible to use the xulrunner .pc files and libraries. Work around
# this by deriving the path and adding it to LD_LIBRARY_PATH ourself.
#
import re
import subprocess
_pkgconfig = subprocess.Popen(['pkg-config', '--variable=sdkdir', 'mozilla-js'],
stdout=subprocess.PIPE)
_sdkdir = _pkgconfig.communicate()[0].strip()
_pkgconfig.wait()
if _pkgconfig.returncode == 0:
_libdir = re.sub('-(sdk|devel)', '', _sdkdir)
if os.path.exists(_libdir + '/libmozjs.so'):
addpath('LD_LIBRARY_PATH', _libdir)
# Import optional user RC for further customization. You can override
# the prefix or default build setup for example, or CFLAGS or
# module_autogenargs, etc.
#
_userrc = os.path.join(os.environ['HOME'], '.jhbuildrc-custom')
if os.path.exists(_userrc):
execfile(_userrc)
# -*- mode: python -*-
# The username for repositories can be overridden.
#
#repos["git.gnome.org"] = "ssh://myusername git gnome org/git/"
# Directory where to check sources out
#
#checkoutroot = '/opt/gnome-shell/source'
# Directory where to install
#
#prefix = '/opt/gnome-shell/install'
# Work around http://bugzilla.gnome.org/show_bug.cgi?id=571240 if
# your 'install' program is somewhere other than /usr/bin/install
# (affects: Arch Linux)
#installprog = 'bin/install'
[Desktop Entry]
Type=Application
Name=GNOME Shell
Exec=/home/dean/gnome-shell/install/bin/gnome-shell --replace
NoDisplay=true
X-GNOME-Provides=panel;windowmanager;
X-GNOME-Autostart-Phase=Panel
[Desktop Entry]
Type=Application
Name=GNOME Shell
Comment=This session logs you into the GNOME shell.
Exec=gnome-session --default-session-key /desktop/gnome/session/shell_session
TryExec=gnome-session
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]