Re: [gentoo-user] Shutter alternatives

2016-08-27 Thread Philip Webb
160827 meino.cra...@gmx.de wrote:
> besider 'shutterbug',
> what alternatives are available for the program "shutter"?

(puzzled look) 'shutter'.

  root:515 log> eix shutter
  * x11-misc/shutter
Available versions:  0.90 ~0.90.1 ~0.91 ~0.93 ~0.93.1 {drawing webphoto}
Homepage:http://shutter-project.org/
Description: Feature-rich screenshot program

  * x11-misc/shutterbug
Available versions:  ~1.6.36 ~1.7.45 ~1.7.47 1.7.49
  {debug doc (+)jpeg (+)png profile (+)tiff}
Homepage:http://www.fox-toolkit.org/
Description: Screenshot utility based on the FOX Toolkit

  Found 2 matches

However, 'shutterbug' has  4  requirements, 'shutter'  95  (shocked look) !

For screenshots I use 'import /home/purslow/pix/misc/screenshot.png' ,
which I have attached to an entry in my Fluxbox menu, which I can call up
via Alt-Space anywhere or by Left-Click on an open background.
It comes from 'imagemagick'.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Shutter alternatives

2016-08-27 Thread Meino . Cramer
Hi,

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.




Philip Webb  [16-08-27 10:40]:
> 160827 meino.cra...@gmx.de wrote:
> > besider 'shutterbug',
> > what alternatives are available for the program "shutter"?
> 
> (puzzled look) 'shutter'.
> 
>   root:515 log> eix shutter
>   * x11-misc/shutter
> Available versions:  0.90 ~0.90.1 ~0.91 ~0.93 ~0.93.1 {drawing webphoto}
> Homepage:http://shutter-project.org/
> Description: Feature-rich screenshot program
> 
>   * x11-misc/shutterbug
> Available versions:  ~1.6.36 ~1.7.45 ~1.7.47 1.7.49
>   {debug doc (+)jpeg (+)png profile (+)tiff}
> Homepage:http://www.fox-toolkit.org/
> Description: Screenshot utility based on the FOX Toolkit
> 
>   Found 2 matches
> 
> However, 'shutterbug' has  4  requirements, 'shutter'  95  (shocked look) !
> 
> For screenshots I use 'import /home/purslow/pix/misc/screenshot.png' ,
> which I have attached to an entry in my Fluxbox menu, which I can call up
> via Alt-Space anywhere or by Left-Click on an open background.
> It comes from 'imagemagick'.
> 
> -- 
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
> 
> 



Re: [gentoo-user] UEFI booting

2016-08-27 Thread Peter Humphrey
On Friday 26 Aug 2016 12:33:47 Mick wrote:
> On Friday 26 Aug 2016 09:32:25 Peter Humphrey wrote:
> > In my search for a suitable boot method, I'm trying Mike G's
> > systemd-boot ebuild. I've installed it with no problem, and now I reach
> > the heart-in-mouth stage of actually replacing gummiboot with it. But
> > first, the backup, including dd of what used to be called the MBR (what
> > is it now?).
> > 
> > # parted -l
> > Model: Unknown (unknown)
> > Disk /dev/nvme0n1: 256GB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> > Disk Flags:
> > 
> > Number  Start   End SizeFile system Name   Flags
> > 
> >  1  1049kB  3146kB  2097kB  uefi   bios_grub
> >  2  3146kB  144MB   141MB   fat32   boot   boot, esp
> >  3  144MB   4504MB  4360MB  linux-swap(v1)  swap
> >  4  4504MB  15.0GB  10.5GB  ext4rescuesys
> >  5  15.0GB  32.2GB  17.2GB  ext4gentoo
> >  6  32.2GB  36.5GB  4295MB  ext4var
> >  7  36.5GB  45.1GB  8590MB  ext4home
> > 
> > [...]
> > 
> > That start block of the uefi partition looks odd to me.
> 
> The 'Name' of the 1st partition is the label you have provided when you
> created it. It is NOT the type of the partition, which is shown under the
> 'Flags' column as 'bios_grub'.

Yes, I know that of course. I called the first partition "uefi" because 
that's what the wiki used, and nothing more suitable suggested itself.

> The 1st partition was created to accommodate Grub's boot code.

Now that I didn't know. Well, I was hazy about it anyway.

> It starts on the first cylinder (change the units in parted to cyl and
> you'll see it starts at '0 cyl') and has no fs on it.

Indeed, except that parted doesn't want to use cylinders in its list output.

> > I'm pretty sure I didn't specify a start position to parted when I was
> > constructing the partition layout six months ago, preferring to let the
> > program choose a value itself.
> 
> Parted and friends will create this partition for Grub at the very start
> of the disk, when you use GPT.

Quite so.

> > I do remember, though, that parted had a strange idea of what
> > 2MB meant: it's turned out to be 2097kB.
> 
> You are mixing decimal and binary.  2MiB = 2 x 1024^2 = 2,097,152

Well, it isn't me who's mixing them, but parted. I was operating in MiB 
throughout, as far as I could tell.

> > My question for the panel is whether I need to do anything about that
> > partition layout. What do you think?
> 
> You don't have to do something about it, if you want to retain the ability
> to use Grub.  If you will no longer use grub then you probably do not
> need the first grub-specific partition.

I hope I never have to look at grub-2 again. All the same, 2MiB is a small 
enough price to pay for flexibility.

> As shown above the second partition is your EFI partition. 141MB may not
> be enough to store many kernel images, but it depends on how many kernel
> images and initramfs you keep in there at any time.

I expect to hold two or three kernels in the boot partition: the latest, a 
recent known-working one and perhaps a long-term one. I haven't needed an 
initramfs yet.

-- 
Rgds
Peter



Re: [gentoo-user] UEFI booting

2016-08-27 Thread Peter Humphrey
On Friday 26 Aug 2016 16:13:53 Mike Gilbert wrote:
> On Fri, Aug 26, 2016 at 4:32 AM, Peter Humphrey  
wrote:
> > In my search for a suitable boot method, I'm trying Mike G's
> > systemd-boot
> > ebuild. I've installed it with no problem, and now I reach the heart-in-
> > mouth stage of actually replacing gummiboot with it. But first, the
> > backup, including dd of what used to be called the MBR (what is it
> > now?).
> It should be basically a drop-in replacement, with a slightly
> different name. It should not require any modification to your disk
> layout.

No, just the risk of failing to boot. (I'm not paranoid - they really are 
out to get me!)

> Also, you should be able to configure your firmware to load either
> gummiboot or systemd-boot, so you have a fallback if the new code
> fails.

Ah, so I can have both at the same time for testing. That makes me feel less 
nervous.   :)

-- 
Rgds
Peter




Re: [gentoo-user] Shutter alternatives

2016-08-27 Thread Bill Kenworthy
Xfce4-screenshooter ?



On 27/08/16 16:45, meino.cra...@gmx.de wrote:
> Hi,
> 
> 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.
> 
> 
> 
> 
> Philip Webb  [16-08-27 10:40]:
>> 160827 meino.cra...@gmx.de wrote:
>>> besider 'shutterbug',
>>> what alternatives are available for the program "shutter"?
>>
>> (puzzled look) 'shutter'.
>>
>>   root:515 log> eix shutter
>>   * x11-misc/shutter
>> Available versions:  0.90 ~0.90.1 ~0.91 ~0.93 ~0.93.1 {drawing webphoto}
>> Homepage:http://shutter-project.org/
>> Description: Feature-rich screenshot program
>>
>>   * x11-misc/shutterbug
>> Available versions:  ~1.6.36 ~1.7.45 ~1.7.47 1.7.49
>>   {debug doc (+)jpeg (+)png profile (+)tiff}
>> Homepage:http://www.fox-toolkit.org/
>> Description: Screenshot utility based on the FOX Toolkit
>>
>>   Found 2 matches
>>
>> However, 'shutterbug' has  4  requirements, 'shutter'  95  (shocked look) !
>>
>> For screenshots I use 'import /home/purslow/pix/misc/screenshot.png' ,
>> which I have attached to an entry in my Fluxbox menu, which I can call up
>> via Alt-Space anywhere or by Left-Click on an open background.
>> It comes from 'imagemagick'.
>>
>> -- 
>> ,,
>> SUPPORT ___//___,   Philip Webb
>> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
>> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>>
>>
> 




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] Shutter alternatives

2016-08-27 Thread Meino . Cramer
Jean-Christophe Bach  [16-08-27 12:00]:
> 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

Hi Bill, hi Jean-Christophe,

GREAT! Thanks for the input...will take scrot but only for that
reason, that I have no XFCE installed and dont want install 
the dependencies.

Thanks a lot, helps a lot!
BEST!

Have a nice weekend!
Best regards,
Meino





Re: [gentoo-user] UEFI booting

2016-08-27 Thread Mick
On Saturday 27 Aug 2016 10:19:48 Peter Humphrey wrote:
> On Friday 26 Aug 2016 12:33:47 Mick wrote:
> > On Friday 26 Aug 2016 09:32:25 Peter Humphrey wrote:
> > > In my search for a suitable boot method, I'm trying Mike G's
> > > systemd-boot ebuild. I've installed it with no problem, and now I reach
> > > the heart-in-mouth stage of actually replacing gummiboot with it. But
> > > first, the backup, including dd of what used to be called the MBR (what
> > > is it now?).
> > > 
> > > # parted -l
> > > Model: Unknown (unknown)
> > > Disk /dev/nvme0n1: 256GB
> > > Sector size (logical/physical): 512B/512B
> > > Partition Table: gpt
> > > Disk Flags:
> > > 
> > > Number  Start   End SizeFile system Name   Flags
> > > 
> > >  1  1049kB  3146kB  2097kB  uefi   bios_grub
> > >  2  3146kB  144MB   141MB   fat32   boot   boot, esp
> > >  3  144MB   4504MB  4360MB  linux-swap(v1)  swap
> > >  4  4504MB  15.0GB  10.5GB  ext4rescuesys
> > >  5  15.0GB  32.2GB  17.2GB  ext4gentoo
> > >  6  32.2GB  36.5GB  4295MB  ext4var
> > >  7  36.5GB  45.1GB  8590MB  ext4home
> > > 
> > > [...]
> > > 
> > > That start block of the uefi partition looks odd to me.
> > 
> > The 'Name' of the 1st partition is the label you have provided when you
> > created it. It is NOT the type of the partition, which is shown under the
> > 'Flags' column as 'bios_grub'.
> 
> Yes, I know that of course. I called the first partition "uefi" because
> that's what the wiki used, and nothing more suitable suggested itself.
> 
> > The 1st partition was created to accommodate Grub's boot code.
> 
> Now that I didn't know. Well, I was hazy about it anyway.
> 
> > It starts on the first cylinder (change the units in parted to cyl and
> > you'll see it starts at '0 cyl') and has no fs on it.
> 
> Indeed, except that parted doesn't want to use cylinders in its list output.

Run parted:

parted /dev/sda

then set the units e.g. to "MiB", or sectors "s", or cylinders "cyl":

(parted) unit MiB
(parted) p

to see the result.  Then q to quit without changing the table.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Tablet rotation button broken in <=sys-apps/systemd-226-r2

2016-08-27 Thread Stroller

> On 27 Aug 2016, at 01:25, Devrin Talen  wrote:
> 
> I noticed recently that the screen rotation button on my Lenovo X201T tablet 
> was no longer working, whereas it had been working some time ago.  Long story 
> short, there was a change around version 226 of systemd that broke this.  I 
> wanted to document how I got it working again and send it out in case it 
> helps anyone else.

Great post. I don't have a Lenovo, but I love to see these kinds of helpful 
reports.

Stroller.




Re: [gentoo-user] UEFI booting

2016-08-27 Thread Peter Humphrey
On Friday 26 Aug 2016 16:13:53 Mike Gilbert wrote:
> On Fri, Aug 26, 2016 at 4:32 AM, Peter Humphrey  
wrote:
> > In my search for a suitable boot method, I'm trying Mike G's
> > systemd-boot
> > ebuild. I've installed it with no problem, and now I reach the heart-in-
> > mouth stage of actually replacing gummiboot with it. But first, the
> > backup, including dd of what used to be called the MBR (what is it
> > now?).
> It should be basically a drop-in replacement, with a slightly
> different name. It should not require any modification to your disk
> layout.

After running "bootctl install" I now have
bootctl the binary from the systemd-boot package,
gummiboot   the binary from the gummiboot package.

They each install a loader called "Linux Boot Loader" into the EFI 
variables, as you can see from this:

# bootctl status
System:
 Firmware: UEFI 2.31 (American Megatrends 5.09)
  Secure Boot: disabled
   Setup Mode: setup

Loader:
  Product: systemd-boot 231
Partition: /dev/disk/by-partuuid/e41cc9a5-fb7e-4d73-a7ee-7f36757137c8
 File: └─/EFI/Boot/bootx64.efi

Boot Loader Binaries:
  ESP: /dev/disk/by-partuuid/e41cc9a5-fb7e-4d73-a7ee-7f36757137c8
 File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 231)
 File: └─/EFI/BOOT/bootX64.efi (systemd-boot 231)

Boot Loader Entries in EFI Variables:
Title: Linux Boot Manager
   ID: 0x0002
   Status: active, boot-order
Partition: /dev/disk/by-partuuid/e41cc9a5-fb7e-4d73-a7ee-7f36757137c8
 File: └─/EFI/GUMMIBOOT/GUMMIBOOTX64.EFI

Title: Linux Boot Manager
   ID: 0x0005
   Status: active, boot-order
Partition: /dev/disk/by-partuuid/e41cc9a5-fb7e-4d73-a7ee-7f36757137c8
 File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

Title: UEFI OS
   ID: 0x0007
   Status: active, boot-order
Partition: /dev/disk/by-partuuid/e41cc9a5-fb7e-4d73-a7ee-7f36757137c8
 File: └─/EFI/BOOT/BOOTX64.EFI

This makes identifying them a matter of informed guesswork. Mike, if you 
intend to keep a version of gummiboot around, it might be helpful if it used 
a different entry title.

> Also, you should be able to configure your firmware to load either
> gummiboot or systemd-boot, so you have a fallback if the new code
> fails.

It does appear to have worked so far, though I can't be sure which loader I 
started since they both showed the same list of gummiboot loader entries. I 
think. Another question is where the directory /usr/lib64/systemd/boot/efi 
came from, which bootctl reads from to get its binaries for efivars.

My next step is to create a new partition layout and populate it from 
backups, apart from /boot/EFI and /boot/loader, and omitting gummiboot.

-- 
Rgds
Peter




Re: [gentoo-user] How do I really clean up gentoo?

2016-08-27 Thread Neil Bothwick
On Fri, 26 Aug 2016 20:57:09 -0300, João Matos wrote:

> I'm used to clean /usr/portage/distfiles, /usr/src, but today, I've
> found many files of packages I no longer use at '/var/lib'. Plex
> folder, for instance, was taking 2GB. Some folders at /var/lib I don't
> even know if is still been used.

Portage only cleans up files it installed. So if you installed Plex,
added a few GB of movies and then uninstalled it, the movies are still
there. Portage cleans up after its actions, you have to clean up after
yours :-)


-- 
Neil Bothwick

Did you know that eskimos have 17 different words for linguist ?


pgplCdsZltZeF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How do I really clean up gentoo?

2016-08-27 Thread P Levine
A while back I used find_cruft  (mv
overlay ).  IIRC, I had to
do a lot of configuration to eliminate most false positives but it left me
with a very thorough list of files worth deleting.

On Sat, Aug 27, 2016 at 4:11 PM, Neil Bothwick  wrote:

> On Fri, 26 Aug 2016 20:57:09 -0300, João Matos wrote:
>
> > I'm used to clean /usr/portage/distfiles, /usr/src, but today, I've
> > found many files of packages I no longer use at '/var/lib'. Plex
> > folder, for instance, was taking 2GB. Some folders at /var/lib I don't
> > even know if is still been used.
>
> Portage only cleans up files it installed. So if you installed Plex,
> added a few GB of movies and then uninstalled it, the movies are still
> there. Portage cleans up after its actions, you have to clean up after
> yours :-)
>
>
> --
> Neil Bothwick
>
> Did you know that eskimos have 17 different words for linguist ?
>


Re: [gentoo-user] removal of bopm before hopm is in tree

2016-08-27 Thread Daniel Campbell
On 08/25/2016 07:29 PM, Raymond Jennings wrote:
> I still use bopm, and it built fine last time I emerged it.
> 
> If hopm isn't in the tree yet, why was bopm still pmasked for removal?
> 
> Reason for asking is I'm curious about removal procedures.  I was under
> the impression that replacement packages get added to the tree before
> their obsolete predecessors get pmasked for booting out.
> 
> And if that's not the case, should it be?
That's a good question, best answered by the developer who chose to have
the package removed.

-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature