Re: [gentoo-user] zoom?

2020-03-25 Thread Jean-Christophe Bach
Hello,

> On Wed, Mar 25, 2020 at 12:10 PM Alec Ten Harmsel
>  wrote:
> >
> > On Wed, Mar 25, 2020, at 08:04, Michael wrote:
> > > I have not used Zoom, but the interwebs are screaming about the fly-by 
> > > malware
> > > silent installations that come with it.  I don't know if this applies to 
> > > Linux
> > > too.
> >
> > My understanding is that it reports running processes and other info about 
> > your machine back to Zoom. Don't know why. As soon as I'm done with a 
> > meeting, I stop it so it's not running all the time.
> >
> Wow. It doesn't get much more spooky that that. The reason I was
> checking zoom is that it is what people @work are using. But they're
> not a security-conscious bunch at all, at all.
> 
> Jorge

Same here: I have to use Zoom at work due to quarantine. I retrieved the
zoom_x86_64.tar.xz archive from https://us04web.zoom.us/download. Then, due to
security concerns, I launch it from a VM or in firejail. 

JC


signature.asc
Description: PGP signature


Re: [gentoo-user] pdftk - replacement

2018-03-15 Thread Jean-Christophe Bach
Hello,

> > I now use pdfjoin from app-text/pdfjam.
> 
> The packages: pdfjoin and pdfunite
> 
> They will combine pdf documents (I use them as well) but they will not
> overlap two pages together.

Well, with some trick, pdfjam can actually  overlap two pages together :
https://stackoverflow.com/questions/47973147/overlay-one-pdf-with-another-from-the-command-line-pdftk-alternative/48418698#48418698

Regards,

JC



signature.asc
Description: PGP signature


Re: [gentoo-user] pdftk - replacement

2018-03-15 Thread Jean-Christophe Bach
Hello,

> That is not what I (we) need.
> pdfunite - will join several PDF file into one (this is not what I want).
> 
> I need to "overlap" two PDF file, one on top of another, it is like
> watermarking.  I only do it once a year when I print a tax form/slips.
 
Maybe a Python script using pyPdf ? It is a bit old, but the library still
exists and you could probably succeed in overlaying your files with the
mergePage operation. (something like that: watermark.mergePage(yourpage))

Regards,

JC


signature.asc
Description: PGP signature


Re: [gentoo-user] UFO: 'No. You make ME a sandwich.'

2017-10-30 Thread Jean-Christophe Bach
Hello,

* Helmut Jarausch  [30.10.2017. @11:59:09 -]:

> Hi,
> when trying to re-emerge libreoffice I get the strange message
> No. You make ME a sandwich.
> Has anybody seen this before?

Really ?! I have never seen this message, but it remindsme that: 
https://xkcd.com/149/

Maybe the message is a joke from developers? (would it mean that there is an 
issue with root rights?)

Regards,

JC


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Mutt not displaying encrypted attachments

2017-10-17 Thread Jean-Christophe Bach
Hello,

* Matthew Marchese  [17.10.2017. @02:30:55 -0700]:
> On 10/12/2017 08:55 AM, Lucas Ramage wrote:
> > Hello all,
> > 
> > I have been having an issue with mutt not displaying encrypted attachments.
> > 
> > My configs are on github,
> > 
> > https://github.com/lramage94/dotfiles/{.mutt,.gnupg}
> > 
> 
> Can anyone help Lucas with this?

I am not sure to understand your problem:
- you encrypt your attachments (or receive ons) and they are not attached? or 
not shown but present?
- does the full encryption of an email work? (are you able to send and receive 
encrypted emails?)
- your configuration files do not show anything related to attachments

Could gave us your use case in order we can try to reproduce it?

Just in case, you can also add your version numbers of mutt, gnupg, etc.

Thank you,

JC

PS : I am also sing gnupg + mutt, we can do some test off list if it is more 
convenient for you.


signature.asc
Description: PGP signature


Re: [gentoo-user] rotating backup script

2017-03-06 Thread Jean-Christophe Bach
Hello,

> I was looking at this rotating backup script
> 
> source:
> https://community.spiceworks.com/topic/34970-how-to-create-rotating-backups-of-files
> 
> --backup script
> BACKUPDIR=`date +%A`
> OPTS="--force --ignore-errors --delete-excluded --exclude-from=$EXCLUDES 
>   --delete --backup --backup-dir=/$BACKUPDIR -a"
> 
> export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
> 
> # the following line clears the last weeks incremental directory
> [ -d $HOME/emptydir ] || mkdir $HOME/emptydir
> rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/
> rmdir $HOME/emptydir
> 
> # now the actual transfer
> rsync $OPTS $BDIR $BSERVER::$USER/current
> ---end backup script
> 
> Can anybody explain why they they "...clear the last weeks incremental 
> directory"?

Probably because BACKUPDIR is set to the name of the day (`date +`A`).
Today is Tuesday and a backup is done, next week the backup will be
overwritten because BACKUPDIR will also be Tuesday. Therefore there will
only be 7 directories.

> Doesn't "rsync --deleate" option take take care of this?

--delete removes extraneous files. Combined with the previous thing, it
ensures the backup rotation.

> Does it have something to do with Windows? 

Hu? What is Windows? I do not know what are those alternative OSs ;)

Regards,

JC


signature.asc
Description: PGP signature


Re: [gentoo-user] Shutter alternatives

2016-08-27 Thread Jean-Christophe Bach
Hello,

> I am looking for an alternative for shutter, which has been
> removed from portage which is not shutterbug (see me initial posting).
> 
> So neither shutter nor shutterbug is an alternative to shutter.
> 
> What else can I use instead.

I am using media-gfx/scrot, a very simple screenshot program.

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Gnupg-2.1.* nightmare

2015-10-19 Thread Jean-Christophe Bach
On 10/13/2015 04:53 PM, Andrew Savchenko wrote:
> Hello,
> 
> I updated to gnupg-2.1.9 from 2.0.x on both my desktop and laptop
> and now I have big problems.
> 
> 1. gpgme is now broken.
> 
> Gpgme consumers (e.g. sylpheed, mcabber) can verify, encrypt and
> decrypt messages, but can't sign them. On signing I have the
> following issues:
> 
> Please enter your PGP passphrase: 
> [17:26:06] GPGME signature error: Unusable secret key
> 
> Or:
> ** Sylpheed-WARNING: pgp_sign(): signing failed: User defined error
> code 1
> 
> I _can_ sign using the very same keys and plain
>   gpg -s --default-key $id
> command. GPG itself works fine, something is amiss with gmgme.
> 
> I updated gpgme, libgcrypt, libgpg-error and libassuan to the
> latest unstable versions and rebuilt consumer applications.
> Of course, keys were migrated to the new format using gpg --import
> and gpg-agent was restarted (I even rebooted the whole host), but
> problem is still here.
> 
> The problem is even more strange, since I found a workaround way to
> sign messages in sylpheed. Program has three options for key
> selection:
> a) use default GPG key;
> b) select key by e-mail;
> c) use key with provided ID.
> 
> Options b) and c) cause the error above, while option a) works, so
> by editing gpg.conf I can set default key id to what I need to sign
> a message. This is very inconvenient (since I have many keys), but
> at least works somehow.
> 
> 
> 2. I have duplicated keys in the ring with the same ID and
> fingerprint.
> 
> Duplication happens only to _some_ of my keys where I have a secret
> key, fetched public keys of other users are not duplicated.
> 
> Examples:
> a) Here I have the very same key twice:
> 
> $ gpg --fingerprint -K 0x8EE705C07CFA83D3
> sec   rsa4096/0x8EE705C07CFA83D3 2012-09-11 [expired: 2015-09-11]
>   Key fingerprint = 3F2D 1E49 4F96 2CE6 1597  F217 8EE7 05C0 7CFA 83D3
> uid   [ expired] Bircoph 
> 
> sec   rsa4096/0x8EE705C07CFA83D3 2012-09-11 [expired: 2015-09-11]
>   Key fingerprint = 3F2D 1E49 4F96 2CE6 1597  F217 8EE7 05C0 7CFA 83D3
> uid   [ expired] Bircoph 
> 
> b) Now comes more interesting:
> 
> $ gpg --fingerprint -K 0x565953B95372756C
> sec   rsa4096/0x565953B95372756C 2013-02-27 [expires: 2018-02-26]
>   Key fingerprint = 63EB 04FA A30C 76E2 952E  6ED6 5659 53B9 5372 756C
> uid   [ultimate] Andrew Savchenko 
> uid   [ultimate] Andrew A. Savchenko (NRNU MEPhI) 
> 
> uid   [ultimate] Andrew A. Savchenko (UT Department) 
> 
> uid   [ultimate] Andrew Savchenko (Gentoo Dev) 
> 
> uid   [ultimate] Andrew A. Savchenko (XMPP) 
> 
> uid   [ultimate] Andrew A. Savchenko (UT Department) 
> 
> uid   [ultimate] Andrey Savchenko (RHIC) 
> 
> ssb   rsa4096/0x7AB649CA518C8321 2013-02-27 [expires: 2018-02-26]
> ssb   rsa4096/0xF6535A33BA1EE48D 2015-01-13 [expires: 2018-01-12]
> 
> sec   rsa4096/0x565953B95372756C 2013-02-27 [expires: 2018-02-26]
>   Key fingerprint = 63EB 04FA A30C 76E2 952E  6ED6 5659 53B9 5372 756C
> uid   [ultimate] Andrew A. Savchenko (NRNU MEPhI) 
> 
> uid   [ultimate] Andrew Savchenko 
> uid   [ultimate] Andrew Savchenko (Gentoo Dev) 
> 
> uid   [ultimate] Andrew A. Savchenko (XMPP) 
> 
> uid   [ultimate] Andrew A. Savchenko (UT Department) 
> 
> uid   [ultimate] Andrew A. Savchenko (UT Department) 
> 
> ssb   rsa4096/0x7AB649CA518C8321 2013-02-27 [expires: 2018-02-26]
> ssb   rsa4096/0xF6535A33BA1EE48D 2015-01-13 [expires: 2018-01-12]
> 
> I have two versions of the same key: the latest and previous one 
> (before I added one more e-mail uid to the key).
> 
> This problem may be related to the first one, may be not, I'm not
> sure. It is possible that gpgme goes crazy with these duplicates.
> 
> I have no idea how to remove duplicates and old versions. All gpg
> commands are tied to either key id, e-mail or fingerprint. They
> are all not unique to delete such duplicates.
> 
> I have though that this may happen due to both secring.gpg and
> private-keys-v1.d present, but moving secring.gpg away doesn't
> help.
> 
> Maybe manual editing of pubring.gpg will help to remove duplicates,
> but it will be quite hard to handle this binary format.
> 
> 
> Googling gave me very litte here:
> 
> 1st issue: may happen for some custom gpgme client software, but
> no data on global failures after gnupg update.
> 
> 2nd issue: may happen when key is stored in multiple sources and
> fetched from them, but I have no --keyring options in my gpg.conf

Re: [gentoo-user] OT: webserver reccomendations

2015-06-27 Thread Jean-Christophe Bach
* Bill Kenworthy bi...@iinet.net.au [28.06.2015. @05:45:37 +0800]:

 Hi all,
   over the years when I need a web-server I have just used Apache.  I am
 in the process of consolidating my separate services VM's for various
 things into LXC containers and am looking for something a bit lighter if
 its worthwhile.
 
 I am currently using Apache for internal and external http/https static
 pages, webdav and radicale (dav/wsgi calendar) sometimes using vhosts.
 
 Is there something else much lighter weight than Apache for (each) of
 these tasks? - doesn't have to be the same application as I want to
 separate the tasks rather than have one huge complex Apache
 configuration serving an extremely light load.
 
 Nginx is an alternative for radicale (is it worth changing from one
 large application to one almost as heavy?) but what else can do wsgi/dav?
 
 BillK

Hi Bill,

I am self-hosting a lighttpd server with a cal/card dav sever: Baikal
[1]. I also added a web (js) interface for it, in case of I would need
it: CalDavZAP [2] and CardDavMATE [3] which were unified by InfCloud
[4].
I chosed lighttpd because Apache became to heavy and to complex to
admin for a simple personal server.

Hope it will help you,

JC

[1] http://baikal-server.com
[2] https://www.inf-it.com/open-source/clients/caldavzap/ 
[3] https://www.inf-it.com/open-source/clients/carddavmate/ 
[4] https://www.inf-it.com/open-source/clients/infcloud/



signature.asc
Description: Digital signature


Re: [gentoo-user] Mutt emerge USE flags for novice

2015-03-21 Thread Jean-Christophe Bach

  In my system :
  
root:518 ~ eix ^mutt$
[I] mail-client/mutt
Available versions:  1.5.22-r3 1.5.23-r5 ~1.5.23-r6 {berkdb crypt debug 
  doc gdbm gnutls gpg idn imap kerberos mbox nls nntp pop qdbm sasl selinux 
  sidebar slang smime smtp ssl tokyocabinet}
Installed versions:  1.5.23-r5([2015-02-28 12:43:41])(crypt gdbm gnutls 
  pop slang smtp ssl -berkdb -debug -doc -gpg -idn -imap -kerberos -mbox -nls 
  -nntp -qdbm -sasl -selinux -sidebar -smime -tokyocabinet)
  
  HTH
 
 Thank you, but are there anyone around who uses Mutt with gmail?

Hi,

In the past, I used it with gmail. I did not change any flag with or
without gmail.

My mutt flags:

berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls pop sasl
sidebar smime smtp ssl -kerberos -nntp -qdbm -selinux -slang
-tokyocabinet

I use Maildir, therefore I think mbox flag is useless.

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] chatting with the customer

2015-01-23 Thread Jean-Christophe Bach
* Stefan G. Weichinger li...@xunil.at [23.01.2015. @13:57:02 +0100]:

 On 23.01.2015 12:06, Raffaele BELARDI wrote:
 
  I suppose you're referring to 'written' chat. 
 
 Yes!
 
  At work, on a local 
  network, I'm using pidgin client with SIPE plugin 
  (x11-plugins/pidgin-sipe ). Works fine to chat with co-workers using 
  Microsoft Lync or Office Communicator. File transfer never worked, 
  though. The server side is Microsoft, I suppose, in any case out of my 
  reach.
 
 So I'd need an MS Server ? OK, they have those ... but I'd prefer a
 solution running on gentoo there.
 
 What about jabberd ... ? looking ... maybe I test that.

I have Prosody (a Jabber server) on my server. It is easy to install, to
configure and to maintain. Then your customer has to install a client
and to create an account (or you can create it for him).
Lots of friends have jabberd, it is also a good solution.

JC


signature.asc
Description: Digital signature


[gentoo-user] Question about binary packages

2014-04-09 Thread Jean-Christophe Bach
Hi list,

I was wondering how it works for binary packages when they are compiled:

Are all binary packages compiled on Gentoo infrastructure after a source
upload from the maintainer, or are there any binary packages compiled on
maintainers computers and then uploaded on Gentoo infra?

In fact, we had lots of trolls^W discussions about this point with
friends and colleagues who use other distros. And there is a security
question: do we allow uploads from developers without being sure the
binary comes from the corresponding sources? (the maintainer may be
malicious, or his computer may be compromised) The « binary upload »
practice is very common in other distro communities such as Debian.
Therefore I would like to know if we also have this flaw in Gentoo.
(and what do you think about it)

Thank you,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] look for a file type + sort

2013-09-13 Thread Jean-Christophe Bach
* Canek Peláez Valdés can...@gmail.com [13.09.2013. @00:16:51 -0500]:

 On Fri, Sep 13, 2013 at 12:11 AM, Joseph syscon...@gmail.com wrote:
  On 09/13/13 00:04, Canek Peláez Valdés wrote:
 
  On Thu, Sep 12, 2013 at 11:58 PM, Canek Peláez Valdés can...@gmail.com
  wrote:
 
  On Thu, Sep 12, 2013 at 11:48 PM, Joseph syscon...@gmail.com wrote:
 
  I want to list recursively certain type of files eg. *.pdf but I want to
  display: date, path and newest file first.
 
  What is the easiest way of doing it?
 
 
  ls -l --sort=time $(find /path -iname *.pdf)
 
  If there are no spaces in the filenames/directories, you can drop the
  quotes from $().
 
 
  Sorry, it doesn't work with spaces even with the quotes; if you don't
  have spaces in the directories/filenames, do
 
  ls -l --sort=time $(find /path -iname *.pdf)
 
  If you have spaces, you need to set/restore IFS:
 
  S=${IFS}; IFS=$'\n'; ls -l --sort=time $(find . -iname *.pdf); IFS=${S}
 
  Regards.
  --
  Canek Peláez Valdés
  Posgrado en Ciencia e Ingeniería de la Computación
  Universidad Nacional Autónoma de México
 
 
  Hm, I've tried:
  ls -l --sort=time $(find /home/joseph -iname *.jpg)
 
  got:
  ls: invalid option -- '/'
 
 The exact same command (changing joseph with canek) works for me,
 except in directories/filenames with spaces, as expected. Do you have
 an alias for ls? What does find /home/joseph -iname *.jpg returns?
 
 Regards.
 -- 
 Canek Peláez Valdés

Hi,

This one should work:

find /home/joseph/ -iname *.pdf -exec ls -l --sort=time {} +

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Jitsi or Other Skype Alternative

2013-08-21 Thread Jean-Christophe Bach
* the the.gu...@mail.ru [21.08.2013. @09:35:09 +0400]:

 On 08/20/13 19:12, Randy Westlund wrote:
  For a multitude of reasons, I'd like to get rid of skype.  I've
  heard several people mention jitsi, but was surprised to find that
  it's not in the portage tree.
  
  Is jitsi being actively maintained in an overlay somewhere?  Are
  there plans to put jitsi in the main tree?
  
  Are there other other good alternatives to skype that are supported
  on gentoo?  What do you guys use?
 
 Bear in mind that there's no free replacement for skype.

Well, it depends on what you call a replacement: Jitsi and Ekiga can do
the work as well as Skype, but not with the Skype protocol and
network. But if your contacts do not care about it, it's ok.
I tried Jitsi last year after the FOSDEM, but it was too much buggy. I
tried again this year (after the FOSDEM again), and I think it si now
usable.
You can also try Ekiga which is also usable on other OS.

With both of these pieces of software, the main problem when moving from
Skype is to change your buddies' habits :\

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Jitsi or Other Skype Alternative

2013-08-21 Thread Jean-Christophe Bach
* hasufell hasuf...@gentoo.org [21.08.2013. @16:48:10 +0200]:

 On 08/20/2013 05:12 PM, Randy Westlund wrote:
  I've heard several people mention jitsi, but was surprised to find that 
  it's not in the portage tree.
  
 
 Jitsi is written in java and thus by design buggy, bloated and hard to
 maintain.

What a categorical opinion! Developers are writing code and are making
bugs, whatever the language they use. I am pretty sure I am able to
write buggy, bloated and hard to maintain with Haskell, Ada, Java or any
other language…
It is really easy to criticize the programming language instead of
reviewing the development methods.

The main problem of writing an ebuild for a Java application comes from
bad habits in the Java world: people are usually distributing all
libraries and the program in a big ball of mud. It is great for Windows
users or for users who do not use a real packages manager, but it needs
lot of work to have clean packages.

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] 3D printers Gentoo

2013-07-04 Thread Jean-Christophe Bach
*  James wirel...@tampabay.rr.com [04.07.2013. @19:38:00 +]:

 Hello,
 
 Not sure how many folks are using 3D printers yet
 via Gentoo. If so your shared experiences are of keen
 interest to me.
 
 I did find these excellent resources [1].
 
 [1] http://www.makerbot.com/support/guides/design/
 [2] http://www.thingiverse.com/categories

Hi James,

I am using 3D printers. With friends, we created a makerspace
(fablab/hackerspace)[1] where we are building and using 3D printers (and
lots of other things). The main resource to build a 3D printer we use is
[2]. Thingiverse [3] is great to find new 3D models, but you can also
create your own ones. For that, I am using OpenSCAD (in Portage,
media-gfx/openscap). It is also possible to use Blender with an ad hoc
plugin to export to .STL files. On other systems, there are proprietary
software, but I do not use them (sketchup seems to be very easy to use).

A friend (Emmanuel Gilloz aka watsdesign on Thingiverse[4]) designed the
Foldarap [5] which is a folding RepRap (it is amazing!). He crowdfunded
it a first time [6] but there was too many demands. Then he crowdfunded
a second time [7], and I think it is not yet finished.

With a colleague, we bought 2 RepRapPro Mendel [8] for the Computer
Science department where we teach. And today I tried to calibrate one.
But for the moment, students are not so interested in building and
creating things. They are fascinated, they want to use them (as
consumers), but not to create 3D models, or to design new 3D printers.

I am using Printrun [9] to control the 3D printer and to send gcode to
it. To generate gcode from 3D models (.STL files), I am using Slic3r
[10]. Of course, all these software are working without any problem on
Gentoo.

Regards,

JC

[1]  http://www.nybi.cc (in Frenchi :\ )
[2]  http://www.reprap.org
[3]  http://www.thingiverse.com
[4]  http://www.thingiverse.com/watsdesign/designs
[5]  http://reprap.org/wiki/FoldaRap
[6]  http://www.ulule.com/foldarap/ (first batch)
[7]  http://goteo.org/project/foldarap-peer-to-peer-edition (2nd batch)
[8]  http://www.reprappro.com
[9]  http://github.com/kliment/Printrun
[10] http://slic3r.org


signature.asc
Description: Digital signature


Re: [gentoo-user] Infinite loop in revdep-rebuild with firefox-17.0.2

2013-01-24 Thread Jean-Christophe Bach
* Alan Mackenzie a...@muc.de [24.01.2013. @11:25:45 +]:

 Hi, Gentoo!
 
 A couple of days ago, I merged firefox-17.0.2 and ran revdep-rebuild -p.
 It said, strangely, that some firefox libraries needed rebuilding.
 
 I've just let revdep-rebuild rebuild firefox.  I run revdep-rebuild -p
 again, and it's still saying these libraries need rebuilding.  This
 isn't good.
 
 Here's some output from revdep-rebuild -p:
 
  * Checking dynamic linking consistency
 [ 100% ]
  *   broken /usr/lib64/firefox/libxpcom.so (no version information available)
  *   broken /usr/lib64/firefox/plugin-container (no version information 
 available)
  *   broken /usr/lib64/firefox/sdk/bin/xpcshell (no version information 
 available)
  *   broken /usr/lib64/firefox/sdk/lib/libxpcom.so (no version information 
 available)
  * Generated new 3_broken.rr
  * Assigning files to packages
  *   /usr/lib64/firefox/libxpcom.so - www-client/firefox
  *   /usr/lib64/firefox/plugin-container - www-client/firefox
  *   /usr/lib64/firefox/sdk/bin/xpcshell - www-client/firefox
  *   /usr/lib64/firefox/sdk/lib/libxpcom.so - www-client/firefox
 
 The problem seems to be the no version information available.
 revdep-rebuild is now less useful than it should be.
 
 Has anybody else encountered this problem, and what is the best way to
 solve it?
 
 -- 
 Alan Mackenzie (Nuremberg, Germany).

Hi,

I also had this problem: it was due to the fact I had an old version of
xulrunner installed on my computer.
To address the problem, I only removed xulrunner :
  rm -Rf /usr/lib/xulrunner-*

But I think that it would have been better to clean it by using :
  emerge -aC xulrunner

Hope it will solve your infinite revdep-rebuild loop,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] How can I update *every* ebuild?

2013-01-24 Thread Jean-Christophe Bach
SNIP

 Do you really want to recompile LibreOffice just because a
 linguas_klingon USE flag has been added?

Well… I think that linguas_klingon would exactly the use flag which would make
recompile LibreOffice ^^

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Alternative to firefox?

2012-02-14 Thread Jean-Christophe Bach
* Grant emailgr...@gmail.com [14.02.2012. @12:41:25 -0800]:

 Has anyone found a GUI alternative to firefox they like that's in
 portage?  Something minimal preferably but with flash support?
 
 - Grant

Hi,

You may want to try Luakit which is light and highly configurable by Lua
scripts. I think it is a gread browser.

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Xmonad!

2011-12-20 Thread Jean-Christophe Bach
* jorge espada espada.jo...@gmail.com [19.12.2011. @10:41:43 -0300]:

 Hi, I'm thinking of giving a try to Xmonad X11/window manager... anyone has
 experience or recommendations.
 Should I use kde or gnome as base.. or relay 100% on xmonad
 Thanks
 
 Jorge E. Espada

Hi,

I have been using Xmonad for about two years, and I think it is a great window
manager. The first configuration was a bit difficult, but there are a lot of
examples on the web. If you know Haskell configuration will be easier, but it is
not mandatory.

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-12 Thread Jean-Christophe Bach
* Willie Wong ww...@math.princeton.edu [11.12.2010. @12:13:27 -0500]:

 Thanks for the work! If you want the patch merged into the gentoo
 patch set, I think you should file a bug on bugs.gentoo.org, if you
 haven't already done so. 

You are right, I have just filled a bug here (my first one \\o \o/ o//):
http://bugs.gentoo.org/show_bug.cgi?id=348477

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-11 Thread Jean-Christophe Bach
* Jean-Christophe Bach jc.b...@gmail.com [08.12.2010. @00:14:03 +0100]:

 * walt w41...@gmail.com [07.12.2010. @11:44:18 -0800]:
 
  On 12/06/2010 12:07 PM, Jean-Christophe Bach wrote:
   * waltw41...@gmail.com  [06.12.2010. @11:44:12 -0800]:
  
   On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
   Hi all,
  
   I am using mutt and gnupg for my mail and I do not understand something:
   when I sign and send an email, my gpg signature appears as an attached
   noname file while friends have an attached signature.asc file.
  
   I notice that the mutt ebuild reads two different useflags concerning 
   gpg:
   'crypt' and 'gpg'.  Do you have them both enabled?
  
   Yes, I do. Should I have only one of them ?
  
  Heh.  I have no idea -- but I would try fiddling with them to see what
  difference it may make.
  
  Does your attached 'noname' file contain an appropriate ascii sig?
  
 Yes, it seems to be OK and friends are able to check my signed mails
 without any problem. It is not an important problem, but it is very
 strange.
 
 JC

Hi all,

I understood why I had the problem and I succeeded in naming my pgp
signature with mutt. Here are the details :

First, Google is great :)
I read somewherethat the variable which allows to name the pgp signature
is pgp_mime_signature_filename. However this variable is not in the
standard mutt package. By googling a bit more I found the
vk.pgp_verbose_mime patch (here: http://www.doorstop.net/projects ). I
adapted it to my current version of mutt (~)1.5.21-r1 and I wrote an
overlay. After patching, compiling and installing, it works perfectly.

For those who are interested in this patch, look at the attached files
(patch-1.5.21-r1.vk.pgp_verbose_mime and mutt-1.5.21-r1.ebuild.patch).
Then, just add these two lines in your .muttrc file :
set pgp_mime_signature_filename=signature.asc
set pgp_mime_signature_description=Digital signature

It would be great if this patch were added to the gentoo-patches when
gpg flag is enabled for mutt.

Regards,

JC
--- /usr/portage/mail-client/mutt/mutt-1.5.21-r1.ebuild 2010-12-07 
04:06:02.0 +0100
+++ /usr/local/portage/mail-client/mutt/mutt-1.5.21-r1.ebuild   2010-12-11 
14:09:46.831191902 +0100
@@ -91,6 +91,9 @@
# impact on the code
use sidebar  epatch ${PATCHDIR}/sidebar.patch
 
+   #custom line: added vk.pgp_verbose_mime patch
+   epatch ${FILESDIR}/patch-1.5.21-r1.vk.pgp_verbose_mime
+
# patch version string for bug reports
sed -i -e 's/Mutt %s (%s)/Mutt %s (%s, Gentoo '${PVR}')/' \
muttlib.c || die failed patching in Gentoo version
--- a/globals.h 2009-08-25 21:08:52.0 +0200
+++ b/globals.h 2010-12-11 13:34:36.934682237 +0100
@@ -227,6 +227,9 @@
 WHERE char *PgpSignAs;
 WHERE short PgpTimeout;
 WHERE char *PgpEntryFormat;
+/* custom patch */
+WHERE char *PgpMimeSignatureFilename;
+WHERE char *PgpMimeSignatureDescription;
 WHERE char *PgpClearSignCommand;
 WHERE char *PgpDecodeCommand;
 WHERE char *PgpVerifyCommand;
--- a/init.h2010-09-15 17:39:31.0 +0200
+++ b/init.h2010-12-11 13:32:21.630299369 +0100
@@ -1884,6 +1884,21 @@
   ** (PGP only)
   **
   */
+
+  /* custom patch */
+  { pgp_mime_signature_filename, DT_STR, R_NONE, UL 
PgpMimeSignatureFilename, UL signature.asc},
+  /*
+  ** .pp
+  ** This option sets the filename used for signature parts in PGP/MIME
+  ** signed messages.
+  */
+  { pgp_mime_signature_description, DT_STR, R_NONE, UL 
PgpMimeSignatureDescription, UL Digital signature},
+  /*
+  ** .pp
+  ** This option sets the Content-Description used for signature parts in
+  ** PGP/MIME signed messages.
+  */
+
   { pgp_retainable_sigs, DT_BOOL, R_NONE, OPTPGPRETAINABLESIG, 0 },
   /*
   ** .pp
--- a/pgp.c 2010-09-13 19:19:55.0 +0200
+++ b/pgp.c 2010-12-11 13:32:07.926705504 +0100
@@ -1130,6 +1130,11 @@
   t-encoding = ENC7BIT;
   t-unlink = 1; /* ok to remove this file after sending. */
 
+  /* custom patch */
+  mutt_set_parameter (name, PgpMimeSignatureFilename, t-parameter);
+  t-description = safe_strdup (PgpMimeSignatureDescription);
+
+
   return (a);
 }
 


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-07 Thread Jean-Christophe Bach
* walt w41...@gmail.com [07.12.2010. @11:44:18 -0800]:

 On 12/06/2010 12:07 PM, Jean-Christophe Bach wrote:
  * waltw41...@gmail.com  [06.12.2010. @11:44:12 -0800]:
 
  On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
  Hi all,
 
  I am using mutt and gnupg for my mail and I do not understand something:
  when I sign and send an email, my gpg signature appears as an attached
  noname file while friends have an attached signature.asc file.
 
  I notice that the mutt ebuild reads two different useflags concerning gpg:
  'crypt' and 'gpg'.  Do you have them both enabled?
 
  Yes, I do. Should I have only one of them ?
 
 Heh.  I have no idea -- but I would try fiddling with them to see what
 difference it may make.
 
 Does your attached 'noname' file contain an appropriate ascii sig?
 
Yes, it seems to be OK and friends are able to check my signed mails
without any problem. It is not an important problem, but it is very
strange.

JC


pgpnvnDxvD5O6.pgp
Description: PGP signature


[gentoo-user] mutt+gnupg: how do you name the attached signature file ?

2010-12-06 Thread Jean-Christophe Bach
Hi all,

I am using mutt and gnupg for my mail and I do not understand something:
when I sign and send an email, my gpg signature appears as an attached
noname file while friends have an attached signature.asc file. How
do you do to change this not so important issue? Is it mutt or gnupg
related?
Have you any idea?  
 

Thanks in advance,

JC


pgp2O835LuI2o.pgp
Description: PGP signature


Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-06 Thread Jean-Christophe Bach
* walt w41...@gmail.com [06.12.2010. @11:44:12 -0800]:

 On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
  Hi all,
 
  I am using mutt and gnupg for my mail and I do not understand something:
  when I sign and send an email, my gpg signature appears as an attached
  noname file while friends have an attached signature.asc file.
 
 I notice that the mutt ebuild reads two different useflags concerning gpg:
 'crypt' and 'gpg'.  Do you have them both enabled?

Yes, I do. Should I have only one of them ?

JC


pgpfCGoJk51dV.pgp
Description: PGP signature


Re: [gentoo-user] Dropbox, cli, and all that

2010-09-25 Thread Jean-Christophe Bach
Hi,

* fe...@crowfix.com fe...@crowfix.com [24.09.2010. @21:11:46 -0700]:
 I have recently discovered Dropbox as an interesting thing to
 experiment with, not without its drawbacks, but interesting.
 
 I have it running on a work Mac laptop and an Android phone, and it is
 another interesting idea to put it on Linux.  However, its downloads
 are for Fedora and Ubuntu, or a source file which requires Nautilus.
 Also, I don't want its daemon running constantly, altho that feature
 is part of what makes it interesting wth the laptop and phone.
 
 Searches bring up various pages, but nothing really promising, either
 old or rather convulated or still using Mautilus.  One involves a
 python script which apparently runs the command over and over, each
 time creating one more fake lib to make up for the Fedora/Ubunto ones
 required.  No thanks ... while an interesting hack, it's not my idea
 of a way to the future :-)
 
 
 So the question is ... does anyone have experience with Dropbox on
 gentoo?  My system is ~amd64, running fvwm when necessary, neither KDE
 nor Gnome.  I'd really like a command line program which I could run
 for manual syncing.

I'm using Dropox to synchronize few conf files and data between my
Gentoo boxes (desktops and server). I only use it in CLI, without
nautilus or something else (my server has no X server).
Since I do not want to let Dropbox having clear data, I encrypt
them with encFS. Lokk at these few links I used :
https://www.dropbox.com/downloading?os=lnx (official page, the first
solution is for server install)
http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall (the
tutorial itself)
https://www.dropbox.com/download?dl=packages/dropbox.py (the CLI script)
http://pragmattica.wordpress.com/2009/05/10/encrypting-your-dropbox-seamlessly-and-automatically/
(an encFS+Dropbox tutorial, very useful)

Then I run .dropbox-dist/dropbox (or .dropbox-dist/dropboxd if I want it
as a daemon) when I want a synchronization. Run it without '' and type
ctrl-C to stop it after sync, or write a simple start/stop script.

Regards,

JC


pgpPwkXi4glVG.pgp
Description: PGP signature