[Q] GNOME 3.4 schema rebuild?

Due to my sheer stupidity and lack of reading warnings on how NOT to install GNOME from [gnome-unstable], I did anyway and learned the hard way. During that long process of switching back to 3.4 from unstable, some of my schemas mysteriously went blank, causing them to complain every time I installed something, causing me to remove them. Nothing too serious, but incredibly annoying when you want to change the volume or want System Monitor or my music pulled up fast.
Question: Is there a way to have GNOME reload/rebuild schemas (not gsettings-desktop-schema, it didn't work...)?

Solved! But how
udisks/udisks2 requires CONFIG_SWAP to be enabled in the kernel!
I can't imagine why this kernel option is required by udisks now. Personally I can't see any obvious reason, there is no sense.
I will try to contact the developers. Because I can't imagine why SWAP is required.

Similar Messages

  • Gnome default settings screwed?

    This morning I started up gnome to find that a bunch of settings had become 'un-set'. The gnome menu had no icons in, and the mouse preferences double-click speed won't change properly. Also, the double-click test image doesn't work. Also some of my epiphany settings disappeared. :shock:
    I guess something to do with gconf got fudged, probably involving the xml and xslt packages that appeared yesterday (I don't think I had restarted X since installing those until today).
    I have since tried creating a new user and starting gnome, expecting the useable default settings, but instead the icons are unset, the panel is empty and in the top left of the screen and there is no desptop background. If anyone else is getting this, please say so.
    PS: it is also possible that the new ghex package is the culprit. I installed that thismorning before I started x..

    Leave GNOME, uninstall ghex and try:
    for schema in /opt/gnome/etc/gconf/schemas/*.schemas ; do
    GCONF_CONFIG_SOURCE=`/opt/gnome/bin/gconftool-2 --get-default-source` /opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema"
    done
    At first I also removed all directories and files in
    /opt/gnome/etc/gconf/gconf.xml.defaults
    and
    /opt/gnome/etc/gconf/gconf.xml.mandatory
    but i'm not sure if it is necessary.

  • Gnome-power-manager with networkmanager_sleep option

    I have a wireless device using the ipw2200 module. I have always found it extremely annoying that gnome-power-manager asks NetworkManager to sleep before suspending, since, first of all, the ipw2200 module doesn't need to be unloaded and, secondly, because I always have to wait the extra few seconds it takes for NM to send the dhcp request after resuming. I made a patch that adds an option to turn the NM-sleep call on or off via a gconf entry (networkmanager_sleep). The patch has been accepted upstream and included in CVS. However, I've made a patch that applies cleanly to gnome-power-manager 2.16.1 as well. Here it is:
    diff -Naur gnome-power-manager-2.16.1/data/gnome-power-manager.schemas.in gnome-power-manager-2.16.1-new/data/gnome-power-manager.schemas.in
    --- gnome-power-manager-2.16.1/data/gnome-power-manager.schemas.in 2006-07-30 14:51:52.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/data/gnome-power-manager.schemas.in 2006-10-05 11:56:10.000000000 +0200
    @@ -571,6 +571,17 @@
    <long>This is the laptop panel screen brightness used when the session is idle. Only valid when use_time_for_policy is true.</long>
    </locale>
    </schema>
    + <schema>
    + <key>/schemas/apps/gnome-power-manager/networkmanager_sleep</key>
    + <applyto>/apps/gnome-power-manager/networkmanager_sleep</applyto>
    + <owner>gnome-power-manager</owner>
    + <type>bool</type>
    + <default>true</default>
    + <locale>
    + <short>If Networkmanager should disconnect.</short>
    + <long>Chooses whether Networkmanager should disconnect from the network before suspending.</long>
    + </locale>
    + </schema>
    </schemalist>
    </gconfschemafile>
    diff -Naur gnome-power-manager-2.16.1/src/gpm-manager.c gnome-power-manager-2.16.1-new/src/gpm-manager.c
    --- gnome-power-manager-2.16.1/src/gpm-manager.c 2006-09-17 22:33:51.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/src/gpm-manager.c 2006-10-05 12:03:22.000000000 +0200
    @@ -1172,6 +1172,7 @@
    gboolean allowed;
    gboolean ret;
    gboolean do_lock;
    + gboolean nm_sleep;
    gpm_manager_allowed_hibernate (manager, &allowed, NULL);
    @@ -1190,7 +1191,12 @@
    gpm_screensaver_lock (manager->priv->screensaver);
    - gpm_networkmanager_sleep ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_sleep ();
    + }
    +
    ret = gpm_hal_hibernate (manager->priv->hal);
    manager_explain_reason (manager, GPM_GRAPH_EVENT_RESUME,
    @@ -1230,7 +1236,12 @@
    if (do_lock) {
    gpm_screensaver_poke (manager->priv->screensaver);
    - gpm_networkmanager_wake ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_wake ();
    + }
    +
    sync_dpms_policy (manager);
    @@ -1257,6 +1268,7 @@
    gboolean allowed;
    gboolean ret;
    gboolean do_lock;
    + gboolean nm_sleep;
    GpmPowerStatus status;
    char *message;
    int charge_before_suspend;
    @@ -1279,7 +1291,12 @@
    gpm_screensaver_lock (manager->priv->screensaver);
    - gpm_networkmanager_sleep ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_sleep ();
    + }
    +
    /* We save the current charge in mWh so we can see how much power we
    lost or gained over the suspend cycle */
    @@ -1348,7 +1365,12 @@
    if (do_lock) {
    gpm_screensaver_poke (manager->priv->screensaver);
    - gpm_networkmanager_wake ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_wake ();
    + }
    +
    sync_dpms_policy (manager);
    diff -Naur gnome-power-manager-2.16.1/src/gpm-prefs.h gnome-power-manager-2.16.1-new/src/gpm-prefs.h
    --- gnome-power-manager-2.16.1/src/gpm-prefs.h 2006-07-30 14:51:54.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/src/gpm-prefs.h 2006-10-05 12:05:15.000000000 +0200
    @@ -55,6 +55,9 @@
    #define GPM_PREF_CAN_HIBERNATE GPM_PREF_DIR "/can_hibernate"
    #define GPM_PREF_LOCK_USE_SCREENSAVER GPM_PREF_DIR "/lock_use_screensaver_settings"
    +
    +#define GPM_PREF_NETWORKMANAGER_SLEEP GPM_PREF_DIR "/networkmanager_sleep"
    +
    /* These are only effective if the system default is turned off. See bug #331164 */
    #define GPM_PREF_LOCK_ON_BLANK_SCREEN GPM_PREF_DIR "/lock_on_blank_screen"
    #define GPM_PREF_LOCK_ON_SUSPEND GPM_PREF_DIR "/lock_on_suspend"
    It would be great if this could be added to the official package, but I'm not expecting it

    Have a look in gconf-editor to see if there's a setting for that? (I can't check now, I'm using XFCE.) Also, check that you didn't keep the default "put computer to sleep when the lid is closed", but I suppose you've done it already...

  • Problems on GNOME 2.4 update.

    Like always, i dont do a pacman -Syu at once, because i dont use all the pkgs being actualized and i have dial up, so its not free to download unusefull pkgs.
    I went with pacman -S gnome and got this:
    orbit2-2.8.1-1.pkg.tar.g [####################################] 100% |    500K
    vte-0.11.10-1.pkg.tar.gz [####################################] 100% |    964K
    yelp-2.4.0-1.pkg.tar.gz  [####################################] 100% |    411K
    loading package data... done.
    checking for file conflicts...
    error: the following file conflicts were found:
      /opt/gnome/bin/gnome-font-viewer: exists in filesystem
      /opt/gnome/bin/gnome-thumbnail-font: exists in filesystem
      /opt/gnome/etc/gconf/schemas/fontilus.schemas: exists in filesystem
      /opt/gnome/etc/gnome-vfs-2.0/modules/font-method.conf: exists in filesystem
      /opt/gnome/lib/bonobo/servers/fontilus.server: exists in filesystem
      /opt/gnome/lib/gnome-vfs-2.0/modules/libfont-method.la: exists in filesystem
      /opt/gnome/lib/gnome-vfs-2.0/modules/libfont-method.so: exists in filesystem
      /opt/gnome/libexec/fontilus-context-menu: exists in filesystem
      /opt/gnome/share/application-registry/fontilus.applications: exists in filesys
    tem
      /opt/gnome/share/gnome/vfolders/font-method.directory: exists in filesystem
      /opt/gnome/share/mime-info/fontilus.keys: exists in filesystem
      /opt/gnome/share/mime-info/fontilus.mime: exists in filesystem
      /opt/gnome/share/pixmaps/gnome-ccthemes.png: exists in filesystem
      /opt/gnome/etc/gconf/schemas/mailcheck.schemas: exists in filesystem
      /opt/gnome/etc/sound/events/mailcheck.soundlist: exists in filesystem
      /opt/gnome/share/gnome-2.0/ui/GNOME_MailCheckApplet.xml: exists in filesystem
    it continues though all files
    i guess i have to go with pacman -Sf gnome ??
    thanks

    Ok, i forced gnome, it got installed, will try it later
    I usually do a pacman -Syu just to see what pkgs are updated and what i will download. so i answer no at the end.
    but from time to time i get things like this:
    [root@archcrow crow]# pacman -Syu
    :: Synchronizing package databases...
    current.db.tar.gz        [####################################] 100% |     34K
    unofficial.db.tar.gz     [####################################] 100% |     68K
    unstable.db.tar.gz       [####################################] 100% |      0K
    :: replace libgail-gnome with gail from "current"? [Y/n] n
    :: replace at-spi with gail from "current"? [Y/n] n
    :: replace gtk-thinice-engine with gnome-themes from "current"? [Y/n] n
    :: replace bonobo-activation with libbonobo from "current"? [Y/n] n
    :: replace fontilus with nautilus from "current"? [Y/n] n
    Targets: aspell-0.50.3-2 automake-1.7.7-1 blackbox-0.65.0-3 curl-7.10.7-1
             dhcp-3.0pl2-2 dhcpcd-1.3.22pl4-2 exim-4.24-1 fetchmail-6.2.4-1
             flashplugin-6.0r79-6 gaim-0.71-1 gentoo-0.11.35-1 gimp-1.2.5-3
             gkrellm-2.1.20-1 icewm-1.2.13-1 initscripts-0.5-8 kdelibs-3.1.4-1
             kdebase-3.1.4-1 kdeaddons-3.1.4-1 kdeadmin-3.1.4-1 kdeartwork-3.1.4-1
             kdebindings-3.1.4-1 kdeedu-3.1.4-1 kdegames-3.1.4-1 kdegraphics-3.1.4-1
             kdemultimedia-3.1.4-1 kdenetwork-3.1.4-1 kdepim-3.1.4-1 kdesdk-3.1.4-1
             kdetoys-3.1.4-1 kdeutils-3.1.4-1 koffice-1.2.1-1 lftp-2.6.8-1
             lilo-22.5.8-1 pccts-1.33mr-3 portmap-5beta-9 postgresql-7.3.4-1
             qt-3.2.1-1 raidtools-1.00.3-2 ripperx-2.6.0-1 samba-3.0.0-2
             screen-4.0.1-1 sdl-1.2.6-1 tetex-2.0.2-3 x2x-1.27-3 xscreensaver-4.13-2
    Proceed with upgrade? [Y/n] n
    how do i make those replacements without doing a full system update??

  • GNOME 2.6 Update

    The following error appeared while updating gnome with pacman:
    /opt/gnome/etc/gconf/schemas/desktop_gnome_url_handlers.schemas: exists in filesystem

    That did the trick.
    Thanks for the info. I never am comfortable with force unless an expert says it is ok.

  • Trying to get Xgl working following Wiki docs

    Hi all,
    I downloaded Xgl stuff from shadowhand's repo and am trying to get it work now with Gnome or KDE. I can run
    startxgl 1 gnome nvidia
    and play with jelly windows, so Xgl is in principle running.
    Next I tried to follow the suggestions given in Arch Wiki and let GDM/KDM run compiz. However, I had lo luck in that.
    First, for GDM the wiki advises to modify /opt/gnome/etc/gdm/gdm.conf. I do not have this file, it is does not come with gdm package. I copied the file from abs tree (it was there), but modifying it following Wiki did not give me fancy windows under Gnome.
    Next I tried KDM. Wiki tells me to find and modify the line
    ServerCmd=/usr/bin/X -br
    in /opt/kde/share/config/kdm/kdmrc. This time I had the file, but not the line in that file. I added the modified line by hand and did all the rest suggested by Wiki, but it did not give me fancy windows. There was the abovementioned line in the file /opt/kde/share/config/kdm/kdmrc.default, modifying that one had no effect either.
    Can anyone please help me sorting this out? What am I doing wrong and what should be the correct way to get, say, KDE working with Xgl?
    Best regards,
    Jan

    paulicat wrote:
    If you have the gdm package installed, it has to have gdm.conf. So, in this case, do the following:
    Remove the gdm.conf you manually copied to your system.
    Then as root type: slocate -u
    then locate gdm.conf
    Now go and edit the file found with the locate command.
    Before all of this though, make sure you do have the gdm package installed first.
    Of course I have gdm package installed. Still, no gdm.conf:
    # pacman -Ql gdm | grep conf
    gdm /opt/gnome/etc/gdm/custom.conf
    gdm /opt/gnome/share/gconf/
    gdm /opt/gnome/share/gconf/schemas/
    gdm /opt/gnome/share/gconf/schemas/gdm.schemas
    gdm /opt/gnome/share/gdm/defaults.conf
    gdm /opt/gnome/share/gdm/factory-defaults.conf
    Locating gdm.conf gave the following result:
    # slocate -u
    # locate gdm.conf
    /var/abs/extra/gnome/gdm/gdm.conf
    so that's the abs version I was talking about.
    Any other ideas?
    Jan

  • Exchange 2010 (SP3 - withn SBS2011) OWA seach not working

    I know such issues have been reported many times in the past, but I haven't found any report for SP3 (which actually thought would resolve this for good).
    I had the same problem repeatedly with SP1, with SP2, with various rollups, I have tried the various vix solutions (re-touching AD schema, rebuilding the indexes etc.) and indeed they fix the problem... for a while.
    Or until the next update.
    Can someone help me reach a more stable solution?
    Or is it a common issue that Microsoft actually cannot solve for good???
    Right now I have the problem (again) after installing SP3. So I am open to all proposals.
    NLS

    Hi NLS,
    I'm researching the issue and will update it soon.
    By the way, for SBS issue, you can also seek the solution in the SBS forum, thanks:
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/threads
    Frank Wang
    TechNet Community Support

  • Policy issues win xp sp2 and zfd ir6

    Hi, I have been having this issue for about 4 days. In our school
    environment we push a very restrictive policy out to the desktop, and
    also apply printers during the login process. About Tuesday afternoon, I
    noticed that some labs were not receiving their printer assignments, and
    then I noticed that students were gaining access to areas that were
    supposed to be restricted to them (C:\ and all it's contents for one).
    I have run DSRepair to rebuild the schema, rebuild the operational
    database, and perform global repairs, but this has had no effect. I have
    recreated the policy for the students and applied it to a test user, but
    again, no effect.
    We are in a Windows XP SP2, NW6, ZfD4.01 ir6, iPrint 2 environment, with
    automatic updates forced to the desktop everyday at 0900 hrs. I am a
    little stumped, and cannot find any suggestions in the knowledgebase.
    I would appreciate any suggestions that might help.
    TIA
    Rob

    Rob,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Decent editor?

    Hi there,
    I'm about to take over a legacy project written in PL/SQL. It's not a very large project but some of the functions are very large, i.e. the kind of functions that would make make Godzilla look like a cute and tiny reptile. I've worked with a lot of languages over the years and I'm a proficient and experienced Java programmer but my experience with PL/SQL is almost non-existant so please forgive me if my questions are at a very basic level.
    First of all, I have an immense urge to refactor the larger functions, both in order to get a feel for the language and to ease further maintenance. However, I have the following problems:
    1) Currently the project is maintained in PL/SQL Developer. Being used to 21st century IDEs like Eclipse and IntelliJ IDEA, the PL/SQL Developer seems like rather shoddy and "old school". I definitely miss some refactoring support, such as the ability to easily extract code or rename functions. Also, editing code directly in the database makes it very difficult to implement version control (currently there is none at all). I suppose that a viable soultion would be to edit a local copy (under VCS control, of course) and let a build script upload the code to the database. Anyway,
    a) Would this idea make sense?
    b) I can't be the only one facing this problem. So, what is everyone else doing?
    c) Can anyone recommend a decent PL/SQL IDE?
    2) This one is more language related. I find that when I define a new function, I have to define (and, in the long run, maintain) the signature part in both the package definition and the package body. This seems like a pain, and in any case it's an unnecessary redundancy. Most of the methods that I define while refactoring are really just "private" methods of no concern to other packages. Is there any way for me to avoid having to maintain the signature in two places?
    Thanks in advance :)
    /Martin Olsen, Norway

    First off, I feel your pain. Nothing worse than having to clear up someone elses mess ;-)
    However i have some tips that should help you in your quest....
    Firstly source control is key with PL/SQL code (as with any other language).
    What our developers do is use eclipse for java/client coding but also use its built in CVS features for managing the PL/SQL files also i.e. we check our PL/SQL files in and out of our repository. Therefore managing changes made by multiple developers.
    The important thing we have is the ability to build a schema from the repository by clicking a simple using a one click ANT target (using the ant view in Ecplise) which allows two developers to work on their own deveopment schemas in isolation, safe in the knowledge that they have an up to date code, and then only publish their updates once they are finished and fully tested. Needless to say there are complications sometimes but it's worked fairly well for our small-to-mid sized team.
    The other advantage our schema rebuild utility allows is regular, automated testing. We regularly run (i.e. every 2 hours or so) a full rebuild and full run of all our unit test (client/java/ and pl/sql) this helps us ensure our repository code is clean. The developer can also run all tests (or a subset of tests) at any time to make sure what they have done isn't going to break something elsewhere. This is also done using the ANT from within eclipse. It's not as integrated as JUnit is but it's better than manually running all your tests.
    You can either write the tests manually using the framework mentioned briefly above (utplsql) it's based on nunit (the parent to Junit) so it should be familar to a java developer. or you could use QUTE, also mentioned above.
    I have to disagree with your "review" of PL/SQL developer. As user a few oracle IDEs I've found PL/SQL Developer to be the one I get on best with. And I thought I should mention that if you're on a fairly up to date version, it has a good set of refactoring features. See below for an extract from the help file (saves me typing ;-) )
    The refactoring function allows you to quickly reorganize your PL/SQL code. It works on the selected code, or – if no selection is made – on the current statement. Right-clicking on a statement or selection provides the following refactoring functions in the corresponding submenu:
    · Rename item
    Renames the current variable, parameter, constant or program unit. Both the declaration and usage will be renamed.
    · Extract procedure
    If a program unit has become too large or too complex, you can make a selection and convert it to a separate procedure. All variables used within and outside of the selection will be converted to parameters. All variables used only within the selection will be moved from the current program unit to the new program unit. The selection will be replaced by a call to the new program unit.
    · Extract local constant
    If a certain expression should be converted to a local constant, you can select it and provide the constant name. A local constant will be created within the current subprogram, of a type that is determined from the expression. All occurrences of the expression in the current subprogram will be replaced by the constant name.
    · Extract global constant
    If a certain expression should be converted to a global constant, you can select it and provide the constant name. A global constant will be created within the current package, of a type that is determined from the expression. All occurrences of the expression in the current package will be replaced by the constant name.
    · Replace assignment with initialization
    If a local variable assignment is purely for initialization, you can move it to the declaration of the variable. You can right-click on a statement or select multiple statements.
    These options are available from the context menu.
    Finally, to address your finaly query, as you are a Java developer I'd suggest you treat the package specification (definition) just as you would treat an interface class in java and treat the package body like the interface implenentation. This should keep you straight till you get to grips with the language ;-)
    I hope you find some of this helpful and one final tip, usually when a procedure is HUGE it can mean there is too much procedural logic going on i.e. too much PL/SQL code (loops, if statements, SQL statements) that could be reduced by using SQL a little better.
    I'm not saying every big procedure is wrong just that there's a chance that if you see a lot of SQL statements, loops or IF staments there;s a good chance it can be reduced to one or two SQL statements.
    good luck

  • Muine 0.8.2

    Here you go.  I based it off the old pkgbuild, so it should work ok.  You'll need to get gtk-sharp-2 and mono 1.1 from testing....
    PKGBUILD:
    #Maintainer: Ben <[email protected]>
    pkgname=muine
    pkgver=0.8.2
    pkgrel=1
    pkgdesc="a music app written in C#"
    url="http://muine.gooeylinux.org"
    depends=('mono>=1.1' 'perlxml' 'gtk-sharp-2' 'gstreamer' 'libid3tag' 'flac' 'libogg' 'gst-plugins' 'gdbm' 'libgnome')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=muine.install
    source=(http://muine.gooeylinux.org/$pkgname-$pkgver.tar.gz)
    md5sums=('7b6e8cf76cf35fe54eeb51d875f4e09f')
    build() {
    [ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/opt/gnome --enable-gstreamer --disable-schemas-install
    make || return 1
    make prefix=$startdir/pkg/opt/gnome install
    muine.install:
    schemas=(
    'opt/gnome/etc/gconf/schemas/muine.schemas'
    post_install() {
    for schema in "${schemas[@]}" ; do
    GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1
    done
    post_upgrade() {
    post_install $2
    pre_remove() {
    /bin/true
    op=$1
    shift
    $op $*

    Works well, thanks  8)

  • [updated] Seahorse

    Heya,
    I updated the seahorse-package in staging. Is this the right place to post it or is it better to contact the author?
    PKGBUILD:
    #Maintainer: Ben <[email protected]>
    #Contributor: Michel Brabants <[email protected]>
    pkgname=seahorse
    pkgver=0.7.5
    pkgrel=1
    pkgdesc="a gtk2 frontend to gpg"
    url="http://www.seahorse.sourceforge.net"
    #the dependency for nautilus (and gedit) can be omitted if built without them
    #compiling with gedit gives an error message that it must be installed in .../usr/...
    depends=('eel' 'libart-lgpl' 'gpgme>=1.0.0' 'gnupg>=1.2.0' 'gtk2' 'libgnomeui' 'libglade' 'nautilus')
    source=(http://ftp.gnome.org/pub/GNOME/sources/seahorse/0.7/$pkgname-$pkgver.tar.gz
    seahorse.install
    Makefile-nautilus.patch)
    md5sums=('f90a334d3fdecd7112f8aece586ca63d' '30efa97454dde839c35badd269a4ace6'
    'a70693cb4b6e932157275772759de476')
    install="seahorse.install"
    build() {
    cd $startdir/src/$pkgname-$pkgver
    #the patch is for don't letting the install-script run "update-mime-database" since that requires root-privileges
    patch -p1 ./plugins/nautilus/Makefile.in $startdir/Makefile-nautilus.patch
    ./configure --prefix=/opt/gnome --disable-schemas-install --disable-gedit
    make || return 1
    make DESTDIR=$startdir/pkg install
    If you copy and paste seahorse.install and Makefile-nautilus.patch it is not guaranteed that the md5sums will match with these files. Therefore, I uploaded them to some space I have on a webserver. You can download them by clicking on the name of the files above their code.
    seahorse.install:
    schemas=(
    'opt/gnome/etc/gconf/schemas/seahorse.schemas'
    post_install() {
    for schema in "${schemas[@]}" ; do
    GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1
    done
    echo "updating scrollkeeper catalogue ..."
    scrollkeeper-update -p /var/lib/scrollkeeper > /dev/null 2>&1
    update-desktop-database > /dev/null 2>&1
    post_upgrade() {
    post_install $1
    pre_remove() {
    for schema in "${schemas[@]}" ; do
    GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" > /dev/null 2>&1
    done
    echo "updating scrollkeeper catalogue ..."
    scrollkeeper-update -p /var/lib/scrollkeeper > /dev/null 2>&1
    update-desktop-database > /dev/null 2>&1
    op=$1
    shift
    $op $*
    Makefile-nautilus.patch:
    --- ./Makefile.in 2004-11-02 18:32:13.000000000 +0100
    +++ Makefile-new.in 2004-11-29 20:17:15.000000000 +0100
    @@ -520,7 +520,7 @@
    install-data-local:
    - update-mime-database $(datadir)/mime/
    + #update-mime-database $(datadir)/mime/
    @INTLTOOL_DESKTOP_RULE@

    Michel wrote:
    Heya,
    I updated the seahorse-package in staging. Is this the right place to post it or is it better to contact the author?
    It's better to contact the maintainer so that he updates his copy.

  • Default gconf settings

    In my compiz packages the install script contains these lines to install the gconf schema:
    pkgname=compiz
    post_install() {
    export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
    opt/gnome/bin/gconftool-2 --makefile-install-rule opt/gnome/etc/gconf/schemas/${pkgname}.schemas >/dev/null
    kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
    scrollkeeper-update -q -p var/lib/scrollkeeper
    update-desktop-database -q
    Is there a way to export some defaults in the install script. Right now, compiz starts with basically no plugins activated after a clean installation. Is there a gconf command that I can use in the install scripts to do this? Thanks.

    orschiro wrote:
    Hi guys,
    Which config files do I have to delete to revert whole Gnome Shell to its default settings?
    Is it enough to delete .gconf in home folder?
    Regards
    I think gnome-shell also uses something called dconf. The only folder I see though is "~/.config/dconf"
    Maybe instead of deleting just move the file somewhere else just in case.

  • Problems with brasero 0.6.0

    Hi, I'm a new arch user coming from debian and gentoo. I tried to create the package for the new stable version of brasero but I got the following errors
    No directories in update-desktop-database search path could be processed and updated.
    make[4]: *** [install-data-hook] Error 1
    make[4]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
    make[3]: *** [install-data-am] Error 2
    make[3]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
    make: *** [install-recursive] Error 1
    This is the PKGBUILD I used:
    pkgname=brasero
    pkgver=0.6.0
    pkgrel=1
    pkgdesc=""
    url="http://www.gnome.org/projects/brasero/"
    license="GPL"
    depends=()
    arch="i686"
    install=()
    source="http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/brasero-0.6.0.tar.bz2"
    md5sums=()
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    Can someone tell me what's wrong with the PKGBUILD file? Thanks a lot!
    P.S. Sorry for my my english
    Last edited by simo8491 (2007-07-16 09:45:40)

    Below are the pkgbuild + .install from the 0.5.2 version in community, as you can see building brasero is a lot more complicated than it looks at first.
    # Maintainer: Roman Kyrylych <[email protected]>
    # Contributor: William Rea <[email protected]>
    pkgname=brasero
    pkgver=0.5.2
    pkgrel=5
    pkgdesc="A disc burning application for Gnome"
    arch=('i686' 'x86_64')
    url="http://www.gnome.org/projects/brasero"
    license="GPL"
    depends=('totem-plparser' 'nautilus-cd-burner' 'gstreamer0.10-gconf' 'libnotify' \
    'libburn' 'libisofs')
    makedepends=('intltool' 'libburn' 'libisofs')
    install=brasero.install
    source=(http://ftp.gnome.org/pub/gnome/sources/brasero/0.5/brasero-$pkgver.tar.bz2)
    md5sums=('2c23c4faa958c63b0e5b18c24420682c')
    build() {
    cd $startdir/src/brasero-$pkgver
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --disable-search --disable-caches #--disable-schemas-install
    make || return 1
    make DESTDIR=$startdir/pkg install
    post_install() {
    cat << EOM
    >> To enable libburn backend you need to activate it in GConf:
    >> /apps/brasero/config/libburn_burn
    >> /apps/brasero/config/libburn_iso
    EOM
    export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
    /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/brasero.schemas >/dev/null
    echo "update desktop mime database..."
    update-desktop-database -q
    post_upgrade() {
    post_install $1
    pre_remove() {
    if [ -f /etc/gconf/schemas/brasero.schemas ]; then
    schemas=(/etc/gconf/schemas/brasero.schemas)
    elif [ -f /opt/gnome/etc/gconf/schemas/brasero.schemas ]; then
    schemas=(/opt/gnome/etc/gconf/schemas/brasero.schemas)
    else
    schemas=(`pacman -Ql brasero | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
    fi
    export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
    /usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
    post_remove() {
    echo "update desktop mime database..."
    update-desktop-database -q
    op=$1
    shift
    $op $*

  • How to rebuild index from different schema

    Hi All,
    I want to rebuild an Index of schema A from Schema B.
    Is there any grant needs to be give to Schema B in order to rebuild index of Schema A?
    Thanks,
    Tarak

    It is true what P. Forstmann said. However if you don't want to give the second user the ANY priviledge, then you can do a little workaround. Create a small procedure in Schema A that does the rebuild (maybe dynamically). Then grant execute rights on the procedure to Schema B.

  • Best way to rebuild all the indexes in a schema

    Hi,
    DB : 9.2.0.7 (TEST Instance)
    OS : HP-UX Itanium 11.23
    we have TEST schema which contains 1960 Tables and 1800 Indexes.
    we have requirement to rebuild all those indexes.
    what is the best way to do this task?
    Note: This TEST schema was created and imported with PROD schema of Production ( Schema wise import)

    Sybrand has a very valid point, rebuild for what purpose? If it is performance you are likely wasting most of your effort thought there are cases where an index rebuild will help performance of specific queries though sometimes what you gain on a select may be paid for on an insert due to the rebuild resulting in splitting being required to support the insert.
    If the hope is for performance before rebuilding the indexes update the statistics.
    If you must rebuild the easiest way to to generate alter index owner.index_name rebuild commands via SQL and spool these to a file perhaps on a per tablespace basis. The you check the amount of space available in the tablespace to see if if will support rebuilding in place. If yes, great, just add a few commands to the script to echo the commands, show the timing, spool the results, etc.... If not, then you need to generate drop and re-create DDL for those indexes that cannot be rebuilt in an attempt to create the space necessary for the remaining indexes to use rebuilds.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Watermark Photos in Photoshop CS4??

    Is there a way I can batch Watermark photos in Photoshop CS4?? I have around 50 pictures that I take for my new photography business. I will send the company most of the pictures, but I want them all watermarked so they can not steal them. They will

  • How to factory unlock my iphone4

    pls answer immediate

  • Zen Vision:M = iP

    I just noticed, the connection for computer hookup on the Creative Zen Vision:M is the same as the iPod's hookup. I plugged a family member's iPod USB cable into my Zen Vision:M, and it had a perfect fit. This leads me to think... Would iPod sounddoc

  • HR Master Data Authorization

    Dear Guys I am facing a problem regarding HR Authorization. We are not able to access Header information of few Personnel numbers and also have full HR Authorization. When we copy same SAP ID to other SAP ID data becomes visible with out any change i

  • Can I dual boot lion and OS-10.5.8?

    I want to use my mac pro with Lion for it's iCloud feature and iPad2, but also be able to use some old programs on the MP in 10.5.8.  Can I have both OS on the Mac ?