Debian Bug report logs - #459369
ltspfs: patch for automatically creating icons on the kde desktop

version graph

Package: ltspfs; Maintainer for ltspfs is Debian LTSP Maintainers <team+ltsp@tracker.debian.org>; Source for ltspfs is src:ltspfs (PTS, buildd, popcon).

Reported by: Klaus Ade Johnstad <klaus@bzz.no>

Date: Sat, 5 Jan 2008 22:42:01 UTC

Severity: normal

Found in version 0.4.3+debian2+0.edu.0.etch.1

Fixed in version ltspfs/0.5.0~bzr20080303-1

Done: Vagrant Cascadian <vagrant@freegeek.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#459369; Package ltspfs. (full text, mbox, link).


Acknowledgement sent to Klaus Ade Johnstad <klaus@bzz.no>:
New Bug report received and forwarded. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Klaus Ade Johnstad <klaus@bzz.no>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ltspfs: patch for automatically creating icons on the kde desktop
Date: Sat, 05 Jan 2008 23:38:53 +0100
[Message part 1 (text/plain, inline)]
Package: ltspfs
Version: 0.4.3+debian2+0.edu.0.etch.1
Severity: normal

The attached patch creates corresponding icons on the users kde desktop when they insert a removable device.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-5-486
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages ltspfs depends on:
ii  fuse-utils             2.5.3-4.4         Filesystem in USErspace (utilities
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libfuse2               2.5.3-4.4         Filesystem in USErspace library
ii  python                 2.4.4-2           An interactive high-level object-o

ltspfs recommends no packages.

-- no debconf information
[ltspfsmounter.diff (text/x-java, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#459369; Package ltspfs. (full text, mbox, link).


Acknowledgement sent to Oliver Grawert <ogra@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 459369@bugs.debian.org (full text, mbox, reply):

From: Oliver Grawert <ogra@ubuntu.com>
To: 459369@bugs.debian.org
Subject: Re: [Pkg-ltsp-devel] Bug#459369: ltspfs: patch for automatically creating icons on the kde desktop
Date: Sun, 06 Jan 2008 11:53:38 +0100
[Message part 1 (text/plain, inline)]
hi,
On Sa, 2008-01-05 at 23:38 +0100, Klaus Ade Johnstad wrote:
> Package: ltspfs
> Version: 0.4.3+debian2+0.edu.0.etch.1
> Severity: normal
> 
> The attached patch creates corresponding icons on the users kde desktop when they insert a removable device.
> 
could you make that depend on a lts.conf variable please, we generally
consider it evil behavior in ubuntu to create symlinks in users
homedirs ...

(beyond that i'd rather like to see it properly fixed on a lower lavyer
rather than worked around in such a way but i see the need for kde ...)

ciao
	oli
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#459369; Package ltspfs. (full text, mbox, link).


Acknowledgement sent to mariodebian <mariodebian@gmail.com>:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 459369@bugs.debian.org (full text, mbox, reply):

From: mariodebian <mariodebian@gmail.com>
To: Klaus Ade Johnstad <klaus@bzz.no>, 459369@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: [Pkg-ltsp-devel] Bug#459369: ltspfs: patch for automatically creating icons on the kde desktop
Date: Sun, 06 Jan 2008 12:06:26 +0100
[Message part 1 (text/plain, inline)]
On sáb, 2008-01-05 at 23:38 +0100, Klaus Ade Johnstad wrote:
> +def get_desktop_file_path(dev):
> +    return os.path.expanduser("~/Desktop/ltspfsmounter--%s.desktop" %
> (dev))


This piece of code will not work soon...

Ubuntu gutsy translate (with XDG-DIRS) user's dirs.

In spanish, for example, Desktop is named Escritorio.

Take a look at this script to get real Desktop path:

http://trac.tcosproject.org/browser/trunk/initramfs-tools-tcos/bin/rsync-controller

Greetings

-- 
http://soleup.eup.uva.es/mariodebian
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#459369; Package ltspfs. (full text, mbox, link).


Acknowledgement sent to vagrant@freegeek.org:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 459369@bugs.debian.org (full text, mbox, reply):

From: vagrant@freegeek.org
To: Klaus Ade Johnstad <klaus@bzz.no>, 459369@bugs.debian.org
Cc: ltsp-developer@lists.sourceforge.net
Subject: Bug#459369: ltspfs: patch for automatically creating icons on the kde desktop
Date: Fri, 29 Feb 2008 23:48:20 -0800
On Sat, Jan 05, 2008 at 11:38:53PM +0100, Klaus Ade Johnstad wrote:
> The attached patch creates corresponding icons on the users kde
> desktop when they insert a removable device.

i'm wondering if we should create some sort of plugins/hooks system that
people can drop scripts into... this way rather than modifying
ltspfsmounter for every feature that comes along, it could add the
plugin/hook as part of the KDE related package, or a sysadmin could
install a custom hook for whatever bizarre purpose they could dream up.

it would basically need to call with the device and/or path, the mode of
operation (add, remove, cleanup)... this could be implemented with some
run-parts-like thing (to remain distro-independent), executing any files
that match the appropriate criteria found in a directory ...

i.e. /usr/share/ltspfs/mounter.d contains a script called
kde-desktop-files and when the add function is called, it calls:

 /usr/share/ltspfs/mounter.d/kde-desktop-files /media/USER/USBSTICK add


thoughts?

live well,
  vagrant

p.s. the full bug report is available at http://bugs.debian.org/459369




Information forwarded to debian-bugs-dist@lists.debian.org, LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#459369; Package ltspfs. (full text, mbox, link).


Acknowledgement sent to vagrant@freegeek.org:
Extra info received and forwarded to list. Copy sent to LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #25 received at 459369@bugs.debian.org (full text, mbox, reply):

From: vagrant@freegeek.org
To: Klaus Ade Johnstad <klaus@bzz.no>
Cc: 459369@bugs.debian.org
Subject: Bug#459369: ltspfs: patch for automatically creating icons on the kde desktop
Date: Sun, 2 Mar 2008 15:09:24 -0800
tags 459369 pending
thanks

committed patches to create ltspfs hooks and re-worked your patch as an
example hook for ltspfs.

because it isn't nice to go mucking in home directories and the concern
over supporting XDG(where Desktop may be named something else), it won't
be installed by default, but will be included in the examples section of
the docs in the next upload.

thanks!

live well,
  vagrant




Tags added: pending Request was from vagrant@freegeek.org to control@bugs.debian.org. (Sun, 02 Mar 2008 23:12:07 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@freegeek.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Klaus Ade Johnstad <klaus@bzz.no>:
Bug acknowledged by developer. (full text, mbox, link).


Message #32 received at 459369-close@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@freegeek.org>
To: 459369-close@bugs.debian.org
Subject: Bug#459369: fixed in ltspfs 0.5.0~bzr20080303-1
Date: Mon, 03 Mar 2008 06:17:04 +0000
Source: ltspfs
Source-Version: 0.5.0~bzr20080303-1

We believe that the bug you reported is fixed in the latest version of
ltspfs, which is due to be installed in the Debian FTP archive:

ltspfs_0.5.0~bzr20080303-1.diff.gz
  to pool/main/l/ltspfs/ltspfs_0.5.0~bzr20080303-1.diff.gz
ltspfs_0.5.0~bzr20080303-1.dsc
  to pool/main/l/ltspfs/ltspfs_0.5.0~bzr20080303-1.dsc
ltspfs_0.5.0~bzr20080303-1_i386.deb
  to pool/main/l/ltspfs/ltspfs_0.5.0~bzr20080303-1_i386.deb
ltspfs_0.5.0~bzr20080303.orig.tar.gz
  to pool/main/l/ltspfs/ltspfs_0.5.0~bzr20080303.orig.tar.gz
ltspfsd_0.5.0~bzr20080303-1_i386.deb
  to pool/main/l/ltspfs/ltspfsd_0.5.0~bzr20080303-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 459369@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@freegeek.org> (supplier of updated ltspfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  2 Mar 2008 21:39:24 -0800
Source: ltspfs
Binary: ltspfs ltspfsd
Architecture: source i386
Version: 0.5.0~bzr20080303-1
Distribution: unstable
Urgency: low
Maintainer: LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@freegeek.org>
Description: 
 ltspfs     - Fuse based remote filesystem for LTSP thin clients
 ltspfsd    - Fuse based remote filesystem daemon for LTSP thin clients
Closes: 456327 459369
Changes: 
 ltspfs (0.5.0~bzr20080303-1) unstable; urgency=low
 .
   * new upstream release from bzr:
     - use /sbin/udevadm if present, fall back to udevinfo (Closes: #456327)
     - implement hook scripts for ltspfs
     - add example hook script to add icons on KDE desktops.
       thanks to Klaus Ade Johnstad (Closes: #459369)
Files: 
 ff993d3164114babb919b39614a067ec 973 net optional ltspfs_0.5.0~bzr20080303-1.dsc
 51d3193bd0b1de0e7d681b36ca3c3290 213245 net optional ltspfs_0.5.0~bzr20080303.orig.tar.gz
 21d5f2c0ecdc4ab2e69fa8d7a1926fc6 29128 net optional ltspfs_0.5.0~bzr20080303-1.diff.gz
 0ba2c2aeb6e9f73b3d2511e1d9136be0 19224 net optional ltspfs_0.5.0~bzr20080303-1_i386.deb
 785f0d99493c5f53d9c38d03ee628f3d 17800 net optional ltspfsd_0.5.0~bzr20080303-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHy5aklPc63BPWGpkRAp0aAJ9K/jj7s1I/o7fzunVClvgHPxARdQCfeLxS
vjT2/PVBfL//2pz+DZNWUa0=
=VMPO
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 31 Mar 2008 07:33:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 12:54:04 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.