You are not logged in.

#1 2010-06-30 17:41:54

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 224

Ubuntu-like GNOME experience [not Ayatana Project] - official thread

After packaging most of Ayatana stuff, i started to package other GUI things, like icons, themes from Ubuntu.

Screenshots:
zrzutekranugs.th.png
my current desktop - still needs a lot of work

Here are already packaged things:
light-themes-bzr: http://aur.archlinux.org/packages.php?ID=38555
ubuntu-mono-bzr: http://aur.archlinux.org/packages.php?ID=38554

dropbox-ubuntu-mono-dark: http://aur.archlinux.org/packages.php?ID=38589
dropbox-ubuntu-mono-light: http://aur.archlinux.org/packages.php?ID=38590
parcellite-ubuntu-mono-icon: http://aur.archlinux.org/packages.php?ID=38590
this three must be installed with -f option to resolve file conflicts. i dont know how can i do this properly other way.

empathy-theme-ubuntu-adium: http://aur.archlinux.org/packages.php?ID=38596
i have some corruption with it, dont know why

But there will be lot more. You can check out newest informations about my packages on twitter @dinth1906.

Last edited by Dinth (2010-07-01 11:58:33)

Offline

#2 2010-06-30 17:50:21

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Re ubuntu-like gnome experience - did you by chance find out how to get volume/brightness changes notify-osd style? I only tried to patch gnome-settings-daemon with a fedora patch ubuntu applies, but it didn't really work (brightness the same, volume gone).

Last edited by hokasch (2010-06-30 17:51:40)

Offline

#3 2010-07-01 08:23:59

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 224

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

No i havent tried that yet. Here you can find official Ubuntu patches - http://patches.ubuntu.net/

Offline

#4 2010-07-01 12:10:34

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Hmm, If I understand correctly these are diffs from the (already patched?) debian sources. I got the synchronous_notifications patch from here. Not sure if gnome-power-manager has to be patched as well for volume notifications, or if it is another problem altogether. If you find out more, please share.

Offline

#5 2010-07-01 12:38:58

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 224

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Yeah, this are patches for already patched debian sources. so you need both this and debian patches.

Offline

#6 2010-08-28 09:29:48

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 224

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Im back with brand new, beta Canonical Font - which will debut offically in Ubuntu 10.10. Its very beautyful http://aur.archlinux.org/packages.php?ID=40325

Offline

#7 2010-09-03 11:29:47

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

i am trying to get gnome-settings-daemon work with notify-osd, too.

but after i added 16_use_synchronous_notifications.patch and gnome-settings-daemon-11-gst-mediakeys.diff(from gnome bugzilla), i still can't make volume level notification show in notify-osd. still the old gnome style.

i don't know how to do next.

Offline

#8 2010-09-03 11:48:48

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

I'm using this PKGBUILD (with the patch in the same folder) and it works like a charm.

# Contributor: Gianfranco Micoli <gianfrix.mg@gmail.com>
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>

pkgname=gnome-settings-daemon-notify-osd
realname=gnome-settings-daemon
pkgver=2.30.2
pkgrel=1
pkgdesc="The GNOME Settings Daemon - Patched version to use Notify-OSD"
arch=(i686 x86_64)
license=('GPL')
depends=('libgnomekbd>=2.28.0' 'gnome-desktop>=2.28.1' 'libnotify>=0.4.5' 'libxxf86misc' 'gstreamer0.10-base>=0.10.22' 'notify-osd')
makedepends=('intltool' 'pkgconfig' 'patch')
provides=('gnome-settings-daemon=2.30.2')
conflicts=('gnome-settings-daemon')
replaces=('gnome-settings-daemon')
options=(!emptydirs !libtool)
install=gnome-settings-daemon.install
url="http://www.gnome.org"
groups=('gnome')
source=(http://ftp.gnome.org/pub/gnome/sources/${realname}/2.30/${realname}-${pkgver}.tar.bz2
        use_synchronous_notifications.patch)
sha256sums=('7cd22dab52f52900ee13a5bc0c1a186e91d33e77f5333c4622f84d85e4eb71f4'
            'c5de47c3a4daeca3757f6484073ec0e8014eaceb09b16a925e6f3cfdfe189faa')


build() {
  cd "${srcdir}/${realname}-${pkgver}"
  patch -Np1 -i "${srcdir}/use_synchronous_notifications.patch" || return 1
  libtoolize --force || return 1
  aclocal || return 1
  autoconf || return 1
  automake || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libexecdir=/usr/bin --disable-static --enable-pulse || return 1

  make || return 1
  make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1

  install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${realname}.schemas" --domain gnome-settings-daemon ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}

You might have to remove "--enable-pulse" if you don't want to use it.
The patch was postet by damumble: http://aur.pastebin.com/rMTf3Fa7

Offline

#9 2010-09-03 12:27:35

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Thanks for sharing!

Unfortunately, it doesn't work for me. No notifications nor volume change with this installed, volume keys are dead.

Which packages related to notify-osd do you have installed? Any changes to the .install file?

Offline

#10 2010-09-03 14:02:41

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

I have notify-osd-bzr installed. "notify-send test" does work through notify-osd?
Have you tried restarting gnome-settings-daemon?
Everything else is from the "gnome-settings-daemon-notify-osd" from AUR.

Last edited by DIDI2002 (2010-09-03 14:03:14)

Offline

#11 2010-09-03 14:33:41

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

Odd.
Did logout from x before, but rebuild notify-osd, reinstalled the patched package, and full reboot still gives same result. notify-send and all other notifications still work properly. This is just the same as when I tried to patch it earlier at post #2.

Another weird thing I just noticed, with the patch media keys don't do anything for the desktop "master" channel, but they change volume and mute output from a running mplayer window - normally this was seperate, mplayer volume could be changed with */<forgot> keys.
Any ideas? I would like to get some debug output, but remember last time I tried to run gnome-settings-daemon with --debug somehow it took me half an hour to put everything together how it was before... Nothing in any logs from settings daemon.

Offline

#12 2010-09-03 16:05:48

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

you must add gstreamer support. or media-key plugins won't work.

since 2.26, gnome-settings-daemons only support pluse audio.

i think maybe only with pluse enabled, the notify-osd style volume level works.

Offline

#13 2010-09-03 17:18:03

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

That may very well be true, as it's working on my laptop (x64) and pc (x86). Both are using pulse and the packages were compiled with --enable-pulse, but without -any flags regarding gstreamer

Offline

#14 2010-09-03 18:14:35

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Ubuntu-like GNOME experience [not Ayatana Project] - official thread

i give up, i won't use gnome-settings-daemon to control volume anymore.

instead, i write some simple bash scripts. and then change shotcut. works just like ubuntu style volume notification. when reach to 100% there also have special effect.
useage: ossvol up/down/mute
ossvol:

#!/bin/bash
[ ! $XDG_CACHE_HOME ] && XDG_CACHE_HOME=$HOME/.cache
CTRL=vmix0-outvol
VOLFILE=$XDG_CACHE_HOME/.volume
touch $VOLFILE
VOLUME=$(cat $VOLFILE)

if [ "$1" == 'up' ]; then
    VOL=$(ossmix $CTRL | awk '{print $10+2}')
    PERCENTAGE=$(echo "$VOL*4"|bc)
    [ "$VOL" == "$VOLUME" ] && PERCENTAGE=101
    i=${VOL/.*}
    echo $VOL > $VOLFILE
elif [ "$1" == 'down' ]; then
    VOL=$(ossmix $CTRL | awk '{print $10-2}')
    PERCENTAGE=$(echo "$VOL*4"|bc)
    i=${VOL/.*}
    [ "$i" -le 0 ] && PERCENTAGE=0 && VOL=0
    echo $VOL > $VOLFILE
elif [ "$1" == 'mute' ]; then
    VOL=$(ossmix $CTRL | awk '{print $10}')
    echo $VOL > $VOLFILE
    if [ "$VOL" == '0.0' ]; then
        VOL=$VOLUME
        PERCENTAGE=$(echo "$VOLUME*4"|bc)
    else
        VOL=0
        PERCENTAGE=0
    fi
    i=${VOL/.*}
else 
    echo "Available options: up, down, mute"
    exit
fi

if [ $i -lt 1 ];then
    ICON=audio-volume-muted
elif [ $i -lt 9 ];then
    ICON=audio-volume-low
elif [ $i -lt 17 ];then
    ICON=audio-volume-medium
else
    ICON=audio-volume-high
fi

notify-send "Volume" -i $ICON -h int:value:$PERCENTAGE -h string:x-canonical-private-synchronous:
ossmix $CTRL $VOL > /dev/null

Last edited by jarryson (2010-09-03 19:34:51)

Offline

Board footer

Powered by FluxBB