Re: Notification of incoming telnet sessions..

1998-10-27 Thread Petter Adsen
Michael Beattie writes:
| I want to be able to have some form of notification when a telnet
| connection is made to my linux box, most likely in the form of playing an
[snip]

You can probably do this with tcpwrappers. See the manpages for
hosts_access(5) and tcpd(8).

Petter

-- 
Petter Adsen <[EMAIL PROTECTED]>
 "Parity is for farmers." --Seymour Cray


Re: What pulls in the tray of my /dev/sr1 ?

2015-08-04 Thread Petter Adsen
On Tue, 04 Aug 2015 09:06:15 +0200
"Thomas Schmitt"  wrote:

> Hi,
> 
> Stuart Longland wrote:
> > Silly question, but why does re-loading a disc take more than 197 seconds?
> 
> It comes out (intentionally) after a backup run is complete
> and went well. (See man xorriso example "Incremental backup
> of a few directory trees".)
> Then i'd expect it to stay out until i remove the medium.
> It may well be that i am not at the machine when the backup
> finishes.

Hi,

I apologize for mailing you off-list, especially as I can not answer
your question, but as you say in your mail yourself, there aren't many
people in the Linux world who knows about these things.

I have a BD-R drive and a few disks that I would like to use for
backups, and was wondering what your thoughts are on the safety of this
- is it a bad choice of media? What about R vs RW disks, and what file
system should I choose?

Again, I'm sorry about the off-list mail, but hope you would give me
some quick insights as one who knows these things. :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpCtNgjyGqoO.pgp
Description: OpenPGP digital signature


Re: quality keyboards

2015-08-31 Thread Petter Adsen
On Mon, 31 Aug 2015 02:09:23 -0500
rlhar...@oplink.net wrote:

> On Sun, August 30, 2015 8:49 pm, Martin Read wrote:
> > Cherry still *are* (or at some point resumed) making mechanical
> > keyswitches with a rated life in the tens of millions, and the Internet is
> > full of mail-order vendors selling keyboards (from several different
> > manufacturers) built with those Cherry keyswitches.
> 
> How much do those things cost?  Now that a keyboard can be had for $10 or
> $15, is it better to pay $150 or even $250 for a quality keyboard, or
> replace a $15 keyboard every year or even every six months?

I while back I bought a Razer Black Widow mechanical keyboard, and it
cost about $100. They claim[1] that the switches will last up to 60
million keystrokes, and sell both silent and clicky types. It's a
really nicely built keyboard, and IMO good for typing. It also has USB
and audio pass-through.

(You need a small Python script to enable the macro keys under Linux,
as Razer themselves seem quite uninterested in supporting that.)

Is it worth the money? I can't comment on the durability, as it's not
that long ago since I bought it, but IMO it's comfortable enough that
I'll buy another one if something happens to it.

Petter

[1] http://www.razerzone.com/razer-mechanical-switches

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpijq8RjdhHb.pgp
Description: OpenPGP digital signature


Re: quality keyboards

2015-08-31 Thread Petter Adsen
On Mon, 31 Aug 2015 09:45:03 +0200
"Gian Uberto Lauri"   wrote:

> Petter Adsen writes:
>  > On Mon, 31 Aug 2015 02:09:23 -0500
>  > rlhar...@oplink.net wrote:
>  > > How much do those things cost?  Now that a keyboard can be had for $10 or
>  > > $15, is it better to pay $150 or even $250 for a quality keyboard, or
>  > > replace a $15 keyboard every year or even every six months?
>  > 
>  > I while back I bought a Razer Black Widow mechanical keyboard, and it
>  > cost about $100. They claim[1] that the switches will last up to 60
>  > million keystrokes, and sell both silent and clicky types. It's a
>  > really nicely built keyboard, and IMO good for typing. It also has USB
>  > and audio pass-through.
> 
> I have a Cherry keyboard under my fingers. After some years of
> continuous usage (it's my office keyboard) the original caps lost the
> marking and I got the chance to make a custom coloured key-set.
> 
> The keyboard is still the most comfortable I ever used.
> 
> I'm planning giving Razer a try, I am willing to buy a K95 with all the left
> keys - they recall me the old Sun keyboards I used as a student.
>
> The RGB version could let me emulate the colors of my custom keyset
> (black fo alphanumeric keys, blue for "shifts", green "non printable",
> yellow for cursor movement, gray for function, red for esc and 'system
> requests' and orange for insert). But this is just to make a geek happy.

I do not know if that will work under Linux, you might want to check out
how the colors-thingy is set up. The keyboard I've got is the one with
no colored lights, so I can't test it, but all the other extra features
of this keyboard are configured via Windows-only "cloud" software and
require an initialization sequence to be sent. The Python script that
is available for Linux only enables the macro keys and the Fn + media
key combinations, AFAIK.

The Windows software will also auto-update the firmware in the
keyboard, and some people have had problems with initializing the extra
keys under Linux after updating the firmware. I've never run the Windows
software, and my keyboard works fine.

The keyboard model with no lights is also quite a bit cheaper, so you
might want to do some research before you get one with lights. You
could of course ask Razer for the information necessary to enable that
functionality yourself, but they seem quite uninterested in Linux.

> The Cherry microswitches will make your fingers happy!

So will the Razer mechanical switches, they are really nice for typing.
AFAIK all the keyboards they make except the BlackWidow series use
membranes, and I have no experience with those.

All in all, there are reasons for not choosing Razer if you run Linux,
but IMO they had the most comfortable keyboards that were readily
available in local shops when I needed one, and I'm very happy with it.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpTRlFTHSdlp.pgp
Description: OpenPGP digital signature


Re: quality keyboards

2015-08-31 Thread Petter Adsen
On Mon, 31 Aug 2015 20:15:44 +0900
Joel Rees  wrote:

> On Mon, Aug 31, 2015 at 6:52 PM, Petter Adsen  wrote:
> > The Windows software will also auto-update the firmware in the
> > keyboard,
> 
> Say what? Since when does a keyboard need a firmware update?
> 
> Hmm. Maybe the USB controller stuff, but still, ...

I have absolutely no idea, other than reading reports of people having
a working keyboard until the Windows software updated the firmware. The
website says:

"Razer Synapse 2.0 downloads driver and firmware updates for your Razer
devices automatically, so your products are always in optimum condition for 
winning."

Whatever that means.

> > The keyboard model with no lights is also quite a bit cheaper, so you
> > might want to do some research before you get one with lights. You
> > could of course ask Razer for the information necessary to enable that
> > functionality yourself, but they seem quite uninterested in Linux.
> 
> Can you tell what the micro-controller is? Maybe try re-programming it?

Sorry. I know naaathing. For some reason it also registers as a mouse,
just as my new Logitech mouse also thinks it's a keyboard. Before
running the Python script I mentioned earlier, some keys don't send any
events at all. AFAIK the script sends some sort of initialization
sequence that enables them.

If you can tell me how to find out in a way that doesn't involve
ripping the keyboard apart, I'd be happy to tell you.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpJGeQjSlZRj.pgp
Description: OpenPGP digital signature


Re: quality keyboards

2015-08-31 Thread Petter Adsen
On Mon, 31 Aug 2015 08:25:25 -0400
Gene Heskett  wrote:

> On Monday 31 August 2015 07:04:22 Joel Rees wrote:
> 
> > On Mon, Aug 31, 2015 at 4:09 PM,   wrote:
> > > On Sun, August 30, 2015 8:49 pm, Martin Read wrote:
> > >> Cherry still *are* (or at some point resumed) making mechanical
> > >> keyswitches with a rated life in the tens of millions, and the
> > >> Internet is full of mail-order vendors selling keyboards (from
> > >> several different manufacturers) built with those Cherry
> > >> keyswitches.
> > >
> > > How much do those things cost?  Now that a keyboard can be had for
> > > $10 or $15, is it better to pay $150 or even $250 for a quality
> > > keyboard, or replace a $15 keyboard every year or even every six
> > > months?
> > >
> > > And in our present Window$-dominated, rodent-oriented, game-addicted
> > > and generally-lliterate society, is there anyone who types more than
> > > a few dozen keystrokes a day for the purpose of intelligent
> > > conversation -- other than subscribers to a mail list such as this,
> > > and the authors of pulp fiction?  (And no, I do not consider
> > > messages transmitted by "texting" or "twitter" to be intelligent
> > > conversation.)
> >
> > Petter points out the comfort benefits. For some, however, it's not
> > just comfort.
> 
> Correct.
> 
> There is another aspect of what I call a usable keyboard. My retirement 
> hobbies include cnc'ing the usual machine shop stuff, like mills and 
> lathes.  Thats a "dirty" environment, where a cut chip of metal can fly 
> several feet, depending on method of keeping the cutting tools workspace 
> reasonably clear of these chips, which will adversely effect the smooth 
> surface of the cut if allowed to just lay there and be recut by the 
> passage of the tools next cutting edge.  So keyboards need to be both 
> protected from this debris, but also built to ignore it as much as 
> possible.  The net result is a tendency to, when keyboard shopping, to 
> stay well away from keyboards whose keycaps are molded with tapered 
> sides surrounded by a close fitting plastic molding.  I have an ACER 
> keyboard with vertical sided keys and no surrounding mask, keycaps are 
> directly on the stem of the key that if buried in this "swarf" might not 
> go down and register a keypress because there is something under the 
> keycap.  That would be the much preferable failure mode, whereas the 
> taper sided keycap, with the usual overlay mask, allows this materiel to 
> follow the key down, then wedge it down.

Have you seen the Apple keyboards? They have keys that are barely
raised from the keyboard itself, completely flat, and are AFAIK
wireless. Sandstrøm, among others, makes clones of these that are dirt
cheap. If I understand your problem correctly, they might work well for
you.

Just a thought, I have no idea how they are for actual work.

You can also get keyboards with a plastic coating that are intended for
industrial use, but I haven't seen any for some time.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpuvUzIKvLAf.pgp
Description: OpenPGP digital signature


Re: quality keyboards

2015-08-31 Thread Petter Adsen
On Mon, 31 Aug 2015 22:40:22 +0900
Joel Rees  wrote:

> On Mon, Aug 31, 2015 at 9:38 PM, Gian Uberto Lauri  wrote:
> > Joel Rees writes:
> >  >
> >  > Say what? Since when does a keyboard need a firmware update?
> >  >
> >  > Hmm. Maybe the USB controller stuff, but still, ...
> >
> > Nope. Check the item before engaging the fingers :).
> 
> Well, actually, I was responding to Petter, I think, whose keyboard
> does not have the colored lights?

No, it doesn't. But it has 5 macro keys, intended to be used in
Windows games for sending series of keystrokes. Under Linux, they
simply send normal keycodes, but I believe the Windows drivers and
software do more than that. There are also a couple of other keys that
I do not know the intended use of - maybe there is some magic that needs
firmware there.

> >  > Can you tell what the micro-controller is? Maybe try re-programming it?
> >
> > They are working on reverse-engineering the communication protocol and
> > re-programming instructions.
> 
> Do tell: Who are _they_? And do they have a website?

And if this concerns Razer keyboards, I'd also be very interested.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpE9fPIVy_I0.pgp
Description: OpenPGP digital signature


Re: googleearth-package (jessie)

2015-10-03 Thread Petter Adsen
On Sat, 3 Oct 2015 00:21:44 -0500
rlhar...@oplink.net wrote:

> On Wed, September 30, 2015 1:08 am, Heracles wrote:
> > I just installed Google-Earth using "synaptic" in Debian8 and it worked
> > fine. It had to install a few other bits and pieces but as it did all the
> > work I was fine with it. Google-earth works without errors. Heracles
> 
> Heracles,
> 
> Would you be so kind as to outline the procedure for using synaptic to
> install the .deb package which I downloaded from the Google Earth web
> site?
> 
> I use synaptic all the time, but always with packages which are in the
> Debian repositories.  I searched and saw that some people are installing
> using "dpkg -i"; but does that take care of dependencies?
> 
> I plan to run GE on a i386 laptop, so the package which I downloaded is
> the 32-bit:
> 
>google-earth-stable_current_i386.deb

Use gdebi. That will handle dependencies.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Petter Adsen
On Sun, 4 Oct 2015 13:22:44 +0530
Himanshu Shekhar  wrote:

> I updated my system last night after which I was not able to use network on
> my laptop. I tried to install ethernet driver as I had it locally but could
> not make the wifi work.
> Earlier the /lib/modules folder had 3.16* directory only, now I could see
> some 4.1* alongside. Also, the driver in use was *wl* which was working
> fine, but now I couldn't install wl. The installation reports are in the
> attachments.
> The first time I installed Debian 8.1, I had the same issue, traversed
> Synaptic and installed broadcom-sta-dkms which fixed the issue.

Your 'wl' issue is a red herring, that package is a mail client for
Emacs, not a driver. broadcom-sta-dkms failed to build, if you read the
final line of output it advises you on your next course of action:

"Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for
more information."

My guess is that it has problems with the newer kernel, but without
that file it's impossible to say why it failed to build. Another guess
would be that you haven't installed the kernel headers, which are
required to build that package.

AFAICT a 4.1 kernel isn't (and shouldn't be, AIUI) in the Jessie repos,
you might be better off running a supported one.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Please tipps for Desktop ( gnome, kde, xfce, etc. ) Debian 8 jessie and some minor issues

2015-10-11 Thread Petter Adsen
On Sat, 10 Oct 2015 15:31:11 +0200
Peter Berlau  wrote:

> WIFI HP Officejet 7500   driver hp-officejet_7500_e910
> prints fine, but i can not scan...   xscanimage shows " wrong argument" 
> I did not know what this mean or
> what i should do...

Take a look here, there are some good suggestions on how to get
scanning from HP devices working:

https://wiki.archlinux.org/index.php/Sane#For_HP_hardware

According to the following page, scanning should work:

http://hplipopensource.com/hplip-web/models/officejet/officejet_7500_e910.html

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Graphical tools for traffic analysis

2015-10-15 Thread Petter Adsen
On Tue, 13 Oct 2015 14:11:29 -0300
Daniel Bareiro  wrote:

> Hi all!
> 
> I'd like to know your experience based on these tools and what you can
> recommend me.
> 
> Specifically I would like some sort of web tool to interact with Squid
> and, moreover, have some graphical tool for graphics of bandwidth
> discriminated by protocol (POP, IMAP, HTTP, etc).

Squid I don't know about, but you might want to take a look at ntop or
ntopng.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpSkvKgYOTIt.pgp
Description: OpenPGP digital signature


Re: fstab entry for a 3.6TB drive

2015-10-15 Thread Petter Adsen
On Fri, 16 Oct 2015 00:57:11 +0100
Sharon Kimble  wrote:
> Thanks Darac.
> 
> This is what I've ended up doing -
> 
> --8<---cut here---start->8---
> /dev/sdb1   /mnt/backa  ext4defaults,nofail 0 2
> --8<---cut here---end--->8---
> 
> This *does* load and works, except it doesn't appear in the devices or
> other drives section of "nautilus". How can it be done please, such that
> it is mounted, and accessible to me, on this stand-alone 64bit computer,
> please?

If you add 'x-gvfs-show' to the mount options, it should be displayed
in Nautilus. Or you can simply access the drive by navigating
to /mnt/backa.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpnK8hdKIq0Z.pgp
Description: OpenPGP digital signature


Re: smartphone forum for the technically-oriented

2015-10-18 Thread Petter Adsen
On Sat, 17 Oct 2015 16:29:31 -0500
rlhar...@oplink.net wrote:

> On Sat, October 17, 2015 3:22 pm, Sven Arvidsson wrote:
> > No problem!
> > I have the first generation EeePC, which I would happily give away, but
> > I doubt you plan on visiting Sweden anytime soon? ;)  
> 
> Your offer is gracious, Sven.
> 
> However, I just found an outfit which has a few eeePC in stock, at about
> US$225; the product series is EeeBook X205, with 32Gbyte flash memory. 
> Would one of these be suitable?  I can send you the URL.

A very quick web search tells me that people have gotten Ubuntu running
on this with a little hacking, but that you need a 4.0 kernel for wifi
and sound does not work at all. There is also a page for it on the
Debian wiki, that seems to indicate you can get Jessie running:

https://wiki.debian.org/InstallingDebianOn/Asus/X205TA

> > Have you considered liberating a Chromebook?  
> 
> The same outfit has in stock a large number of Lenovo Chromebook N21, with
> ChomeOS and 16Gbyte solid-state drive, at US$200.  (11.8in x 8.5in versus
> 11.3in x 7.6in for the eeePC)

Well, what I can find tells me that running some sort of Linux in a
chroot should be pretty straightforward, but that is probably not what
you want. To run a full, standard Linux distribution such as Debian, you
would need to open the machine up to remove a jumper or a screw, flash
the firmware, and cross your fingers - this will also remove the
ability to boot ChromeOS. The following link sums it up:

https://www.reddit.com/r/chrubuntu/comments/3dkk9n/help_anyone_have_experience_with_the_lenovo_n21/

Even if you do all that, I can't find anything that says everything
_will_ work correctly, just that it _should_.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Prob activating Samba

2015-11-23 Thread Petter Adsen
On Mon, 23 Nov 2015 11:59:35 -0300
Renaud (Ron) OLGIATI  wrote:

> Trying to activate Samba with chkconfig, I get:
> 
> root@ron:/home/ron # chkconfig –add smb 5
 ^

>chkconfig -a|--add [names]
  ^^

Try adding another hyphen.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Xorg replaces TTY1

2015-11-27 Thread Petter Adsen
On Fri, 27 Nov 2015 18:08:51 +1300
Chris Bannister  wrote:

> On Thu, Nov 26, 2015 at 06:54:34PM +, Brian wrote:
> > For many readers (diligent or otherwise), isn't this a matter of
> > updated documentation and re-education. There are still users (an
> > example is in this thread) who believe ctrl-alt-backspace no longer
> > works in Debian. It does.  
> 
> So it does! Wonder why it didn't work for me on another machine. :(
> (I think I also vaguely remember seeing a discussion about it ...
> don't ya hate that!)

If it is not enabled, you can enable it with 'setxkbmap -option
terminate:ctrl_alt_bksp'. The man page for xorg.conf says the option
'DontZap' disallows this.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Petter Adsen
On Sun, 29 Nov 2015 11:20:01 -0300
Renaud (Ron) OLGIATI  wrote:

> I have just added an eSATA outlet on my box; when I plug in a SATA
> disk, it is visible in gparted, its label is displayed in the Places
> column of PCManfm, but when I click on it I get an error
> "Authentication is required".
> 
> Is that udev throwing a tantrum ?
> 
> Tried mounting it from the CLI, did not work:
> 
> root@ron:/home/ron # mount /dev/sdi1
> mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab
> 
> How do I get it to mount ?

You need to specify where you want it mounted; 'mount /dev/sdi1 /mnt'
for example, or add a line to fstab.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: SATA HD hotplug "Authentication is required"

2015-11-29 Thread Petter Adsen
On Sun, 29 Nov 2015 12:08:04 -0300
Renaud (Ron) OLGIATI  wrote:

> On Sun, 29 Nov 2015 15:34:05 +0100
> Petter Adsen  wrote:
> 
> > > I have just added an eSATA outlet on my box; when I plug in a SATA
> > > disk, it is visible in gparted, its label is displayed in the
> > > Places column of PCManfm, but when I click on it I get an error
> > > "Authentication is required".
> > > 
> > > Is that udev throwing a tantrum ?
> > > 
> > > Tried mounting it from the CLI, did not work:
> > > 
> > > root@ron:/home/ron # mount /dev/sdi1
> > > mount: can't find /dev/sdi1 in /etc/fstab or /etc/mtab
> > > 
> > > How do I get it to mount ?
> > 
> > You need to specify where you want it mounted;
> > 'mount /dev/sdi1 /mnt' for example, or add a line to fstab.  
> 
> Thanks; I should have asked: 
> 
> How do I get it to automount (without asking for authentification) ?

Sorry. I should have expanded on that.

Add a line to fstab. See the fstab man page, or these:
https://wiki.debian.org/fstab
https://help.ubuntu.com/community/Fstab
https://wiki.archlinux.org/index.php/Fstab

If this is an external disk on a Jessie system, add 'nofail' to the
mount options (fourth field). To allow mounting/unmounting as user,
also add 'user'.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: USB drive mounted Read-only; what to do ?

2014-12-19 Thread Petter Adsen
On Fri, 19 Dec 2014 05:45:33 -0300
Renaud (Ron) OLGIATI  wrote:

> I plug in a USB pen drive, and launch dd  to copy an iso image.
> 
> # dd bs=4M if=debian-live-7.6.0-amd64-rescue.iso of=/dev/sdi && sync
> dd: opening `/dev/sdi': Read-only file system
> 
> Is there a way to force it to mount read-write ?

Try

mount -o remount,rw /dev/sdi

Petter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141219113541.5266cea2@fenris



Re: missing segfault messages

2015-02-06 Thread Petter Adsen
On Fri, 6 Feb 2015 11:17:51 -0500
songbird  wrote:
>  a while ago i was looking for a program that would
> allow me to copy partition images and restore them --
> now i wish i had been a little more persistent in
> that search...  :)

Like http://partclone.org ? :)

P


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150206172813.69c9e49d@fenris



Re: theme editor?

2015-02-09 Thread Petter Adsen
On Mon, 9 Feb 2015 07:21:52 -0500
Gene Heskett  wrote:

> Greetings;
> 
> I am apparently using lightdm and I have failed to find a desktop
> theme which is 100% pleasing. So I am wondering if we have a theme
> editor that might allow me to tweak some colors here and there in an
> existing theme?

I just had a look, and it seems the themes are just CSS files, so you
could just open for instance (on an Ubuntu machine):

/usr/share/themes/Numix/gtk-3.0/apps/lightdm-gtk-greeter.css

Copy this (or similar), open it in an editor, and you can edit colors
and images. A graphical editor I have never heard of. Sorry.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpOWzSf9t0YW.pgp
Description: OpenPGP digital signature


Re: theme editor?

2015-02-09 Thread Petter Adsen
On Mon, 9 Feb 2015 08:49:41 -0500
Gene Heskett  wrote:
> On Monday, February 09, 2015 08:46:05 AM Petter Adsen wrote:
> > I just had a look, and it seems the themes are just CSS files, so
> > you could just open for instance (on an Ubuntu machine):
> > 
> > /usr/share/themes/Numix/gtk-3.0/apps/lightdm-gtk-greeter.css
> > 
> > Copy this (or similar), open it in an editor, and you can edit
> > colors and images. A graphical editor I have never heard of. Sorry.
> > 
> > Petter
> 
> Thanks Petter, I will take a look at that once the coffee kicks in.

Gene,

I just fired up a Jessie VM here, and see that the default greeter is
"lightdm-gtk-greeter". There is a sample config file in:

/usr/share/doc/lightdm-gtk-greeter/sample-lightdm-gtk-greeter.css

Try to have a look at that, and possibly /etc/lightdm/lightdm.conf if
necessary. The manpage for "lightdm" mentions "dm-tool" - take a look
at the manpage for both of those also.

HTH,

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpwLxW0gyq61.pgp
Description: OpenPGP digital signature


Re: Google search

2015-02-09 Thread Petter Adsen
On Mon, 09 Feb 2015 17:32:09 +
Alex PADOLY  wrote:

>  
> 
> Good evening, 
> 
> Tthere is a free alternative in the GOOGLE search
> engine?

I'm a little uncertain what you mean - are you looking for something
like https://duckduckgo.com/ ?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpch0v9fleLI.pgp
Description: OpenPGP digital signature


Re: theme editor?

2015-02-10 Thread Petter Adsen
On Tue, 10 Feb 2015 02:44:13 -0500
Gene Heskett  wrote:

> On Monday, February 09, 2015 11:01:10 PM David Wright wrote:
> > Quoting Gene Heskett (ghesk...@wdtv.com):
> > [...]
> > 
> > > dm-tool sounds like something I should look at, but it is not in
> > > the repo's I address. Fixable?
> > > 
> > > Thanks Petter.
> > 
> > I don't understand this. Earlier in the thread you posted:
> > >>Greetings;
> > >>
> > >>I am apparently using lightdm and I have failed to find a desktop
> > >>theme which is 100% pleasing. So I am wondering if we have a theme
> > >>editor that might allow me to tweak some colors here and there in
> > >>an existing theme?
> > 
> > Looking at https://packages.debian.org/jessie/i386/lightdm/filelist
> > we find
> > 
> > File list of package lightdm in jessie of architecture i386
> > 
> > /etc/apparmor.d/abstractions/lightdm
> > /etc/apparmor.d/abstractions/lightdm_chromium-browser
> > /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
> > /etc/init.d/lightdm
> > /etc/lightdm/keys.conf
> > /etc/lightdm/lightdm.conf
> > /etc/lightdm/users.conf
> > /etc/pam.d/lightdm
> > /etc/pam.d/lightdm-autologin
> > /etc/pam.d/lightdm-greeter
> > /lib/systemd/system/lightdm.service
> > /usr/bin/dm-tool ←--
> 
> I thought it was a separate package, duh.
> 
> However I don't see that it was any color editing facilities

No, that was my bad - sorry :( I misread "switch-TO-greeter" as
"switch-greeter", so I thought maybe you could use it to select what
greeter you want to use. But you would probably need to set that
in /etc/lightdm/lightdm.conf - that's also where (IIRC, the VM with
Jessie isn't running now) you set the background. For other colours I
would think you would need to start with the sample I pointed you to
and edit that. It seems pretty straightforward.

A couple of web searches turned up a few themes here and there, so you
could also use those as a starting point.

Good luck!

Petter



-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpwzOnSriRz6.pgp
Description: OpenPGP digital signature


Re: theme editor?

2015-02-10 Thread Petter Adsen
On Tue, 10 Feb 2015 03:37:46 -0500
Gene Heskett  wrote:

> On Tuesday, February 10, 2015 03:04:44 AM Petter Adsen wrote:
> > On Tue, 10 Feb 2015 02:44:13 -0500
> > 
> > Gene Heskett  wrote:
> > > However I don't see that it was any color editing facilities
> > 
> > No, that was my bad - sorry :( I misread "switch-TO-greeter" as
> > "switch-greeter", so I thought maybe you could use it to select what
> > greeter you want to use. But you would probably need to set that
> > in /etc/lightdm/lightdm.conf - that's also where (IIRC, the VM with
> > Jessie isn't running now) you set the background. For other colours
> > I would think you would need to start with the sample I pointed you
> > to and edit that. It seems pretty straightforward.
> > 
> > A couple of web searches turned up a few themes here and there, so
> > you could also use those as a starting point.
> > 
> > Good luck!
> > 
> > Petter
> 
> The problem isn't one I cannot live with if I chose the correct
> theme, but when running kmail under this window manager, 99% of them
> use so faint a marker in the folder list to indicate which folder you
> are in that it needs a concentrated stare to spot it, and if the msg
> list is aggregated other than flat-by-date, there is so much of the
> same garish colors there that I am unable to read the subject line of
> the currently displayed message, the color totally overrides the
> textual content.

That absolutely sounds like a problem, but AFAIK lightdm/wm's should
have no impact on what colours kmail uses. I personally use no k*-apps,
but aren't the colours configurable from within kmail? From what I've
seen of the k-family, they tend to be pretty configurable. Maybe it uses
some system-wide KDE/Qt setting, have you tried to look at that?

If you can't find anything there, I would look for a kmail mailing-list
and ask there.

Failing that, I would suggest you switch to Claws Mail ;-)

> What I was hoping I could do was to make some minor edits in the best
> of the lot to see if it could be further improved.
> 
> From the proliferation of available themes available, one would draw
> the conclusion that there is an editor used by the producers of all
> these.

If there is, I haven't found it if you're still talking about lightdm,
but in that case I'm afraid you're barking up the wrong tree :(

> Looks like a false hope at this time & repo selection.

Sorry I couldn't help.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpa_hrhn1jE8.pgp
Description: OpenPGP digital signature


Re: Writing to 2 TB USB hard drive fails

2015-02-11 Thread Petter Adsen
On Wed, 11 Feb 2015 10:28:21 -0500
Rich Hare  wrote:

> I am new to Debian, but learning.
> 
> My issue involves 2 TB USB hard drives.
> 
> I have been using Debian via the Knoppix bootable CD to back up a
> couple of Win XP computers.  Has been working wonderfully with a 500
> GB drive I've used
>  and also a 1 TB drive. 

How do you back up? What software? Is there a verbose/debug/logging
option?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpoNR8PNkPG2.pgp
Description: OpenPGP digital signature


Re: Writing to 2 TB USB hard drive fails

2015-02-11 Thread Petter Adsen
On Wed, 11 Feb 2015 11:17:41 -0500
songbird  wrote:
>   and what file systems have been set up on them?


On Wed, 11 Feb 2015 10:28:21 -0500
Rich Hare  wrote:
> I've used a Seagate utility to
> check if the drives have 512 byte sectors or 4096 byte sectors and
> they are 512 byte NTFS
> sector drives.


Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpPvlNP7_kP3.pgp
Description: OpenPGP digital signature


Re: disabling unneeded services?

2015-02-16 Thread Petter Adsen
On Mon, 16 Feb 2015 20:39:41 +0530
Sivaram Neelakantan  wrote:

> 
> As I had earlier posted, I have recently upgraded to Jessie.  During
> bootup I see lots of stuff being started like Exim, ldap etc.  I'd
> like to disable lots of these stuff if it doesn't interfere with KDE
> the environment that I currently use(I used a KDE live CD install).
> 
> I have no idea what services KDE uses,what's important and what
> isn't necessary.  The debian security handbook is a bit tough going
> for me.

Can't you see what you can remove or not from the package dependencies?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpYi3Ke6yBkS.pgp
Description: OpenPGP digital signature


Re: A big "Thank You" to Debian :-)

2015-02-18 Thread Petter Adsen
On Wed, 18 Feb 2015 18:29:35 +1100
Andrew McGlashan  wrote:
> Okay, you've had two supporting replies, that is virtually none.

...and here's one more. I installed Jessie in a VM a while back, and so
far I have no complaints. Granted, I don't use it for anything
important (yet), but I will probably switch to it as my main OS in the
near future.

> I would like to say a BIG "NO THANKS" ... Debian is much less than it

Then go help the Devuan folks. Or use Slackware. Or FreeBSD. Or...

> Now, just wait until you have some real problems with your systemd
> Jessie installation

I've been using Linux since about '94-'95 or something like that, and
quite honestly I've never felt any particular need to replace my init
system. That said, from what I've seen so far, systemd seems...OK. It's
not a life-changing event. This whole systemd-panic seems a bit
over-inflated to me.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpVZQErThM2w.pgp
Description: OpenPGP digital signature


Re: debian 7.0 unsuccessful VMware 10 and 11 installation

2015-02-18 Thread Petter Adsen
On Wed, 18 Feb 2015 19:58:50 +0200
Mehmet Recep Turkoglu  wrote:

> Hello
> 
> I tried to install both vmware 10 and 11 with sh but I cant succeed.
> There are no errors. İt just print the screen:
> 
> The product is ready to be installed.  Press Enter to begin
> installation or Ctrl-C to cancel.
> 
> Installing VMware Installer 2.1.0
> Uninstalling VMware Installer 2.1.0
> Deconfiguring...
> [##]
> 100%
> Installation was unsuccessful.
> 
> Best Regards...
> 
> Mehmet Recep Türkoğlu
> <--/ www.turkoglu.me /-->

You can try running the installer with the "--ignore-errors" option, or
"--extract=DIR" to extract the bundle at running the installer manually.

Don't know if any of those will help, though.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpDfQNB5w6lw.pgp
Description: OpenPGP digital signature


Re: debian 7.0 unsuccessful VMware 10 and 11 installation

2015-02-18 Thread Petter Adsen
On Wed, 18 Feb 2015 19:04:22 + (UTC)
Curt  wrote:

> On 2015-02-18, Petter Adsen  wrote:
> >
> > You can try running the installer with the "--ignore-errors"
> > option, or "--extract=DIR" to extract the bundle at running the
> > installer manually.
> 
> Isn't there a "verbose" option or something to get an idea why it's
> barfing?

Not that I can see:

Usage: vmware-installer [options]

VMware Installer

Options:
  --version show program's version number and exit
  -h, --helpshow this help message and exit

  Manage:
Install or uninstall products

-i FILE, --install-bundle=FILE
Install bundle from FILE
--install-component=FILE
Install a component
--uninstall-component=NAME
Force uninstallation of a component
-u NAME, --uninstall-product=NAME
Uninstall a product
-r, --resolve-system
Force the system to resolve the current state
--register-file=COMPONENT_NAME (config|regular) FILE
Register a file in the database
-x DIR, --extract=DIR
Extract the contents of the bundle into DIR
-p DIR, --prefix=DIR
Set a custom install location

  Information:
Look up information on installed products

-l, --list-products
List installed products
-t, --list-components
List the installed components
-L COMPONENT, --list-files=COMPONENT
List files for a given component
-S FILE, --find-file=FILE
List components and files matching the given
pattern

  Settings:
Set and retrieve settings

-g COMPONENT KEY, --get-setting=COMPONENT KEY
Get setting
-s COMPONENT KEY VALUE, --set-setting=COMPONENT KEY VALUE
Set setting
-d COMPONENT KEY, --delete-setting=COMPONENT KEY
Delete setting

  Options:
--gtk   Use the Gtk+ UI (Default)
--console   Use the console UI
--customAllow customization of the install, including
  file locations.
--regular   Displays questions that have no good defaults
(Default)
--required  Displays only questions absolutely required
-I, --ignore-errors
Ignore component script errors
--eulas-agreed  Agree to the EULA

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpyFY_rS82Pk.pgp
Description: OpenPGP digital signature


Re: Question about GRUB recovery using Debian 7.x LiveCD

2015-02-20 Thread Petter Adsen
On Fri, 20 Feb 2015 16:07:56 +0800
Bret Busby  wrote:
> So, now, this has evovled to the new question; what do I type in at
> the GRUB prompt, to make it search for, and, offer as boot options,
> the pre-existing, installed, Ubuntu and Debian installations?

I found this:

http://members.iinet.net/~herman546/p20/GRUB2%20CLI%20Mode%20Commands.html

Maybe it will help you?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpHLOuZUM0Jd.pgp
Description: OpenPGP digital signature


Re: Question about GRUB recovery using Debian 7.x LiveCD

2015-02-20 Thread Petter Adsen
On Fri, 20 Feb 2015 16:26:03 +0800
Bret Busby  wrote:

> On 20/02/2015, Bret Busby  wrote:
> > On 20/02/2015, Bob Proulx  wrote:
> >> Bret Busby wrote:
> >>> The Debian 7.60 LXDE LiveCD does not have an option to boot into
> >>> rescue mode.
> >>
> >> You could always download the standard debian-installer and use
> >> that to boot rescue mode.  It is a very good option.
> >>
> >> However if you have a livecd and you say you do then that should be
> >> enough to do what you need.  Simply chroot into your system and
> >> then use it to repair your bootloader.
> >>
> >> The basic process goes like this.
> >>
> >> * Boot a livecd image.
> >> * Mount the target system to repair.
> >>
> >> mkdir /target
> >> mount /dev/sda5 /target
> >> mount /dev/sda1 /target/boot
> >> chroot /target /bin/bash
> >> grub-install /dev/sda
> >> exit
> >> shutdown -r now
> >>
> >> You will need to adapt it to your system environment.  Your device
> >> paths will be uniquely yours.  This is just an example of the
> >> overall process to give you the idea of the flow.  The chroot
> >> stacks a shell logged into the target environment.  Once inside
> >> that environment then you have access to the system commands to
> >> repair grub.  You can apt-get install additional software.  You
> >> can fix things.
> >>
> >> Bob
> >>
> >
> > Hello.
> >
> > I had found a LiveCD rescue iso, and had tried to load that, in case
> > that would take me to a "restore grub" menu option, but that booted
> > into a command line, that showed that fdisk was not available, and
> > chroot was not available, so I tried to shut the system down, by
> > using , and that let me retrieve the DVD, and I was
> > going to try booting using an install disk iso, but, it booted into
> > the botched PC-BSD thing, and, holding down the  key, got me a
> > screen that had at the bottom,
> > "Press enter to boot the selected OS" (the botched PC-BSD, that
> > simply fails, was the only OS displayed as an option)"
> > " "e' to edit the commands before booting" - meaningless to me
> > "or "c' for a command line"
> > so I pressed "C", hoping to be able to use a "shutdown" command, so
> > that I could boot another computer, so as to download and write a
> > current install Debian iso image, and, when I pressed the "c", I
> > got a window that appeared, that is a GRUB thing, with the
> > "grub>" prompt.
> >
> > So, now, this has evovled to the new question; what do I type in at
> > the GRUB prompt, to make it search for, and, offer as boot options,
> > the pre-existing, installed, Ubuntu and Debian installations?
> >
> >
> >
> > --
> > Bret Busby
> > Armadale
> > West Australia
> > ..
> >
> > "So once you do know what the question actually is,
> >  you'll know what the answer means."
> > - Deep Thought,
> >  Chapter 28 of Book 1 of
> >  "The Hitchhiker's Guide to the Galaxy:
> >  A Trilogy In Four Parts",
> >  written by Douglas Adams,
> >  published by Pan Books, 1992
> >
> > 
> >
> 
> I have searched and found
> http://www.linux.com/learn/tutorials/776643-how-to-rescue-a-non-booting-grub-2-on-linux/
> 
> and have done ls, that shows 13 GPT partitions, of which, I know (or
> believe)  that 3 are operating system installations partitions, so I
> apparently need to do an ls on each partition, to find which are the
> operating system partitions, then, I believe, enable one of the Linux
> partitions, using GRUB, then, boot into that partition, then, run, as
> root (so it would need to be the Debian partition, I think),
> # update-grub
> which would, I hope, restore GRUB as the multiple OS bootloader.
> 
> 

Also, have you looked at this:

http://sourceforge.net/projects/boot-repair-cd/

?

Maybe it would be a simple way to fix it?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpeOew78JXbg.pgp
Description: OpenPGP digital signature


Re: Suspicious file found in /dev/shm with Rkhunter

2015-02-20 Thread Petter Adsen
On Fri, 20 Feb 2015 08:18:37 +0100
Marko Randjelovic  wrote:

> While trying to find out how to eliminate messages:
> 
> Warning: Hidden directory found: /etc/.java
> Warning: Hidden directory found: /dev/.udev
> Warning: Hidden directory found: /dev/.initramfs
> 
> which are made by rkhunter every morning as cron job, one more message
> appeared (when ran /etc/cron.daily/rkhunter manualy).
> 
> Warning: Suspicious file types found in /dev:
>  /dev/shm/suspscan.21242.strings: ASCII text
> 
> You can find the file attached. Besides editing /etc/rkhunter.conf,
> man rkhunter, run rkhunter from command line and
> run /etc/cron.daily/rkhunter, I was reading https://lists.debian.org
> and debian mailing lists messages from my email client. I visited
> http://www.turkoglu.me/ which was listed in one of emails with links2
> web browser. 

Look at:

http://sourceforge.net/p/rkhunter/mailman/rkhunter-users/thread/1193180950.2751.143.ca...@ash.trees99.org.uk/

It is a file created by rkhunter.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpGH__CU0m9o.pgp
Description: OpenPGP digital signature


Re: Suspicious file found in /dev/shm with Rkhunter

2015-02-20 Thread Petter Adsen
On Fri, 20 Feb 2015 12:24:34 +0100
Marko Randjelovic  wrote:

> On Fri, 20 Feb 2015 11:47:02 +0100
> Marko Randjelovic  wrote:
> 
> > On Fri, 20 Feb 2015 09:44:27 +0100
> > Petter Adsen  wrote:
> > 
> > > On Fri, 20 Feb 2015 08:18:37 +0100
> > > Marko Randjelovic  wrote:
> > > 
> > > > While trying to find out how to eliminate messages:
> > > > 
> > > > Warning: Hidden directory found: /etc/.java
> > > > Warning: Hidden directory found: /dev/.udev
> > > > Warning: Hidden directory found: /dev/.initramfs
> > > > 
> > > > which are made by rkhunter every morning as cron job, one more
> > > > message appeared (when ran /etc/cron.daily/rkhunter manualy).
> > > > 
> > > > Warning: Suspicious file types found in /dev:
> > > >  /dev/shm/suspscan.21242.strings: ASCII text
> > > > 
> > > > You can find the file attached. Besides
> > > > editing /etc/rkhunter.conf, man rkhunter, run rkhunter from
> > > > command line and run /etc/cron.daily/rkhunter, I was reading
> > > > https://lists.debian.org and debian mailing lists messages from
> > > > my email client. I visited http://www.turkoglu.me/ which was
> > > > listed in one of emails with links2 web browser. 
> > > 
> > > Look at:
> > > 
> > > http://sourceforge.net/p/rkhunter/mailman/rkhunter-users/thread/1193180950.2751.143.ca...@ash.trees99.org.uk/
> > > 
> > > It is a file created by rkhunter.
> > > 
> > > Petter
> > > 
> > 
> > I upgraded rkhunter to 1.3.8-10~bpo60+1 and am trying to see
> > if the problem disappeared.
> > 
> > Regards
> > 
> 
> Unfortunately, even with Wheezy version, the problem persists.
> 

Odd.

Did you (manually) delete the file first? rkhunter probably won't
delete any files previous runs have created. Also, you could try to grab
the latest version (1.4.2) from http://rkhunter.sourceforge.net/ and
install that. It doesn't come in a .deb, however, which is unfortunate.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpzvzlhvgu4z.pgp
Description: OpenPGP digital signature


filesystem questions

2015-02-23 Thread Petter Adsen
I hope someone can help me out a bit with this, I'm not an expert on
filesystems.

I want to set up a small (~300G) drive for online backups, taken with
backintime from a nightly cron job. backintime uses rsync/hard links to
take the backups, so there will be a lot of links. The source of the
backup is mainly small files, and many of them don't change that
frequently.

What I'm wondering is this: what should I set blocksize, inode count
and inode ratio etc to? Also, would ext4 be a good fs to choose, or are
there better alternatives?

TIA,

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpj1ncefzTja.pgp
Description: OpenPGP digital signature


Re: SCIM - terminal spreadsheet - sc fork

2015-02-23 Thread Petter Adsen
On Mon, 23 Feb 2015 13:52:29 + (UTC)
Liam O'Toole  wrote:
> Anyway, regardless of the terminology, simply to appropriate the name
> "sc" might be perceived as bad manners. I would encourage the OP to
> attempt to contact the former developers(s) first if he or she wishes
> to use that name.

Or, if that fails, what about "sc2"?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp6RVfycBPVY.pgp
Description: OpenPGP digital signature


Re: Lenovo 050 desktop crashing

2015-02-24 Thread Petter Adsen
On Tue, 24 Feb 2015 11:23:08 +
Sharon Kimble  wrote:

> I have just bought a new computer,a Lenovo 050 desktop. Its working
> reasonably okay except for the occasional crashes. For instance, I've
> had it a fortnight now and its longest uptime has been just over 3
> days, even though its on all the time!
> 
> It has crashed when I've been using it, and its crashed overnight
> whilst I've been asleep! There does not seem to be any pattern to
> it, or any noticeable trigger.
> 
> When it crashes, the screen freezes, and both the usb keyboard and
> mouse freeze, and can not be used.
> 
> In its most recent crash, it shows this in logwatch the following day
> 



> What should I -
> a) - install, to get a better idea of why its crashing?
> b) - do to stop/get round the crashing please?

Hard to say without more information. The next time it crashes, you
might want to note the time, and look at messages in /var/log/dmesg
and /var/log/kern.log for messages around that time period, and post
them here and/or post a link to a pastebin of the logs.

Then it might be easier to figure out what is going on.

Hope you can do that, and that it will help. Trouble with new computers
is never any fun :-(

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgphTg56KE3SB.pgp
Description: OpenPGP digital signature


Re: recommended ftp clients for Debian

2015-02-24 Thread Petter Adsen
On Tue, 24 Feb 2015 16:22:45 +0200
Johann Spies  wrote:

> On 24 February 2015 at 16:11, Lisi Reisz  wrote:
> 
> > Yes, I know I can STFW.  I have in fact done so.  But I am after
> > personal experience.
> >
> > I want a simple ftp client, for putting not getting, that is easy
> > and pleasant
> > to use.  GUI based.  For the use of non-geeks as well as myself.
> >
> >
> If you are looking for a gui-based client, filezilla is an option.
> 
> On the command line I would use lftp.
> 
> Regards
> Johann

As GUI clients go, you might want to have a look at FatRat, but it
might be overkill for what you want as it supports just about every
other file-transfer protocol under the sun :)

Just my 0.2NOK :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp0nRXa3Xxiy.pgp
Description: OpenPGP digital signature


Re: Okular vs printer, okular 1, printer 0

2015-02-24 Thread Petter Adsen
On Tue, 24 Feb 2015 11:14:23 -0500
Gene Heskett  wrote:

> 
> 
> On Tuesday 24 February 2015 10:16:24 Gene Heskett wrote:
> > On Tuesday 24 February 2015 04:47:14 Curt wrote:
> > > On 2015-02-24, Gene Heskett  wrote:
> > > >> Why not print a page range?
> > >
> > > I fail to understand why you don't print a test page from the CUPS
> > > interface, after having selected duplex printing as a default
> > > printing option.  I don't know what this would tell us if it did
> > > (or didn't) work, but less trees might suffer in the interim.
> > > Perhaps duplex printing as a default option in the CUPS web
> > > interface is unavailable.
> >
> > Apparently that only works using the brother drivers. I can run it
> > in postscript mode too, but in that mode the cups test page crashes
> > it, and it crashes at the end of any print job sent to it, in all
> > cases needing a power cycle to restore it for the next job.
> >
> > The brother drivers have all the duplex operations visible in the
> > localhost:631 access, but there is absolutely no facility in wheezy
> > that can use it, those options are in the printer dialogs presented
> > by any other program from geany thru evince and okular, all show
> > the duplex operations ghosted out and unavailable.
> >
> > The point being that all of this worked flawlessly for
> > ubuntu-10.04.4 LTS.
> >
> > Someone said that libpoppler can't do duplex, but wheezy is
> > supposed to be newer. I have the old drive mounted, so I'll just go
> > check libpoppler versions.
> >
> > Here is what I can find:
> > root@coyote:/etc/default# ls -l `locate poppler|grep '/opt' -`
> > -rwxr-xr-x 1 root root 2127836 Jun 11  2012
> > /mnt/ltsslash/opt/calibre/lib/libpoppler.so.25 -rwxr-xr-x 1 root
> > root 2127836 Jun 11  2012 /opt/calibre/lib/libpoppler.so.25
> > -rw-r--r-- 1 root root   49076 Nov 25
> > 10:23 /opt/trinity/lib/libpoppler-tqt.so lrwxrwxrwx 1 root
> > root  23 Nov 25 10:22 /opt/trinity/lib/libpoppler-tqt.so.0 ->
> > libpoppler-tqt.so.0.0.0 -rw-r--r-- 1 root root   49080 Nov 25
> > 10:23 /opt/trinity/lib/libpoppler-tqt.so.0.0.0
> > root@coyote:/etc/default# ls -l `locate poppler|grep '/usr/lib' -`
> > -rw-r--r-- 1 root root  167400 Nov  8
> > 2011 /mnt/ltsslash/usr/lib/kde4/okularGenerator_poppler.so
> > lrwxrwxrwx 1 root root  24 Apr  4
> > 2013 /mnt/ltsslash/usr/lib/libpoppler-glib.so.4 ->
> > libpoppler-glib.so.4.0.0 -rw-r--r-- 1 root root  191248 Mar 28
> > 2013 /mnt/ltsslash/usr/lib/libpoppler-glib.so.4.0.0 lrwxrwxrwx 1
> > root root 23 Aug 15  2014 /mnt/ltsslash/usr/lib/libpoppler-qt4.so.3
> > -> libpoppler-qt4.so.3.2.0 -rw-r--r-- 1 root root  453476 Mar 28
> > 2013 /mnt/ltsslash/usr/lib/libpoppler-qt4.so.3.2.0 lrwxrwxrwx 1
> > root root 19 Apr  4  2013 /mnt/ltsslash/usr/lib/libpoppler.so.5 ->
> > libpoppler.so.5.0.0 -rw-r--r-- 1 root root 1853748 Mar 28
> > 2013 /mnt/ltsslash/usr/lib/libpoppler.so.5.0.0 lrwxrwxrwx 1 root
> > root  38 Sep  4
> > 08:20 /mnt/ltsslash/usr/lib/pymodules/python2.6/poppler.so
> > -> /usr/lib/pyshared/python2.6/poppler.so -rw-r--r-- 1 root root
> > 66896 Jan 25
> > 2010 /mnt/ltsslash/usr/lib/pyshared/python2.6/poppler.so lrwxrwxrwx
> > 1 root root  24 Feb  3
> > 22:15 /usr/lib/i386-linux-gnu/libpoppler-glib.so.8 ->
> > libpoppler-glib.so.8.2.0 -rw-r--r-- 1 root root  238940 Mar 25
> > 2013 /usr/lib/i386-linux-gnu/libpoppler-glib.so.8.2.0 lrwxrwxrwx 1
> > root root 23 Mar 25
> > 2013 /usr/lib/i386-linux-gnu/libpoppler-qt4.so.3 ->
> > libpoppler-qt4.so.3.7.0 -rw-r--r-- 1 root root  345440 Mar 25
> > 2013 /usr/lib/i386-linux-gnu/libpoppler-qt4.so.3.7.0 lrwxrwxrwx 1
> > root root 20 Feb  3 22:15 /usr/lib/i386-linux-gnu/libpoppler.so.19
> > -> libpoppler.so.19.0.0 -rw-r--r-- 1 root root 1922928 Mar 25
> > 2013 /usr/lib/i386-linux-gnu/libpoppler.so.19.0.0 -rw-r--r-- 1 root
> > root   17768 Jun  3
> > 2012 
> > /usr/lib/i386-linux-gnu/tumbler-1/plugins/tumbler-poppler-thumbnailer.so
> > -rw-r--r-- 1 root root  184568 Nov 28
> > 2012 /usr/lib/kde4/okularGenerator_poppler.so
> >
> > This obviously shows the version trinity installed, which I did
> > yesterday because wheezy's kmail version 1.13.7 has broken font
> > rendering in the message window as described in about 15 posts to
> > the list with no solution that worked offered. I'd file a bug but
> > my wall is so full of scribbled passwds that I cannot find the one
> > I want the next time I need it now.
> >
> > kmail 1.9.5, except for a lack of a dbus port, just works.
> >
> > The above list is a bit confusing but if I can get that so.25
> > version linked correctly, it would be my next attempt to solve this
> > problem. Someone said that it was the wheezy version of it that
> > cannot do duplex.  It works, with the above gotcha's if I use a
> > postscript level 1 driver in cups.  Does anyone have a clue how old
> > level 1 is? Several decades.  We already had level 2 support in
> > ghostscript when I built it at version 5.02 on an amiga in the
> > middle 90's. I have a copy of the postsc

Re: Question about GRUB recovery using Debian 7.x LiveCD

2015-02-25 Thread Petter Adsen
On Wed, 25 Feb 2015 16:38:02 +0800
Bret Busby  wrote:

> On 25/02/2015, Lisi Reisz  wrote:
> > On Wednesday 25 February 2015 06:00:58 Bret Busby wrote:
> >> Why does the Debian standard installation iso image, not include an
> >> "Abort installation" option (at each screen, although, even, a
> >> single instantiation, on the primary menu, would help, by
> >> rebooting the system into that menu, to do it, if that is the only
> >> way to access that option), that would enable ejection of the
> >> removable media with the iso image, instead of making this so
> >> difficult, to extract the removable media with the iso image?
> >
> > If someone just wants to abort the installation, why not just turn
> > the PC off
> > and use a paperclip to remove the CD?
> >
> 
> Should that be necessary?
> 
> And, no, that did not occur to me - I believe that I have not
> previously, used that method to remove an optical disk (either CD or
> DVD) from a computer. I do not remember being aware of that method,
> before your suggestion.
> 

It's probably not included on the netinst image, but if you have
trouble ejecting discs, you can use the command "eject" (package by
the same name).

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpnsxyjRtkHM.pgp
Description: OpenPGP digital signature


Re: Okular vs printer, okular 1, printer 0

2015-02-25 Thread Petter Adsen
On Wed, 25 Feb 2015 14:03:17 +
Lisi Reisz  wrote:

> On Wednesday 25 February 2015 12:48:52 Gene Heskett wrote:
> > On Wednesday 25 February 2015 03:30:06 Curt wrote:
> > > On 2015-02-24, Gene Heskett  wrote:
> > > > Went around the bush again, turned it off in cups default,
> > > > called up iceweasals print menu and again was denied duplex
> > > > functions.
> 
> Gene - I just looked at  
> http://www.openprinting.org/printers
> (Why didn't I think of that before?)
> Your printer is not in the list of Brother printers which can be
> expected to work in Linux, and they do not provide a driver for it.
> 
> Will your printer work properly with a current Ubuntu Live CD? (14.10 
> presumably)  Perhaps find a way of extracting the Ubuntu driver?
> They have probably tweaked something.

No need :)

I have a 14.10 machine right here, and there is no driver for his
printer there. I've checked.

Sorry, Gene. :(

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp7C2HGTP_dp.pgp
Description: OpenPGP digital signature


Re: Okular vs printer, okular 1, printer 0

2015-02-25 Thread Petter Adsen
On Wed, 25 Feb 2015 10:00:01 -0500
Gene Heskett  wrote:

> 
> 
> On Wednesday 25 February 2015 05:11:51 Curt wrote:
> > On 2015-02-25, Brian  wrote:
> > > CUPS has not provided information about them them because it gets
> > > its information from the Duplex option in the PPD file. The
> > > brother PPD does not provide such an option. There is no bug.
> >
> > Then I can't understand why Gene said he could print a test page in
> > duplex using the brother PPD after setting the duplex option as a
> > default in the web interface.
> 
> I don't recall saying that. I can duplex print if I use one of the
> foomatic postscript drivers, but of the ones I have tried, everyone
> works, and then crashes the printer so it has to be powerdown reset
> to retre it for the next job.
> 
> May I remind everyone that the cups "test page" is ONE page, and
> therefore cannot, will not, exercise the duplex functions. A 2 page
> test page would be handier than bottled beer for troubleshooting
> this, but we don't have one

I just tested printing from a Jessie VM here on my Epson printer. When
set to duplex, it pulls the page back in, and then spits it out again,
although it hasn't printed anything on the back. When I tried from an
OpenSUSE VM, it actually printed on both sides.

Attached, if the server lets it through.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


testprint.2pages.ps
Description: PostScript document


pgpZeHMrMFT21.pgp
Description: OpenPGP digital signature


Re: Okular vs printer, okular 1, printer 0

2015-02-25 Thread Petter Adsen
On Wed, 25 Feb 2015 11:07:35 -0500
Gene Heskett  wrote:

> 
> 
> On Wednesday 25 February 2015 10:41:30 Petter Adsen wrote:
> > On Wed, 25 Feb 2015 10:00:01 -0500
> >
> > Gene Heskett  wrote:
> > > On Wednesday 25 February 2015 05:11:51 Curt wrote:
> > > > On 2015-02-25, Brian  wrote:
> > > > > CUPS has not provided information about them them because it
> > > > > gets its information from the Duplex option in the PPD file.
> > > > > The brother PPD does not provide such an option. There is no
> > > > > bug.
> > > >
> > > > Then I can't understand why Gene said he could print a test
> > > > page in duplex using the brother PPD after setting the duplex
> > > > option as a default in the web interface.
> > >
> > > I don't recall saying that. I can duplex print if I use one of the
> > > foomatic postscript drivers, but of the ones I have tried,
> > > everyone works, and then crashes the printer so it has to be
> > > powerdown reset to retre it for the next job.
> > >
> > > May I remind everyone that the cups "test page" is ONE page, and
> > > therefore cannot, will not, exercise the duplex functions. A 2
> > > page test page would be handier than bottled beer for
> > > troubleshooting this, but we don't have one
> >
> > I just tested printing from a Jessie VM here on my Epson printer.
> > When set to duplex, it pulls the page back in, and then spits it
> > out again, although it hasn't printed anything on the back. When I
> > tried from an OpenSUSE VM, it actually printed on both sides.
> >
> > Attached, if the server lets it through.
> 
> It did, and it was opened by kghostview for display when I
> dbl-clicked on it.
> 
> kghostview's printer dialog can see AND adjust the options. I left
> the default long edge binding duplex setting in place and printed it,
> AND IT WORKED!

Yay! Congratulations! :-) I guess that counts as progress :)

> But that printer dialog is obviously not one of the two I have been
> dealing with here. It is TDEPrint , and appears to work exactly as
> expected.

Odd that the others don't.

> So we have now learned that it can work on wheezy, if the right
> printer dialog issues the command to (cups version) lp.
> 
> Do we still have the group in denial?
> 
> Now, if I can determine from the help screens of the other print
> dialogs and determine what their names are, I can begin to file
> meaningful bugs.

I opened the file here, in evince and launced the print dialog. From
what I can see the dialog is not a separate process, so maybe you could
try filing a bug against whatever application you are trying to print
from that fails, with a note that it works from kghostview/TDE?

> > Petter
> Thank you Petter, it was and is, a valuable tool for testing.  I
> appreciate it.
> Cheers, Gene Heskett

You are very welcome - glad it helped! :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpoCaUiC_nvk.pgp
Description: OpenPGP digital signature


Re: need help on kvm

2015-02-28 Thread Petter Adsen
On Sat, 28 Feb 2015 17:52:01 +0800
Long Wind  wrote:

> during kvm installation it says it fails because my system does not
> have CPU extensions ...
> 
> Is  it possible to run kvm without CPU extensions??
> 
> I can accept low performance
> I'm developing android app and want to run emulator.
> 
> Thanks!!!
> 
> 

http://www.linux-kvm.org/page/FAQ#What_do_I_need_to_use_KVM.3F

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpMDIW7R8242.pgp
Description: OpenPGP digital signature


Sorting directories by size

2015-02-28 Thread Petter Adsen
I want to do a "du -sh *" in a directory, and sort the directories by
sizes. The problem is that they are listed (since I use the "-h"
option) in human-readable format. Is there an easy way to do this, so
that 254G comes before 1,3T?

I'm guessing I would need some sort of regexp, and I don't know those
at all (well, barely).

Any help would be appreciated!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpU7mtE5cxHT.pgp
Description: OpenPGP digital signature


Re: Is my disk too crowded ?

2015-02-28 Thread Petter Adsen
On Sat, 28 Feb 2015 09:11:01 -0600
Charles Blair  wrote:

>I have been recently noticing that the find
> command is taking a long time, and my /usr (see df
> output below) is 73% full.  Should I do something?
> 
>libreoffice seems to be using a lot of space, and
> I only use it to read .doc files other people send me.
> I don't use the spreadsheet or database features.
> Is some reduced-functionality version available?

I believe Abiword can read .doc files, but I'm not sure how good the
support is. It's worth taking a look at, though.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpVg6swcOZRV.pgp
Description: OpenPGP digital signature


Re: Removing sound from mvi files

2015-03-05 Thread Petter Adsen
On Wed, 04 Mar 2015 22:11:19 -0600
Emil Payne  wrote:

> Is there a simple way to remove the audio track from MVI files?
> MVI is the format my camera produces and I want to upload to YouTube 
> without the background sound.
> Or can I over write the audio track with a mp3 file?

I belive you can do both with avconv. Especially, have a look at the
"-map" option.

Hope this helps.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpypNBeIKY4N.pgp
Description: OpenPGP digital signature


Re: My Friends Make Fun of My UI

2015-03-05 Thread Petter Adsen
On Thu, 5 Mar 2015 08:33:22 -0500
Dan Ritter  wrote:

> On Thu, Mar 05, 2015 at 01:22:50PM +0100, Wilko Fokken wrote:
> > What I am mostly missing so far under Xfce, compared to Icewm, is a
> > toolbar placed at the BOTTOM of the screen. Using varifocal
> > glasses, I have to strain my neck badly in order to focus the Xfce
> > toolbar at the TOP of the screen through the LOWER area of my
> > glasses.
> 
> You can either move the toolbar or create a second one at the
> bottom. Right click in an empty area of the toolbar (XFCE calls
> it a panel) and you should see options.
> 
> 
> > The second shortcoming of Xfce is (at least by it's defaults) that
> > little attention seems to have been given to the convenient
> > possibilties of the keyboard; once your fingers know their
> > handling, they operate independently of your brain, and you can
> > focus on your problems instead of being permanently distracted by
> > those positioning demands of your mouse.
> 
> There's a shortcut-key editor with quite a lot of control; no,
> it's not fully set up by default.
> 
> > Another exemplary feature of Icewm that I would like to find again
> > under Xfce, are those 3 tiny 5mm-squares(!) placed next to the
> > digital clock into the toolbar, showing permanently the main
> > activities of the system, each using specially coloured top-down
> > rsp. bottom-up indexes:
> > 
> > Square One shows the load of CPU, HDD and RAM.
> > 
> > Square Two shows (if active) both, the sending and receiving load
> > of LAN.
> > 
> > Square Three shows (if active) both, the sending and receiving load
> > of WAN (including modem activities).
> > 
> > Alltogether, they use up just 2 cm of the toolbar, yet giving
> > instantly a detailed insight of all important system activities -
> > and problems.
> 
> If you add the system monitors to a panel, you'll discover that
> right-clicking on them allows a bit of configurability,
> including removing labels and making things smaller. Might not
> be exactly what you want, but it might be close enough.

Another thing you might want to look at for resource monitoring is
gkrellm or conky. I like gkrellm better, but YMMV.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpntjsBM_bqY.pgp
Description: OpenPGP digital signature


Re: Question about GRUB recovery using Debian 7.x LiveCD

2015-03-09 Thread Petter Adsen
On Mon, 9 Mar 2015 15:37:15 +0800
Bret Busby  wrote:

> Hello.
> 
> I have managed to find a copy of the apparently last properly
> functioning grub.cfg file, using the Debian 7.60 LXDE LiveCD file
> manager, and have posted a copy of the file, to the GRUB help mailing
> list.
> 
> The file apparently sits in the Ubuntu installation partition, and it
> apparently shows which numbered partition is the Ubuntu installation
> partition, and. which numbered partition is/was the Debian 7
> installation partition (the file manager of the Debian LiveCD,
> apparently does not find the Debian installation partition).
> 
> The Debian 7.8.0 installation disk Rescue Mode has, as one of its
> screens, the text
> 
> "Enter a device you wish to use as your root filesystem
> 
> Device to use as root filesystem:
> /dev/sda (list of all such values for the system)
> 
> Assmble RAID array
> Do not use a root file system
> "
> 
> I assume that the partition to use as the root filesystem, would be
> the partition into which the relevant operating system a nd grub.cfg
> file, are installed.
> 
> And I have no idea as to what effect, using that, would have, on a
> Ubuntu installation.
> 
> As the GRUB bootloader that last worked properly, is part of the
> Ubuntu installation, and the Ubuntu 14.04 installation iso disk,
> apparently does not have an equivalent of the Debian installation iso
> disk Rescue Mode, and, as I do not know what result(s) would likely

I don't know if it will be of any help at this point, but from what I
remember I believe the Ubuntu Server images has a rescue mode.

> come from using the Debian Rescue Mode on a Ubuntu installation, I
> figure that (hopefully) the GRUB people may be able to solve this
> problem, now.

Hopefully they will figure it out.

Good luck!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


signature.asc
Description: PGP signature


Re: Debian Customization

2015-03-09 Thread Petter Adsen
On Mon, 9 Mar 2015 17:46:59 +0400
Gajadur Dwijesh  wrote:

> Hello..I wanted to know where is the location of files which can be
> used to customise the Debian user interface?
> i want to customise my screenlock, login screen and panels.
> Is there any software package that can be installed to help
> personalise your Debian interface?

That depends on which desktop environment (DE) you have installed -
there are a lot to choose from. For instance, if you have Xfce, a lot
can be customized from the GUI itself - right click on the desktop,
select "Applications" and "Settings Manager". There you can customize
the screenlocker, the window manager, panels, etc.

If you have GNOME, KDE, or something else, then the process is
different, and you need to tell us which one you have.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


signature.asc
Description: PGP signature


Re: Debian 7 and screensavers

2015-03-12 Thread Petter Adsen
On Thu, 12 Mar 2015 10:44:20 +0100
Linux-Fan  wrote:

> On 03/12/2015 10:33 AM, Bret Busby wrote:
> > Hello.
> > 
> > On my Debian 7.8 system, both xscreensaver and gnome-screensaver,
> > are shown as being installed, and, now, to try to get a screensaver
> > to work, I have downloaded hundreds of MB of extra stuff, to try to
> > find a screensaver that works on Debian 7, so I also, now,
> > apparently, have the kscreensaver (and thence, kde and kdm, and k*).
> > 
> > But, in traversing through the menu's in the GNOME Classic
> > interface, no screensaver is listed, that can be found, and, in
> > going to the System Tools -> Administration and System Tools ->
> > Preferences, nothing is displayed, that refers to screensavers.
> > 
> > Does Debian 7 allow screensavers, that lock a screen, and require
> > logging in, either when the system has no external input for a
> > defined period of time, or, when a person manually invokes the
> > "Lock screen" functionality?
> 
> Have you tried to configure xscreensaver using `xscreensaver-demo`
> manually? It should then be enough to add a suitable invocation of
> `xscreensaver` to your autostart.

Another thing you could try, is to use a tool such as KeepassX. I use
that to keep track of some website logins and passwords. In the
notification area it provides an icon that you can right click, and you
get a short menu that allows you to lock the workspace. At least that's
how it works in Xfce, but I assume Gnome would be much the same.

I agree that it's a round-about way of doing it, but when I want to
lock the workspace that's what I use, since I always have it running
anyway.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


signature.asc
Description: PGP signature


Re: Very slow downloads when doing dist-upgrade.

2015-03-13 Thread Petter Adsen
On Fri, 13 Mar 2015 11:27:54 +0100
SL  wrote:

> Hi,
> 
> I have a number of VPSs which I need to upgrade to Wheezy.  During the
> dist-upgrade step I'm getting very slow download speeds from
> debian.org (<10kB/s), which is causing the process to take a very
> long time.  Is there anything I can do to speed things up?  Could
> anyone suggest e.g. a mirror I could add to sources.list? (I'm in
> Europe).

You can get a list here:

https://www.debian.org/mirror/list

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


signature.asc
Description: PGP signature


Re: can't start KDE with 2 monitorsz

2015-03-20 Thread Petter Adsen
On Thu, 19 Mar 2015 23:37:52 -0400
Gene Heskett  wrote:
> So I am stuck with a 3.4-9amd64 kernel as the newest I can run and
> have a fighting chance of watching a news video from one of the
> mainsleaze sites.  So I am waiting until Ubuntu 15.04.2 LTS or so,

This may be a bit off topic here, but if you are waiting for 15.04 to
reach LTS, you will have to wait for a long time. The next Ubuntu LTS
will be, AFAIK, 16.04.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


signature.asc
Description: PGP signature


Re: customize ligthdm manager

2015-03-21 Thread Petter Adsen
On Fri, 20 Mar 2015 19:59:57 + (UTC)
Liam O'Toole  wrote:

> On 2015-03-20, Abdelkader Belahcene  wrote:
> > --089e012277468313560511b679c4
> > Content-Type: text/plain; charset=UTF-8
> >
> > Hi everybody,
> >
> >
> >
> > I want to enter from a local machine using  lightdm manager,  to a
> > remote server
> > using XDMCP.
> >
> > I do it with a thin client, I mean on a thin client I have the list
> > of all servers running XDMCP.
> > I  want to do the same,  from an old PC that I want to  use as a
> > simple terminal.
> 
> What software is running on the thin client?
> 
> >
> > unfortunatly, in the login window I have only local accounts on my
> > local machine,
> >
> > is it  possible to customize the login window of lightdm to allow
> > access to a remote server running XDMCP?
> > thanks for help
> > best regards
> 
> I'm not aware of a way of doing that with lightdm. The old gdm2 used
> to have that feature, but that's long gone. You can still access an
> XDMCP server directly by running 'X -query ' in a VT.

Just to add to that, you can also do it in a window with Xnest. I know
there is also something similar called Xephyr, but I'm not really sure
what's different about it.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp0pz1sGsRNc.pgp
Description: OpenPGP digital signature


Re: user can exec the xset, in his crontab, its 100% failure

2015-03-21 Thread Petter Adsen
On Sat, 21 Mar 2015 05:58:44 -0400
Gene Heskett  wrote:

> 
> 
> On Saturday 21 March 2015 05:18:18 Reco wrote:
> >  Hi.
> >
> > On Sat, 21 Mar 2015 05:02:53 -0400
> >
> > Gene Heskett  wrote:
> > > Greetings;
> > >
> > > Running a wheezy based linux here.
> > >
> > > While I as a user can use xset to remind the system of the
> > > monitors dpms controls, an identical entry in my crontab results
> > > in an email that it could not open my 0:0 display.
> >
> > Since cron should strip out every environment variable from whatever
> > its told to run - that's to be expected.
> >
> > > So I cannot "script" this reminder.
> >
> > You can. All you need to do is to define the needed DISPLAY and
> > XAUTHORITY in the script itself.
> >
> > I.e.
> >
> > #!/bin/sh
> > export DISPLAY=:0.0
> It will not install, claiming bad minute
> > export XAUTHORITY=
> > xset +foo -bar
> >
> > Reco
> 
> This what I have, but it will not install
> 
> #!/bin/sh
> export DISPLAY=:0:0
> export XAUTHORITY=/home/gene/.Xauthority
> # m h  dom mon dow   command
> */5 * * * * /home/gene/bin/makesig
> 30 0 * * * /home/gene/bin/sa-train-bayes
> 01 * * * *  xset -display 0:0 +dpms
> 02 * * * *  xset -display 0:0 dpms 300 0 600
> 
> error msg on quitting nano:
> 
> crontab: installing new crontab
> "/tmp/crontab.O2BPk0/crontab":1: bad minute
> errors in crontab file, can't install.
> 
> Its probably obvious, but I can't see why it fails.

Either set the variables like
DISPLAY=:0.0

or, better yet, write the line as:
01 * * * *  /home/gene/bin/name-of-script

and set the variables in the script itself.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpOLOt8fOqoV.pgp
Description: OpenPGP digital signature


Re: customize ligthdm manager

2015-03-21 Thread Petter Adsen
On Sat, 21 Mar 2015 12:11:39 +0100
Abdelkader Belahcene  wrote:

> hi,
> 
> 
> * know Xephyr does the connection,   but in that case you suppose you
> are already logged in the "client machine".*
> 
> 
> *What I want is just to have in login window  the menu, where I can
> find remote machine aside the local login.*
> 
> *I used it in the past, in very old  login, with kdm or gdm , I want
> to it with recent DM;*
> 
> *thanks a lot*

I think you may need to use xdm, or maybe just start an X server with
"-query". You can find some info and further links for reading here:
https://wiki.archlinux.org/index.php/Xdmcp

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpR82Czv8qr7.pgp
Description: OpenPGP digital signature


Re: qemu with KVM support compared to "professional" virtualization products from VMware or Oracle

2015-03-27 Thread Petter Adsen
On Fri, 27 Mar 2015 10:04:16 +0200
Martin T  wrote:

> Hi,
> 
> I need to virtualize few dozen virtual-machines for production
> environment under Debian host-machine. I like the KISS principle
> provided by qemu with KVM support where each utility has its own
> specific purpose. For example I set up the virtual switch with
> ip/brctl utility or use single qemu executable to crate
> virtual-machines. However, is qemu with KVM support as
> suitable(stability, reliability) for production environment as so to

I would say so. I'm running several kvm machines, and have never had
any problems with stability. As a simple (but quite sufficient)
interface I'd recommend virt-manager to create, clone and operate
virtual machines, I find it just as usable as VMware or Virtualbox.
There are other interfaces that simplify common tasks, but virt-manager
takes care of most of what I need to do.

Also, if there are bugs, I'd expect them to be fixed quickly, as a lot
of (big) organizations depend on kvm. Support for kvm/qemu is also
quite good, there are a lot of people with lots of experience with it
out there.

> say professional virtualization products from VMware or Oracle?

Do you mean "professional" or do you really mean "commercial"? I'd say
kvm meets professional standards.

You could just try it out with a few VM's, and see what you think. It
wouldn't cost you anything, except your time.

My VPS provider (DigitalOcean) relies on kvm for their day-to-day
business, as does many other big names in the industry, so you
shouldn't need to worry about it being inferior to VMware just because
it doesn't come with a pricy licence.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpCC_AxeyUn5.pgp
Description: OpenPGP digital signature


Re: Problem with accessing external USB HDD

2015-03-27 Thread Petter Adsen
On Fri, 27 Mar 2015 14:12:24 +0800
Bret Busby  wrote:

> On 27/03/2015, Bob Proulx  wrote:
> > Bret Busby wrote:
> >> I have an external USB HDD connected to a system running Debian 6
> >> LTS.
> >
> > I don't really have any great contribution.  But since no one else
> > seems to have any good response I will contribute what I know.
> >
> > I have never had good luck with USB connected hard drives.  They
> > work for a while.  But then invariably they get dropped offline.
> > It might be 3-6 months between events.  But for me they just are
> > not reliable. In the past I have tried very hard to use them as
> > system disks.  Now I consider that something to avoid.
> >
> > I still use USB disks as "large floppies".  They are still great for
> > being large temporary data stores for holding and moving data
> > between machines.  But only when connected for short term use.
> > Reading your problems just reinforces this belief.
> >
> > [On the other hand USB network devices have been rock solid for me.
> > Meaning that while I avoid USB disks I actively use USB networking
> > on several machines to add additional NICs.  I am planning another
> > site using additional USB NICs.  It is probably hardware dependent
> > but they have been working great for me regardless of the opposite
> > for disks. And I have three sites using USB sound cards very
> > robustly.]
> >
> >> I have tried to transfer data from the desktop intenal HDD, to the
> >> external USB HDD.
> >>
> >> The file manager shows as being "Nautilus 2.30.1".
> >
> > I read by your message that you are a graphical desktop user.
> > That's fine.  But for transfering large amounds of data the command
> > line tools such as rsync are the best in class.  I wouldn't even
> > consider trying to use nautilus or other graphical file managers
> > for this type of task.  I would highly recommend using rsync.  Even
> > if for you it means a stretch to get off of the mouse and over to
> > the keyboard.
> >
> > The best advantage of tools such as rsync is that it is
> > interruptable and restartable with a minimum of lost effort.  I may
> > be 1G into a 3G transfer and want to stop it, change something, and
> > restart it again.  With a normal copy that would mean copying the
> > original data again.  With rsync it means it will examine what needs
> > to be done and be able to continue the copy using the already
> > transfered data as done and moving forward.
> >
> >   rsync -avP /from/here/dir-or-file /to/there/dir/
> >
> >> From time to time, as in this instance, I forget (until too late)
> >> that Debian 6 can not cope with transferring data more than about
> >> 1GB at a time; in this instance, I had tried to transfer about
> >> 3GB, to make room in my /home partition.
> >
> > Knowing how flaky USB disks interfaces tend to be I think this is
> > most likely a hardware problem.  Doesn't change your situation.
> > But I think it blames the right thing to blame.
> >
> > In any case I have definitely copied gigs and gigs of data to and
> > from USB disks.  It can be very good to make large data sets
> > portable on a portable USB drive.  My complaints usually happen
> > after the disk has been in active use as a system device for a
> > month and then it goes offline.
> >
> >> The transfer had seized up, after transferring about 1.1GB of the
> >> 3.2GB that I had tried to ransfer, so, after a couple of days of it
> >> apparently doing nothing, I stopped it, and, as the system monitor
> >> showed a system load of around 43 (whatever that means - if it was
> >> as a percentage of system capacity, it could be more meaningful,
> >> to me). The system monitor currently shows a system load average
> >> of about 35.
> >
> > Let me give a short explanation of system load.  Which is almost
> > impossible to say briefly so forgive me in advance for leaving out
> > important parts, saying half of it wrong, and still saying too much.
> > The concept is the important part here.
> >
> > First there is no set capacity.  There isn't a cap such as 5 or 10
> > or 100.  Therefore there isn't a way to say what percentage of your
> > system is being used by any particular system load.  But it is an
> > important indicator of system status and health.  A load of 35 or 43
> > are both very high system loads!
> >
> > The operating system process scheduler schedules processes to run.
> > A process ready to run is queued into the run queue.  If the process
> > is calculating PI to a zillion decimal places then it is going to
> > use 100% of the cpu until it has consumed its time slice and
> > suspended to give the next process time to run.  If there are no
> > other proceses then the cpu will be given back to this process and
> > the cpu will continue to be 100% utilized forever.
> >
> > But what about processes reading and writing to the disk drive or
> > network?  In computer speed spinning disk drives are slow.  In
> > computer speeds networks are slow.  Web servers are slow.  Say that
> >

Re: After upgrade to jessie usb keyboard multimedia keys stopped working

2015-03-29 Thread Petter Adsen
On Sun, 29 Mar 2015 11:59:45 +0200
deloptes  wrote:

> Hi
> as the title says I am unable to use the multimedia keys on the
> keyboard since upgrade to jessie.
> Do you have any hint, because all I find is information on how to fix
> the multimedia keys in general, which is of no use.
> On the notebook the multimedia keys (Volume Up/Down and Mute) work
> fine, but on the external USB keyboard they stopped working.
> I see evdev in Xorg.0.log and information related to the usb keyboard.

If you run "xev -event keyboard", focus the window and press some of
the multimedia keys, do they register?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp54UvFAEoqL.pgp
Description: OpenPGP digital signature


xmodmap question

2015-03-29 Thread Petter Adsen
I've been playing with xmodmap to change the comma on the numpad
(Norwegian layout) to a period, as I mainly use the numpad for entering
IP addresses. According to the man page, section "Expression Grammar",
the first keysym is for the key with no modifier, and a second is for
the key with Shift as a modifier.

However, when I run 'xmodmap -e "keycode 91=period"', the key simply
"dies", it no longer outputs anything, although 'xmodmap -pk' lists it
as set to "period". If I run 'xmodmap -e "keycode 91=period period"',
it works just fine (although it also sets it with Shift, but I don't
mind that).

What am I doing wrong? Why can't I just change the keysym to be sent
without a modifier?

Petter


-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpoiiHhfagrq.pgp
Description: OpenPGP digital signature


Re: After upgrade to jessie usb keyboard multimedia keys stopped working

2015-03-30 Thread Petter Adsen
On Sun, 29 Mar 2015 19:38:14 +0200
deloptes  wrote:

> Petter Adsen wrote:
> 
> > xev -event keyboard
> 
> No they do not - any idea what direction I should dig.

Do you use a DE or a WM? Which one?

> I see this in the Xorg.0.log
> 
> [143241.089] (**) Option "xkb_rules" "evdev"

That's OK.

> [143241.089] (**) Option "xkb_model" "a4techKB21"

Is that what you actually have, ie is that the actual model of
keyboard that you use? If not, I would set it to "pc104" for a US
keyboard, or "pc105" for an international keyboard. Those are the
"Generic 104-key PC" and "Generic 105-key (Intl) PC", respectively. I
am not sure if that will help, since the multimedia keys don't register
with xev, but it might be worth a shot. Just a guess on my part, though.

Take a look at "man setxkbmap" for the gritty details.

> [143241.089] (**) Option "xkb_layout" "us,de,bg"
> [143241.089] (**) Option "xkb_options" "compose:rwin,grp_led:scroll"

I assume these are what you have chosen, and they should have no effect
on which keys register.

> so where is this model coming from? and is this the correct one? But
> how was it working in wheezy - did it change in the background?

Well, *something* must have changed, since it's not working :) Did you
do an in-place upgrade, or did you reinstall?

I'm sorry I can't help more, but I don't have a deep understanding of
how X handles keyboard input.

Good luck, though.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpEwGOdkytro.pgp
Description: OpenPGP digital signature


Re: Is this an April Fool joke running early ? (Systemd to fork the kernel)

2015-03-30 Thread Petter Adsen
On Mon, 30 Mar 2015 10:00:58 -0400
Renaud (Ron) OLGIATI  wrote:

> http://distrowatch.com/weekly.php?issue=20150330#community
> 
> Or is it serious ?
>  
> Cheers,
>  
> Ron.

It's a joke. Search for the name of the developer named in the post.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp_uDNPMtIyk.pgp
Description: OpenPGP digital signature


Re: Is this an April Fool joke running early ? (Systemd to fork the kernel)

2015-03-30 Thread Petter Adsen
On Mon, 30 Mar 2015 17:56:22 +0200
claude juif  wrote:

> wow, seems real.
> 
> That's funny. Now than everybody has switched to systemd, we would
> need to switch to a systemd kernel. (It really seems that systemd
> devs get hard time to speak to other people).

Read the post. The "developer" that announced this is supposedly named
GOTYAovich - get it? He does not exist, even less as a systemd
developer.

Thank $DEITY.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpBqrzAxwe0d.pgp
Description: OpenPGP digital signature


Re: xmodmap question

2015-03-30 Thread Petter Adsen
On Mon, 30 Mar 2015 20:56:39 -0700 (PDT)
Rusi Mody  wrote:

> On Sunday, March 29, 2015 at 5:30:05 PM UTC+5:30, Petter Adsen wrote:
> > I've been playing with xmodmap to change the comma on the numpad
> > (Norwegian layout) to a period, as I mainly use the numpad for
> > entering IP addresses. According to the man page, section
> > "Expression Grammar", the first keysym is for the key with no
> > modifier, and a second is for the key with Shift as a modifier.
> > 
> > However, when I run 'xmodmap -e "keycode 91=period"', the key simply
> > "dies", it no longer outputs anything, although 'xmodmap -pk' lists
> > it as set to "period". If I run 'xmodmap -e "keycode 91=period
> > period"', it works just fine (although it also sets it with Shift,
> > but I don't mind that).
> > 
> > What am I doing wrong? Why can't I just change the keysym to be sent
> > without a modifier?
> 
> xmodmap is obsolete and increasingly broken in current distros.
> We are supposed to switch to setxkbmap.
> [I never said its better!]

Ye gods - I had seriously planned on staying away from that whole
mess :)

> I asked same question on emacs list and got this answer from Yuri Khan
> 
> https://groups.google.com/d/msg/gnu.emacs.help/yesOU0m0vIE/TDUo7QZDPdkJ

Thank you, that was really informative. However, as xmodmap seems to
work just fine if I give it two parameters, I will just do that until
it breaks completely :)

Thanks again for the explanation!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgptV7OifNx8h.pgp
Description: OpenPGP digital signature


Re: Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32 Kernel

2015-03-31 Thread Petter Adsen
On Tue, 31 Mar 2015 12:53:54 +0530
venkat  wrote:

> HI
> 
> Our system runs with Debian 6 squeeze (2.6.32) Kernel with N2600 
> hardware. I know the version is old. Due to business implication we
> are not able to update it.
> Recently, we tried connecting multiple monitors (CRT and HDMI) and we 
> had no luck in making this display controllable.
> On goggling, it was found some graphic driver(cedarview drivers)
> issues with kernel.
> I am pretty new  Linux kernel stuffs and applying upgrades.Request
> some guidance on the same.

You could start here:

https://wiki.debian.org/DebianUpgrade

And then if you have specific questions that you can't find answers to
online, ask here. If you need to upgrade, but can't for business
reasons, then you have a bigger problem. You could see if there are
any packages available in backports that could help you, but that's
about the only suggestion I have if you need a newer graphics driver.
Other than that, you would probably have to upgrade (or build what you
need from source, which I wouldn't recommend).

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpZEdpgydcz5.pgp
Description: OpenPGP digital signature


Re: jessie: newly add user cannot log into LXDE

2015-03-31 Thread Petter Adsen
On Tue, 31 Mar 2015 00:16:11 -0700
Liyu L  wrote:

> I downloaded and installed debian testing (jessie rc2 netinstall)
> today. Then I tried to add user manually (useradd/passwd) or through
> the Preferences/Users and Groups GUI. In both cases the newly created
> user cannot log into the LXDE session.
> 
> Investigation showed that user home directory was not automatically
> created with either methods or efforts trying to change user to

I can¨t help you with the graphical method, as I've never used it, but
useradd doesn't create the home directory unless you specifically tell
it to. From the man page:

   useradd is a low level utility for adding users. On Debian,
   administrators should usually use adduser(8) instead.



   -m, --create-home
   Create the user's home directory if it does not exist. The
   files and directories contained in the skeleton directory
   (which can be defined with the -k option) will be copied to
   the home directory.

   By default, if this option is not specified and CREATE_HOME
   is not enabled, no home directories are created.


So no bug report should be necessary for useradd, unless you did
specify "-m" and it didn't create the home directory - this is expected
behaviour. adduser, on the other hand, *does* create it by default, and
that may be confusing since the names are so similar.

Regards,

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpOgrTRcHvss.pgp
Description: OpenPGP digital signature


Re: Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32 Kernel

2015-03-31 Thread Petter Adsen
On Tue, 31 Mar 2015 16:35:33 +0530
venkat  wrote:

> Hi Peter
> 
> Thanks for the response, I really understand the need for the
> upgrade. We are definitely working on it.It would definitely take
> some time. To handle current situation, I wanted to somehow use
> 2.6.32 kernel with newest version of cedarview driver.
> If you show me a trigger point where to start this process it would
> be great.

I did a little searching, and from what I find, I don't think you can
without upgrading. The problem is not only the old kernel, but old
versions of X and the necessary libraries. The *only* other option you
would have, would be to build everything you need from source, and I
would *not* recommend you try that, as it could get you into a world of
trouble.

If this is a machine you rely on for business, then you want a stable
base. Upgrading core libraries and other components would be such an
intrusive procedure that you are very likely to bring the whole system
down.

I'm sorry, but I think you are out of luck until you are able to
upgrade the entire distribution. Take note that I haven't done any
extensive research into this, I just did a couple of quick searches,
but what I read makes me pretty sure that an upgrade is the best way
forward for you.

Petter

PS: Please don't top post.



-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgphOh0KrZ4wv.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-01 Thread Petter Adsen
On Wed, 1 Apr 2015 22:54:02 -0400
Gene Heskett  wrote:

> Greetings all;
> 
> Iceweasel commited suicide when I was asked by my bank to delete its 
> history, so now all I get is a blank terminal screen that is using
> 100% of a cpu core until I kill it as root.  A total purge and
> reinstall didn't fix it.
> 
> Chromium seems incapable of performing an online credit card
> transaction. And crashes anytime I go to abcnews.go.com
> 
> So I just dl'd firefox-37 tarball for 64 bit linux and unpacked it
> into my home dirs bin subdir.  But thats likely not going to be great
> as it probably looks someplace else for its libraries & such.
> 
> So where is the std place it would normally live?  If it can still
> find the old iceweasel password cache, that would be a huge plus.

Just unpack it wherever you want it - /opt/firefox for example, and put
a symlink to the binary somewhere in your $PATH. It uses the
configuration and everything it can find in your home dir, so that
shouldn't be a problem.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpo2uAVhGaJm.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-02 Thread Petter Adsen
On Thu, 2 Apr 2015 05:16:37 -0400
Gene Heskett  wrote:

> wordwrap off so as not to rip up long lines.
> 
> On Thursday 02 April 2015 02:35:00 Petter Adsen wrote:
> > On Wed, 1 Apr 2015 22:54:02 -0400
> >
> > Gene Heskett  wrote:
> > > Greetings all;
> > >
> > > Iceweasel commited suicide when I was asked by my bank to delete
> > > its history, so now all I get is a blank terminal screen that is
> > > using 100% of a cpu core until I kill it as root.  A total purge
> > > and reinstall didn't fix it.
> > >
> > > Chromium seems incapable of performing an online credit card
> > > transaction. And crashes anytime I go to abcnews.go.com
> > >
> > > So I just dl'd firefox-37 tarball for 64 bit linux and unpacked it
> > > into my home dirs bin subdir.  But thats likely not going to be
> > > great as it probably looks someplace else for its libraries &
> > > such.
> > >
> > > So where is the std place it would normally live?  If it can still
> > > find the old iceweasel password cache, that would be a huge plus.
> >
> > Just unpack it wherever you want it - /opt/firefox for example, and
> > put a symlink to the binary somewhere in your $PATH. It uses the
> > configuration and everything it can find in your home dir, so that
> > shouldn't be a problem.
> >
> > Petter
> 
> Fun & games but not S&G. Network-Manager had the last word when I 
> excised that piece of insanity, the SOB zeroed out the eth0 settings 
> in /etc/network/interfaces.  Bad dog, no biscuit from me.
> 
> All discovered and I think fixed as I appear to have restored
> networking now.
> 
> All triggered by discovering that the reason I was into swap all the 
> time was that for the last 12 days I had been running a 32 bit rtai 
> kernel which is NOT PAE, seems I need to edit the default number in 
> /boot/grub/grub.cnf, it is not pointing at a 64 bit 3.2.0-4amd64 
> vmlinuz.  That discovery in turn triggered by firefox spitting out a 
> tummy ache on start attempts.
> 
> I renamed the firefox script in /usr/bin/ which was actually running 
> iceweasel to /usr/bin/firefux, then made a symlink from 
> 
> /home/gene/bin/firefox-37/firefox/firefox from /usr/bin/firefox.
> 
> So, rebooted to a true 64 bit kernel, but 64 bit firefox refuses to
> run: gene@coyote:~$ ls -l /usr/bin/firefox
> lrwxrwxrwx 1 root root 41 Apr  2 04:03 /usr/bin/firefox
> -> /home/gene/bin/firefox-37/firefox/firefox Which is correct.  But
> First try it like the renamed script does it:
> gene@coyote:~$ firefox "$@"
> bash: /usr/bin/firefox: No such file or directory
> Then try w/o the argument.
> gene@coyote:~$ firefox
> bash: /usr/bin/firefox: No such file or directory

There is something wrong with your link, it links to a file it can't
find. If you run:

petter@monster:~$ ln -s foo bar
petter@monster:~$ ./bar
bash: ./bar: No such file or directory

(provided there is no file called "foo") you see you get the same
error. What does "ls -l /usr/bin/firefox" show you?

> Its 5am, and I don't seem to have even one eye open simultaineously...

Therefore you've probably mistyped your symlink, I would guess :)

> The firefox binary itself
> gene@coyote:~$ ls -l bin/firefox-37/firefox/firefox
> -rwxr-xr-x 1 gene gene 147776 Mar 26 23:51
> bin/firefox-37/firefox/firefox
> 
> Its there and executable.  I can't even run it from there with
> sh ./firefox
> or sh ./firefox-bin either of which gets this error:
> gene@coyote:~/bin/firefox-37/firefox$ sh ./firefox
> ./firefox: 2: ./firefox: Syntax error: Unterminated quoted string

Try "file firefox" - it will show you that it's not a script, it's a
binary. If you run it with just "./firefox" it should work.

> I could use a clue, which will probably make me slap my forhead &
> yell Duh.

Try some of the above, and report back what "file" and "ls -l" on the
symlink shows you if it doesn't work.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp5Hhsdx40en.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-02 Thread Petter Adsen
On Thu, 2 Apr 2015 08:08:49 -0400
Gene Heskett  wrote:

> 
> 
> On Thursday 02 April 2015 05:33:40 Darac Marjal wrote:
> > On Thu, Apr 02, 2015 at 05:16:37AM -0400, Gene Heskett wrote:
> > > wordwrap off so as not to rip up long lines.
> > >
> > >
> > > Fun & games but not S&G. Network-Manager had the last word when I
> > > excised that piece of insanity, the SOB zeroed out the eth0
> > > settings in /etc/network/interfaces.  Bad dog, no biscuit from me.
> > >
> > > All discovered and I think fixed as I appear to have restored
> > > networking now.
> > >
> > > All triggered by discovering that the reason I was into swap all
> > > the time was that for the last 12 days I had been running a 32
> > > bit rtai kernel which is NOT PAE, seems I need to edit the
> > > default number in /boot/grub/grub.cnf, it is not pointing at a 64
> > > bit 3.2.0-4amd64 vmlinuz.  That discovery in turn triggered by
> > > firefox spitting out a tummy ache on start attempts.
> > >
> > > I renamed the firefox script in /usr/bin/ which was actually
> > > running iceweasel to /usr/bin/firefux, then made a symlink from
> > >
> > > /home/gene/bin/firefox-37/firefox/firefox from /usr/bin/firefox.
> > >
> > > So, rebooted to a true 64 bit kernel, but 64 bit firefox refuses
> > > to run: gene@coyote:~$ ls -l /usr/bin/firefox
> > > lrwxrwxrwx 1 root root 41 Apr  2 04:03 /usr/bin/firefox ->
> > > /home/gene/bin/firefox-37/firefox/firefox Which is correct.  But
> > > First try it like the renamed script does it:
> > > gene@coyote:~$ firefox "$@"
> > > bash: /usr/bin/firefox: No such file or directory
> > > Then try w/o the argument.
> > > gene@coyote:~$ firefox
> > > bash: /usr/bin/firefox: No such file or directory
> > >
> > > Its 5am, and I don't seem to have even one eye open
> > > simultaineously...
> > >
> > > The firefox binary itself
> > > gene@coyote:~$ ls -l bin/firefox-37/firefox/firefox
> > > -rwxr-xr-x 1 gene gene 147776 Mar 26 23:51
> > > bin/firefox-37/firefox/firefox
> >
> > Often, in this situation, it's not the file you're thinking of which
> > doesn't exist. When executing a binary file, the kernel will return
> > the same error (ENOENT) for all files necessary to start the binary.
> > In other words, you can't immediately tell if it's the binary which
> > doesn't exist, or the libraries it's linked to.
> >
> > So, as you know the binary exists, run "ldd /usr/bin/firefox" to see
> > which libraries it's linked against and see if they all exist.
> 
> gene@coyote:~/bin/firefox-37/firefox$ sudo ldd /usr/bin/firefox
> [sudo] password for gene: 
>   not a dynamic executable

Run it on the binary itself, not the symlink.

Petter


-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpD_tUkTQXRO.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-02 Thread Petter Adsen
On Thu, 2 Apr 2015 09:24:19 -0400
Gene Heskett  wrote:

> 
> 
> On Thursday 02 April 2015 08:23:32 Petter Adsen wrote:
> > On Thu, 2 Apr 2015 08:08:49 -0400
> >
> > Gene Heskett  wrote:
> > > On Thursday 02 April 2015 05:33:40 Darac Marjal wrote:
> > > > On Thu, Apr 02, 2015 at 05:16:37AM -0400, Gene Heskett wrote:
> > > > > wordwrap off so as not to rip up long lines.
> > > > >
> > > > >
> > > > > Fun & games but not S&G. Network-Manager had the last word
> > > > > when I excised that piece of insanity, the SOB zeroed out the
> > > > > eth0 settings in /etc/network/interfaces.  Bad dog, no
> > > > > biscuit from me.
> > > > >
> > > > > All discovered and I think fixed as I appear to have restored
> > > > > networking now.
> > > > >
> > > > > All triggered by discovering that the reason I was into swap
> > > > > all the time was that for the last 12 days I had been running
> > > > > a 32 bit rtai kernel which is NOT PAE, seems I need to edit
> > > > > the default number in /boot/grub/grub.cnf, it is not pointing
> > > > > at a 64 bit 3.2.0-4amd64 vmlinuz.  That discovery in turn
> > > > > triggered by firefox spitting out a tummy ache on start
> > > > > attempts.
> > > > >
> > > > > I renamed the firefox script in /usr/bin/ which was actually
> > > > > running iceweasel to /usr/bin/firefux, then made a symlink
> > > > > from
> > > > >
> > > > > /home/gene/bin/firefox-37/firefox/firefox
> > > > > from /usr/bin/firefox.
> > > > >
> > > > > So, rebooted to a true 64 bit kernel, but 64 bit firefox
> > > > > refuses to run: gene@coyote:~$ ls -l /usr/bin/firefox
> > > > > lrwxrwxrwx 1 root root 41 Apr  2 04:03 /usr/bin/firefox ->
> > > > > /home/gene/bin/firefox-37/firefox/firefox Which is correct.
> > > > > But First try it like the renamed script does it:
> > > > > gene@coyote:~$ firefox "$@"
> > > > > bash: /usr/bin/firefox: No such file or directory
> > > > > Then try w/o the argument.
> > > > > gene@coyote:~$ firefox
> > > > > bash: /usr/bin/firefox: No such file or directory
> > > > >
> > > > > Its 5am, and I don't seem to have even one eye open
> > > > > simultaineously...
> > > > >
> > > > > The firefox binary itself
> > > > > gene@coyote:~$ ls -l bin/firefox-37/firefox/firefox
> > > > > -rwxr-xr-x 1 gene gene 147776 Mar 26 23:51
> > > > > bin/firefox-37/firefox/firefox
> > > >
> > > > Often, in this situation, it's not the file you're thinking of
> > > > which doesn't exist. When executing a binary file, the kernel
> > > > will return the same error (ENOENT) for all files necessary to
> > > > start the binary. In other words, you can't immediately tell if
> > > > it's the binary which doesn't exist, or the libraries it's
> > > > linked to.
> > > >
> > > > So, as you know the binary exists, run "ldd /usr/bin/firefox" to
> > > > see which libraries it's linked against and see if they all
> > > > exist.
> > >
> > > gene@coyote:~/bin/firefox-37/firefox$ sudo ldd /usr/bin/firefox
> > > [sudo] password for gene:
> > >   not a dynamic executable
> >
> > Run it on the binary itself, not the symlink.
> >
> > Petter
> 
> And it still claims "not an executable".
> 
> Does using squeeze to unpack a tarball screw things up this bad

No idea, never used it.

Try these:

petter@monster:~/Downloads$ md5sum firefox-37.0.tar.bz2 
765710c0930898ab09084b4f96186bb0  firefox-37.0.tar.bz2

petter@monster:~/Downloads$ tar xfj firefox-37.0.tar.bz2 && cd firefox
petter@monster:~/Downloads/firefox$ file firefox
firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18,
BuildID[sha1]=072ec5d969782a2391d9e60bbb126a541d606836, stripped

petter@monster:~/Downloads/firefox$ md5sum firefox
b94cb23b2c05f08bca64cde6696001c9  firefox

petter@monster:~/Downloads/firefox$ ls -l firefox
-rwxr-xr-x 1 petter petter 147776 mars  27 04:51 firefox

petter@monster:~/Downloads/firefox$ ldd firefox
linux-vdso.so.1 => (0x7ffcfabd4000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
 (0x7f281ae5)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
 (0x7f281ac4c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1
 (0x7f281aa43000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 (0x7f281a734000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
 (0x7f281a42c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
 (0x7f281a215000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
 (0x7f2819e4b000)
/lib64/ld-linux-x86-64.so.2 (0x7f281b091000)

And see what you get. Note that this isn't a Debian machine, so you
won't get the same library versions, but they should be similar. If
you have the same version of FF that I dl'ed, then the md5sums should
be identical. Otherwise, something is corrupted.

> And iceweasel has recovered.  No history but prefs are intact 

Didn't you start this thread by saying you deleted your history? :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpjzd5C44MHg.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 17:41:44 +0800
Bret Busby  wrote:

> On 03/04/2015, Pol Hallen wrote:
> > I read that at 25 april
> > (https://lists.debian.org/debian-devel-announce/2015/03/msg00016.html)
> > should be available latest debian version.
> >
> 
> 
> What are the expected differences between Debian 7 and Debian 8?

https://www.debian.org/releases/wheezy/ppc64el/release-notes/ch-whats-new.en.html

> Will Debian 8, when released, provide the "GNOME Classic" interface?

From the above:

"If you want to keep an interface closer to the GNOME 2.30 version in
wheezy, you can select the “GNOME Classic” session at the login prompt.
It will bring you an improved version of the traditional panel. You can
still edit the panel to add more applets, by using the hidden alt+right
click combination. "

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpOueuOsLrxP.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 17:44:56 +0800
Bret Busby  wrote:

> On 03/04/2015, Bret Busby  wrote:
> > On 03/04/2015, Pol Hallen wrote:
> >> I read that at 25 april
> >> (https://lists.debian.org/debian-devel-announce/2015/03/msg00016.html)
> >> should be available latest debian version.
> >>
> >
> >
> > What are the expected differences between Debian 7 and Debian 8?
> >
> > Will Debian 8, when released, provide the "GNOME Classic" interface?
> >
> >
> 
> Oh, and, will Debian 8 be able to run software (such as printer
> drivers) that run on Debian 6?

People have been running binaries that were compiled _decades_ ago on
modern kernels, so as long as there are no library problems, that
should be fine. You can download a recent snapshot of Jessie, install
it in a VM and check.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpYp96XQJKws.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 13:08:29 +0300
Reco  wrote:

>  Hi.
> 
> On Fri, Apr 03, 2015 at 11:49:30AM +0200, Petter Adsen wrote:
> > On Fri, 3 Apr 2015 17:41:44 +0800
> > Bret Busby  wrote:
> > 
> > > On 03/04/2015, Pol Hallen wrote:
> > > > I read that at 25 april
> > > > (https://lists.debian.org/debian-devel-announce/2015/03/msg00016.html)
> > > > should be available latest debian version.
> > > >
> > > 
> > > 
> > > What are the expected differences between Debian 7 and Debian 8?
> > 
> > https://www.debian.org/releases/wheezy/ppc64el/release-notes/ch-whats-new.en.html
> 
> There's something I miss here. Why does your link contains *wheezy*,
> instead of *jessie*? Also, why *ppc64el*? It's hardly a commodity
> architecture.

No idea, the top of the page says: "Chapter 2. What's new in Debian 8"

I'm sorry I didn't see the link, I simply went to debian.org and
searched for "jessie gnome classic", which returned this:

https://search.debian.org/cgi-bin/omega?DB=en&P=jessie+gnome+classic

The top link there says, again: "Chapter 2. What's new in Debian 8", so
I expected that to be what I wanted. Mea culpa.

> > > Will Debian 8, when released, provide the "GNOME Classic"
> > > interface?
> > 
> > From the above:
> > 
> > "If you want to keep an interface closer to the GNOME 2.30 version
> > in wheezy, you can select the “GNOME Classic” session at the login
> > prompt. It will bring you an improved version of the traditional
> > panel. You can still edit the panel to add more applets, by using
> > the hidden alt+right click combination. "
> 
> Um, wheezy has GNOME 3.4. It's squeeze which had GNOME 2.30.
> Apparently this info is outdated.

I don't use Gnome, so I wouldn't know :) As the top of the page said
"Debian 8", I didn't inspect the link any closer.

Again, my bad.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpl0XcbMhy2T.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 13:28:25 +0300
Reco  wrote:

>  Hi.
> 
> On Fri, Apr 03, 2015 at 12:17:37PM +0200, Petter Adsen wrote:
> > On Fri, 3 Apr 2015 13:08:29 +0300
> > Reco  wrote:
> > 
> > >  Hi.
> > > 
> > > On Fri, Apr 03, 2015 at 11:49:30AM +0200, Petter Adsen wrote:
> > > > On Fri, 3 Apr 2015 17:41:44 +0800
> > > > Bret Busby  wrote:
> > > > 
> > > > > On 03/04/2015, Pol Hallen wrote:
> > > > > > I read that at 25 april
> > > > > > (https://lists.debian.org/debian-devel-announce/2015/03/msg00016.html)
> > > > > > should be available latest debian version.
> > > > > >
> > > > > 
> > > > > 
> > > > > What are the expected differences between Debian 7 and Debian
> > > > > 8?
> > > > 
> > > > https://www.debian.org/releases/wheezy/ppc64el/release-notes/ch-whats-new.en.html
> > > 
> > > There's something I miss here. Why does your link contains
> > > *wheezy*, instead of *jessie*? Also, why *ppc64el*? It's hardly a
> > > commodity architecture.
> > 
> > No idea, the top of the page says: "Chapter 2. What's new in Debian
> > 8"
> > 
> > I'm sorry I didn't see the link, I simply went to debian.org and
> > searched for "jessie gnome classic", which returned this:
> > 
> > https://search.debian.org/cgi-bin/omega?DB=en&P=jessie+gnome+classic
> > 
> > The top link there says, again: "Chapter 2. What's new in Debian
> > 8", so I expected that to be what I wanted. Mea culpa.
> 
> Oh I see. Consider this link then:
> 
> https://www.debian.org/releases/jessie/amd64/release-notes/ch-whats-new.en.html
> 
> Especially chapter 2.2.2, which talks about GNOME 3.14.
> 
> Funny thing is - chapter 2.2.2 does not mention GNOME Classic at all.
> Presumably because GNOME Classic was axed in GNOME 3.6 (or 3.8, or
> 3.10
> - the memory fails me here).

I see. I found another link[1], but that only mentions that Gnome in
Jessie requires 3D drivers, which I would interpret as "no Classic".

> > > > > Will Debian 8, when released, provide the "GNOME Classic"
> > > > > interface?
> > > > 
> > > > From the above:
> > > > 
> > > > "If you want to keep an interface closer to the GNOME 2.30
> > > > version in wheezy, you can select the “GNOME Classic” session
> > > > at the login prompt. It will bring you an improved version of
> > > > the traditional panel. You can still edit the panel to add more
> > > > applets, by using the hidden alt+right click combination. "
> > > 
> > > Um, wheezy has GNOME 3.4. It's squeeze which had GNOME 2.30.
> > > Apparently this info is outdated.
> > 
> > I don't use Gnome, so I wouldn't know :) As the top of the page said
> > "Debian 8", I didn't inspect the link any closer.
> 
> Hey, *I* stopped using GNOME back then Debian stable was called etch.

Maybe this will get more people to switch to something like Xfce or
just a plain WM :)

> But you don't need software to be installed to check its version
> because they give you apt-cache. And if you don't like apt-cache -
> they give you aptitude :)

Not on the machine I'm on right now - it runs Slackware :) I guess
there's no problem in running apt-cache here, but I can't really see a
good reason for doing so :) It will be moved to Jessie pretty soon,
though, just haven't found the time yet.

Petter

[1]
https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html#gnome-3d

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp4sQUnW5kuH.pgp
Description: OpenPGP digital signature


Re: free cloud

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 11:56:10 + (UTC)
Dan Purgert  wrote:

> On Thu, 02 Apr 2015 22:17:02 +0200, Pol Hallen wrote:
> 
> > Hey all :-)
> > 
> > I looking for a free cloud with almost rsync server-side (or other
> > good services to automatically sync data) no http/s transfer.
> > 
> > What's the best online (and free or chip cost) service?
> > 
> > thanks!
> > 
> > Pol
> 
> Probably not "the best" -- but I've had good results with the free
> Dropbox service for like forever. There's also Google Drive.  

I'd like to second that. Dropbox has worked well for me with Linux.
When I originally registered, I had some good luck as they were doing a
couple of campaigns around that time that got me quite a bit of free
space. The Linux client is pretty basic (and binary-only, I think), but
it does everything I need.

I mainly use it to store a few encrypted files, and to put things there
so I can send others a link that will let them download it.

> Granted, I don't trust EITHER of these services farther than I can
> throw them, but they're good for semi-private things that won't hurt
> me in any way shape or form if they get out (e.g. our D&D party's
> banked gold & assets)

I agree with that, which is why most of what I put there is encrypted,
and not really that important in the first place.

If you are willing to spend a little bit of money, there are plenty of
cheap VPS providers. Personally, I use DigitalOcean[1], and I have been
quite satisfied with them. Good service, and they're quick to respond. I
think I pay $10/month, and for that I get a VPS with 1G RAM, 30G SSD
storage, and 2TB transfer. For $5/month you get 512M RAM, 20G SSD and
1TB transfer. It's probably cheaper if you pay by the year, but I
haven't bothered with that. You can also choose where in the world you
want your VPS, they have several locations. They provide images of all
the major distributions plus FreeBSD, I think.

Then you could set up something like OwnCloud[2], or just use basic *nix
tools like scp to transfer your data. OwnCloud can also sync with other
services like Dropbox and Google Drive.

I'm sure there are many other providers like this out there, but this
one is pretty cheap, and it was a big deal for me that they provide
locations around the world, so I don't have to transfer my data all the
way to/from the US. Although this might read like an advertisement, I
have no other connection to them other than being a satisfied customer.

YMMV. Caveat emptor. Batteries not included. :)

Petter

[1] https://www.digitalocean.com/
[2] https://owncloud.org/

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpL8UmKxmuo6.pgp
Description: OpenPGP digital signature


Re: free cloud

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 12:55:12 + (UTC)
Dan Purgert  wrote:

> On Fri, 03 Apr 2015 14:24:04 +0200, Petter Adsen wrote:
> 
> > [...]
> > 
> > Then you could set up something like OwnCloud...
> 
> So, not being nearly as deep in the "roll my own solution" as some
> people around here ... I've learned something now too :)

That is a good thing! :) OwnCloud is actually really nice. In addition
to sharing files, it can do calendars, contact management, and there
are a ton of other apps for it. Not to mention that since it is open
source it works really well with Linux clients. Good stuff.

I haven't yet put it on the VPS, but I intend to, so I can access it
when I'm not at home. From what I know, they have a fairly good
security record throughout the time I've been aware of it, and it's a
big-name project, so there are lots of eyes on the code.

> Now I just need to get a less bad box as a server (have a
> franken-server here that's really just a desktop PC) so I can play
> with my new-found toys ... and maybe get my fiancee off my case about
> "not enough storage space for any more movies"... 

Well, the main server I have at home would also best be described as a
(maybe mutant) franken-server, and it works just fine. OwnCloud doesn't
require much in terms of hardware, although extra disk space for all
that you want to store there is nice.

Buy an extra disk and start playing :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpkMQmJbYu_f.pgp
Description: OpenPGP digital signature


LVM/btrfs - Was: Re: firefox-37, where to put

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 09:15:42 -0400
Gene Heskett  wrote:
> On Friday 03 April 2015 05:35:49 Reco wrote:
> > But doing it correct way would probably require using LVM
> > (snapshots), and LVM is one of those things that are either used
> > from the start, or not used at all.
> 
> Tried twice back when it was all the rage when fedora was fairly
> new. Both installs self-destructed in under 2 weeks. I've no clue if
> its ready for "prime time" today or not.  But haveing been twice
> burnt, I am wary and avoid it.  And of course I eventually got tired
> of being used for a guinea pig as its survival rates were relatively
> poor.

This ties in nicely with something I'm sitting here and wondering
about right now. I'm preparing to upgrade my home server to Jessie
today, and at the same time I want to set up something like LVM on the
system disk (2x250G in mdadm RAID1). The main reason is that I want
snapshots, and a secondary, nice-to-have-but-not-essential reason is
future resizing of volumes.

The alternative to LVM would be btrfs, which would give me RAID1 and
snapshots, plus subvolumes. I am familiar with mdadm, but I am *not*
familiar with LVM or btrfs in any way.

What would the experts here recommend? I've been searching for a while
now, but I haven't found anything recent that applies to both LVM and
btrfs. I know btrfs is a moving target, is it stable enough to use for
both it's RAID functionality and the rest? Or would I be better off
with mdadm and LVM? Which is better to work with?

If anyone would like to share their experiences, I would really
appreciate it.

TIA,

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpZvbr4yYSRc.pgp
Description: OpenPGP digital signature


Re: LVM/btrfs - Was: Re: firefox-37, where to put

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 17:05:43 +0300
Reco  wrote:
>  Hi.
> 
> On Fri, Apr 03, 2015 at 03:40:58PM +0200, Petter Adsen wrote:
> > This ties in nicely with something I'm sitting here and wondering
> > about right now. I'm preparing to upgrade my home server to Jessie
> > today, and at the same time I want to set up something like LVM on
> > the system disk (2x250G in mdadm RAID1). The main reason is that I
> > want snapshots, and a secondary, nice-to-have-but-not-essential
> > reason is future resizing of volumes.
> 
> Both are possible with LVM. Snapshots require preliminary space
> reservation for keeping the difference between a main filesystem and a
> snapshot, and I/O may suffer somewhat, but that's it.

OK, good. Performance is no big deal in this case, the machine is just
used as a file server. I intended to set aside a good chunk of space
for possible future expansion of filesystems anyways, so there should
be plenty available for snapshots.

> Resizing just works, as long as you don't forget the correct order for
> changing the filesystem and the volume. I.e.
> 
> 1) Enlarge - volume first, filesystem last.
> 2) Reduce - filesystem first, volume last.

I expect the combination of ext4 and LVM is so common that ext4 would
be a good choice of filesystem if I ever get the need to resize?

> > The alternative to LVM would be btrfs, which would give me RAID1 and
> > snapshots, plus subvolumes. I am familiar with mdadm, but I am *not*
> > familiar with LVM or btrfs in any way.
> 
> I'd stay clear of brtfs if I were you until jessie+1 (I forget
> whatever its called) enters freeze. Then you install backported
> kernel and *maybe* btrfs would be so kind and would not eat your data.

That was what I was afraid of.



> > What would the experts here recommend? I've been searching for a
> > while now, but I haven't found anything recent that applies to both
> > LVM and btrfs. I know btrfs is a moving target, is it stable enough
> > to use for both it's RAID functionality and the rest? Or would I be
> > better off with mdadm and LVM? Which is better to work with?
> 
> You have mdadm. Add LVM on top of it. Make sure you have an non-LVM
> EFI partition in case of using UEFI (does not apply to BIOS). Don't
> forget to add busybox into initrd just in case. Enjoy.

No EFI, just BIOS. Old machine. :) From what I understand, is it
recommended to create a separate /boot that is not on LVM, or is that
no longer the case?

> If you really want to try btrfs - stay clear of both mdadm and LVM.
> btrfs has own filesystem-aware LVM, and stacking LVMs never was a good
> idea.

No, I have no big desire to test it, I was just wondering if it would
be a less complex solution to have both RAID and LVM-like functionality
from btrfs than running both mdadm and LVM will introduce.

But I think I will stick with mdadm + LVM. Thanks for your advice!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpnBFEHOn4E2.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-03 Thread Petter Adsen
On Fri, 3 Apr 2015 20:29:04 -0400
Gene Heskett  wrote:

> Does this server take 2.5 megabyte pictures?  I'll take them with my 
> Nikon L100 camera as I go.  Thats the size of its usual jpeg output,
> per picture.

Gene,

Please don't post a number of 2.5M pictures here if you can avoid it,
even if the server allows it. Some people are on metered connections
and such evils. It would be much better if you could use a pastebin-like
service to upload them to, and then post the links. I believe imgur.com
will let you do this, or you can use Dropbox if you have an account
there.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpLJFkdtSPtv.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-04 Thread Petter Adsen
On Fri, 03 Apr 2015 12:30:45 -0400
The Wanderer  wrote:
> Not necessarily as easy as you might think. You'd need to be careful
> to make sure that nothing got autostarted (or left running on logout)
> which would try to access files under /home/*/ - and though I don't
> know of anything offhand which would necessarily do that, I wouldn't
> want to assume that nothing would.

If you are running Jessie, you can use "loginctl terminate-user USER",
and if there is anything left, "loginctl kill-user USER". For Wheezy I
don't know, though.

Just my 2 cents :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpxhrxAv2Ut8.pgp
Description: OpenPGP digital signature


Re: firefox-37, where to put

2015-04-04 Thread Petter Adsen
On Fri, 3 Apr 2015 13:39:46 -0400
Gene Heskett  wrote:
> On Friday 03 April 2015 12:25:01 Chris Bannister wrote:
> > I vaguely recall fighting with the partitioning stage at one point
> > in the past but I think the 7.7 netinst I tried recently was much
> > improved.
> >
> > There might be one particular step which is tripping Gene up, and
> > once the "oh! duh! " moment passes, he'll be right.
> 
> I would welcome that moment.

I just need to ask, Gene, as you mentioned something about running a
patched version of Wheezy for your machines - is it possible that they
have somehow (badly) patched the installer to get a certain partition
setup, and doesn't allow anything else?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpvBMWYYZKo4.pgp
Description: OpenPGP digital signature


Jessie and /var

2015-04-04 Thread Petter Adsen
I am preparing to set up Jessie on my home server today, with mdadm
RAID and LVM. Even though I am using LVM, I want to get the volume
sizes about right when I first set them up.

VM images and containers are stored under /var - is there anything else
that systemd stores under /var that might take up enough space that I
should be aware of when setting up?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpAfPQjWfeGI.pgp
Description: OpenPGP digital signature


Re: A question about deleting a big file structure from a big disk in Jessie: Why does this work? I'm really worried.

2015-04-04 Thread Petter Adsen
On Fri, 3 Apr 2015 15:01:26 -0600
Bob Proulx  wrote:
> It could also be that I was unlucky in my purchase of cheap USB disk
> enclosures.  Which is why I was careful to relate my experience but
> not cast blame.  Your experiences and others may very well be
> different!  You will have different hardware at the least.  That will
> make a big difference.  I encourage everyone to generate their own
> experience and collect and report the data from it.  It is obvious
> what I am thinking but that doesn't mean it is correct.  I am simply
> communicating in what I hope to be a helpful way.

I also have a USB disk enclosure, in which sits a 3,5" IDE-ATAPI drive,
encrypted with LUKS. It is a really cheap, no-name enclosure that I've
had for years, and so far I have had no problems with it.

Reading your previous mails make me a little worried, though. It is
only used as a sort of semi-online backup, that I connect when I run
the backup, but my main backups are on bluray-discs. Now I begin to
wonder if I should invest in another drive for backing up stuff, but I
would still want it to be removable.

That means I have to decide between eSATA and IEEE-1394 as interfaces.
Only this machine has eSATA, I think, while both machines I might want
to connect it to has Firewire. Which of these would be the best choice
from a technical standpoint, and do they work well with Linux? I'd
imagine eSATA would simply be seen as a SATA device?

Might it also be better to go with a little bit more expensive
enclosure?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpGvPoPBbVTK.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-04 Thread Petter Adsen
On Sat, 4 Apr 2015 01:26:35 +0800
Bret Busby  wrote:

> On 03/04/2015, Brian  wrote:
> > On Fri 03 Apr 2015 at 17:41:44 +0800, Bret Busby wrote:
> >
> >> What are the expected differences between Debian 7 and Debian 8?
> >>
> >> Will Debian 8, when released, provide the "GNOME Classic"
> >> interface?
> >
> > Would gnome-session-flashback suit you?
> >
> 
> I have no idea.
> 
> In searching for it, the web pages at
>  https://packages.debian.org/es/jessie/gnome-session-flashback
> and
> https://wiki.gnome.org/Projects/GnomePanel
> do not include screenshots, so I do not know of its appearance or
> implied functionality.
> 
> In Debian 6, with its GNOME 2 interface, I have, at the bottom of the
> screen, a taskbar below the panel, with the three menu types
> (Applications, Places,System) at the left end of the panel, and the
> system monitor applet to the left of the date and time at the right
> end of the panel.
> 
> I want to be able to reproduce that in Debian 7 and, Debian 8, if they
> have the functionality.

I would also warmly recommend Xfce[1], which I've been using for a long
time. It's much lighter on resources, is quite customizable, and
provides all the panels and applets you could ever wish for. MATE and
even Cinnamon might also be good choices for you, I believe both are to
some extent based on Gnome 2. Personally, I have never looked at MATE,
but I used Cinnamon for a short time a while back, and thought it was
quite nice.

Petter

[1] http://xfce.org/

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpVtjb6UfdYZ.pgp
Description: OpenPGP digital signature


Re: Jessie and /var

2015-04-04 Thread Petter Adsen
On Sat, 04 Apr 2015 11:01:47 +0200
Jerome BENOIT  wrote:

> Hello Petter,
> 
> On 04/04/15 09:23, Petter Adsen wrote:
> > I am preparing to set up Jessie on my home server today, with mdadm
> > RAID and LVM. Even though I am using LVM, I want to get the volume
> > sizes about right when I first set them up.
> > 
> > VM images and containers are stored under /var - is there anything
> > else that systemd stores under /var that might take up enough space
> > that I should be aware of when setting up?
> 
> 
> why not mount a dedicated partition inside /var  for such usage ?
> /var/local ?
> 
> Jerome

That is a possibility, but I will either:

a) simply set up a /var large enough for all I need, or
b) symlink to /srv, if necessary

I am hoping to avoid symlinking, though. But what I was wondering is if
there is anything other than containers/VM images that systemd
introduces in /var that takes a significant amount of space?

BTW: Whoever came up with the ability to do parts of the installer via
ssh - thank you, thank you, thank you! :) _Very_ convenient, I just
hadn't actually tried it before.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpFM2qQ_Ldcm.pgp
Description: OpenPGP digital signature


LVM and mdadm

2015-04-04 Thread Petter Adsen
I've just finished setting up Jessie with mdadm and LVM, the latter of
which I have never used before.

/dev/md0 is a 1G mirror for /boot, no LVM there. /dev/md1 is a mirror,
than consists of the major part of /dev/sda and /dev/sdb - both 250G.
There are also 4G swap partitions on sda and sdb, no RAID there.

The installation went smoothly, and I think I got everything right.
However, when I run "pvdisplay -v", it says:
DEGRADED MODE. Incomplete RAID LVs will be processed.
Scanning for physical volume names
  --- Physical volume ---
  PV Name   /dev/md1
  VG Name   ROOTVG
  PV Size   227.90 GiB / not usable 2.00 MiB
  Allocatable   yes 
  PE Size   4.00 MiB
  Total PE  58342
  Free PE   17812
  Allocated PE  40530
  PV UUID   bpoMmU-Z9w0-arNA-Q6Je-jdyl-P2nH-JiPtJY

Does that mean there is something wrong with the mirror under LVM?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpPJi6SDVEn2.pgp
Description: OpenPGP digital signature


Re: LVM and mdadm

2015-04-04 Thread Petter Adsen
On Sat, 4 Apr 2015 13:56:33 +0300
Reco  wrote:

>  Hi.
> 
> On Sat, 4 Apr 2015 12:48:32 +0200
> Petter Adsen  wrote:
> 
> > I've just finished setting up Jessie with mdadm and LVM, the latter
> > of which I have never used before.
> > 
> > /dev/md0 is a 1G mirror for /boot, no LVM there. /dev/md1 is a
> > mirror, than consists of the major part of /dev/sda and /dev/sdb -
> > both 250G. There are also 4G swap partitions on sda and sdb, no
> > RAID there.
> > 
> > The installation went smoothly, and I think I got everything right.
> > However, when I run "pvdisplay -v", it says:
> > DEGRADED MODE. Incomplete RAID LVs will be processed.
> > Scanning for physical volume names
> >   --- Physical volume ---
> >   PV Name   /dev/md1
> >   VG Name   ROOTVG
> >   PV Size   227.90 GiB / not usable 2.00 MiB
> >   Allocatable   yes 
> >   PE Size   4.00 MiB
> >   Total PE  58342
> >   Free PE   17812
> >   Allocated PE  40530
> >   PV UUID   bpoMmU-Z9w0-arNA-Q6Je-jdyl-P2nH-JiPtJY
> > 
> > Does that mean there is something wrong with the mirror under LVM?
> 
> It's possible that you have logical volumes created with --mirrors
> option, for example. It's not bad, just redundant (i.e. mirroring over
> mirroring).

Yeah, that would be redundant. I wouldn't really know, as I just
created the RAID mirror with the installer, and also used the installer
to create a PV filling md1, with a single VG, and a few LV's inside
that.

> Please post the output of vgdisplay -v.

Here goes. "freshinstall" is just a snapshot of the system right after
the first boot.

root@fenris:~# vgdisplay -v
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "ROOTVG"
  --- Volume group ---
  VG Name   ROOTVG
  System ID 
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  6
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV4
  Open LV   3
  Max PV0
  Cur PV1
  Act PV1
  VG Size   227.90 GiB
  PE Size   4.00 MiB
  Total PE  58342
  Alloc PE / Size   42924 / 167.67 GiB
  Free  PE / Size   15418 / 60.23 GiB
  VG UUID   XviEb0-4Xq7-4aJO-4m8c-LtxI-aVGj-8CUIoN
   
  --- Logical volume ---
  LV Path/dev/ROOTVG/LV_ROOT
  LV NameLV_ROOT
  VG NameROOTVG
  LV UUIDec5Fg4-OF3y-yB1S-dsXi-v2Nv-TqTJ-cwbEBg
  LV Write Accessread/write
  LV Creation host, time fenris, 2015-04-04 11:23:03 +0200
  LV snapshot status source of
 freshinstall [active]
  LV Status  available
  # open 1
  LV Size9.31 GiB
  Current LE 2384
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:0
   
  --- Logical volume ---
  LV Path/dev/ROOTVG/LV_VAR
  LV NameLV_VAR
  VG NameROOTVG
  LV UUID8JVtGt-kZtM-P0bv-wFJe-MAse-u1MO-6SenQJ
  LV Write Accessread/write
  LV Creation host, time fenris, 2015-04-04 11:23:43 +0200
  LV Status  available
  # open 1
  LV Size55.88 GiB
  Current LE 14305
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:1
   
  --- Logical volume ---
  LV Path/dev/ROOTVG/LV_HOME
  LV NameLV_HOME
  VG NameROOTVG
  LV UUIDIenPg1-9gY1-n4At-rC3v-6auK-X2Vd-tJ2ldf
  LV Write Accessread/write
  LV Creation host, time fenris, 2015-04-04 11:24:13 +0200
  LV Status  available
  # open 1
  LV Size93.13 GiB
  Current LE 23841
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:2
   
  --- Logical volume ---
  LV Path/dev/ROOTVG/freshinstall
  LV Namefreshinstall
  VG NameROOTVG
  LV UUIDn835Yc-gPq8-asVg-1yDV-1dgL-5eBU-sSV9db
  LV Write Accessread/write
  LV Creation host, time fenris, 2015-04-04 12:55:44 +0200
  LV snapshot status active destination for LV_ROOT
  LV Status  available
  # open 0
  LV Size9.31 GiB
  Current LE 2384
  COW-table size  

Re: LVM and mdadm

2015-04-04 Thread Petter Adsen
On Sat, 4 Apr 2015 15:09:20 +0300
Reco  wrote:

>  Hi.
> 
> On Sat, 4 Apr 2015 13:04:16 +0200
> Petter Adsen  wrote:
> > root@fenris:~# vgdisplay -v
> > DEGRADED MODE. Incomplete RAID LVs will be processed.
> > Finding all volume groups
> > Finding volume group "ROOTVG"
> >   --- Volume group ---
> > 
> 
> Ok, I have a good news, and I have a bad news.
> 
> The good news are:
> 
> 1) You don't have any mirrored LVs. Such LVs are explicitly marked by
> having 'Mirrored volumes', and you have none of those.
> 
> 2) You don't seem to have a problem with your LVM configuration,
> everything appears to be in place.

Good. :)

> And the bad news are:
> 
> '-v' option misleads you.
> 
> It says that 'Incomplete RAID LVs will be processed' and other
> scary stuff regardless of presence of such LVs. It says 'DEGRADED
> MODE', even in the case there everything is OK.

Yes, I noticed that. While viewing the configuration here, the message
only came up with "-v", which I thought would be odd if it was really
serious.

> About the only way to know for sure whenever it's OK or not - is to
> carefully view the status of every VG, LV and PV.
> 
> In fact, it seems that any LVM command with '-v' option will spew such
> 'warnings'.
> 
> It's Jessie's new feature, and it seems that nobody cared about
> documenting it. Short of original bug report, of course - [1].
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=905063

OK, I didn't see that when I was searching for answers. Thank you for
taking the time anyway, it is good to know it was set up correctly,
especially since this is new to me. It would be nice if this was clear
in the man pages, though.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpTrp7WxDwz9.pgp
Description: OpenPGP digital signature


Re: Icedove stopped sending and receiving e-mail

2015-04-05 Thread Petter Adsen
On Sat, 04 Apr 2015 17:44:34 -0400
"Gary Dale"  wrote:

> I've just had a rather bad time with my Debian/Jessie AMD64 system.
> I had to reset it yesterday after a hardware-related lockup (it
> doesn't like my optical drive connected to an add-in PCIe SATA card -
> usually freezes after writing an ISO image to DVD). The lockup
> wouldn't respond to sysrq so I needed the reset button.
> 
> Trying to get back up was painful. I finally got it back by
> reverting to SysV Init, which fortunately was an option on the Grub
> menu.
> 
> However now that it's running, I'm having a weird problem with  
> Icedove. I can't receive e-mail on any of the accounts it's
> configured to check. Moreover, I have three accounts that it's not
> showing the inbox, etc. for. These are all configured for pop e-mail
> and the e-mail folders are all on a single NFS share that is also
> used by the accounts that are showing the inboxes, etc..
> 
> The e-mail in the folders that I can see are complete - back to the  
> time the machine froze, but nothing since.
> 
> Interestingly, when I try to Get Messages on an account, I get the  
> status bar message : Connected to .
> 
> I tried uninstalling and re-installing Icedove but nothing changed.
> 
> I can access the accounts via their web-mail interfaces.
> 
> I tried sending this message via Icedove but it failed to send. I
> just get the "sending message" box and status bar.
> 
> Any ideas?

I don't know if it will help you, but it is possible that somehow your
Icedove configuration has become corrupted - have you tried moving it
out of the way so Icedove can't find it, before starting Icedove and
setting it up again?

I don't use Icedove, but I just installed it to see what it creates,
and I would move at least ~/.cache/icedove and ~/.mozilla out of the
way.

Just a suggestion.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpCkf0IcWf3D.pgp
Description: OpenPGP digital signature


Re: Jessie and /var

2015-04-05 Thread Petter Adsen
On Sat, 4 Apr 2015 16:35:02 -0600
Bob Proulx  wrote:

> Petter Adsen wrote:
> > Jerome BENOIT wrote:
> > > Petter Adsen wrote:
> > > > I am preparing to set up Jessie on my home server today, with
> > > > mdadm RAID and LVM. Even though I am using LVM, I want to get
> > > > the volume sizes about right when I first set them up.
> 
> You can always expand the volume very trivially.  You can't shrink it
> easily however.  So don't go crazy-too-large or you will have
> unusuable space.  A comfortable amount is fine.  Here are some very
> active systems of mine.  In review now I could probably bump up the
> space there a little bit but at the same time those haven't had space
> issues ever either.

I set /var much bigger, because I intend to have several VMs and
containers there. But I know what images are to be stored there and how
big they are, so I could figure it out pretty accurately.



> > > > VM images and containers are stored under /var - is there
> > > > anything else that systemd stores under /var that might take up
> > > > enough space that I should be aware of when setting up?
> > > 
> > > why not mount a dedicated partition inside /var  for such usage ?
> > > /var/local ?
> 
> I mount an additional volume at /var/lib/libvirt/images in order to
> handle the image sizes.  Or with LVM build the VM images directly in a
> logical volume.  That is the recommendation for performance anyway.

I rarely actually use the VMs on that machine, and I didn't want to
bother converting them to logical volumes, so I just left everything
in /var. This may change in the future, as I left some space in the VG
mostly for this purpose.

On my workstation I have now also set up LVM on a spare disk, that I
intend to use mostly for VMs. So far, I have kept them as images on an
SSD, so performance has been good.

> > That is a possibility, but I will either:
> > 
> > a) simply set up a /var large enough for all I need, or
> > b) symlink to /srv, if necessary
> > 
> > I am hoping to avoid symlinking, though.
> 
> Why do you want to avoid the symlink?

Just a personal preference. I just prefer instantly knowing what
partition everything is on, and to me, symlinking can make things a bit
"messy". I think this is related to the fact that I have Aspergers.
Some things can be harder to wrap my head around.

> Alternatively use a bind mount.  This is what I do system.  In this
> example I had a large /home partition and I wanted to share the space
> there.  I bind mounted /home/images to /var/lib/libvirt/images.

That was a good idea, I didn't think of that. Thank you.

> The /etc/fstab entry:
> 
>   /home/images /var/lib/libvirt/images none bind 0 0
> 
> This will create an error on purge because the postrm can't remove the
> directory but since we know what we did that is okay to ignore and
> cleanup after the package purge.  Understand and ignore it.  I don't
> have plans to purge the production use of this anytime soon.  Just
> noting it for the record.

I will keep a mental note of that.

> > But what I was wondering is if there is anything other than
> > containers/VM images that systemd introduces in /var that takes a
> > significant amount of space?
> 
> It depends completely upon what you install.  Everyone will install a

Of course. :)

> different set of things.  As David mentioned apt-cacher-ng caches
> packages and will consume in its cache up to the configured size.  On
> my other machine with it installed I have it using its own logical
> volume.

Yes, I was seriously wondering about installing apt-cache-ng. I have
plenty of bandwidth, but there is absolutely no point in wasting more
than I need.

Will that also cache packages for other architectures? I have a Pi,
running Raspbian - will it cache packages for that too, or just the
multi-arch ones?

>   FilesystemSize  Used Avail Use% Mounted on
>   /dev/mapper/vg1-acng  9.9G  3.3G  6.2G  35% /var/cache/apt-cacher-ng
> 
> > BTW: Whoever came up with the ability to do parts of the installer
> > via ssh - thank you, thank you, thank you! :) _Very_ convenient, I
> > just hadn't actually tried it before.
> 
> That is a pretty cool feature.

It is :) Can't believe I haven't tried it before, it's so much nicer to
sit at a proper workstation and do the install.

Thank you for all the advice, I'm now going to carefully read the
manpage on "mount" and learn more about bind mounting :)

HAND!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpSeEvWF5_Mu.pgp
Description: OpenPGP digital signature


Re: add a remote login to the window login

2015-04-06 Thread Petter Adsen
On Sun, 5 Apr 2015 18:21:33 +0100
Abdelkader Belahcene  wrote:

> Hi,
> I read in the features of lightdm
> "Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP,
> pluggable)."
> 
> But I can't find where to configure it.
> 
> 
> 
> 
> 
> 
> 
> *I want to enter from a local machine running  to a remote server
> using XDMCP. I did it with without problem from a thin client.
>  Now I  want to do it from an old PC,
> that I want to use it  as a simple terminal.
> In the window of the login I have only
> local accounts on my local machine, I want to configure the lightdm
> in order to get in the menu of   the login window of lightdm  the
> remote servers running XDMCP? *
> 
> 
> *on one word : I want to add  a remote XDMCP login to my menu in
> window login*
> 
> 
> * thanks for help best regards *

Have a look at:
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/view/head:/data/lightdm.conf

This lists the possible configuration options. I would assume that you
would need "greeter-show-remote-login=true", but it is possible that
whether or not this functionality is actually available depends on your
greeter - there are several of them out there. In addition you would
need to configure authorization.

I haven't tried this, though, as I use VNC.

There is some information available at:
https://wiki.ubuntu.com/xdmcp

This should also apply to Debian, but it only describes half of what
you want to do, and several other options for the other half. You might
still find it useful, though.

Hope this helps. Please post your results if and how you get it
working, as I would be interested to know.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpCvOJcaC0Cp.pgp
Description: OpenPGP digital signature


Permissions on LVM logical volumes

2015-04-06 Thread Petter Adsen
How can I set group ownership of a logical volume to libvirt on Jessie?
I assume systemd is now somehow involved, but I have no idea where to
start looking.

Any hints?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp5r_dJ8IrYT.pgp
Description: OpenPGP digital signature


Book questions

2015-04-09 Thread Petter Adsen
This might be a little off-topic, as it is not Debian-specific, but I
hope those here with experience will bear with me.

I was rummaging through a bunch of books I was given when I did some
work for a book distributor, and found a few things that might be
interesting.

For a long time I've been meaning to learn more about regular
expressions, and I found the following books: "Mastering Regular
Expressions" and "Sed & awk", both from O'Reilly. Does anyone have any
experience with these, and an opinion as to which I should start with?

I also found the K&R book, "The UNIX Programming Environment" by
Kernighan and Pike, and "UNIX Systems Programming for SVR4" from
O'Reilly. Since I want to learn C I know I need to read the first of
these, but I was wondering how the other two are, if anyone here has
read them.

Also, are there other books I might want to supplement these with? I
found two Linux-specific books as well, but they are really old. One of
them comes with a CD of Slackware from 1996. :)

Any advice would be much appreciated :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpJV_mMdA8q5.pgp
Description: OpenPGP digital signature


Re: Book questions

2015-04-09 Thread Petter Adsen
On Thu, 09 Apr 2015 23:00:46 +1000
Alexis  wrote:

> 
> Petter Adsen  writes:
> 
> > For a long time I've been meaning to learn more about regular 
> > expressions, and I found the following books: "Mastering Regular 
> > Expressions" and "Sed & awk", both from O'Reilly. Does anyone 
> > have any experience with these, and an opinion as to which I 
> > should start with?
> 
> i have the former, and highly recommend it. :-) i've not read the 
> latter, so can't comment on it.

Thanks, I guess both are worth reading, as sed is something I
definitely should be more familiar with.

> > I also found the K&R book, "The UNIX Programming Environment" by 
> > Kernighan and Pike, and "UNIX Systems Programming for SVR4" from 
> > O'Reilly. Since I want to learn C I know I need to read the 
> > first of these, but I was wondering how the other two are, if 
> > anyone here has read them.
> 
> i have a copy of "The UNIX Programming Environment". i have in no 
> way read it cover-to-cover, but some comments i can make on it 
> are:
> 
> * i feel it's useful for cultivating the classic Unix 'toolkit' 
>   mindset, 
>   where one connects various programs in various ways to produce 
>   certain results.

Bonus point.

> * Being published in 1984, it discusses "/the/ shell" instead of 
>   "a 
>   shell", and thus doesn't cover the differences between the 
>   various shells now available, e.g. bash vs. zsh vs. fish 
>   vs. dash etc.

Well, that could be a good thing, as I could probably find good
shell-specific documentation online later.

> * The "Document Preparation" chapter feels somewhat esoteric given 
>   our 
>   current context of things like LaTeX, Pandoc, Scribus and so on.

Yes, I just had a look at it, it seems it focuses on writing man
pages. I have other books on LaTeX anyhow.

> > Also, are there other books I might want to supplement these 
> > with?
> 
> i guess it depends on what other specific areas you're interested 
> in  i have a copy of O'Reilly's tome "Unix Power Tools", and 
> still regularly find it very useful.

I'm mostly interested in getting a good foundation in C programming,
but generic UNIX tools/shell books that are good are always useful. I
find learning is easier from an actual book than electronic text, but I
must confess I haven't really tried reading books on my iThing. The K&R
book was available, though, so I might buy that just to try it. I'll
put "Unix Power Tools" on my shopping list - thanks :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpQ6R5wjNxLn.pgp
Description: OpenPGP digital signature


Re: free cloud

2015-04-09 Thread Petter Adsen
On Thu, 09 Apr 2015 08:38:12 -0400
Stefan Monnier  wrote:

> > perspective. I don't feel comfortable with countries that openly
> > cooperate with the intelligence services.
> 
> As opposed to those who do it covertly, you mean?
> 
> 
> Stefan "not funny"

Not going into that one, but I might suggest looking at CloudMe. They
are located in Sweden, and thus covered by European data protection
laws. For legal information: https://www.cloudme.com/en/legal

They have a Linux client, basic free service, and clients for most
systems. You can also use webdav, although I haven't personally tried
this. I'm currently thinking about paying them for backup storage,
since they are geographically quite close to me and have good support.

YMMV.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpdnnjnn2bk5.pgp
Description: OpenPGP digital signature


Re: Book questions

2015-04-09 Thread Petter Adsen
On Thu, 9 Apr 2015 08:32:38 -0400
Dan Ritter  wrote:

> On Thu, Apr 09, 2015 at 02:15:12PM +0200, Petter Adsen wrote:
> > For a long time I've been meaning to learn more about regular
> > expressions, and I found the following books: "Mastering Regular
> > Expressions" and "Sed & awk", both from O'Reilly. Does anyone have
> > any experience with these, and an opinion as to which I should
> > start with?
> 
> If you read through "sed & awk" you will get a decent
> introduction, and "Mastering" is a good follow-up.

OK, thanks, then I should be covered.

> 'man perlre' (perl regular expressions) is a good reference in
> most cases; more so if you're actually using perl, of course.

It's been a long time since I used perl regularly, but it might come in
handy as an online reference. Are perl regular expressions "compatible"
with the ones used by grep/sed/awk, etc? I think I remember reading
that there are differences between them?

> > I also found the K&R book, "The UNIX Programming Environment" by
> > Kernighan and Pike, and "UNIX Systems Programming for SVR4" from
> > O'Reilly. Since I want to learn C I know I need to read the first of
> > these, but I was wondering how the other two are, if anyone here has
> > read them.
> 
> They aren't exactly up to date, but they contain much which is
> still relevant. System V release 4 was one of the models for
> Linux.

Yes, the basics are what I'm interested in here. Once I get a good grip
on those I can look into more modern and Linux-specific topics. I'm
most interested in learning how to write portable code anyways, so
these should be a good start.

> "Learning Perl" and "The Perl Cookbook" are good for Perl; you
> might want "UNIX System Administration", but you'll definitely
> want "The Debian Administrator's Handbook" at
> http://debian-handbook.info

I actually also found "Learning Perl", and I think I have the Cookbook
if I dig a little deeper, but I've more or less settled on learning C,
as I think that would be more worthwhile.

Downloaded the Debian book, though, I'll have to look through it and
print out some of the chapters.

Thanks for the advice! :)

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpvo_AsoRoUN.pgp
Description: OpenPGP digital signature


Re: debian 8

2015-04-10 Thread Petter Adsen
On Fri, 10 Apr 2015 13:46:36 -0400
Gene Heskett  wrote:
> On Friday 10 April 2015 10:28:36 Curt wrote:
> > There is something else to try:
> >
> > http://en.wikipedia.org/wiki/Magic_SysRq_key
> >
> I have occasionally tried that, (when I can remember it) has not
> worked yet, for me, even with a wired keyboard.  That is something
> that distro compilers building kernels for their disto, seem to have
> a delight in disabling/ignoring.
> 
> This particular keyboard has not such a marked key.  White logitech
> K360.

On most keyboards it is marked "Print Screen", or some shortening
thereof. Or do you have a small keyboard without such a key?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpD2H2i2IByX.pgp
Description: OpenPGP digital signature


Re: Create Plugin or Applet for HDMI output

2015-04-10 Thread Petter Adsen
On Fri, 10 Apr 2015 21:48:04 +0400
Dwijesh Gajadur  wrote:

> Hello everyone,
> 
> I have Debian Jessie with XFCE installed on my Dell inspiron 7537
> laptop. I often connect my laptop with my TV through HDMI.
> Each time I have to go to Settings>Display and then select the TV
> screen from there. I also have to go to Pulse Audio Volume Control
> (pavucontrol) to select the HDMI sound from there.
> 
> I was wondering if I can create a script or plugin so that I can
> easilly switch from the laptop to my tv.
> 
> Is there by chance already a plugin that exists having this
> functionality?
> 
> Please let me know. Also can you help me to find sources from where I
> can learn to build my own plugin or applets and add them to my panel.

All of Xfce is in git, if you go to xfce.org you will find information
on the wiki. I believe there is also a xfce-devel mailing list, which
would probably be a good place to ask for help on getting started.
There are also third-party plugins you could download the source of and
read through or use as a starting point.

Hope this helps, good luck!

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp1jD7ydbfR8.pgp
Description: OpenPGP digital signature


Re: free cloud

2015-04-11 Thread Petter Adsen
On Sat, 11 Apr 2015 13:56:59 +0200
deloptes  wrote:

> Petter Adsen wrote:
> 
> > Switzerland might be good, unfortunately I don't know of any cloud
> > services there, but I'm sure there are. But if the NSA wants data
> > stored on servers in Switzerland badly enough, do you really think
> > Swiss laws would stop them?
> > 
> > Petter
> 
> I mean a situation where they come to you as service provider and
> tell you to deliver the encryption keys for the services you provide.
> In this case Swiss and Austrian Law is still much harder to bend.

I see. Well, if your customers manage keys for themselves, that would
not be your problem at all. However, if you manage them, then I see
your problem.

In my personal case, I don't much care which cloud providers I use, as
I pretty much encrypt everything I store on them anyway. CloudMe is
geographically close and I get good speeds, which is mainly why I'm
considering them for backups.

> The back side is ... do you want to host data of mentally sick
> people ... like islamists, pedophiles or alike - and how would you
> guarantee that there is none? For me this is an important question -

I do not think you can guarantee that. Of course, if you have access to
the encryption keys and your clients do not encrypt things themselves,
you can scan their content. However, this may not be legal (I have _no_
idea), your customers may strongly dislike it, and you still won't find
everything.

Ironically, the best approach could actually be to cooperate with the
authorities :) I think in most cases if they come with a warrant for
the content of a certain user, they actually have a strong reason for
it. I do not think they would do that without strong grounds.

> that I can still not answer. Assume you sell a service with encrypted
> mail, cloud etc. Surely you get people from the underground world,
> that would like to use the service. How do you prevent the service
> being used by such people? Ideas? I have never had the time to look
> for theoretical papers or implementations on this subject.

I honestly don't have anything to suggest, I'm afraid. I would hazard a
guess that many users who are concerned about privacy and security
would still encrypt mail and content themselves, though, and in that
scenario I don't see that there is much you could do about it.

I wish you the best of luck in your venture, though, as the world
sorely needs more secure infrastructure, and many people don't want to
or are incapable of handling crypto for themselves.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpNr4V45n0gI.pgp
Description: OpenPGP digital signature


  1   2   3   4   >