Le dimanche 17 janvier 2010 à 11:23 -0600, Dirk Eddelbuettel a écrit : > On 15 January 2010 at 09:00, Denis Laxalde wrote: > | Hi, > | > | Le jeudi 14 janvier 2010 à 20:00 -0600, Dirk Eddelbuettel a écrit : > | > Maybe you could just a two-liner in /usr/local/bin/, say > /usr/local/bin/Rcmdr > | > that contains > | > > | > #!/bin/sh > | > sh /usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh > | > > | > (minus the indentation) and you then load this ? You'd also have to place > | > the .desktop file in the right place by hand, I can't do that easily for > the > | > package as all files belonging to the package end up below > | > /usr/lib/R/site-library/Rcmdr > | > > | > | Wouldn't it be possible to just modify the 'Exec' line in the .desktop > | file that is shipped in the package to make it work ? > | Something like: > | Exec=sh /usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh > > Not a bad idea. Does that work for you? Yes, it does.
Actually, a better solution would be to by-pass this shell script and include its content directly in the menu file as: Exec=sh -c 'R_DEFAULT_PACKAGES="$R_DEFAULT_PACKAGES Rcmdr" R "$@"' This works too on my system. > All this is, as far as I know, only in Rcmdr as someone will invariably have > suggested it to John Fox who almost surely said 'why not' and included it. He > is primarily a Windows user. Including this upstream would be better, I agree. Cheers, Denis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org