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

2015-03-22 Thread Julian Simioni
Interesting. When I used IMAP in Mutt, rather than offlineimap, I was
really frustrated by the constant lag within Mutt from syncing with the
server. Offlineimap isn't the fastest ever at syncing either, but at
least it happens all in one go, and then the full contents of all the
emails I care about are on my local machine. I'd love to see your config
to see if I can improve things.

Julian

On 03/21, Lee wrote:
When I have a moment I'll send my Gmail enabled muttrc for u to ponder.
Imap with Gmail on mutt is seamless ime.
 
On Mar 21, 2015 3:42 PM, Julian Simioni jul...@simioni.org wrote:
 
  I don't currently use Mutt with Gmail, but one common suggestion is to
  use an external program like offlineimap for handling syncing. I
  remember hearing that Mutt's IMAP support is not the best.
 
  The guide I followed to get set up initially is Steve Losh's The Homely
  Mutt, it's really quite good.
 
  http://stevelosh.com/blog/2012/10/the-homely-mutt/
 
  Julian
 
  On 03/21, German wrote:
   I am about to emerge Mutt and wanted to ask community what are the
  optimal USE flags for novice. I am going to use it with gmail. I am
  about to emerge it with the following USE flags: berkdb, crypt, gdbm,
  nls, ssl, gpg, imap, mbox, pop, sasl, sidebar, smtp. If anyone feel I
  should add or remove something from USE, feel free to tell me. Thanks!
  
   --
   German gentger...@gmail.com
  


signature.asc
Description: Digital signature


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

2015-03-21 Thread Julian Simioni
I don't currently use Mutt with Gmail, but one common suggestion is to
use an external program like offlineimap for handling syncing. I
remember hearing that Mutt's IMAP support is not the best.

The guide I followed to get set up initially is Steve Losh's The Homely
Mutt, it's really quite good.

http://stevelosh.com/blog/2012/10/the-homely-mutt/

Julian

On 03/21, German wrote:
 I am about to emerge Mutt and wanted to ask community what are the optimal 
 USE flags for novice. I am going to use it with gmail. I am about to emerge 
 it with the following USE flags: berkdb, crypt, gdbm, nls, ssl, gpg, imap, 
 mbox, pop, sasl, sidebar, smtp. If anyone feel I should add or remove 
 something from USE, feel free to tell me. Thanks!
 
 -- 
 German gentger...@gmail.com
 


signature.asc
Description: Digital signature


Re: [gentoo-user] Grub2 can't find any commands

2012-03-23 Thread Julian Simioni
That's an excellent utility, I'll definitely add it to my toolbox, thanks.

I actually was able to solve my problem myself: shortly after posting I
found a post by renergy on the forums:

http://forums.gentoo.org/viewtopic-p-6988228.html

It looks like the magic parameters to grub2-install are --root-directory
and --boot-directory. Annoyingly, --root-directory is not listed in the
help output or man page, so I had no easy way of knowing it existed. But at
least everything works now.

On Thu, Mar 22, 2012 at 3:32 PM, Maxim Wexler maxim.wex...@gmail.comwrote:

 Here's a marvelous program crying out for an ebuild;

 https://launchpad.net/boot-repair

 It's part of my Ubuntu setup. With one click it goes out and finds all
 the boot partitions on your hd(s) and automatically writes the proper
 grub2 configuration for them. It even pastebins a copy of grub.cfg
 for troubleshooting purposes,  though I have never needed it, sof far.
 When you boot  all your OSes  are there in the menu ready to be
 selected. In my case Ubuntu, Gentoo and Sabayon. .

 On 3/21/12, Julian Simioni julian.simi...@gmail.com wrote:
  Hi all,
  I'm working on the exciting and challenging task of installing Gentoo
  on a new Macbook Pro with grub2 and EFI. I've got things booting, but
  every time grub complains of many missing commands including search,
  echo,  and most surprisingly '['. It also can't find any modules, and
  in order to get everything to work I had to specify about 10 modules
  to be built in using grub2-mkimage. This feels a little suboptimal to
  me, but I can't figure out where various things need to be for grub to
  find them happily.
 
  My partition layout at least is simple since I don't plan on dual
 booting:
  /dev/sda1: big root partition using ext4
  /dev/sda2: 200MB vfat EFI partition, set to bootable (yes this should
  be sda1: I didn't know you needed an EFI partition until after I had
  already made the root partition and started installing things. I was
  able to add this partition later with gparted)
 
  Of course I'm using GPT, not MBR.
 
  On /dev/sda2 I've got the grub2 image at /EFI/BOOT/BOOTX64.EFI as is
  standard, and I have been mounting /dev/sda2 at /boot/efi. I can put
  either a grub2 image or a 3.3 kernel with EFI stub support at
  /EFI/BOOT/BOOTX64.EFI and it gets detected just fine, so I'm on the
  right track.
 
  I've tried messing with various permutations of the -p parameter to
  grub2-mkimage, but haven't gotten anywhere. Right now the *.mod and
  *.lst files from /usr/lib/grub/x86_64-efi/ can be found at both
  /boot/grub2/x86_64-efi and /boot/efi/EFI/BOOT/. Where is it that they
  actually should be?
 
  Thanks,
  Julian
 
 




[gentoo-user] Grub2 can't find any commands

2012-03-21 Thread Julian Simioni
Hi all,
I'm working on the exciting and challenging task of installing Gentoo
on a new Macbook Pro with grub2 and EFI. I've got things booting, but
every time grub complains of many missing commands including search,
echo,  and most surprisingly '['. It also can't find any modules, and
in order to get everything to work I had to specify about 10 modules
to be built in using grub2-mkimage. This feels a little suboptimal to
me, but I can't figure out where various things need to be for grub to
find them happily.

My partition layout at least is simple since I don't plan on dual booting:
/dev/sda1: big root partition using ext4
/dev/sda2: 200MB vfat EFI partition, set to bootable (yes this should
be sda1: I didn't know you needed an EFI partition until after I had
already made the root partition and started installing things. I was
able to add this partition later with gparted)

Of course I'm using GPT, not MBR.

On /dev/sda2 I've got the grub2 image at /EFI/BOOT/BOOTX64.EFI as is
standard, and I have been mounting /dev/sda2 at /boot/efi. I can put
either a grub2 image or a 3.3 kernel with EFI stub support at
/EFI/BOOT/BOOTX64.EFI and it gets detected just fine, so I'm on the
right track.

I've tried messing with various permutations of the -p parameter to
grub2-mkimage, but haven't gotten anywhere. Right now the *.mod and
*.lst files from /usr/lib/grub/x86_64-efi/ can be found at both
/boot/grub2/x86_64-efi and /boot/efi/EFI/BOOT/. Where is it that they
actually should be?

Thanks,
Julian



Re: [gentoo-user] Disk usage during emerge

2012-03-07 Thread Julian Simioni
On Wed, Mar 7, 2012 at 6:57 PM, Frank Steinmetzger war...@gmx.de wrote:

 Hello list

 It came to my attention that during (after) an emerge run, df reports
 considerably less space available on my / than before the emerge (everything
 except /home sits on the root partition). I was wondering how this comes to
 be, since I have /var/tmp/portage on tmpfs.

 I am in the middle of a KDE upgrade (4.8.0→4.8.1) right now and before I
 started, I downloaded all distfiles and then looked at df /, it showed 1022
 blocks, hence about 1 GB of free disk space. I am at package 115 out of 174
 right now, and df shows a mere 389k blocks remaining.

 Also before I began the emerge run, I started 'ncdu -x /' which scans all dirs
 on the / partition and then I can browse through my FS hieararchy, showing the
 disk usage of every directory. Now I ran the same ncdu command again in
 another screen, so I can compare it with the first one.

 The folders themselves have 0.1 to 0.2 GB difference between their old and new
 state, and ncdu's bottom bar even shows the same values for both apparent and
 real total disk usage (rounded to 0.1 GB). So what am I missing here? I
 searched df's man page for something about apparent sizes/sparse files, but
 then again, why would portage create such files in the first place?

 Do you have any thoughts that might help me understand what I'm seeing?
 --
 Gruß | Greetings | Qapla'
 I forbid any use of my email addresses with Facebook services.

 You will find everything in an online database.
 Just not what you are looking for.

Unless you have it mounted on tmpfs for increased compilation speed as
many others do, /var/tmp/portage can easily grow to several hundred
megabytes as packages are compiled. Once the compilation finishes
successfully, it will be cleaned up, so the contents are constantly
changing during an emerge, and it may not be easy to track down after
the fact.



Re: [gentoo-user] Disk usage during emerge

2012-03-07 Thread Julian Simioni
On Wed, Mar 7, 2012 at 11:53 PM, Julian Simioni
julian.simi...@gmail.com wrote:
 On Wed, Mar 7, 2012 at 6:57 PM, Frank Steinmetzger war...@gmx.de wrote:

 Hello list

 It came to my attention that during (after) an emerge run, df reports
 considerably less space available on my / than before the emerge (everything
 except /home sits on the root partition). I was wondering how this comes to
 be, since I have /var/tmp/portage on tmpfs.

 I am in the middle of a KDE upgrade (4.8.0→4.8.1) right now and before I
 started, I downloaded all distfiles and then looked at df /, it showed 1022
 blocks, hence about 1 GB of free disk space. I am at package 115 out of 174
 right now, and df shows a mere 389k blocks remaining.

 Also before I began the emerge run, I started 'ncdu -x /' which scans all 
 dirs
 on the / partition and then I can browse through my FS hieararchy, showing 
 the
 disk usage of every directory. Now I ran the same ncdu command again in
 another screen, so I can compare it with the first one.

 The folders themselves have 0.1 to 0.2 GB difference between their old and 
 new
 state, and ncdu's bottom bar even shows the same values for both apparent and
 real total disk usage (rounded to 0.1 GB). So what am I missing here? I
 searched df's man page for something about apparent sizes/sparse files, but
 then again, why would portage create such files in the first place?

 Do you have any thoughts that might help me understand what I'm seeing?
 --
 Gruß | Greetings | Qapla'
 I forbid any use of my email addresses with Facebook services.

 You will find everything in an online database.
 Just not what you are looking for.

 Unless you have it mounted on tmpfs for increased compilation speed as
 many others do, /var/tmp/portage can easily grow to several hundred
 megabytes as packages are compiled. Once the compilation finishes
 successfully, it will be cleaned up, so the contents are constantly
 changing during an emerge, and it may not be easy to track down after
 the fact.
And only after hitting send to I register the line where you mention
that you do in fact use tmpfs. doh!



Re: [gentoo-user] Openoffice 2.3.0 compile error - Firefox

2007-12-05 Thread Julian Simioni
On Nov 28, 2007 11:56 AM, Pongracz Istvan [EMAIL PROTECTED] wrote:

 Hi,

 I decided to compile openoffice 2.3.0 but I run into an error.

 The compilation error is this:

 checking whether to enable build of Mozilla/Mozilla NSS-using
 components... yes
 checking whether to build Mozilla addressbook connectivity... no, not
 possible with system-mozilla
 checking whether to build XML Security support... yes
 checking whether to build LDAP configuration backend... no
 checking which mozilla to use... external
 checking which Mozilla flavour to use... Firefox
 checking for firefox-xpcom ... Package firefox-firefox-nspr was not
 found in the pkg-config search path. Perhaps you should add the
 directory containing `firefox-firefox-nspr.pc' to the PKG_CONFIG_PATH
 environment variable Package 'firefox-firefox-nspr', required by
 'XPCOM', not found
 configure: error: Library requirements (firefox-xpcom ) not met;
 consider adjusting the PKG_CONFIG_PATH environment variable if your
 libraries are in a nonstandard prefix so pkg-config can find them.
 make: *** [stamp/build] Error 1



 The compilation parameters are:
 [ebuild  N] app-office/openoffice-2.3.0  USE=cairo cups dbus eds
 firefox gnome gstreamer gtk java mono pam sound webdav -binfilter -debug
 -kde -ldap -odk -seamonkey -xulrunner LINGUAS=en hu -af -ar -as_IN
 -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA
 -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -it -ja -km -ko
 -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl
 -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN
 -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW
 -zu 0 kB


 My firefox has the following USE flags:
 gnome ipv6 java linguas_hu

 I would like to ask a hint, how to solve this strange error?
 I did not find any useful on the internet. Yet.

 Thank you,
 István

 --
 eGroupWare, gLiveCD, gentoo és barátai
 http://www.osbusiness.hu
 „A humor a méltóság támasza, fölényünket hirdeti
 mindazzal szemben, amit a sors ránk mér.
 (Romain Gary)

 --
 [EMAIL PROTECTED] mailing list


Are you by chance using Firefox beta 3?


Re: [gentoo-user] Sony Viao Vista and Gentoo

2007-07-19 Thread Julian Simioni

On 7/19/07, James [EMAIL PROTECTED] wrote:

Hello,

I seem to have an adventure every time I set up a dual boot
laptop with Windows and Gentoo.


The last time I found out that HP will ship you an OEM install
CD so after formatting the hard drive (deleting the windows
hidden partition) you can put windows on any partition you want
and not have the MS running partition conditioning on the linux
and grub sectors. Grub is the bootloader/manager. I do not
trust MS, but, we still have critical windows software we
have to use from time to time.


Sony does not offer such a OEM CD. They say I can purchase
the Vista CD at retail prices (not fond of this option).
Sony does purport to have a good web site for individual device
drivers at esupport.sony.com, although I have not used it (yet).
Sony also said that XP will run on this new VIAO
(model PCG-384L) laptop. I not so sure Vista is better than
XP.

I want grub as the bootloader. Right now my best option seems  to
be: purchase a copy of vista or XP from the local university ($30)
and install it on a new partition and use Grub as the bootloader.
Install Gentoo too.


Have I missed anything? Any other comments or insight is most
welcome.


James

--
[EMAIL PROTECTED] mailing list


Depending on what software you need to run, running Windows in VMware
can work quite well. I assume that Sony gave you a restore disc that
will erase everything and restore your computer to its original state.
You MAY be able to use this disc to install windows on a VMware
virtual machine. However I have a feeling the restore disc will not be
happy about installing in an environment that does not match the
hardware of your laptop. It's worth a shot though.

Julian
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Linux becomes expensive ;)

2007-07-18 Thread Julian Simioni

On 7/18/07, Ryan Sims [EMAIL PROTECTED] wrote:

On 7/18/07, Hendrik Boom [EMAIL PROTECTED] wrote:
 On Sun, 03 Jun 2007 12:49:21 -0500, Dan Farrell wrote:

  it takes just as much power to
  spin up the drive as to keep it spinning for a few extra minutes.

 So ... spin it down after a few more minutes?

 -- hendrik

No, only spin it down when the savings from the down cycle outweigh
the power cost of spinup+spindown (I don't know whether spindown uses
extra power, to brake the drive or anything).

Say you have a drive that uses 1W/m (huge, but I'm being merciful to
my math skills) while in usage, and requires 5W to spinup.  If you're
going to  shut it down for 1m, you're looking at saving 1W and using
5, net use of 4, when leaving it spinning would only use 1.  However,
if it's going to be inactive for 30 min, you're using 5 and saving 30,
net savings of 25.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Ryan,
 You're certainly right that hard drives take more power to start
up but I think the arbitrary values you used don't quite represent
what really goes on. First though, let me help you with your units.
Watts, a unit measuring power, is defined as energy per time period. A
device that requires 5 watts and runs for 1 minute will use the same
amount of energy as a 10 watt device running for 30 seconds. I think
what you really meant to use was Joules, which measures energy. 1
joule per second is one watt. Now, as for the wattage values you
supplied.
A quick question posed to google lead me to
http://www.digit-life.com/articles2/storage/hddpower.html where you
can see a listing of power consumption for various hard drives (mostly
models that would be used in servers, but they will do) when idle,
under use, and most importantly at start up. Looking at the values, it
seems that saying a drive uses 12W while active, 8W while idle, and
30W at startup seem reasonable. I don't see anything indicating how
long a drive takes to spin up, but I would assume it's something
rather short. Let's say 5 seconds (which is probably longer than it
actually takes).
So here is your hard drive, happily powered up but idle, using 8
watts of power. Since it is idle, you might be wondering if it should
be turned off to save power. Since it seems a drive uses 30 watts for
5 seconds when powering up, this is 30x5 or 150 joules. At 8 watts, it
will take 150/8 or 18.75 seconds to use 150 joules. Therefore, if this
hard drive is going to be idle for more than 18.75 seconds it makes
sense to shut it off. Of course real drives will almost certainly be
different, but the point is it only would seem to take a few seconds
of idle time before powering down makes sense. Also one could argue
that this doesn't take into account the effects of wear and tear when
stopping/starting drives, but I personally believe those effects are
negligible.
   Finally, an interesting thing about hard drives is that when they
are spinning down (at least when power has been unexpectedly cut off),
the motor that spins the platters is used as a generator, taking the
energy of the spinning drive to move the read/write heads to the
parked position, so there is no power cost associated with powering
down a drive.


Julian
--
[EMAIL PROTECTED] mailing list