You are not logged in.

#1 2009-01-18 16:41:51

syms
Member
Registered: 2008-12-25
Posts: 296

Fast User Switch Applet doesnt have restart, log out shutdown etc.

hi,
i have gnome 2.24 and applet version is 2.24 too, but when i click on it, i get only user switching. in ubuntu 8.10 i can restart, turn off, log out computer. i want this in arch linux too. here screenshot:
f_screenm_3731b1f.jpg

Offline

#2 2009-01-18 18:42:42

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

I am not 100% sure as i don't use gnome, but from what i have read ubuntu patches gnome to add those buttons for better usability. May be you can use the same patch with arch. And i think they have added stuff like im status etc there.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-01-18 19:18:08

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

Congratulations! you discover gnome vanila smile


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-01-18 19:51:32

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

thanks, but i have no idea where to find that patch sad

Offline

#5 2009-01-18 19:59:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2009-01-18 20:22:33

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

maybe its dumb question but how i need to install it?

Offline

#7 2009-01-18 22:35:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

take a look at cairo-ubuntu build from aur.


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2009-01-19 12:42:44

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

wonder wrote:

take a look at cairo-ubuntu build from aur.

i see only cairo ubuntu libraries. i compiled and installed it, but what i need to do now?

Offline

#9 2009-01-19 12:59:42

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

offffffffff
i didn't told you to install that package. i told you to take a look at [bold]PKGBUILD[/bold] and see how to do a build for that applet using ubuntu patches


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2009-01-26 20:07:56

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

i installed it by extracting deb file and copying all data files to their places. now ive got ubuntu style, like it shows my user name and quit icon on right, when i click it i have only switch user. though its in ubuntu style because when i click on applet it doesnt show icons

Offline

#11 2009-01-27 12:54:10

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

Maybe it's a dumb question but why don't they submit these patches upstream?


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#12 2009-02-03 19:46:09

antoinemartin
Member
Registered: 2008-09-08
Posts: 4

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

Here you have a patched PKGBUILD to build it (with a lazy french translation)

# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Mark Rosenstand <mark@borkware.net>

pkgname=fast-user-switch-applet
pkgver=2.24.0
pkgrel=2
pkgdesc="An applet for the GNOME panel which provides a menu to switch between users."
arch=(i686 x86_64)
license=('GPL')
url="http://ignore-your.tv/fusa/"
depends=('gnome-panel>=2.24.0' 'libxmu' 'gdm>=2.20.8')
makedepends=('perlxml' 'pkgconfig' 'sharutils')
options=(!emptydirs)
groups=('gnome-extra')
install=fusa.install
source=(http://ftp.gnome.org/pub/GNOME/sources/fast-user-switch-applet/2.24/${pkgname}-${pkgver}.tar.bz2 http://archive.ubuntu.com/ubuntu/pool/main/f/fast-user-switch-applet/fast-user-switch-applet_2.24.0-0ubuntu6.diff.gz)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p1 < ../fast-user-switch-applet_2.24.0-0ubuntu6.diff
  for p in debian/patches/*; do echo "Applying $p"; if echo $p | grep -qE "(from_fedora|autotools)"; then patch -p1 < $p; else patch -p0 < $p; fi; done
  # adding quick french translation
  echo "" >> po/fr.po
  echo 'msgid "Lock screen"' >> po/fr.po
  echo 'msgstr "Vérouiller"' >>po/fr.po

  echo "" >> po/fr.po
  echo 'msgid "Log out"' >> po/fr.po
  echo 'msgstr "Déconnexion"' >>po/fr.po

  echo "" >> po/fr.po
  echo 'msgid "Restart"' >> po/fr.po
  echo 'msgstr "Redémarrer"' >>po/fr.po

  echo "" >> po/fr.po
  echo 'msgid "Shut down"' >> po/fr.po
  echo 'msgstr "Arrêter"' >>po/fr.po

  ./configure --prefix=/usr --sysconfdir=/etc \
              --libexecdir=/usr/lib/fast-user-switch-applet \
              --localstatedir=/var --disable-scrollkeeper \
              --with-gdm-setup="/usr/bin/gksu /usr/sbin/gdmsetup" \
              --with-gdm-config=/etc/gdm/custom.conf || return 1
  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}

md5sums=('001ef5a6a03ba6a0f4857bc3b05ec8f1'
         'dc2ce57b8d627943437814564d71519c')

Offline

#13 2009-02-04 08:56:05

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

lardon wrote:

Maybe it's a dumb question but why don't they submit these patches upstream?

because they are ubuntu

edit: or, upstream just doesn't like the patch

Last edited by robmaloy (2009-02-04 08:57:04)


☃ Snowman ☃

Offline

#14 2009-02-04 09:39:25

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

Is there a discussion of the patch somewhere, maybe on the upstream bugzilla?


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#15 2009-02-07 06:40:02

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

I used the PKGBUILD from antoinemartin and had to comment out "install = fusa.install" but other than that it compiled without any problems.

It still isn't exactly like Ubuntu's though. There's only a "switch user" icon (the arrow pointing downwards) next to the user name. None of the other status icons for Pidgin are available.

t_Screenshotm_c019d89.jpg

Last edited by cisforcojo (2009-02-07 06:52:02)

Offline

#16 2009-02-10 13:19:12

syms
Member
Registered: 2008-12-25
Posts: 296

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

cisforcojo wrote:

I used the PKGBUILD from antoinemartin and had to comment out "install = fusa.install" but other than that it compiled without any problems.

It still isn't exactly like Ubuntu's though. There's only a "switch user" icon (the arrow pointing downwards) next to the user name. None of the other status icons for Pidgin are available.

http://img32.picoodle.com/img/img32/3/2 … 019d89.jpg

ive got exactly same problem now.

Offline

#17 2009-02-20 10:16:52

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

You need the .install file, which can be found here: http://repos.archlinux.org/viewvc.cgi/f … iew=markup

It's a file that tells the package how exactly to install the applet (after compiling and installing the package), adding gconf entries, etc..

Last edited by lswest (2009-02-20 10:17:22)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#18 2009-02-20 12:28:50

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

Re: Fast User Switch Applet doesnt have restart, log out shutdown etc.

Hmmm thanks for the file but it's exactly the same for me after use fusa.install. You can get it to work??

Offline

Board footer

Powered by FluxBB