Re: Why isn't the "whois" package (Priority: standard) installed by default?

2024-06-13 Thread Javier Barroso
Hello,

El jue., 13 jun. 2024 20:48, Vincent Lefevre  escribió:

> On 2024-06-13 14:43:25 -0400, Greg Wooledge wrote:
> > On Thu, Jun 13, 2024 at 07:57:59PM +0200, Vincent Lefevre wrote:
> > > The "whois" package has "Priority: standard".
> >
> > hobbit:~$ apt-cache show whois | grep Priority
> > Priority: optional
>
> qaa:~> apt-cache show whois | grep Priority
> Priority: optional
> Priority: optional
>
> but
>
> qaa:~> dpkg -s whois | grep Priority
> Priority: standard
>
I think it is ftpmaster override

See https://wiki.debian.org/FtpMaster/Override

Regards


Re: usrmerge on root NFS will not be run automatically

2023-09-11 Thread Javier Barroso
Hello,

El dom., 10 sept. 2023 21:55, Marco  escribió:

> On Fri, 8 Sep 2023 12:26:38 -0400
> Dan Ritter  wrote:
>
> > > That is quite an involved task. I didn't expect such fiddling for a
> > > simple OS update. I'm a bit worried that the permissions and owners
> > > go haywire when I copy stuff directly off the server onto a VM and
> > > back onto the server. Is there a recommended procedure or
> > > documentation available?
> >
> > Can you start a temporary VM directly on the server?
>
> I might actually. I'll have to check the following days.
>
> > If so, you can
> > * stop your remote Debian machine
> > * run a Debian rescue image in the VM on the NFS server
> > * have the VM mount the filesystem directly
> > * chroot, run usrmerge
> > * unmount
>
> Ok, that's also quite a task, but it seems less error-prone than
> copying a bunch of system files across the network and hope for the
> best. I'll try.
>
> Marco
>

Maybe you can open a new bug asking for a better documentation or what
should be done in this case.

Maybe dpkg -L with both files can help to clarify what should be done

Regards

>


Re: Happy 30 Years Debian Project

2023-08-17 Thread Javier Barroso
El jue., 17 ago. 2023 23:34, Javier Barroso 
escribió:

>
>
> El jue., 17 ago. 2023 22:49, Ash Joubert  escribió:
>
>> Happy Birthday Debian!
>>
>> My open source journey started with Slackware in 1995, then Red Hat from
>> 1996, and then Fedora. I first encountered Debian at a new job in 2007,
>> and switched my desktop to Debian/sid in 2012. I installed my current
>> Debian/sid desktop in April 2017 and it has been rolling ever since,
>> which I consider an extraordinary achievement. Well done Debian!
>>
>
> Using debían sid without reinstalling from 2004
>

Sorry I hit send button before saying ...

Debían Rocks!

Happy birthday!

>


Re: Happy 30 Years Debian Project

2023-08-17 Thread Javier Barroso
El jue., 17 ago. 2023 22:49, Ash Joubert  escribió:

> Happy Birthday Debian!
>
> My open source journey started with Slackware in 1995, then Red Hat from
> 1996, and then Fedora. I first encountered Debian at a new job in 2007,
> and switched my desktop to Debian/sid in 2012. I installed my current
> Debian/sid desktop in April 2017 and it has been rolling ever since,
> which I consider an extraordinary achievement. Well done Debian!
>

Using debían sid without reinstalling from 2004

>


Re: how to debootstrap Debian 8 Jessie released 2015-04-25 on Ubuntu 14.04

2023-06-18 Thread Javier Barroso
Hello,

El dom., 18 jun. 2023 10:23, Mario Marietto 
escribió:

> ok. these works :
>
> debootstrap --foreign --arch=armhf jessie jessie-armhf
> http://archive.debian.org/debian
>
> debootstrap --foreign --arch=armhf strech strech-armhf
> http://archive.debian.org/debian
>
> but not this :
>
> root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
> debootstrap --foreign --arch=armhf buster buster-armhf
> http://archive.debian.org/debian
>
> W: Cannot check Release signature; keyring file not available
> /usr/share/keyrings/debian-archive-keyring.gpg
> I: Retrieving Release
>
> E: Failed getting release file
> http://archive.debian.org/debian/dists/buster/Release
>
> root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
> debootstrap --foreign --arch=armhf buster buster-armhf
>
> I: Keyring file not available at
> /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
> https://mirrors.kernel.org/debian
> I: Retrieving Release
>
> E: Failed getting release file
> https://mirrors.kernel.org/debian/dists/buster/Release
>
> thanks.
>
> On Sun, Jun 18, 2023 at 10:14 AM Mario Marietto 
> wrote:
>
>> Can you elaborate the full command ? thanks.
>>
>> On Sun, Jun 18, 2023 at 10:12 AM Javier Barroso 
>> wrote:
>>
>>> Hello,
>>>
>>> El dom., 18 jun. 2023 9:56, Mario Marietto 
>>> escribió:
>>>
>>>> I'm running Ubuntu 14.04 and I would like to debootstrap debian jessie
>>>> 8. I've found this tutorial and I tried , but it didn't work :
>>>>
>>>> from here :
>>>>
>>>> https://blog.lazy-evaluation.net/posts/linux/debian-armhf-bootstrap.html
>>>>
>>>>
>>>> he says to do :
>>>>
>>>>
>>>> # debootstrap --foreign --arch=armhf jessie jessie-armhf
>>>>
>>>>
>>>> but unfortunately :
>>>>
>>>>
>>>> I: Keyring file not available at
>>>> /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
>>>> https://mirrors.kernel.org/debian
>>>>
>>>> I: Retrieving Release
>>>>
>>>> E: Failed getting release file
>>>> https://mirrors.kernel.org/debian/dists/jessie/Release
>>>>
>>>> how to fix it ? thanks.
>>>>
>>>> --
>>>> Mario.
>>>>
>>>
>>> You need to add http://archive.debian.org/debian yo the debootstrap
>>> command
>>>
>>> Jessie was archived a long time ago
>>>
>>>>
>>
>> --
>> Mario.
>>
>
>
> --
> Mario.
>

There are old releases archived, and other which are not archived still

You can see the info in Debían web:

https://www.debian.org/releases/

For no archived releases I think no need to add a URL (or maybe then
oficial one)

Regards

>


Re: how to debootstrap Debian 8 Jessie released 2015-04-25 on Ubuntu 14.04

2023-06-18 Thread Javier Barroso
Hello,

El dom., 18 jun. 2023 9:56, Mario Marietto 
escribió:

> I'm running Ubuntu 14.04 and I would like to debootstrap debian jessie 8.
> I've found this tutorial and I tried , but it didn't work :
>
> from here :
>
> https://blog.lazy-evaluation.net/posts/linux/debian-armhf-bootstrap.html
>
>
> he says to do :
>
>
> # debootstrap --foreign --arch=armhf jessie jessie-armhf
>
>
> but unfortunately :
>
>
> I: Keyring file not available at
> /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
> https://mirrors.kernel.org/debian
>
> I: Retrieving Release
>
> E: Failed getting release file
> https://mirrors.kernel.org/debian/dists/jessie/Release
>
> how to fix it ? thanks.
>
> --
> Mario.
>

You need to add http://archive.debian.org/debian yo the debootstrap command

Jessie was archived a long time ago

>


Re: should CLI have a nice UI today?

2023-03-25 Thread Javier Barroso
Hi,

El vie., 24 mar. 2023 16:57, Tom  escribió:

>
> >> Should CLI (command line interface) have a nice UI library?
> >
> > There are many. The generic underlying library is usually
> > ncurses.
>
> But it needs to be stressed that there are many. For Python there is
> Textualize [1], for Go there is Charm [2], rust has a TUI crate [3]
> among other options.
>
> Also, OP might be interested in this list of "Modern Unix" tools. [4]
>
> Cheers,
> Tom
>
> [1] https://www.textualize.io
> [2] https://github.com/charmbracelet
> [3] https://docs.rs/tui/latest/tui/
> [4] https://github.com/ibraheemdev/modern-unix


> I would add awesome-shell list:
https://github.com/alebcay/awesome-shell

Regards


Driver wifi

2023-01-12 Thread Javier navarro altimira
Exist driver for TP-Link TL-WN823N V2/V2 Realtek RTL 8192 EU in Bulleseye?
Thanks.


Re: Issues with audio after updating

2022-10-09 Thread Javier Barroso
El dom., 9 oct. 2022 15:42, Maximiliano Estudies 
escribió:

> that's a very good tip, thanks. I'm using testing and the log shows
> that pulseaudio was updated with some dependencies, I see
>
> pulseaudio:amd64 (15.0+dfsg1-4+b1, 16.1+dfsg1-2)
> pulseaudio-utils:amd64 (15.0+dfsg1-4+b1, 16.1+dfsg1-2)
> libkf5pulseaudioqt3:amd64 (1.3-2, 1.3-2+b1)
> pulseaudio-module-jack:amd64 (15.0+dfsg1-4+b1, 16.1+dfsg1-2)
> were part of the update that broke pulseaudio, so I think I'll use
> reportbug to report this issue.
> Thanks for the help!
>

Some weeks ago I needed (on unstable) to install pipewire-pulse to get the
sound working again

Regards

>
>
>


Re: usr-is-merged package in bullseye?

2022-09-13 Thread Javier Barroso
Hello,

El mar., 13 sept. 2022 19:10, Greg Wooledge  escribió:

> On Tue, Sep 13, 2022 at 04:45:40PM +0100, Tim Woodall wrote:
> > There's a package usr-is-merged that will stop usrmerge being installed
> > with init-system-helpers (and so avoids bringing in its dependencies)
> > but I don't see that available in bullseye.
> >
> > Most of my systems are already merged /usr and I'd prefer to avoid
> > bringing in unnecessary packages when I upgrade to bookworm (which will
> > be after bookworm becomes stable). Will the usr-is-merged package be
> > added to bullseye before then?
>
> Added to bullseye?  That sounds unlikely.  New packages are almost never
> *added* to a stable release.
>
> I can only guess that once we're in the bookworm freeze, some instructions
> will start to appear for how users are expected to manage the transition.
> Perhaps it will be possible to install the testing version of the
> usr-is-merged package on stable.  From what I gleaned from packages.d.o,
> it's only got a copyright file and a changelog file.  No dependencies or
> anything, so if any package from testing is safe to install on stable,
> it might be that one.
>
> As far as usrmerge dependencies go, I was curious, so I did this:
>
> unicorn:~$ apt-get -s install usrmerge
> NOTE: This is only a simulation!
>   apt-get needs root privileges for real execution.
>   Keep also in mind that locking is deactivated,
>   so don't depend on the relevance to the real current situation!
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
>   libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl
> The following packages will be REMOVED:
>   libpng12-0 xv
> The following NEW packages will be installed:
>   libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
> 0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
> Remv xv [3.10a-20]
> Remv libpng12-0 [1.2.50-2+deb8u3]
> Inst libnumber-compare-perl (0.03-1.1 Debian:11.5/stable [all])
> Inst libtext-glob-perl (0.11-1 Debian:11.5/stable [all])
> Inst libfile-find-rule-perl (0.34-1 Debian:11.5/stable [all])
> Inst usrmerge (25 Debian:11.5/stable [all])
> Conf libnumber-compare-perl (0.03-1.1 Debian:11.5/stable [all])
> Conf libtext-glob-perl (0.11-1 Debian:11.5/stable [all])
> Conf libfile-find-rule-perl (0.34-1 Debian:11.5/stable [all])
> Conf usrmerge (25 Debian:11.5/stable [all])
>
> Now I'm no longer just curious -- I'm *concerned*.  Why does it want to
> remove my libpng12-0 package?  What's the best way to keep/reinstall xv
> on my system after this upgrade?
>

Did you test aptitude why-not libpng12-0?

I'm not sure If It help in this case

Regards

>
>


Re: explanation of first column "v" is hiding

2021-07-26 Thread Javier Barroso
Hello Greg,

On Mon, Jul 26, 2021 at 7:22 PM Greg Wooledge  wrote:

> On Mon, Jul 26, 2021 at 01:01:59PM -0400, Felix Miata wrote:
> > # man dpkg-query
> > ...
> >   Desired action:
> > u = Unknown
> > i = Install
>
> > v   lightdm-greeter  -
>
> I'm guessing it means "virtual".  Let's see:
>
> unicorn:~$ apt-cache show lightdm-greeter
> N: Can't select versions from package 'lightdm-greeter' as it is purely
> virtual
> N: No packages found
>
> Yeah, seems likely.
>
> P.S. If we're complaining about the lack of documentation for the cryptic
> output of the Debian tool set, can we say some words about aptitude?
> Seriously.
>
> Please see /usr/share/doc/aptitude/README

Probabbly the most complete README in Debian Archive

I would not complaint about aptitude documentation, but yes about all that
packages that are shipping with a poor /usr/share/doc/xxx directory and
without package-doc package (which would be nice to have).

At my system:
1364 /usr/share/doc/xxx directories with a README file (seems fine to me)
3591 /usr/share/doc/xxx directories without a README file (many of that
packages sure have manpages and/or info files)

I think it would be a improvement that README file be present at each
package, at least providing a mininum info about the package / program /
library.

i know it is a utopy, but would be beatiful an unified README file with
sections like:

What it is? Why it is installed? Is it configurable? What manpage or doc to
read? Links to webs

I know, it is Debian, you want, you can start to do the work ...

It is only a suggestion that would be Debian better for me.

Sometimes I says , oh no, another /usr/share/doc/xxx package only with
changelog (necessary for me too!) and license (perfect too!!) ! Where could
I learn about what is that library or that program! ?

i know how to search manpages, and search on the internet and search at
https://packages.qa.debian.org/common/index.html ... but it would be useful
to have a nice README for every package.

Well I hope this mail not disturb anybody, it is only a simple idea

Regards!


Re: No space left when: update-initramfs: Generating /boot/initrd.img-5.10.0-5-amd64

2021-04-07 Thread Javier Barroso
El mié., 7 abr. 2021 14:58, Stefan Monnier 
escribió:

> > What do you recommend I do?
>
> Other than purging old kernels, I also recommend you check
>
> /etc/initramfs-tools/initramfs.conf
>
> where `MODULES=dep` and `COMPRESS=lzma` have made a big difference for
> me (more or less shrunk the initrd images by a factor 3-4).
>

Thanks I will test!

>
> > Doubt: after this, by default old kernels will be cleaned up in Bullseye
> Vs
> >Buster?
>
> I don't think APT ever cleans up old kernels for you (at least in its
> default configuration).
>

Recently that was fixed at unstable [1]

I found a interesting manpage for this issue [2]

Regards

[1] https://blog.jak-linux.org/2021/02/18/apt-2.2/
[2] https://manpages.debian.org/stretch/byobu/purge-old-kernels.1.en.html

>
>
> Stefan
>
>


Re: chromecast: no audio when casting screen, works with tab

2021-02-13 Thread Javier Barroso
I have just find a posible solution

https://www.linuxuprising.com/2020/04/how-to-cast-your-gnome-shell-desktop-to.html?m=1

I will test it in unstable

Regards

El jue., 17 dic. 2020 10:19, Andrea Borgia  escribió:

>
> Il giorno gio 17 dic 2020 alle ore 07:12 Javier Barroso <
> javibarr...@gmail.com> ha scritto:
>
>>
>> It is a known issue , see
>>
>> https://support.google.com/chromecast/thread/27045993?hl=en
>>
>
> Great find, thanks for the quick response too :)
>
>
>


Re: Future of X, fvwm and wayland

2020-12-22 Thread Javier Barroso
El mar., 22 dic. 2020 14:07, Greg Wooledge  escribió:

> On Mon, Dec 21, 2020 at 08:12:28PM -0500, Jude DaShiell wrote:
> > Last I read wayland had serious accessibility problems.  How does fvwm
> > work with screen readers and similar accessibility items and is fvwm
> > going the way of xWindows?
>
> I have no experience with screen readers, and very little knowledge
> of the subject overall.  I wouldn't *expect* fvwm to work particularly
> well with screen readers, nor to be actively developed at this stage
> in its life cycle.  It's been around for decades.
>
> I just checked fvwm.org and apparently there is a version 3.x of fvwm
> in development, but I didn't go beyond the front page, so I don't
> know how active or how recent that development is, nor what features
> they're looking to add.
>

Seem like It is active

https://github.com/fvwmorg/fvwm3/commits/master

Regards

>
>


Re: chromecast: no audio when casting screen, works with tab

2020-12-16 Thread Javier Barroso
El mié., 16 dic. 2020 23:16, Andrea Borgia  escribió:

> Hi.
>
>
> System in running "Testing", using KDE, I'm trying to get Chromium to send
> audio via Chromecast as well as video.
>
>
> After enabling the relevant flag[1], I've tried casting a single tab and
> playing a video. It worked well, with audio coming from TV.
>
> Stopped the transmission, switched source to desktop and restarted: video
> is shown, audio remains from computer.
>
> Additionally, using Chrome directly (ughs, I know...) I get the same
> results.
>
> On the other hand, with the office laptop using Windows, both Chromium
> (nightly) and Chrome can share full desktop with audio.
>
>
> In short: casting from Linux can only send audio from single tab. This is
> of course a problem for applications without native Chromecast support,
> especially with my own laptop having very weak speakers.
>
> Has anyone more recent information[2]? Pointers to hard evidence
> confirming it won't work are also welcome.
>

It is a known issue , see

https://support.google.com/chromecast/thread/27045993?hl=en

Maybe somebody know how usé ffmpg to send desktop without lag to Chromecast
(my quick test (from the first result on Google/duckeuckgo) was not ok)?

A hipotetical solution would be record Desktop with ffmpeg, use sometype of
proxy to play the recording on a localhost http URL which could be played
from chromium and then send the tab to chromecast

Regards


Re: Apt-get vs Aptitude vs Apt

2020-08-11 Thread Javier Barroso
El mar., 11 ago. 2020 13:31, Andrei POPESCU 
escribió:

> On Vi, 07 aug 20, 13:31:53, Default User wrote:
> > Hey guys,
> >
> > Recently there was a thread about aptitude dependency resolution
> > limitations.
>
> If you are referring to the limitations of 'aptitude why', this 1)
> reverse dependency and 2) apt / apt-get don't even have (an equivalent
> for) this.
>
> > Years ago, I believe I read in the Debian documentation that aptitude was
> > preferred to apt-get, because it seemed to have better dependency
> > resolution.
>
> The dependency resolution of aptitude is more... advanced ;)
>
> Depending on the situation this may or may not be good. While APT's
> dependency resolution is simpler, it is also more predictable.
>
> > Now, we have apt, as well.
>
> The command 'apt' is just another frontend to APT (the package manager),
> same as apt-get, apt-cache, etc. which it is meant to replace for
> interactive use.
>
> The dependency resolution algorithm is the same. It does have different
> defaults though, e.g. 'apt upgrade' is equivalent to
> 'apt-get upgrade --with-new-pkgs'.
>
> > So, all other things being equal, which is currently considered to be the
> > best at dependency resolution?
>
> Just my personal opinion:
>
> For stable (+ updates, security, backports) it doesn't matter, use
> whichever you like best.
>
> For testing or unstable aptitude's interactive dependency resolution can
> be very useful. It may need some tweaking though, according to my
> archive I was using
>
> Aptitude::ProblemResolver::SolutionCost "removals";
>
> to tweak the resolver. This may have changed in the meantime (it's been
> a few releases since I stopped using unstable for my "main" install).
>
> For upgrades between stable releases (also known as a "dist-upgrade"
> because of the 'apt-get' command) always use whatever is recommended in
> the corresponding Release Notes, because that is what was tested and
> found to produce the best results *for that particular distribution
> upgrade*.
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser


I swiched from aptitude to apt-get/apt some years ago

aptitude need love :(

My problem was mixing 64 and 32 bits packages. Seem aptitude didn't do a
good job

Reading Planet debian and transitions and apt-listbugs (or how It is named)
, apt update && apt full-upgrade , run perfect in unstable

Kind regards



>


Instalar cliente VPN en Debian 9

2020-03-19 Thread Javier Fidalgo
Buenas tardes,
Les escribo porque necesito instalar un cliente VPN en mi debian 9.
Estoy buscando alternativas a OpenVPN ya que, este me obliga a tener 
configurado un servidor en el destino.
Después de una exhausta búsqueda no he encontrado alternativas a OpenVPN, 
desconozco si hay más posibilidades.

Muchas gracias,

Javier.


Re: Package install history - logs etc ?

2018-12-03 Thread Javier Barroso
Sorry for the spam :( copy paste from phone)

El lun., 3 dic. 2018 20:04, Javier Barroso  escribió:

>
>
> El lun., 3 dic. 2018 18:02,  escribió:
>
>> On Monday, December 03, 2018 10:21:44 AM Brian wrote:
>> > On Mon 03 Dec 2018 at 14:57:53 +, Curt wrote:
>> > > On 2018-12-03, rhkra...@gmail.com  wrote:
>> > > > On Monday, December 03, 2018 06:02:05 AM Steve Kemp wrote:
>> > > >> > Is there anywhere else I should look?
>> > > >> >
>> > > >>   Take a look at /var/log/dpkg.log* too.
>> > > >
>> > > > (I am not the OP.)  Is there a special tool to look at it -- I
>> tried
>> > > > less and saw nothing, then cat which seemed to show binary gibberish
>> > > > (nothing I could read).
>> > >
>> > > The logs are gzipped periodically (gibberish for less).
>> >
>> > But not for zless.
>>
>> Hmm, I might have found / committed a [p]ebkac, it now seems that, for
>> example:
>>
>> cat /var/log/dpkg.log.* | less
>>
>> ... works fine.  Not sure what I did wrong earlier.  (And they apparently
>> are
>> not gzipped (on my Wheezy system).
>>
>
> I created a script to browse apt history:
>
> https://twitter.com/CiudadanosCs/status/1069505851340349440?s=19
>
> Maybe can be useful for you
>

This os the correct link
https://github.com/i5513/apt-history-gui

Sorry again

>


Re: Package install history - logs etc ?

2018-12-03 Thread Javier Barroso
El lun., 3 dic. 2018 18:02,  escribió:

> On Monday, December 03, 2018 10:21:44 AM Brian wrote:
> > On Mon 03 Dec 2018 at 14:57:53 +, Curt wrote:
> > > On 2018-12-03, rhkra...@gmail.com  wrote:
> > > > On Monday, December 03, 2018 06:02:05 AM Steve Kemp wrote:
> > > >> > Is there anywhere else I should look?
> > > >> >
> > > >>   Take a look at /var/log/dpkg.log* too.
> > > >
> > > > (I am not the OP.)  Is there a special tool to look at it -- I  tried
> > > > less and saw nothing, then cat which seemed to show binary gibberish
> > > > (nothing I could read).
> > >
> > > The logs are gzipped periodically (gibberish for less).
> >
> > But not for zless.
>
> Hmm, I might have found / committed a [p]ebkac, it now seems that, for
> example:
>
> cat /var/log/dpkg.log.* | less
>
> ... works fine.  Not sure what I did wrong earlier.  (And they apparently
> are
> not gzipped (on my Wheezy system).
>

I created a script to browse apt history:

https://twitter.com/CiudadanosCs/status/1069505851340349440?s=19

Maybe can be useful for you

>


Re: ssh config "Include" and bash completion

2018-05-14 Thread Javier Barroso
Hello Greg,

On Mon, May 14, 2018 at 3:35 PM, Greg Wooledge  wrote:
> On Mon, May 14, 2018 at 03:29:22PM +0200, Javier Barroso wrote:
>> Maybe you can improve the script talking / sendind pull request? with
>> żupstream? żhttps://github.com/scop/bash-completion?
>>
>> Thank you !
>
> Not likely to happen.

ok, only was a suggest
>
>> == OFF TOPIC ==
>> An annoying bug on debian (at least for me):
>> $ ls $(bash: unexpected EOF while looking for matching `)'
>> bash: syntax error: unexpected end of file
>
> Does this happen with bash-completion disabled?  Seems OK for me on
> stretch:
>
> wooledg:~$ ls $(
> Display all 1902 possibilities? (y or n)
>
> If the bug only happens with bash-completion enabled, then the bug is
> probably somewhere in bash-completion.
>
Yes, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742466

I think I saw that the bug was fixed at upstream, but now I am not
able to find the fix

Thanks !



Re: ssh config "Include" and bash completion

2018-05-14 Thread Javier Barroso
Hello Greg,

On Mon, May 14, 2018 at 3:19 PM, Greg Wooledge  wrote:
>> local included=$( command sed -ne
>> 's/^[[:blank:]]*[Ii][Nn][Cc][Ll][Uu][Dd][Ee][[:blank:]]\{1,\}\([^#%]*\)\(#.*\)\{0,1\}$/\1/p'
>> "${configfile}" )
>
> So, "included" is a string variable containing the ouput of sed.
>
> If I'm reading that regex correctly, there'll be one pathname per line.
>
>> for i in ${included[@]}; do
>
> But then the function attempts to treat the string variable as an array,
> and then attempts to iterate over the "array" using an unquoted expansion.
>
> Code like this is one reason why I do not use bash-completion.  Any time
> it doesn't fail is just a lucky coincidence.
>
> In this particular instance, it "works" so long as each pathname in
> sed's output contains NO whitespace and NO globbing characters.  The
> array syntax is a total red herring, though -- you get the same result
> (success or failure) just by expanding the string variable with regular
> string expansion syntax.
>
> wooledg:~$ included=$'/foo/bar\n/Program Files/junk'
> wooledg:~$ args ${included[@]}
> 3 args:   
> wooledg:~$ args $included
> 3 args:   
>
> A correct implementation would have "included" be a real array variable,
> initialized by splitting the sed output on newlines, so that each
> pathname becomes one array element.  Then, a *correct* array expansion
> (with double quotes) would work:
>
> wooledg:~$ included=(/foo/bar "/Program Files/junk")
> wooledg:~$ args "${included[@]}"
> 2 args:  
>
> I don't know whether bash-completion is targeting bash 4.x exclusively,
> or older bash versions.  If it's targeting bash 4.x then it could use
> mapfile to initialize the array from sed's output.  Otherwise, it needs
> a loop.
>
Maybe you can improve the script talking / sendind pull request? with
¿upstream? ¿https://github.com/scop/bash-completion?

Thank you !

== OFF TOPIC ==
An annoying bug on debian (at least for me):
$ ls $(bash: unexpected EOF while looking for matching `)'
bash: syntax error: unexpected end of file



Re: ssh config "Include" and bash completion

2018-05-14 Thread Javier Barroso
On Mon, May 14, 2018 at 11:51 AM, Javier Barroso  wrote:
> Hello Hector,
>
> It work for me:
>
> $ grep "Include\|testing" /etc/ssh/ssh_config ; cat /etc/ssh/ssh.d/test
> Include /etc/ssh/ssh.d/test
> Host testing
> Hostname 1.1.1.1
>
> $ ssh test => testing
> $ dpkg -l bash-completion
> Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
> | 
> Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
> |/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
> ||/ Nombre  Versión  Arquitectura
>Descripción
> +++-===---
> ii  bash-completion 1:2.8-1  all
>programmable completion for the bash shell
>
> At bash_completioni script:
>
> $ grep Inclu /usr/share/bash-completion/bash_completion -A10
> # This function look for the "Include" keyword in ssh config files and include
> # them recursively adding each result to the config variable
> _included_ssh_config_files()
> {
> [[ $# -lt 1 ]] && echo "error: $FUNCNAME: missing mandatory argument 
> CONFIG"
> local configfile i f
> configfile=$1
> local included=$( command sed -ne
> 's/^[[:blank:]]*[Ii][Nn][Cc][Ll][Uu][Dd][Ee][[:blank:]]\{1,\}\([^#%]*\)\(#.*\)\{0,1\}$/\1/p'
> "${configfile}" )
> for i in ${included[@]}; do
> # Check the origin of $configfile to complete relative
> included paths on included
> # files according to ssh_config(5):
> --
> # The Included file is processed to look for Included
> files in itself
> _included_ssh_config_files $f
> fi
> done
> done
> } # _included_ssh_config_files()
>
>
> Regards
>
> On Mon, May 14, 2018 at 11:32 AM, Richard Hector  
> wrote:
>> On 14/05/18 20:49, john doe wrote:
>>> On 5/14/2018 8:09 AM, Richard Hector wrote:
>>>> Hi all,
>>>>
>>>> I recently started using the Include directive in my .ssh/config file -
>>>> so all the definitions are now in .ssh/config.d/.
>>>>
>>>> Now bash completion of hostnames no longer works. Is this expected
>>>> behaviour? Anyone know how to fix it, without reverting to a single file?
>>>>
>>>
>>> The only work around I can think of is:
>>>
>>> $ cat ~/.ssh/config
>>> host x
>>> include ~/.config.d/x
>>>
>>> $ cat ~/.ssh/config.d/x
>>> hostname x.example.com
>>>
>>
>> Meaning all my hosts need to be specified in both places? Not really
>> convenient.
>>
>> I don't actually use one file per host; I use one per 'group' -
>> generally a client, or perhaps a vm or container host.
>>
>> I assume there's a way to modify the bash completion config, but I
>> haven't looked at that. (Now I have, and it's ... going to require
>> further study.)
>>
>> Richard
>>
Sorry for the top posting (and this second mail :( )



Re: ssh config "Include" and bash completion

2018-05-14 Thread Javier Barroso
Hello Hector,

It work for me:

$ grep "Include\|testing" /etc/ssh/ssh_config ; cat /etc/ssh/ssh.d/test
Include /etc/ssh/ssh.d/test
Host testing
Hostname 1.1.1.1

$ ssh test => testing
$ dpkg -l bash-completion
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| 
Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre  Versión  Arquitectura
   Descripción
+++-===---
ii  bash-completion 1:2.8-1  all
   programmable completion for the bash shell

At bash_completioni script:

$ grep Inclu /usr/share/bash-completion/bash_completion -A10
# This function look for the "Include" keyword in ssh config files and include
# them recursively adding each result to the config variable
_included_ssh_config_files()
{
[[ $# -lt 1 ]] && echo "error: $FUNCNAME: missing mandatory argument CONFIG"
local configfile i f
configfile=$1
local included=$( command sed -ne
's/^[[:blank:]]*[Ii][Nn][Cc][Ll][Uu][Dd][Ee][[:blank:]]\{1,\}\([^#%]*\)\(#.*\)\{0,1\}$/\1/p'
"${configfile}" )
for i in ${included[@]}; do
# Check the origin of $configfile to complete relative
included paths on included
# files according to ssh_config(5):
--
# The Included file is processed to look for Included
files in itself
_included_ssh_config_files $f
fi
done
done
} # _included_ssh_config_files()


Regards

On Mon, May 14, 2018 at 11:32 AM, Richard Hector  wrote:
> On 14/05/18 20:49, john doe wrote:
>> On 5/14/2018 8:09 AM, Richard Hector wrote:
>>> Hi all,
>>>
>>> I recently started using the Include directive in my .ssh/config file -
>>> so all the definitions are now in .ssh/config.d/.
>>>
>>> Now bash completion of hostnames no longer works. Is this expected
>>> behaviour? Anyone know how to fix it, without reverting to a single file?
>>>
>>
>> The only work around I can think of is:
>>
>> $ cat ~/.ssh/config
>> host x
>> include ~/.config.d/x
>>
>> $ cat ~/.ssh/config.d/x
>> hostname x.example.com
>>
>
> Meaning all my hosts need to be specified in both places? Not really
> convenient.
>
> I don't actually use one file per host; I use one per 'group' -
> generally a client, or perhaps a vm or container host.
>
> I assume there's a way to modify the bash completion config, but I
> haven't looked at that. (Now I have, and it's ... going to require
> further study.)
>
> Richard
>



Re: Thunderbird almost unusable after upgrade

2017-08-12 Thread Javier Barroso
On Sat, Aug 12, 2017 at 5:49 AM, Jape Person  wrote:
> On 08/11/2017 06:27 PM, Javier Barroso wrote:
>>
>> Hello,
>>
>> On Fri, Aug 11, 2017 at 9:43 PM, Sven Hartge  wrote:
>>>
>>> Sven Joachim  wrote:
>>>>
>>>> On 2017-08-10 10:24 -0400, Jape Person wrote:
>>>
>>>
>>>>> After this upgrade
>>>>>
>>>>> thunderbird:amd64 (1:52.2.1-4, 1:52.2.1-4+b1)
>>>>>
>>>>> Thunderbird in Cinnamon DE is almost completely useless because
>>>>> portions of its windows / text / toolbars don't repaint until the
>>>>> window is resized. Is anyone else seeing this?
>>>
>>>
>>>> Yes, see https://bugs.debian.org/871629.
>>>
>>>
>>> Confirmation: Rebuilding 1:52.2.1-4 with gcc-6/g++-6 as the compiler
>>> fixes the problem.
>>
>>
>> You can also download thunderbird and its addons from
>> http://snapshot.debian.org/package/icedove/1%3A52.2.1-4/, selecting
>> your architecture
>>
>> See what packages have you installed from icedove them:
>>
>>   aptitude search '?and(?source-package(icedove),?installed)'
>>
>> Download to Download/icedove and install with apt install
>> ./Download/icedove/*.deb
>>
>> Regards
>>
>>
>
> I was just getting frustrated enough to do the recompile. Ugh. I'm old, have
> poor eyesight, and was not anxious to do that while recovering from
> pneumonia.
>
> I'll give it a shot.
>
> Thank you much for the reminder. I used to love to do things the hard way,
> but that's not my thing any more. Just spent today doing a system
> installation and configuration for a system that lost a solid state drive.
>
> JP
>
It is solved in sid now (maintainer rebuild it with gcc 6)

Regards



Re: Thunderbird almost unusable after upgrade

2017-08-11 Thread Javier Barroso
Hello,

On Fri, Aug 11, 2017 at 9:43 PM, Sven Hartge  wrote:
> Sven Joachim  wrote:
>> On 2017-08-10 10:24 -0400, Jape Person wrote:
>
>>> After this upgrade
>>>
>>> thunderbird:amd64 (1:52.2.1-4, 1:52.2.1-4+b1)
>>>
>>> Thunderbird in Cinnamon DE is almost completely useless because
>>> portions of its windows / text / toolbars don't repaint until the
>>> window is resized. Is anyone else seeing this?
>
>> Yes, see https://bugs.debian.org/871629.
>
> Confirmation: Rebuilding 1:52.2.1-4 with gcc-6/g++-6 as the compiler
> fixes the problem.

You can also download thunderbird and its addons from
http://snapshot.debian.org/package/icedove/1%3A52.2.1-4/, selecting
your architecture

See what packages have you installed from icedove them:

 aptitude search '?and(?source-package(icedove),?installed)'

Download to Download/icedove and install with apt install
./Download/icedove/*.deb

Regards



Re: Bash Question

2017-07-05 Thread Javier Barroso
Hi,

On Wed, Jul 5, 2017 at 11:12 PM, Rainer Dorsch  wrote:
> Hi,
>
>
>
> can anybody help to explain what is going on here ?
>
>
>
>
>
> rd@mohot:~$ echo $SHELL
> /bin/bash
> rd@mohot:~$ if [ "abc" > "dec" ]; then echo bad; fi
> bad
> rd@mohot:~$ if [ "abc" < "dec" ]; then echo good; fi
> good
> rd@mohot:~$
>
> How can abc sort before and after dec at the same time?

You need to scape "<" and ">":

if [ "abc" \> "dec" ] ; then ... ;fi
if [ "abc" '>' "dec" ]; then ... ; fi
if [ "abc" ">" "dec" ]; then ... ; fi


Delete "dec" file, ( ">" is redirection in bash, so you was creating that file

Regards



Re: When do I use perl, awk, sed, grep, cut etc.. Was[OT] get all devices from a vendor from pci.ids

2017-01-06 Thread Javier Barroso
Hello,

On Fri, Jan 6, 2017 at 10:46 PM, Floris  wrote:
>>> So every Debian user has the perl command?
>>
>> Not only Debian users, the vast majority of linux / unix users have
>> perl installed (maybe now that android is here, this statement is not
>> true any more ...
>>
>> With awk:
>> awk -v vendor=0e11 'p == 1 && /^[^[:space:]]/ { p=0; } $0 ~ "^"vendor"
>> " {p=1;} p' /usr/share/misc/pci.ids
>>
>> With sed:
>> sed -ne '/^0e11/p' -e '/^0e11/,/^[^[:space:]]/ { /^[^[:space:]]/d ; p
>> }'  /usr/share/misc/pci.ids
>>
>> Wrapping to script which get an argument is easy
>>
>> Regards
>>
>
> Thanks for your answer, and the next question pops in.
>
> Is there a "rule" when I use perl, awk, sed, grep, cut etc. in a script?
> Often I find multiple solutions on the Internet to achieve the same output.
>
> A simple example:
>
> cut -d: -f2
> or
> awk -F: '{ print $2 }'
>
> Is the one better as the other (CPU/RAM usage), or is it just "taste"

I'm pretty sure that there are tools to help meassure ram / cpu used
by a shell script and then present result (max / min / media ...), but
I don't know any one (maybe memusg from a quick google search). I
would limit memory though ulimit -m to the memory that I would have to
run the script.

If a tool will not be executed thousands of times is irrelevant if it
is using cut / awk or another shell basic command. Why would you spend
more time on an script to optimize it if it won't run many times?
Even, if it will be executed by cron task, It is not important if it
takes one second, or ten seconds. Of course if it is a public script
is important, you don't know how many times it will be executed, the
less time take the script , less time are lost by future users ...

For a simple cpu benchmark, sorted by real and user % cpu:

$ time for i in {1..1000} ; do ./test_awk > /dev/null ; done

real0m33,671s
user0m28,384s
sys 0m1,228s
$ time for i in {1..1000} ; do ./test_bash > /dev/null ; done

real0m29,404s
user0m26,708s
sys 0m1,344s
$ time for i in {1..1000} ; do ./test_sed > /dev/null ; done

real0m16,765s
user0m12,452s
sys 0m0,820s
$ time for i in {1..1000} ; do ./test_perl > /dev/null ; done

real0m15,932s
user0m11,344s
sys 0m0,564s

# test_bash:

id="${1:-0e11}"
while IFS=\0 read line
do
if [[ "$line" =~ ^$id[[:space:]].* ]]
then
echo "$line"
p=1
continue
fi
if [ "$p" = 1 ] && [[ "$line" =~ ^[[:space:]] ]]
then
echo "$line"
fi
if [[ "$line" =~ ^[^[:space:]] ]] && [ "$p" = 1 ]
then
exit 0
fi

done  < /usr/share/misc/pci.ids

Regards,



Re: [OT] get all devices from a vendor from pci.ids

2017-01-06 Thread Javier Barroso
Hello,

On Thu, Jan 5, 2017 at 9:13 PM, Floris  wrote:
> Op Thu, 05 Jan 2017 21:07:10 +0100 schreef Nicolas George :
>
>
>> Le sextidi 16 nivôse, an CCXXV, Floris a écrit :
>>>
>>> Thanks! But I prefer a solution with "essential" Debian software/
>>> packages
>>
>>
>> ~ $ dpkg -S =perl
>> perl-base: /usr/bin/perl
>> ~ $ dpkg -s perl-base | head -n 2
>> Package: perl-base
>> Essential: yes
>
>
> Sorry, I only looked at the perl package
> dpkg -s perl
> Package: perl
> Status: install ok installed
> Priority: standard
> Section: perl
>
> So every Debian user has the perl command?
Not only Debian users, the vast majority of linux / unix users have
perl installed (maybe now that android is here, this statement is not
true any more ...

With awk:
awk -v vendor=0e11 'p == 1 && /^[^[:space:]]/ { p=0; } $0 ~ "^"vendor"
" {p=1;} p' /usr/share/misc/pci.ids

With sed:
sed -ne '/^0e11/p' -e '/^0e11/,/^[^[:space:]]/ { /^[^[:space:]]/d ; p
}'  /usr/share/misc/pci.ids

Wrapping to script which get an argument is easy

Regards



Re: [OT] get all devices from a vendor from pci.ids

2017-01-05 Thread Javier Barroso
Hello,


On Thu, Jan 5, 2017 at 6:00 PM, Floris  wrote:
> Op Wed, 04 Jan 2017 17:27:55 +0100 schreef Floris :
>
>
>> (Not really a Debian question, but I know there are smart people on this
>> list.)
>>
>> I want to search the pci.ids file (from the pciutils package) for all
>> Compaq devices.
>> Pci ID's 0e11: , 1032: and 10da: matches Compaq.
>> Unfortunately, only at a beginning of a list the id of the vendor is printed
>> in column 1. The id of the devices are printed in column 2, with an empty
>> first column.
>>
>> (part of pci.ids)
>> ...
>> 0e11  Compaq Computer Corporation
>> 0001  PCI to EISA Bridge
>> 0002  PCI to ISA Bridge
>> 0046  Smart Array 64xx
>> 0e11 4091  Smart Array 6i
>> 0e11 409a  Smart Array 641
>> 0e11 409b  Smart Array 642
>> 0e11 409c  Smart Array 6400
>> 0e11 409d  Smart Array 6400 EM
>> 0049  NC7132 Gigabit Upgrade Module
>> 004a  NC6136 Gigabit Server Adapter
>> ...
>> c000  Remote Insight Lights-Out Edition
>> f130  NetFlex-3/P ThunderLAN 1.0
>> f150  NetFlex-3/P ThunderLAN 2.3
>> 0e55  HaSoTec GmbH
>> ...
>>
>> Is there an awk, grep and or sed solution?
>>
>> Floris
>>
>
> an other solution would be something like:
>
> # cat pci.ids | {magic-command} 0e11:004a
> NC6136 Gigabit Server Adapter
>
> what is the magic command?

Using perl:

perl -ne 'print if (/^0e11/.../^\S/) and (/^\s/) or (/^0e11/);'
/usr/share/misc/pci.ids



Re: New software suggestion - whom to ask?

2016-07-20 Thread Javier Barroso
Hello,

On Wed, Jul 20, 2016 at 3:32 PM, Hans  wrote:
> Dear community,
>
> I found a new software, which IMHO might be interesting for debian. However,
> there is still no debian package available.
>
> Who can I ask, and will decide, if a software is worth to be added into the
> repo of debian?

You may open a RFP bug (Request For Package). I think it is a good
idea making a research about alternatives and asking here to similar
programs

See next two links:

https://wiki.debian.org/RFP
https://www.debian.org/devel/wnpp/

Regards,



Re: jessie install cd no network

2016-06-03 Thread Javier Marcon
Thanks, the problem is with realtek pci and pci express ethernet cards.
I will try to find the module to add in /lib/firmware in the
installation cd to see if it works. the weird thig is that after
installing, the intalled debian uses the cards perfectly (but debian
installer) does not recognize them. The solution would be to make debian
installer cd to use the same kernel that installs, but I don't know how
to do it.

Thanks,

Javier.

El 03/06/16 a las 09:23, Haines Brown escribió:
> Javier, I reply privately because of my ignorance.
>
> If I understand correctly, you are saying that Jessie's base packages do
> not include firmware-ralink (because not open source?) and so you lack
> the wireless driver needed by your wireless card (such as rt2860.bin).
>
> This is an old problem. I've experienced it in terms of a netinst from a
> USB key. Early in the installation, the installer says it lacks
> necessary software and asks if you want to add it at this point. I've
> always just hooked up an ethernet cable, but my sense is that you can
> insert a key having on it /lib/firmware/ and the installer will
> use it.
>
> I have no idea about a CDROM installation, for I've not done that for some
> time. Perhaps a CDROM installation does not prompt you for the driver. I
> should also add that my recent experience is not with Debian, but with
> the Devuan fork of Jessie Debian.
>
> There's plenty of discussion of the issue on line, but just putting the
> drive on a key does not seem to work, and the reason may be that you must
> construction the /lib/firmware/ directory structure for it.
>
> Haines Brown
>
>



jessie install cd no network

2016-06-03 Thread Javier Marcon
Hello, I downloaded the Jessie install cd and added a preseed file to
automatically install some packages, but running the install cd does not
recognize the realtek network cards, telling me that no network hardware
was detected.

If I install it in a Virtualbox machine (with a phisical disk mapped)
and then I boot with that disk, the network cards work perfectly.

the cards I have are:

javier@javier-System-Product-Name:~$ lspci | grep -i ethernet
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)

How can I make the debian installer to automatically boot these modules
in the kernel?

Thanks,

Javier.



Re: Re: "lvmetad is not active yet"

2016-05-10 Thread Javier Carreño
this solved to me https://forum.dug.net.pl/viewtopic.php?pid=292809


Re: trying to optimize find's searches ...

2016-03-06 Thread Javier Barroso
Hello Albretch,

On Sat, Mar 5, 2016 at 6:23 AM, Albretch Mueller  wrote:
> find works significantly faster when you bag various search patterns á la:
>
> -iname '*.ko' -or -iname '*.bin' -or -iname '*.txt'
>
> but, how could you do that using a batch strategy and setting a
> variable with many "-[i]name ... -or -[i]name ..." cases?
>
> line-by-line strategies are too slow

I'm not sure what are you saying, but maybe you can play with locate
and updatedb commands (from mlocate package)

See:

$ function clean { sudo sync; echo 3 | sudo tee
/proc/sys/vm/drop_caches &> /dev/null ; } # so cache fs not count on
your test

$ clean ; time locate --regex '\.(ko|bin|txt)$' &> /dev/null

real 0m1.666s
user 0m0.592s
sys 0m0.164s

$ clean; time ( sudo find  / -iname '*.ko' -or -iname '*.bin' -or
-iname '*.txt' &> /dev/null)

real 0m57.579s
user 0m11.264s
sys 0m11.000s

See "man updatedb locate" and /etc/cron.daily/mlocate

Regards,



Re: help using apt-build

2016-03-06 Thread Javier Barroso
Hello  Michael,

On Sun, Mar 6, 2016 at 11:42 AM, Michael Fothergill
 wrote:
>
>
> On 5 March 2016 at 20:00, Javier Barroso  wrote:
>>
>> Hello,
>>
>> On Sat, Mar 5, 2016 at 3:48 PM, Michael Fothergill
>>  wrote:
>> >
>> >
>> > On 23 February 2016 at 18:46, Javi Barroso 
>> > wrote:
>> >>
>> >> Hello,
>> >>
>> >> El 23 de febrero de 2016 18:08:32 CET, Michael Fothergill
>> >>  escribió:
>> >> >Dear Folks,
>> >> >
>> >> >I tried using apt-build to install a source file:
>> >> >
>> >> >root@rhubarb:/home/michaelmikef/Downloads# ls -l adun*
>> >> >
>> >> >-rw-r--r-- 1 michaelmikef michaelmikef 1395 Feb 23 16:36
>> >> >adun.app_0.81-6.dsc
>> >> >
>> >> >root@rhubarb:/home/michaelmikef/Downloads# apt-build install
>> >> >adun.app_0.81-6.dsc
>> >> >
>> >> >W: Unable to locate package adun.app_0.81-6.dsc
>> >> >Unable to find source candidate for adun.app_0.81-6.dsc
>> >> >
>> >> >What am I doing wrong here?
>> >>
>> >> I think you need add deb-src line to your apt source list, so it can
>> >> download from internet (I think you need the name of the package and
>> >> not the
>> >> name of the file) and then build the package
>> >>
>> >> Maybe you can use --source to tell apt-build to not download the
>> >> source.
>> >> See the man page and its sinopsis
>> >
>> >
>> > I couldn't make apt-build work but the apt build dep command did work
>> > -however I think that some dependencies are missing in stretch that
>> > would be
>> > there in jessie
>> >
>> > I have a jessie install and I will use that instead for this.
>>
>> Hello,
>>
>> At debian sid apt-build is working:
>>
>> # apt update
>> # apt-build source-build adun.app
>> # ls /var/cache/apt-build/repository/
>> adun.app_0.81-7+aptbuild1_amd64.deb
>> adun-core_0.81-7+aptbuild1_amd64.deb Packages.gz
>> adun.app-dbg_0.81-7+aptbuild1_amd64.deb  dists/
>>Release
>>
>> Build directory on /var/cache/apt-build/build
>
>
> I did apt update:
>
> It worked OK except for a gripe about some i386 packages -
>
> Reading package lists... Done
> N: Skipping acquire of configured file 'main/binary-i386/Packages' as
> repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't
> support architecture 'i386'

To fix it, you need to change
/etc/apt/sources.list.d/google-chrome.list to read:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


> W: Failed to fetch
> file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> File not found -
> /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> (2: No such file or directory)
> E: Some index files failed to download. They have been ignored, or old ones
> used instead.
>
> I then checked the repository directory:
>
> root@rhubarb:/var/cache/apt-build/build# ls /var/cache/apt-build/repository
>
> dists  Packages.gz  Release
>
> I then tried the command
>
> root@rhubarb:/var/cache/apt-build/build# apt-build build-source adun.app
> E: Unable to find a source package for adun.app
> Some error occured building package
>
> What I am doing wrong here?

Seems like adun.app was removed from stretch [1], but that it is on
sid [2] but cannot be installed/migrated on/to stretch [3]

Maybe you can try to add deb-src unstable (sid) line to sources.list
and try again (not sure if all build depends will be on stretch).

I hope that help

Regards,

[1]  https://packages.qa.debian.org/a/adun.app/news/20150711T163912Z.html
[2] https://packages.debian.org/sid/adun.app
[3] https://release.debian.org/migration/testing.pl?package=adun.app



Re: help using apt-build

2016-03-05 Thread Javier Barroso
Hello,

On Sat, Mar 5, 2016 at 3:48 PM, Michael Fothergill
 wrote:
>
>
> On 23 February 2016 at 18:46, Javi Barroso  wrote:
>>
>> Hello,
>>
>> El 23 de febrero de 2016 18:08:32 CET, Michael Fothergill
>>  escribió:
>> >Dear Folks,
>> >
>> >I tried using apt-build to install a source file:
>> >
>> >root@rhubarb:/home/michaelmikef/Downloads# ls -l adun*
>> >
>> >-rw-r--r-- 1 michaelmikef michaelmikef 1395 Feb 23 16:36
>> >adun.app_0.81-6.dsc
>> >
>> >root@rhubarb:/home/michaelmikef/Downloads# apt-build install
>> >adun.app_0.81-6.dsc
>> >
>> >W: Unable to locate package adun.app_0.81-6.dsc
>> >Unable to find source candidate for adun.app_0.81-6.dsc
>> >
>> >What am I doing wrong here?
>>
>> I think you need add deb-src line to your apt source list, so it can
>> download from internet (I think you need the name of the package and not the
>> name of the file) and then build the package
>>
>> Maybe you can use --source to tell apt-build to not download the source.
>> See the man page and its sinopsis
>
>
> I couldn't make apt-build work but the apt build dep command did work
> -however I think that some dependencies are missing in stretch that would be
> there in jessie
>
> I have a jessie install and I will use that instead for this.

Hello,

At debian sid apt-build is working:

# apt update
# apt-build source-build adun.app
# ls /var/cache/apt-build/repository/
adun.app_0.81-7+aptbuild1_amd64.deb
adun-core_0.81-7+aptbuild1_amd64.deb Packages.gz
adun.app-dbg_0.81-7+aptbuild1_amd64.deb  dists/
   Release

Build directory on /var/cache/apt-build/build

Regards,
PD: apt-build need love :(
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365427



Re: How to VNC to active screen on remote system.

2016-02-24 Thread Javier Vasquez
> On Wed, Feb 24, 2016 at 11:50 AM, Dennis Wicks  wrote:
> ...
> What is the program that will connect to the current session on the remote
> system? I have used it before but I can't remember what it was.

Are you looking for x11vnc [1][2] on the host you want to see?  If so,
tigervnc and others can be the vnc xlients...

-- 
Javier

[1]  http://www.karlrunge.com/x11vnc
[2]  https://wiki.archlinux.org/index.php/X11vnc



[debian-user] thunderbird proxy env. vars for socks

2016-02-15 Thread Javier Vasquez
Hi,

I'm familiar with proxy envirnoment variables such as (both lower and
upper case versions):

use_proxy
soap_use_proxy
http_proxy
https_proxy
ftp_proxy
rsync_proxy
no_proxy
all_proxy

Thunderbird at least pay attention to some of them, and honestly,
before I haven't needed anything else.

However, inside the company, I need to setup manually under TB:

SOCKS Host:  <...>  Port:  <...>

As SOCKS v5.  Where the socks host is the same as the other proxy
hosts, but its socks port must be different than the rest.

I don't use any DE, but I have some automation through bash+xinitrc
which depends on how to set the env. vars, so that I only need to set
on TB/FF "use system proxy settings".

I've tried several possible env. vars (both lower and upper case) like:

socks_proxy
socks_server
socks_version
smtp_proxy="socks5://:"

So far I haven't been able to get any possitive results.

Does any one know how I might be able to set socks for TB through env. vars?

Thanks,


-- 
Javier



Re: Regex filter in icedove

2016-02-09 Thread Javier Barroso
Hello,

On Tue, Feb 9, 2016 at 10:30 PM, Reco  wrote:
> Hi.
>
> On Tue, 09 Feb 2016 11:28:21 -0800
> Gary Roach  wrote:
>
>> Hi all;
>>
>> I am plagued with junk mail with non-asci characters in the subject
>> line. There is a "Subject Regex Match" filter in the message filter
>> applicateion in icedove. I would like to filter out all messages with
>> non-ascii characteristics in the subject. I have tried [\x126-\x255],
>> [^[\x00-\x75]], [\x76-\xFF] and [^[:ascii:]]. None work. I can't find
>> documentation for this function. Since there are several different
>> flavors of regex I really don't know what I am doing. Can anyone help.
>
> Icedove is based on libxul, and libxul is using libpcre for regular
> expression support. pcrepattern(3) describes some really nice patterns
> that are worth trying in your case.
>
> For example:
>
> [^\p{Latin}|\p{Common}]
>
> Of course, if it does not work (I don't use Icedove myself) - you can
> assume that this "Subject Regex Match" does not even try to decode
> actual Subject field (hint - it's not a pretty sight unless it's pure
> ASCII), and try this instead:
>
> ^=\?[^\?]+\?(b|u)

I suspect that will not work, I remember me searching a ip address and
not working, but I cannot find any reference now.

There is a search addon [1] which would have to work

I hope that help
[1] https://addons.mozilla.org/es/thunderbird/addon/gmailui/



Re: sexist content in the package openclipart2-png

2015-12-31 Thread Javier Barroso
Hello,

On Thu, Dec 31, 2015 at 12:15 PM, Fernando Arenas  wrote:
> First my sincere congratulations to the entire team that works every day to
> improve this wonderful operating system.
> The reason for writing to you is to have found in a package called
> openclipart2 clipsarts clearly sexist content in which women are presented
> as sex objects. So I ask you to withdraw these images and improve its
> protocols for such content is not put back into their servers.
> I hate that my children may find these images when they perform their work
> for the school.
> Only in Spain during 2015 male violence he has killed 62 women. Do not you
> contribute to promoting ideas about women favoring these behaviors.
>
> greetings from
> Fernando Arenas
>
> https://packages.debian.org/wheezy/all/openclipart2-png/filelist
> https://packages.debian.org/sid/all/openclipart2-png/filelist

As workaround, you can create a dpkg config file on
/etc/dpkg/dpkg.cfg.d/ (maybe called openclipart2-exclusions)  with:

path-exclude /usr/share/openclipart2/png/gustavorezende/gustavorezende_Wom*
path-exclude /usr/share/openclipart2/png/

Then do apt-get --reinstall install openclipart2  , and files listed
there should not be installed

Regards



Re: How to interpret transitions list?

2015-11-23 Thread Javier Barroso
Hello,

On Fri, Nov 20, 2015 at 3:06 PM, Jonas  wrote:
> Is there anywhere a kind of Howto or overview, how to interpret (as 
> non-Debian-developper) a Debian transition overview page?
> For example
> https://release.debian.org/transitions/html/libstdc++6.html
>
> konsole, kate and a lot of others are marked red / "bad"
>
> Does that mean they will be unusable if I do
> aptitude full-upgrade
>
> FYI:
> it's a Debian testing box that wasn't updated for the last two or three 
> months, so aptitude reports ~1650 packages to update, libstdc++6 is still on 
> 5.1.1 and gcc-5 not yet installed.
>
> aptitude -s full-upgrade
> doesn't show any problem with kate, konsole, etc...
>
> Why there seems to be a problem with regard to the transistion-status 
> overview page, but not with aptitude?
>
> Is there a way to find out in advance which packages might make trouble after 
> such a big update?
>

I think you can try to upgrade if apt-get or aptitude is fine with such upgrade.

Let's go and see a smaller transition, so we can understand it. I
chose for example librabbitmq transition [1]

Maintainer or maybe some script (that is an "auto-transition"), define
which packages will be rebuilded on such transition:

Affected: .depends ~ /\b(librabbitmq4|librabbitmq1)\b/
Good: .depends ~ /\b(librabbitmq4)\b/
Bad: .depends ~ /\b(librabbitmq1)\b/

That mean that if a package has a depend on librabbitmq1 it will have
a red check, because it is still depending on a older build-dep. If
the package has been build with librabbitmq4 it will show a green
check.

In this case, the first dependency level is librabbitmq (itself), and
then the second level are the packages which need to be build with the
packages that are on the first dependency level. If there were an
third level, the packages on this third level would need some of the
packages on second level to be built.

You can see which build depends have a package with apt-cache showsrc
xxx. I'm sure debtree could help to visualize the transition, but
after play two minutes with it, i did not sucess to put an example
here.

You can found more info about transitions on wiki [2]

I hope that help.

Regards,

[1] https://release.debian.org/transitions/html/auto-librabbitmq.html
[2] https://wiki.debian.org/OngoingTransitions



Re: apt-* and aptitude

2015-11-22 Thread Javier Barroso
Hello,

On Sun, Nov 22, 2015 at 12:23 AM, Lisi Reisz  wrote:
> On Saturday 21 November 2015 13:10:47 Javi Barroso wrote:
>> I think that using multiarch is a problem for aptitude.
>
> I've not had a problem using multiarch with aptitude on Wheezy.  I hope that
> those are not famous last words.


At sid, with multiarch installed, aptitude want to remove wine32:i386,
apt will maintain it and not remove any useful package:

LANG=C sudo aptitude full-upgrade
The following NEW packages will be installed:
  libamd2.4.1{a} libcamd2.4.1{a} libccolamd2.9.1{a} libcholmod3.0.6{a}
libcolamd2.9.1{a} libsuitesparseconfig4.4.5{a} libumfpack5.7.1{a}
  libwireshark6{a} libwiretap5{a} libwsutil6{a} wireshark-qt{a}
The following packages will be REMOVED:
  firebird2.5-common{u} firebird2.5-common-doc{u} libamd2.3.1{u}
libcamd2.3.1{u} libccolamd2.8.0{u} libcholmod2.1.2{u}
libcolamd2.8.0{u}
  libumfpack5.6.2{u} libwine-gecko-2.21{u} libwireshark5{u}
libwiretap4{u} libwsutil4{u}
The following packages will be upgraded:
  android-tools-adb android-tools-fastboot cpp-5
firebird2.5-server-common{b} fonts-wine g++-5 gcc-5 gcc-5-base
gcc-5-base:i386
  libalgorithm-c3-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan2 libatomic1 libcc1-0 libcilkrts5
libfbclient2{b}
  libfbembed2.5{b} libfreetype6 libfreetype6:i386 libfreetype6-dev
libgc1c2 libgcc-5-dev libgcc1 libgcc1:i386 libgegl-0.3-0 libgfortran3
  libgnutls-deb0-28:i386{b} libgomp1 libitm1 liblsan0 libmpx0
libobjc-5-dev libobjc4 libosgi-foundation-ee-java libpango-perl
libpcre16-3
  libpcre3 libpcre3:i386 libpcre3-dev libpcre32-3 libpcrecpp0v5
libphobos-5-dev libquadmath0 libsocket-perl libssh-4 libssh-dev
libssh-gcrypt-4
  libstdc++-5-dev libstdc++6 libstdc++6:i386 libthai-data libthai0
libthai0:i386 libtsan0 libubsan0 libwine libwine:i386
libwine-development
  libwine-development:i386 libwireshark-data lp-solve poppler-data
python-selenium tor tor-geoipdb tshark wine wine32:i386
  wine32-development:i386 wine64 wine64-development wireshark
wireshark-common xmlto
The following packages are RECOMMENDED but will NOT be installed:
  fonts-wine-development wine-development
75 packages upgraded, 11 newly installed, 12 to remove and 0 not upgraded.
Need to get 185 MB of archives. After unpacking 85.4 MB will be freed.
The following packages have unmet dependencies:
 firebird2.5-server-common : Depends: firebird2.5-common-doc (=
2.5.5.26952.ds4-1) but it is not going to be installed.
 libgnutls-deb0-28 : Breaks: libgnutls-deb0-28:i386 (!= 3.3.18-1) but
3.3.19-1 is to be installed.
 libgnutls-deb0-28:i386 : Breaks: libgnutls-deb0-28 (!= 3.3.19-1) but
3.3.18-1 is installed.
 libfbclient2 : Depends: firebird2.5-common (= 2.5.5.26952.ds4-1) but
it is not going to be installed.
Depends: firebird2.5-common-doc (= 2.5.5.26952.ds4-1)
but it is not going to be installed.
 libfbembed2.5 : Depends: firebird2.5-common (= 2.5.5.26952.ds4-1) but
it is not going to be installed.
 Depends: firebird2.5-common-doc (= 2.5.5.26952.ds4-1)
but it is not going to be installed.
The following actions will resolve these dependencies:

  Remove the following packages:
1)  firebird2.5-server-common
2)  libatk-adaptor:i386
3)  libcups2:i386
4)  libfbclient2
5)  libfbembed2.5
6)  libgail-common:i386
7)  libgail18:i386
8)  libgnutls-deb0-28:i386
9)  libgtk2.0-0:i386
10) libldap-2.4-2:i386
11) libreoffice-sdbc-firebird
12) libwine:i386
13) libwine-development:i386
14) wine32:i386
15) wine32-development:i386

  Leave the following dependencies unresolved:
16) libreoffice-base-drivers recommends libreoffice-sdbc-firebird
17) wine64 recommends wine32 (< 1.8~rc1-1.1~)
18) wine64-development recommends wine32-development (< 1.7.55-4.1~)
19) googleearth-package recommends libldap-2.4-2:i386
20) libqtgui4:i386 recommends libcups2:i386

$ sudo LANG=C apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically
installed and are no longer required:
  libamd2.3.1 libcamd2.3.1 libccolamd2.8.0 libcholmod2.1.2
libcolamd2.8.0 libumfpack5.6.2 libwine-gecko-2.21 libwireshark5
libwiretap4 libwsutil4
  linux-image-4.1.0-1-amd64
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  libamd2.4.1 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6
libcolamd2.9.1 libsuitesparseconfig4.4.5 libumfpack5.7.1 libwireshark6
libwiretap5
  libwsutil6 wireshark-qt
The following packages have been kept back:
  libgnutls-deb0-28:i386
The following packages will be upgraded:
  android-tools-adb android-tools-fastboot cpp-5 fonts-wine g++-5
gcc-5 gcc-5-base gcc-5-base:i386 libalgorithm-c3-perl
libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan2 libatomic1 libcc1-0 libcilkrts5
libfreetype6 libfreetype6:i386 libfreetype6-dev libgc1c2 libgcc-5-dev
libgcc1
  libgcc1:i386 libg

Re: Debian sid transition to KDE 5?

2015-09-15 Thread Javier Barroso
Hello,

2015-09-15 20:48 GMT+02:00  :
> If I give apt-get update, I get
>
> root@debian:/home/andrea# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   akonadi-backend-mysql akonadi-server akregator apper appstream-index apt
> apt-utils aptitude aptitude-common ark asymptote bluedevil build-essential
> cdrdao chromium
>   coinor-libcgl1 coinor-libclp1 cpp cups-filters cups-filters-core-drivers
> darktable darktable-dbg dolphin dragonplayer ffmpeg2theora ffmpegthumbs
> filezilla filezilla-common
>   firebird2.5-server-common g++ gcc gcc-5-base gcc-5-base:i386 gdb gdisk
> gfortran ghostscript glib-networking glib-networking-services gnupg-agent
> gnupg2 gnuplot
>   gstreamer0.10-plugins-good gstreamer1.0-libav gstreamer1.0-plugins-bad
> gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gwenview handbrake hugin
> hugin-data hugin-tools
>   icedtea-7-jre-jamvm iceweasel icu-devtools juk k3b kaddressbook kate
> kate-data katepart kde-baseapps kde-plasma-desktop kde-runtime kde-standard
> kde-style-oxygen
>   kde-window-manager kde-workspace kde-workspace-bin kde-workspace-data
> kde-workspace-kgreet-plugins kdelibs-bin kdelibs5-data kdelibs5-plugins
> kdepim-kresources kdepim-runtime
>   kdepimlibs-kio-plugins kdeplasma-addons-data kdm kdoctools kinfocenter
> kmail knotes konsole kontact kopete korganizer kscreen kwrite libaacs0
> libakonadi-calendar4
>   libakonadi-contact4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4
> libakonadi-notes4 libakonadiprotocolinternals1 libappstream2
> libasound2-plugins libasound2-plugins:i386
>   libasprintf-dev libatomic1 libavcodec-dev libavformat-dev
> libavresample-dev libavutil-dev libbaloofiles4 libbaloopim4 libbalooxapian4
> libboost-filesystem-dev
>   libboost-iostreams-dev libboost-system-dev libcalendarsupport4
> libcdr-0.1-1 libchromaprint0 libcilkrts5 libcuda1 libcuda1:i386 libcurl3
> libcurl3-gnutls libcurl4-gnutls-dev
>   libdap-dev libdrm-dev libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2
> libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386
> libegl1-nvidia
>   libeventviews4 libfbembed2.5 libfollowupreminder4 libgcc1 libgcc1:i386
> libgdal-dev libgegl-0.2-0 libgeos-dev libgfortran3 libgl1-mesa-dri
> libgl1-mesa-dri:i386
>   libgl1-nvidia-glx libgl1-nvidia-glx:i386 libgles1-nvidia libgles2-nvidia
> libgomp1 libgs9 libgs9-common libgstreamer-plugins-bad1.0-0 libharfbuzz-icu0
> libhdf5-8 libhdf5-cpp-8
>   libhdf5-dev libhunspell-1.3-0 libicu-dev libicu52 libincidenceeditorsng4
> libitm1 libjack-jackd2-0 libjack-jackd2-0:i386 libjsoncpp-dev libk3b6
> libk3b6-extracodecs libkabc4
>   libkalarmcal2 libkateinterfaces4 libkatepartinterfaces4 libkblog4 libkcal4
> libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkde3support4
> libkdeclarative5
>   libkdecorations4abi2 libkdecore5 libkdepim4 libkdepimdbusinterfaces4
> libkdesu5 libkdeui5 libkdewebkit5 libkdgantt2-0 libkdnssd4 libkemoticons4
> libkephal4abi1 libkexiv2-11
>   libkf5bluezqt-data libkf5globalaccel-bin libkf5globalaccel-data
> libkf5globalaccel5 libkf5khtml-data libkf5khtml5 libkf5threadweaver5
> libkf5wallet-bin libkf5wallet-data
>   libkf5wallet5 libkfile4 libkfilemetadata4 libkholidays4 libkhtml5
> libkidletime4 libkimap4 libkio5 libkjsapi4 libkjsembed4 libkldap4 libkleo4
> libkmanagesieve4 libkmbox4
>   libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4
> libknotifyconfig4 libkntlm4 libkopete4 libkparts4 libkpathsea6 libkpgp4
> libkpimidentities4 libkpimtextedit4
>   libkpimutils4 libkprintutils4 libkpty4 libkresources4 libkrosscore4
> libkrossui4 libkscreensaver5 libksgrd4 libksieve4 libksieveui4
> libktexteditor4 libktnef4
>   libkunitconversion4 libkutils4 libkwalletbackend5-5 libkwineffects1abi5
> libkwinglesutils1 libkwinglutils1abi2 libkworkspace4abi2 libkxmlrpcclient4
> libllvm3.4 libllvm3.4:i386
>   liblsan0 libmagickcore-6.q16-2-extra libmailcommon4 libmailimporter4
> libmailtransport4 libmediastreamer-base3 libmessagecomposer4 libmessagecore4
> libmessagelist4
>   libmessageviewer4 libmicroblog4 libmspub-0.1-1 libmwaw-0.3-3 libnepomuk4
> libnepomukquery4a libnepomukutils4 libnetcdf-dev libnoteshared4 libnotmuch4
> libnvidia-eglcore
>   libnvidia-ml1 libofa0 libopenconnect5 libopencv-calib3d2.4
> libopencv-contrib2.4 libopencv-core2.4 libopencv-features2d2.4
> libopencv-flann2.4 libopencv-highgui2.4
>   libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4
> libopencv-objdetect2.4 libopencv-video2.4 libpackagekit-glib2-18
> libpam-systemd libpcre16-3 libpcre3 libpcre3:i386
>   libpcre3-dev libpcre32-3 libpimcommon4 libplasma-geolocation-interface4
> libplasma3 libplasmaclock4abi4 libplasmagenericshell4 libpod-readme-perl
> libprocesscore4abi1
>   libprocessui4a libproxy-tools libpsl0 libpstoedit0c2a libptexenc1 libqca2
> libqca2-plugins libqgpgme1 libqt4-dbus libqt4-dbus:i386 libqt4-declarative
>   libqt4-decla

Re: Debian sid transition to KDE 5?

2015-09-15 Thread Javier Barroso
El mar., 15 de septiembre de 2015 19:38, Joe  escribió:

On Tue, 15 Sep 2015 08:21:17 +0200
am...@tiscali.it wrote:

>   Dear all,
>
> I am running Debian sid since 2006. When I type in
> aptitude dist-upgrade I have been getting the below messages. To fix
> it, please, is it just question of time (something related to KDE 5
> transitional packages)?
>

It's not just KDE, and it's been going for a couple of months already.
I currently have 124 packages which are not upgradable, there were
over two hundred a couple of weeks ago.

I have 2 debian sid desktops and the two are updated. No package is hold,
and full upgrade. I have not any KDE package, but have xfce, and GNOME

Which 124 packages are not upgradable?

Tracking https://release.debian.org/transitions/ helps to upgrade when you
have problems with upgrade.

Since gcc transition I had to hold some packages to make apt happy to
upgrade. But I unhold them when its transitions are finish.

Did you try apt upgrade , and then apt full-upgrade?

Maybe posting apt output can help.

Regards,


Re: Feedback for apt-history-curses-ui

2015-09-09 Thread Javier Barroso
Hello,

On Wed, Sep 9, 2015 at 7:43 PM, Reco  wrote:
>  Hi.
>
> On Wed, Sep 09, 2015 at 07:23:42PM +0200, Javier Barroso wrote:
>> Hello,
>>
>> I would like to recieve feed back about a script which I have just
>> upload to github.
>>
>> https://github.com/i5513/apt-history-gui
>>
>> It is working on my computer, but I cannot be sure it will work on
>> other debian installations.
>>
>> It is , for now a perl script which will present you dpkg.log and
>> apt/history.log in a ncurse interface.
>>
>> I'm not sure how :all architecture should be analyze. So any idea is welcome
>
>
> Off the top of my head:
>
> 1) Please replace 'gui' with 'tui' in your README. Should help to avoid
> some confusion.
Done, I have planned to make a gtk3 version

>
> 2) Please document the need of installed Curses::UI::Common and
> grep-status. My Debian installation lacks both, for example.
>
Done, thanks

> 3) At least *some* kind of help text (preferably - a manpage) would be
> welcome.
>
Done inline, for the moment

> 4) While we're at it, "apt-history.perl-curses-ui" could use explicit
> license comment. As of now, it's unclear whenever you provide this
> script on terms of GPL2 or GPL2+.
>
Added at man page

> 5) Checking for existence of 'grep-status' *before invoking* probably
> would not hurt either. Using an absolute path to 'grep-status' is a good
> idea too
>
Done

> 6) The message printed at line 93 contains a typo - 'possible' ->
> 'possibly'.
>
Thanks

> 7) The message printed at line 202 is not English as far as I can tell.
>
Thanks, fixed
> 8) This part's 'grep .' meaning currently escapes me:
>
>   open my $grep_status,  "grep-status -n -FPackage '' ".
> " -s Package -s Architecture".
> " -s Version -s Status -n |".
> "grep . |";
>
That is to erase "^$" lines, so I can play with module (%) operator

> 9) This part:
>
>   open my $hfh, '{
> zcat $(ls -rt /var/log/apt/history.log*gz)
> cat /var/log/apt/history.log;
> } |';
>
> could use proper Perl opendir handling.
>
To be done

> 10) The case of terminal with less than 15 lines is not handled at all.
>
mmm I'm not sure how to handle it

> 11) The code could use some trailing whitespace and tabulation cleanup :)
>
I will review


> Reco
>

Thank you very much!



Feedback for apt-history-curses-ui

2015-09-09 Thread Javier Barroso
Hello,

I would like to recieve feed back about a script which I have just
upload to github.

https://github.com/i5513/apt-history-gui

It is working on my computer, but I cannot be sure it will work on
other debian installations.

It is , for now a perl script which will present you dpkg.log and
apt/history.log in a ncurse interface.

I'm not sure how :all architecture should be analyze. So any idea is welcome

Thank you



Re: Wheezy "NFSv4 callback reply buffer overflowed"

2015-08-27 Thread Javier Barroso
El jue., 27 de agosto de 2015 18:46, Rainer Stumbaum <
rainer.stumb...@boerse-go.de> escribió:

Hi,



same problem here:

Wheezy Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux

running NFSv4 against a NetApp FAS2240 (ONTAP 8.2.3P2 7-Mode)



Multiple diskless NFS rooted systems reporting that warning:

infra03-a/syslog:Aug 27 14:22:16 infra03-a kernel: [164600.492851] NFSv4
callback reply buffer overflowed!

jira01/syslog:Aug 26 09:54:14 jira01 kernel: [64595.755284] NFSv4 callback
reply buffer overflowed!

nodejs01/syslog:Aug 26 21:11:32 nodejs01 kernel: [104524.818241] NFSv4
callback reply buffer overflowed!



NFS config of NetApp system:

nfs.v4.acl.enableoff(value might be overwritten in
takeover)

nfs.v4.enableon (value might be overwritten in
takeover)

nfs.v4.id.allow_numerics on

nfs.v4.id.domain

nfs.v4.read_delegation   on (value might be overwritten in
takeover)

nfs.v4.write_delegation  off(value might be overwritten in
takeover)


Did you try disabling nfs.v4.read_delegation?

Regards


Re: Wheezy "NFSv4 callback reply buffer overflowed"

2015-08-15 Thread Javier Barroso
Hello,

El vie., 14 de agosto de 2015 19:18, Piotr Kweclich 
escribió:

Hi,

I've recently found on one of my servers, that kernel keeps complaining:
"NFSv4 callback reply buffer overflowed"

On the client side, system is:
Wheezy 7.8
Kernel: SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux
nfs-common   1:1.2.6-4

Device working as NFS server is NetApp FAS3250.

Problem started just few days ago.
Except for that annoying message, nfs storage seems to be working fine.

I tired finding solution on-line but without any luck,
I'd appreciate any help.

Did you try disabling file delegation on netapp nfsv4 share?

Did you check what packages were updated at your last System upgrade?

Regards,


Re: Upgrade from Squeeze to Wheezy Killed Sound on Dell Board.

2015-07-15 Thread Javier Barroso
On Wed, Jul 15, 2015 at 7:01 PM, Martin G. McCormick
 wrote:
> Javier Barroso writes:
>> There is a page on the wiki [1] where give you details about cs4236
>> devices on Debian (and why they were excluded from Distribution. I'm
>> not sure if cs4236B is included. I hope it work too,
>
> I looked there and didn't see any documentation stating
> that the 423X series which appears to run from CS4231 through
> CS4239 and lots of revisions such as the CS4236B is no longer
> supported.
Sorry I had dyslexia ... I did not read correctly.

I suppose you have not mute the sound , at ubuntu there was a user
with the same version of kernel (3.2 and alsa 1.0.25):
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1097022

I would try to compile alsa following the wiki guide, but not sure
about possible results :
http://www.alsaa.alsa-project.org/main/index.php/Matrix:Module-cs4236

Sorry wasting your time.

Regards,


-- 
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/cal5ymzsd9t6poaj4x8h7qmrpheafkvbejhksyndbsyvdpev...@mail.gmail.com



Re: Upgrade from Squeeze to Wheezy Killed Sound on Dell Board.

2015-07-14 Thread Javier Barroso
Hello, keeping you on cc, sorry if you don't want,

On Tue, Jul 14, 2015 at 5:49 PM, Martin G. McCormick
 wrote:
> The system in question is a Dell Dimension 600-MHZ
> Pentium from way back in 2000. The BIOS date is October 10 of
> 1999. The sound chip set is a CS4236 on the mother board and
> it's always been touchy about working. You can count on the
> sound dying after any significant upgrade but once you get it
> working, it works very well for both recording and playing.

There is a page on the wiki [1] where give you details about cs4236
devices on Debian (and why they were excluded from Distribution. I'm
not sure if cs4236B is included. I hope it work too,

Regards,

[1] https://wiki.debian.org/snd-cs46xx


-- 
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/CAL5yMZR4oAMmUhrAmeS=rsGk1J7J4=t+dUPfgi2=nwmfdth...@mail.gmail.com



Re: Open URLs in Icedove emails in Iceweasel, how?

2015-06-20 Thread Javier Barroso
El 20/6/2015 2:25 p. m., "Ken Heard"  escribió:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Christian,
>
> On 2015-06-19 11:27, Christian Seiler wrote:
>
> > You can try to set a default browser explicitly:
> >
> > xdg-mime default iceweasel.desktop x-scheme-handler/http \
> > x-scheme-handler/https
>
> I ran that command as route and the following was returned:
>
> touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No
> such file or directory
> /usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local
> /share/applications/mimeapps.list.new: Directory nonexistent
> touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No
> such file or directory
> /usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local
> /share/applications/mimeapps.list.new: Directory nonexistent
>
> Did I do something wrong?

Do it with your user and not with root

Maybe there are another command to make default for all users, i'm not sure

Regards,


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

2015-02-17 Thread Javier Barroso
Hello,

On Tue, Feb 17, 2015 at 11:40 AM, Karl E. Jorgensen
 wrote:
> I see that there has been a fair amount of talk on this mailing list
> about system , Gnome 3 and some general dislike of Debian Jessie as a
> result. So I thought I'd throw in my 2 p
>
> I recently upgraded my main laptop (a fancy new Dell XPS with more SSD
> than I've ever had before) from Wheezy to Jessie, and I have to say:
> Brilliant!
>
> The upgrade took a while (almost exactly 1 hour) and there were a few
> NEWS files presented to me, but no problems surfaced.  Things "just
> worked".  It was a bit of an anticlimax, bordering on boring, followed
> by a nervous reboot.  It took me longer to make sure I had working
> backups and alternate boot media - just in case.
>
> Even though I had opted to install the laptop with a single (big) BTRFS
> file system, this didn't cause as much as a comment by the upgrade.  The
> scripts just got on with their jobs without grumbling.  I was fearing
> that GRUB might have a hiccup on this, as I realise this is not a
> commonly-used set-up, and thus probably less tested.
>
> I *did* end up with Gnome 3 - which I initially was a bit sceptical
> about. I was a Gnome (2?) user with a preference for the "awesome"
> window manager - this did not seem to be an option with Gnome 3.  But
> with Gnome 3 and the Shellshape extension (could somebody package that?
> Otherwise I might!) things are back as I like them. With eye candy to
> boot.  This would probably not be suitable for my low-powered Atom
> netbook, but I'm now confident enough to upgrade that too. Later. When I
> get time.
Yes, please, try to package it, make a RFP, and try to upload to mentors
I asked on gtk-gnome list [1], but nobody had time to package it (I
had not time too)

Regards,
[1] https://lists.debian.org/debian-gtk-gnome/2014/02/msg4.html


-- 
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/cal5ymzq91drrhhvhq5foloaulovtzszb24oddvaosez6pnj...@mail.gmail.com



Re: USB camera prog ?

2015-01-04 Thread Javier Vasquez
On Sun, Jan 4, 2015 at 2:37 PM, Javier Vasquez  wrote:
> On Sun, Jan 4, 2015 at 2:10 PM, Renaud  OLGIATI
>  wrote:
>> I am looking for a prog that will display on screen, and save, pictures 
>> taken with a USB camera connected to the box.
>>
>> Better obviously with a GUI; but I do not care to install a load of Gnome or 
>> KDE bloat.
>>
>> Any idea, advice, etc ?
>
> You mean, you are willing to use bloated gnome and/or kde apps?
>
> Any ways, an alternative is to have sw that mounts your camera, and
> then sw to view images once their storage is mounted.
>
> If you don't use gnome, neither gvfs (which automates mounting), what
> I recommend for mounting usb camera storage is "gphotofs", which can
> as well be auto mounted/unmounted in combination with "autofs".
>
> And for watching the pictures, there are lots of sw, and one simple
> and light one is "xzgv", or "gtksee" (I don't know if gtksee is
> abandoned these days).

Misunderstood completely, you're looking for snapshots from connected
camera, like a webcamk, :-)  My bad.

Forget what I just wrote, :-)


-- 
Javier


-- 
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/CALUrRGf+M9tbrBZ0LFZ_q9s2W9ostw40e5A8KeG6rc6tXFdL=g...@mail.gmail.com



Re: USB camera prog ?

2015-01-04 Thread Javier Vasquez
On Sun, Jan 4, 2015 at 2:10 PM, Renaud  OLGIATI
 wrote:
> I am looking for a prog that will display on screen, and save, pictures taken 
> with a USB camera connected to the box.
>
> Better obviously with a GUI; but I do not care to install a load of Gnome or 
> KDE bloat.
>
> Any idea, advice, etc ?

You mean, you are willing to use bloated gnome and/or kde apps?

Any ways, an alternative is to have sw that mounts your camera, and
then sw to view images once their storage is mounted.

If you don't use gnome, neither gvfs (which automates mounting), what
I recommend for mounting usb camera storage is "gphotofs", which can
as well be auto mounted/unmounted in combination with "autofs".

And for watching the pictures, there are lots of sw, and one simple
and light one is "xzgv", or "gtksee" (I don't know if gtksee is
abandoned these days).

--
Javier


-- 
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/calurrgeq+dw1qmwn245hxdjtobjd0a2ejap003gllmemidi...@mail.gmail.com



Re: What do I use for Flash on firefox?

2015-01-03 Thread Javier Vasquez
> On Sat, Jan 3, 2015 at 6:18 PM, Dennis Wicks  wrote:
> ...
> Since Flash is no longer supported or updated by Adobe, what do I use
> instead and how do I get it installed so firefox and Sea Monkey can use it?
>  ...

Well, despite flash plugin suggested by others (which is stuck at an
old flash version), you can try instead the freshplayerplugin [1][2],
which wraps chromium-pepper-flash (part of the chrome browser [3], but
some non-free packages extract it from there and make it available
without chrome).  That if you really need up to date flash on gecko
browsers (npapi).

--
Javier


[1]  https://github.com/i-rinat/freshplayerplugin
[2]  http://www.webupd8.org/2014/05/fresh-player-plugin-pepper-flash.html
[3]  http://www.google.com/chrome


-- 
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/CALUrRGerMSE10a=5s-rqp7-3msk5sminanzkk-8_jc5b3qh...@mail.gmail.com



Fwd: mpd/systemd problem

2014-12-17 Thread Javier Prats
That error looks like a known bug related to cgroups that's popped up on
many distros.  See below.  Removing that related control group should solve
the issue.

https://bugzilla.redhat.com/show_bug.cgi?id=1010534

https://bugs.archlinux.org/task/36339

http://lists.opensuse.org/archive/opensuse-bugs/2013-12/msg01363.html

On Wed, Dec 17, 2014 at 9:39 AM, sp113438  wrote:
>
> On Wed, 17 Dec 2014 09:20:45 -0800
> Don Armstrong  wrote:
>
> > On Wed, 17 Dec 2014, sp113438 wrote:
> > > On Wed, 17 Dec 2014 08:16:04 -0800
> > > Don Armstrong  wrote:
> > >
> > > > On Wed, 17 Dec 2014, sp113438 wrote:
> > > > > systemctl disable mpd.service; systemctl disable mpd.socket;
> > > > > is not able to stop mpd
> >
> > [...]
> >
> > > # systemctl disable mpd.service; systemctl disable mpd.socket;
> >
> > [...]
> >
> > > # systemctl status mpd.{socket,status};
> > > ● mpd.socket
> > >Loaded: loaded (/lib/systemd/system/mpd.socket; disabled)
> > >Active: inactive (dead)
> > >Listen: /run/mpd/socket (Stream)
> > >[::]:6600 (Stream)
> >
> > Err, that should have been {socket,service}, not {socket,status}.
> >
> > But in any event, it looks like they're both disabled, and not
> > running. So I'm not sure why you said that it was unable to stop mpd.
> >
> While mpd is running:
>
> systemctl status mpd.{socket,service};
> ● mpd.socket
>Loaded: loaded (/lib/systemd/system/mpd.socket; disabled)
>Active: inactive (dead)
>Listen: /run/mpd/socket (Stream)
>[::]:6600 (Stream)
>
> ● mpd.service - Music Player Daemon
>Loaded: loaded (/lib/systemd/system/mpd.service; disabled)
>Active: inactive (dead)
>
> Dec 17 17:40:20 fx4100 systemd[1]: [/lib/systemd/system/mpd.service:17]
> Unknown lvalue 'ControlGroup' in section 'Service' Dec 17 17:40:20
> fx4100 systemd[1]: [/lib/systemd/system/mpd.service:20] Unknown lvalue
> 'ControlGroupAttribute' in section 'Service' Dec 17 17:41:06 fx4100
> systemd[1]: [/lib/systemd/system/mpd.service:17] Unknown lvalue
> 'ControlGroup' in section 'Service' Dec 17 17:41:06 fx4100 systemd[1]:
> [/lib/systemd/system/mpd.service:20] Unknown lvalue
> 'ControlGroupAttribute' in section 'Service' Dec 17 17:43:26 fx4100
> systemd[1]: [/lib/systemd/system/mpd.service:17] Unknown lvalue
> 'ControlGroup' in section 'Service' Dec 17 17:43:26 fx4100 systemd[1]:
> [/lib/systemd/system/mpd.service:20] Unknown lvalue
> 'ControlGroupAttribute' in section 'Service' Dec 17 19:37:33 fx4100
> systemd[1]: [/lib/systemd/system/mpd.service:17] Unknown lvalue
> 'ControlGroup' in section 'Service' Dec 17 19:37:33 fx4100 systemd[1]:
> [/lib/systemd/system/mpd.service:20] Unknown lvalue
> 'ControlGroupAttribute' in section 'Service' Dec 17 19:37:33 fx4100
> systemd[1]: [/lib/systemd/system/mpd.service:17] Unknown lvalue
> 'ControlGroup' in section 'Service' Dec 17 19:37:33 fx4100 systemd[1]:
> [/lib/systemd/system/mpd.service:20] Unknown lvalue
> 'ControlGroupAttribute' in section 'Service'
>
> Hope this helps,
> Thanks!
>
>
> --
> 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/20141217193912.7dbf2fb4@fx4100
>
>


_netdev with wpa_supplicant dependency doesn't work at shutdown

2014-11-27 Thread Javier Barroso
Hello,

I'm trying to solve my own reported bug [1]

When I add a curlfs fstab entry via wifi (wpa_supplicant), it get
mount at boot, but it does not umount when system is halting / at
shutdown. Wpa_supplicant stop before than curlftpfs umount the mount
point (xx.mount).

I have been playing with "After  / Before /Requires" parameters both,
but I'm getting tired .. I'm not able to make it work :(

What I have tried:

1. Modify fstab-generator , so xx.mount depends on :
1.1 network-online.target
1.2 wpa_supplicant.service

2. Modify wpa_supplicant.service, so depends on:
2.1 xx.mount
2.2 remote-fs.target

Do you have any hint about this issue ? How can I get it working ?

How can I say to systemd about not stop wpa_supplicant until xx.mount
is umounted ??

Thank you very much
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769186


-- 
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/cal5ymzrs5kzb_fz5gedjptdcj8+mmumuzq9f32up79aqx35...@mail.gmail.com



Re: preseed

2014-09-02 Thread Javier Barroso
Hello,

On Tue, Sep 2, 2014 at 9:22 AM, Diogene Laerce  wrote:
> Hi,
>
> I try to achieve this tutorial for preseed :
>
> https://wiki.debian.org/DebianInstaller/Preseed/EditIso
>
> And I can't get pass through this step :
>
> gzip -d < ../cd/install/2.6/initrd.gz | \
> cpio --extract --verbose --make-directories --no-absolute-filenames
>
> As I systematically get this error back :
>
> cpio: premature end of archive
>
> Did anybody get through and could explain how ? Google this time
> didn't get me anywhere.
Which Debian Version are you trying to modify ? The last Debian
Release with kernel 2.6 is Squeeze, so maybe that url is not working
for Wheezy and later

The linked url is for older releases, maybe wiki should be changed to
clarify to which Debian version it is applicable.

At Debian Jessie the initrd.gz is located at ./install.amd/initrd.gz
for  a amd64 iso image.

I hope that help

Regards,


-- 
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/CAL5yMZRPdJjyc_SOgQo5s8_=btcbypyyyw4avntpehptj29...@mail.gmail.com



Re: systemd fails to poweroff - "A stop job is running for Session 2 of user $USER"

2014-08-12 Thread Javier Barroso
On Tue, Aug 12, 2014 at 5:16 PM, Hugo Vanwoerkom  wrote:
> Zenaan Harkness wrote:
>>
>> Debian sid
>>
>> systemd currently fails to poweroff for me
>>
>> XFCE (appears to) exit, the mouse point shows
>> for a while, then the kernel/ shutdown log appears.
>>
>> The last message is:
>> "A stop job is running for Session 2 of user me"
>>
>> Red asterisks (up to 3) appear to oscillate at left
>> edge in an ascii "wait for me" animation.
>>
>> Requires hard powercycle to poweroff.
>>
>> How might I debug this?
>>
>
> Right.  Debian Sid. 'halt' does not poweroff with systemd.
I think this behaviour has changed from pre-systemd era.

At halt/poweroff/reboot manpage :
DESCRIPTION
   halt, poweroff, reboot may be used to halt, power-off or reboot the
   machine.

I think it should be better explain what is exactly halt and which is
the difference with poweroff

As I understand, power off is like you press the power button some seconds.
Halt (as current behaviour) is stop all process but pid 1

There is the "-p" switch to halt, or the "--halt" switch to poweroff,
so halt can power off the machine or power off can stop all process in
an ordered way

Regards,


-- 
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/CAL5yMZS_D68vLw9KZaZgbRbMXA0C_r0iHcdSh6e=at-hxrv...@mail.gmail.com



Re: Latest Jessie doesn't respond to /etc/default/tmpfs "RAMTMP=yes"

2014-07-23 Thread Javier Barroso
Hello,
First, Michael thank for your Debian work,
On Wed, Jul 23, 2014 at 11:50 AM, Michael Biebl  wrote:
> Hi Rick
>
> Am 23.07.2014 um 09:12 schrieb Rick Thomas:
>>
>> I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs 
>> .
>>
>> But I don’t get /tmp/mounted on tmpfs.
>
> /etc/default/tmpfs is a sysvinit specific config file. If you are
> running systemd, enabling /tmp on tmpfs is as simple as
> "systemctl enable tmp.mount"
Is it possible to add this comment to tmpfs manpage (initscripts
package), or maybe to have a alternative configure option
(tmpfs.sysvinit and tmpfs.systemd), so you can read the correct man
page about tmpfs in the system where you are running ?

I'm not sure which of both options is better

Thank you !


--
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/CAL5yMZRiVq1=7k7jzhqhcz6hp_nnqtrgrap6lvmkd_eaowz...@mail.gmail.com



Re: Listing packages installed from experimental

2014-06-10 Thread Javier Barroso
Sorry for html ... ( how can I skip HTML from Gmail Android app?)
El 10/06/2014 02:25, "David Glover-Aoki"  escribió:
>
> I'm running wheezy but have some packages installed from experimental.
>
> How can I list all the packages currently installed from experimental?

After having quickly  read this thread..

I recommend the new command :

apt list | grep experimental

I don't understand your last question!

Regards


Re: 2 xservers/display managers

2014-05-19 Thread Javier Barroso
Hello,

On Mon, May 19, 2014 at 8:11 PM, Richard Hector  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 20/05/14 04:13, Ralph Katz wrote:
>> On 05/19/2014 08:20 AM, Richard Hector wrote:
>>> Hey all,
>>
>>> I'm wondering if it would help me to have 2 potentially
>>> simultaneous logins on my computer, one for private use and one
>>> for work (I'm working from home). That would give me 2 home
>>> directories, 2 icedove profiles etc etc.
>>
>>> To that end, does anyone know if it's possible to have 2
>>> instances of gdm (or whatever display manager) start at boot, so
>>> I can log in to them independently? Actually, I can't think of
>>> any reason it wouldn't be possible, so does anyone have any tips
>>> on how?
>>
>> Hi -- I can confirm this works on stable with xfce and lightdm to
>> do exactly that:
>>
>> ~$ sudo adduser richard-work
>>
>> Then ctrl-alt-F1 [F2, etc]; login as richard-work; Then ~$
>> DISPLAY=:1 startx -- :1# launches your 2nd display manager
>> session
>>
>> Switch between X sessions with ctrl-alt-F7 / F8 keys (for me).
>
> startx does indeed do it, thanks - though I don't need to specify the
> DISPLAY variable; it just works if I run startx as my other user.
>
> So that proves that it is possible to get 2 X servers running.
>
> Next step, ideally, is to also have 2 display managers running -
> ideally gdm3, since that's what I've been using, but anything will do.
> Preference for something that will let me choose my DE without mucking
> around with a .xsession file.
>
> Any suggestions?

Login into your session. Run gdmflexibleserver, and then search at
other virtual terminals (control-alt-Fx) to find your new gdm3
instance.

I'm not sure how it works (one user launching an greeter, which is
running as root)

Alternatively you can choose "change user from gnome menu" and you
will be in the same circunstances

Hope that helps

Regards,


-- 
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/cal5ymzqje0mgxmuomzg6f0jcx_5yrfceunrfb_1h0ubhtq4...@mail.gmail.com



Re: experimental to unstable

2014-05-11 Thread Javier Barroso
Hello,

On Sun, May 11, 2014 at 7:03 PM, Floris  wrote:
>
> Hey,
>
> The Debian Gnome maintainers has almost packed Gnome 3.12. After the systemd
> + Gnome sprint last April a lot of Gnome packages have the 3.12 version. But
> there are some 3.12 packages only available in experimental. Is there a
> policy when these packages are transfered to unstable?
>
> Also what package(s) holds the Gnome 3.12 transition?

You can track the transitions that are happening in Debian at
https://release.debian.org/transitions/ , there are a planned
libgnome-desktop-3-10 transition (which probabbly will be substitute
by a the 3.12 version?). You can see which packages are affected by
such transition by clicking at transition name.

There are reasons for the delay, you can see more at the next bug comment::
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740137#19

Debian Policy specify when a unstable package should be migrate to the
testing stage, but from experimental to unstable is decided by
maintainers and it is influeced by release manager team + ftp team
(maybe somebody can be more precise than me?)  load average

Regards,


-- 
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/CAL5yMZQo4-ZxHSWv_Q3zXeZu4qNuz11d2aKYCBo=hxdekf1...@mail.gmail.com



Re: Network Performance Degrading over random amount of time

2014-04-21 Thread Javier Barroso
Hello,

On Sun, Apr 20, 2014 at 1:01 PM,   wrote:
> Hi List,
> maybe you have a clue about the issues im having since several months.
> My Homeserver is running Debian Jessy right now, the network issues where
> there with wheezy aswell.
> after a fresh boot my network behaves like it should archiving near gbit
> speeds which is nice, after a random amount of uptime though my throughput
> degrades below 100mbit network speeds (about ~3.5MB/s)
> i measured using iperf.
>
> Current Hardware:
>
> - Asus P8H67-M PRO
> - Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
> - 16 GB DDR3 Ram (2*8GB Kingston ram)
> - Intel Corporation 82541PI Gigabit Ethernet Controller
> - TP-Link 8-Port gbit switches (2 of em between home-server and clients)
>
>
> Ive tried diffrent things so far:
>
> - Switched from a switched cabling setup to Crosslink.
> - Swapped out the cheap asrock motherboard with asus
> - Changed from onboard realtek network chip to PCI Intel Gbit card
> - Reinstalled OS several times
> - Testing from diffrent clients (Win 7, Linux Mint, Debian, Ubuntu)
> - Downloading vendor drivers and using them instead of the kernel inbuild
> ones
>
> Nothing so far had worked to get my gbit speeds stable over a few days.
>
> im open to ANY suggestions here even if they involve building a custom
> kernel or other magical hakkery ;D

Can you post iperf params which you are using and the iperf output ?
What says iperf when used with UDP? What says ethtool -i ethx?

Regards,


-- 
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/CAL5yMZRWbJYUk1VetzDhm2HE=sodqzhr2faj0er90+gfc2d...@mail.gmail.com



initramfs-tools or dracut ? (was Re: Grub does not recognize lvm physical volume by uuid after restart)

2014-03-25 Thread Javier Barroso
Hello,

On Tue, Mar 25, 2014 at 6:15 PM, André Nunes Batista
 wrote:
> On Mon, 2014-03-24 at 12:36 +, Darac Marjal wrote:
>> On Mon, Mar 24, 2014 at 12:17:17PM +, Joe wrote:
>> > On Mon, 24 Mar 2014 11:17:53 +
>> > Darac Marjal  wrote:
>> >
>> > >
>> > >
>> > > Now, I'm not certain about this, but I suspect that either the
>> > > initramfs hasn't recognised that I'm using LVM, or it just isn't
>> > > starting the LVM on its own.
>> > >
>> > > I haven't actually investigated this, but it might be related to bug
>> > > #616689.
>> >
>> > Except... both the OP's initramfs and mine do recognise the swap
>> > partition within LVM, but not any others.
>> >
>> > And my system is (apparently) OK after downgrading grub from the latest
>> > version.
>>
>> Ah. Sorry for the noise, then.
>>
>
> Your answer proved not be noise at all. I tried to follow Joe's steps
> and downgraded grub2-common, grub-common, grub-pc and grub-pc-bin all to
> jessie (2.00-22), ran update-grub2 and then grub-install /dev/sda and
> lost my grub.cfg.
>
> I've restored it using supergrubdisk, which, when booting, gave me
> access to that previous initramfs shell. Then I ran vgchange -ay ^D, ^D
> and was able to boot the system.
>
> One thing caught my eye through the process: grub says it's generating
> configs for i386 only, but this machine uses amd64 kernel. As soon as I
> get the chance I'll read #616689 and try to investigate it further on
> this machine. Currently it only boots through this forced activation
> method you taught me.
This thread remember me what happens to me last week:

I had a grml installation (which I expect to have a behaviour exactly
like a debian system now that I installed all the packages that I
needed from debian sid).

That installation was without lvm, all contents to one partitioin.

So the last week I wanted to change that installation and move to lvm
style. So I backed data, created partitions, and tried to update grub
/ etc/fstab .. from chroot


I knew about #741342 Debian Bug, so I workaround about it with
GRUB_DISABLE_LINUX_UUID="true" hack

The result of that movement was a unbootable system (grub rebooted the system)

After researching grub or kernel parameters, like panic, I find about
where was the error:

initramfs generated inside the chroot was failed and lsinitramfs list
an empty initramfs empty  (after research I hit another bug [1])

Compressing initramfs generated, lsinitramfs show only this file:
kernel/x86/microcode/GenuineIntel.bin

So finally I copied an initramfs from other sid machine, and it worked.

Then I tried to regenerate initramfs from scratch in the machine, and
like I didn't know about [1] bug, I think it was erroneus. I didn't
report any bug because it was a grml system when it was installed.

Then I tried to install dracut (which is an alternative to
initramfs-tools) and it worked like a charms. lsinitr* worked again,
and I could boot without any problem

So, how do you extract your initramfs content ? There is a patch at
[1], but it is not being accepted by the maintainer. (I guess dd and
offset commands illustrated at the bug will work)

I will try to return to initramfs-tools and see if the generated
initramfs is working (like it seems)

Regards,

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717805


--
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/cal5ymzqovouebx5yqjvbgqvkkc-myv_lfjb+gya_sc-ae9b...@mail.gmail.com



Re: Great Debian experience

2014-03-18 Thread Javier Barroso
Hello,
El 18/03/2014 19:54, "Steve Litt"  escribió:
>
> Hi all,
>
> Here's why I like Debian Stable...

> Then I looked up instructions
> on how to install Skype, and after a little experimentation because the
> instructions weren't perfect, Skype was installed.

If you followed wiki.debian.org skype instruction and they are not nice
enough, you can modify the wiki to make it better.

Regards,


Re: [OFF-TOPIC] Debian se queda con systemd, bueno o malo??

2014-02-12 Thread Javier Barroso
2014-02-12 15:56 GMT+01:00 Camaleón :
>
> El Wed, 12 Feb 2014 14:22:11 +0100, Maykel Franco escribió:
>
> > http://www.muylinux.com/2014/02/12/debian-systemd
>
> La nota "oficial":
>
> [CTTE #727708] Default init system for Debian
> https://lists.debian.org/debian-devel-announce/2014/02/msg5.html
>
Esperemos que todo siga igual de fluido y conjuntado como hasta ahora,
y que las piezas sigan siendo intercambiables, que es la gracia de
esto :)

> > Que les parece esta noticia? Opiniones?
>
> Pienso que no es ni bueno ni malo, es una decisión más que han tomado.
>
> Yo personalmente hubiera esperado un poco más: la decisión no es vital,
> la controversia/puntos de vista divergentes es elevada, el resultado
> puede volver a considerarse y no sé a qué viene tanta prisa.
Creo que Gnome puede haber tenido bastante que ver con las prisas [1],
aunque no estoy seguro.

>
> Lo que sí considero malo (nefasto, diría yo) es la mala imagen que ha
> proyectado Debian (como organización) con el debate que se ha generado en
> las listas de correo sobre esta votación, del que se han hecho eco en
> diversos medios en Internet (blogs, revistas especializadas, etc...).
>
> Muy mal, parecían una panda de chiquillos peleándose por un caramelo ;-(
Totalmente de acuerdo, a parte de todos los trolls que han aparecido.
Era difícil sobre todo por que había gente de Canonical en el comité
que era difícil que se pusieran en contra de Upstart

Por otro lado se ha visto bastante demagogia en algunos de los
participantes del hilo. Alguno se cree superior a los demás y hace
afirmaciones rotundas que no tienen por qué ser ciertas.

Saludos
[1] https://lists.debian.org/debian-gtk-gnome/2014/01/msg2.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cal5ymzq8xwtxz1dxms4macd5ti-p4mq0hh3zdg27zgp1hbz...@mail.gmail.com



Re: Gnome doesn't save brightness setting

2013-07-24 Thread Javier Barroso
Hello,

Google seems to have answers to this question (not related to Debian,
but surely we can apply those solutions):

Answers:
Extension for gnome:
https://extensions.gnome.org/extension/231/brightness-control/

Bug in gnome:
https://bugzilla.gnome.org/show_bug.cgi?id=699939
https://bugzilla.redhat.com/show_bug.cgi?id=696621

Ubuntu answers:
http://askubuntu.com/questions/145314/how-to-save-brightness-settings

I'm getting tired too :), same issue here, so maybe I will implement
some workaround


Regards,

On Wed, Jul 24, 2013 at 7:05 AM, Amandeep Singh  wrote:
> Hey Thanks William,
>
> I will try to find out the setting for my laptop. Till now, I have been
> using Gnome's GUI to change the brightness. Through the menu, go to system
> settings and change the brightness.
>
> Amandeep
>
>
> On Mon, Jul 22, 2013 at 1:58 AM, William Hopkins 
> wrote:
>>
>> On 07/21/13 at 11:02am, Amandeep Singh wrote:
>> > Hi,
>> >
>> > I am using Debian wheezy on my lenovo t430 laptop. And each time I start
>> > my
>> > laptop, it starts in full brightness mode, and each time I have to
>> > reduce
>> > it. I am tired of doing this. Does anyone know any solution. Is this a
>> > known bug, or am I the only person experiencing it?
>>
>> Hi Deep,
>>
>> I find most laptops don't remember brightness settings. You can add a
>> setting
>> to your .xsession or similar to set it on X startup. How you do this
>> varies on
>> what command tool changes brightness on your laptop and what your X
>> environment
>> is like.
>>
>> --
>> William
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZR1ppe1=rnm3wx9dmbzqehvcfmzdbwqskktymmd8lx...@mail.gmail.com



Re: alternatives to skype

2013-02-10 Thread Javier Vasquez
On Sun, Feb 10, 2013 at 1:25 AM, Philip Ashmore
 wrote:
> On 10/02/13 00:34, Russell L. Harris wrote:
>>
>> ...
>
> Try Google+ hangouts - I've used it with Firefox.
>
> You need a GoogleEmail account.
>
> Create a hangout and others (in your circle) can join in.
>
> See http://www.google.com/+/learnmore/hangouts/
>
> Philip

BTW, if no google+ is wanted, just gmail and googletalk-plugin for
gnu/linux wouls suffice, no need for google+...


-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calurrgcakxzaow5reiphrn8cu13tnjdxpqafnhtf9mjovkj...@mail.gmail.com



Re: a tool to have specific images on X root window

2013-01-18 Thread Javier Vasquez
On Fri, Jan 18, 2013 at 3:11 PM,   wrote:
>
>
> Le 18.01.2013 21:42, Erwan David a écrit :
>
>> Le 18/01/2013 21:38, Javier Vasquez a écrit :
>>>
>>> On Fri, Jan 18, 2013 at 2:13 PM, Erwan David  wrote:
>>>>
>>>> Le 18/01/2013 21:10, Erwan David a écrit :
>>>>
>>>>> Le 18/01/2013 21:02, berenger.mo...@neutralite.org a écrit :
>>>>>>
>>>>>> Hello.
>>>>>>
>>>>>> I would like to know if someone knows a tool like xphoon or xplanet,
>>>>>> but
>>>>>> allowing to use a simple image (I do not mind the format: I can
>>>>>> convert
>>>>>> images by script) instead of planets with calculations.
>>>>>>
>>>>>> It have no real use, except making my workspaces a background image
>>>>>> which
>>>>>> will probably become useless in the second :D
>>>>>>
>>>>>> Oh, last thing. I do not, and do not intend to, use big DE like kde,
>>>>>> gnome, xfce, lightweight dependencies is a requirement. Stuff with the
>>>>>> same
>>>>>> mind of lxde is an option, but I did not find a package giving only
>>>>>> that
>>>>>> feature (I already have a window manager and a menu application, even
>>>>>> if the
>>>>>> last one does not provide me what I would like).
>>>>>>
>>>>>> Thanks in advance for suggestions.
>>>>>>
>>>>>>
>>>>> xroot ?
>>>>>
>>>>>
>>>> Or xloadimage, I had forgotten.
>
>
> xloadimage is perfect, thanks a lot!
> I did not found any xroot software, but there is a "$xrootconsole $image
> -onroot", but this one simply writes a file on root window, but in a raw
> form. Nice for text, I guess it could be useful to draw informations from
> sensors, by example.
> Thanks for both those tools.
>
>
>>> feh (depends upon imlib2)...
>>>
>>>
>>> --
>>> Javier.
>>>
>>>
>> Must come from one of the graphic format decoding library...
>
>
> feh is not able to draw stuff on root window, as far as I know? I'm already
> using it as my viewer, and I like it, and have not found anything related to
> such feature.
>
>
> Thanks anyway.


Have you tried the background setting options?  In the man page:

BACKGROUND SETTING
 feh can also be used as a background setter.  Unless you pass the
--no-fehbg option, it will store the command line necessary to set the
 background in ~/.fehbg, so to have your background restored every
time you start X, you can add "eval $(cat ~/.fehbg)" to your X startup
 script (like ~/.xinitrc).

 Note that all options except --bg-tile support Xinerama.  For
instance, if you have multiple screens connected and use e.g.
--bg-center,
 feh will center the image on each screen.  You may even specify
more than one file, in that case, the first file is set on screen 0,
the
 second on screen 1, and so on.

 Use --no-xinerama to treat the whole X display as one screen when
setting wallpapers.

 --bg-center
 Center the file on the background.  If it is too small,
it will be surrounded by a black border
 --bg-fill
 Like --bg-scale, but preserves aspect ratio by zooming
the image until it fits.  Either a horizontal or a vertical part of
the
 image will be cut off
 --bg-max
 Like --bg-fill, but scale the image to the maximum size
that fits the screen with black borders on one side.
 --bg-scale
 Fit the file into the background without repeating it,
cutting off stuff or using borders.  But the aspect ratio is not
preserved
 either
 --bg-tile
 Tile (repeat) the image in case it is too small for the screen
 --no-fehbg
 Do not write a ~/.fehbg file

I've used just "--bg-fill" and it works quiet well for me.

--
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGeBj5zJxFDE+GWzMOYVa7q6F9GqCWqgSHMd=zaq-tp...@mail.gmail.com



Re: a tool to have specific images on X root window

2013-01-18 Thread Javier Vasquez
On Fri, Jan 18, 2013 at 2:13 PM, Erwan David  wrote:
> Le 18/01/2013 21:10, Erwan David a écrit :
>
>> Le 18/01/2013 21:02, berenger.mo...@neutralite.org a écrit :
>>>
>>> Hello.
>>>
>>> I would like to know if someone knows a tool like xphoon or xplanet, but
>>> allowing to use a simple image (I do not mind the format: I can convert
>>> images by script) instead of planets with calculations.
>>>
>>> It have no real use, except making my workspaces a background image which
>>> will probably become useless in the second :D
>>>
>>> Oh, last thing. I do not, and do not intend to, use big DE like kde,
>>> gnome, xfce, lightweight dependencies is a requirement. Stuff with the same
>>> mind of lxde is an option, but I did not find a package giving only that
>>> feature (I already have a window manager and a menu application, even if the
>>> last one does not provide me what I would like).
>>>
>>> Thanks in advance for suggestions.
>>>
>>>
>> xroot ?
>>
>>
> Or xloadimage, I had forgotten.

feh (depends upon imlib2)...


--
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGf_=PKri3FSPL_mLsE_jg3OkP=j4iztqnjklwxpyej...@mail.gmail.com



Re: screensaver recommendation

2012-11-23 Thread Javier Vasquez
On Fri, Nov 23, 2012 at 5:03 AM, Darac Marjal  wrote:
> On Fri, Nov 23, 2012 at 11:42:33AM +0800, lina wrote:
>> Hi,
>>
>> I wish to have a screensaver.
>>
>> Thanks ahead for recommendation.
>>
>>
>> Below are some background info.:
>>
>> lightdm   install
>> lightdm-gtk-greeter   install
>> xfce4 install
>> xfce4-panel   install
>> xfce4-session install
>> xfce4-settingsinstall
>>
>> xscreensaver doesn't work for me cause it won't recognize the password
>> due to I use the dovrak layout. To me, seems the reboot is the only resort.
>
> You may be pleased to hear that this has been reported as bugs #644534
> and #683257.
>
> In future, you may try switching to a virtual console and running
> "xscreensaver-command -display :0 -exit" (though you may need to fiddle
> with xset permissions, YMMV). Alternatively, just restarting lightdm
> should work, too.


There are lighter options than xscreensaver, :-)  Such as xautolock +
xtrlock, or xautolock + any other light locker...

--
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGcRguqTYWQ-zzqvfnn=volwhq7vud1jjcf7mqz1fm5...@mail.gmail.com



Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)

2012-07-31 Thread Javier Vasquez
On Tue, Jul 31, 2012 at 12:56 PM, Chris Bannister
 wrote:
> On Sun, Jul 29, 2012 at 11:14:54AM -0600, Javier Vasquez wrote:
>> Have you tried not having your .xssesionrc at all?  Does it provide
>> the same result to you as with .xsessionrc?
>
> Yes, except for:
>
> ...
>
> IOW, it reads .xsessionrc If I call it .xsession/.xinitrc it doesn't work,
> probably cause I haven't got the "exec fvwm &" cantation at the end of the
> .xsessionrc file.
>
> Starting fvwm is handled via the alternatives system:
>
> t@tal:~# update-alternatives --display x-window-manager
> x-window-manager - auto mode
>   link currently points to /usr/bin/fvwm2
> /usr/bin/fvwm2 - priority 50
> slave x-window-manager.1.gz: /usr/share/man/man1/fvwm2.1.gz
> Current 'best' version is '/usr/bin/fvwm2'.

Hmm, to me it doesn't matter, I call the WM from withing .xinitrc, as
the last thing to call:

% tail -1 ~/.xinitrc
exec startfluxbox

>
>> I've been using .xinitrc and .xsession with plain fluxbox (no DE), to
>> work with plain startx or xdm (other DMs as well such as slim and
>> wdm), and I have had no problems for around 10 years (well I no longer
>> use slim neither wdm now a days)...  For setting resources I use
>> .Xresources and .Xdefaults.
>
> What does: "update-alternatives --display x-window-manager" display for
> you?

Ups, again, it doesn't matter to me.  But as I only have fluxbox
installed, then that's what I expect to show up.  Any ways the output
on the debian boxes is:

% update-alternatives --display x-window-manager
x-window-manager - auto mode
  link currently points to /usr/bin/startfluxbox
/usr/bin/startfluxbox - priority 50
  slave x-window-manager.1.gz: /usr/share/man/man1/fluxbox.1.gz
Current 'best' version is '/usr/bin/startfluxbox'.

>
>> Any ways if you look at the startx man page, you'll see at the bottom
>> the configuration files.  It only talks about .xinitrc, and .xserverrc
>> (not .xsessionrc), and I would not play around with .xserverrc, the
>
> I read about .xsessionrc somewhere, can't remember where, cause I was
> having trouble on an upgrade. Not sure if it was etch -> lenny,
> or lenny -> squeeze
>
>> Now, this is the reason I recommended, to reduce maintaining several
>> initialization files, just provide execute permissions for .xinitrc,
>> and then make a link from it to .xsession.  Make sure you call the WM
>
> Already now you have two initialization files. :)
> I could get away with none (no .xinitrc, no .xsession, no .xsessionrc)
> but then I'd have to put all configuration in the "~/.fvwm/config" file.

:-)  As you wish.  BTW, .Xresources is not a initialization script,
its purpose is to specify the X applications resources, for example
the ones I have for xautolock and xlockmore:

% 'grep' 'X.*ock' ~/.Xresources
Xautolock.locker:   xlock
Xautolock.time: 5
XLock.mode: blank
XLock.lockdelay:0
XLock.timeout:  25
XLock.background:   black
XLock.foreground:   red
XLock.mousemotion:  on

This is pretty independent upon the WM, so I prefer to set this in
.Xresources, than any other way...  I've played around with fvwm2,
blackbox, and other WMs, and the .Xresources remains invariant for all
of them, :-)

>
> Although the default setup is quite good. That is, if you don't have a
> "~/.fvwm/config" file.
>
>> BTW, startx does not use .xession at all...
>
> Right.
>
>> Can you provide the .xinitrc you're trying for your startx attempts?
>
> See above explanation.
>
>> As a fallback, before calling your WM, you can also call xterm, or
>> some other term, to keep Xorg up while the term is up...  If that
>> works, then it might be something is wrong when calling the WM...
>
> JTFR, there *IS* no problem. This may be because I'm using fvwm which is
> hooked into the alternatives system *AND* has a working default.
>
> IOW, if I try some other WM, I could very well need an .xinitrc with
> some "exec  &" cantation, BUT it looks like it is handled
> by the alternatives system. Using .xinitrc could be defunct, but no one
> has told us. :-)

Nope, .xinitrc works just fine.  You need to call the WM from there,
that's it.  It's been working for years, and keeps working today.

Actually it works on other distros the same way it does for debian,
:-)  That's the part of its beauty...  I use it on debian and arch,
and I have also used it on sourceMage essentially without variations.

XDM also works the same way with .xsession on all distros I've tried.

So nothing of this has been deprecated yet.

&g

Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)

2012-07-29 Thread Javier Vasquez
On Sun, Jul 29, 2012 at 11:14 AM, Javier Vasquez
 wrote:
> On Sun, Jul 29, 2012 at 12:50 AM, Chris Bannister
>  wrote:
>> On Sat, Jul 28, 2012 at 10:52:58AM -0600, Javier Vasquez wrote:
>>> On Sat, Jul 28, 2012 at 9:52 AM, Chris Bannister
>>> > I use startx, and only have an .xsessionrc file. I know it is read
>>> > because of the xterm settings.
>>>
>>> Resources, whether for xterm, urxvt, or similar, usually are not
>>> configured into .xinitrc, neither .xsession (I never used
>>> .xsessionrc).  Instead they are specified in .Xresources and
>>> .Xdefaults.  However it might be you "xrdb" them from .xsessionrc,
>>> though .Xdefaults the old days was supposed to beloaded automatically
>>> without being loaded through xrdb.
>>>
>>> Now, to make both startx and xdm (and other DMs using .xsession) what
>>> is required is to have .xinitrc with execute permissions (.xsession
>>> requires them for for several DMs if I recall correctly since it gets
>>> executed), and then create a link from .xinitrc to .xsession.
>>
>> If I don't call it .xsessionrc, startx doesn't work, it just dumps me
>> back to the tty with:
>>
>> X.Org X Server 1.12.1.902 (1.12.2 RC 2)
>> Release Date: 2012-05-19
>> [snip other]
>> xinit: connection to X server lost
>>
>> The screen doesn't even flicker.
>>
>> I am using fvwm, no DM at all.
>>
>> I have tried, .xinitrc, .xsession, with and without execute permission,
>> all give above messageน: "xinit: connection to X server lost"
>>
>> I don't have either an ".Xdefaults" or a ".Xresources" file.
>>
>> .xsessionrc works whether it is executable or not
>>
>> น I also get that message when I quit fvwm. The point is, X doesn't even
>> start in this case.
>
> Have you tried not having your .xssesionrc at all?  Does it provide
> the same result to you as with .xsessionrc?
>
> I've been using .xinitrc and .xsession with plain fluxbox (no DE), to
> work with plain startx or xdm (other DMs as well such as slim and
> wdm), and I have had no problems for around 10 years (well I no longer
> use slim neither wdm now a days)...  For setting resources I use
> .Xresources and .Xdefaults.
>
> Any ways if you look at the startx man page, you'll see at the bottom
> the configuration files.  It only talks about .xinitrc, and .xserverrc
> (not .xsessionrc), and I would not play around with .xserverrc, the
> one in /etc works just fine.  There's even an example in the example
> section there where they call twm.  The last thing to call is the
> WM...  If the call for the WM is not there, then Xorg will just start
> and then terminate.  But if the WM is called, and Xorg starts and
> crashes, then you need to look at the Xorg errors...
>
> If you look at the xdm man page, you'll notice as well in the overview
> section, that ~/.xsession needs to be executable, and it's what the
> xdm Xsession calls...  There's even an example in there where they
> call twm as the WM...  If there's no WM, and you're not using a DE,
> then Xorg will start and die.  Same thing with startx.
>
> Now, this is the reason I recommended, to reduce maintaining several
> initialization files, just provide execute permissions for .xinitrc,
> and then make a link from it to .xsession.  Make sure you call the WM
> as the last thing on .xinitrc, "exec startfluxbox" for example, and
> don't worry about .Xresources and .Xdefaults yet.  BTW, startx does
> not use .xession at all...
>
> Can you provide the .xinitrc you're trying for your startx attempts?
> As a fallback, before calling your WM, you can also call xterm, or
> some other term, to keep Xorg up while the term is up...  If that
> works, then it might be something is wrong when calling the WM...
>
> --
> Javier.

Hmm, just in case, as I don't see the example section in the debian
man page, though I see it in the startx arch man page, I'm copying the
.xinitrc example from the man page here:

**
EXAMPLE
   Below  is  a sample .xinitrc that starts several applications
and leaves the window manager running as the ''last'' application.
Assuming that the
   window manager has been configured properly, the user then
chooses the ''Exit'' menu item to shut down X.

   xrdb -load $HOME/.Xresources
   xsetroot -solid gray &
   xbiff -geometry -430+5 &
   oclock -geometry 75x75-0-0 &
   xload -geometry -80-0 &
   xterm -geometry +0+60 -l

Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)

2012-07-29 Thread Javier Vasquez
On Sun, Jul 29, 2012 at 12:50 AM, Chris Bannister
 wrote:
> On Sat, Jul 28, 2012 at 10:52:58AM -0600, Javier Vasquez wrote:
>> On Sat, Jul 28, 2012 at 9:52 AM, Chris Bannister
>> > I use startx, and only have an .xsessionrc file. I know it is read
>> > because of the xterm settings.
>>
>> Resources, whether for xterm, urxvt, or similar, usually are not
>> configured into .xinitrc, neither .xsession (I never used
>> .xsessionrc).  Instead they are specified in .Xresources and
>> .Xdefaults.  However it might be you "xrdb" them from .xsessionrc,
>> though .Xdefaults the old days was supposed to beloaded automatically
>> without being loaded through xrdb.
>>
>> Now, to make both startx and xdm (and other DMs using .xsession) what
>> is required is to have .xinitrc with execute permissions (.xsession
>> requires them for for several DMs if I recall correctly since it gets
>> executed), and then create a link from .xinitrc to .xsession.
>
> If I don't call it .xsessionrc, startx doesn't work, it just dumps me
> back to the tty with:
>
> X.Org X Server 1.12.1.902 (1.12.2 RC 2)
> Release Date: 2012-05-19
> [snip other]
> xinit: connection to X server lost
>
> The screen doesn't even flicker.
>
> I am using fvwm, no DM at all.
>
> I have tried, .xinitrc, .xsession, with and without execute permission,
> all give above messageน: "xinit: connection to X server lost"
>
> I don't have either an ".Xdefaults" or a ".Xresources" file.
>
> .xsessionrc works whether it is executable or not
>
> น I also get that message when I quit fvwm. The point is, X doesn't even
> start in this case.

Have you tried not having your .xssesionrc at all?  Does it provide
the same result to you as with .xsessionrc?

I've been using .xinitrc and .xsession with plain fluxbox (no DE), to
work with plain startx or xdm (other DMs as well such as slim and
wdm), and I have had no problems for around 10 years (well I no longer
use slim neither wdm now a days)...  For setting resources I use
.Xresources and .Xdefaults.

Any ways if you look at the startx man page, you'll see at the bottom
the configuration files.  It only talks about .xinitrc, and .xserverrc
(not .xsessionrc), and I would not play around with .xserverrc, the
one in /etc works just fine.  There's even an example in the example
section there where they call twm.  The last thing to call is the
WM...  If the call for the WM is not there, then Xorg will just start
and then terminate.  But if the WM is called, and Xorg starts and
crashes, then you need to look at the Xorg errors...

If you look at the xdm man page, you'll notice as well in the overview
section, that ~/.xsession needs to be executable, and it's what the
xdm Xsession calls...  There's even an example in there where they
call twm as the WM...  If there's no WM, and you're not using a DE,
then Xorg will start and die.  Same thing with startx.

Now, this is the reason I recommended, to reduce maintaining several
initialization files, just provide execute permissions for .xinitrc,
and then make a link from it to .xsession.  Make sure you call the WM
as the last thing on .xinitrc, "exec startfluxbox" for example, and
don't worry about .Xresources and .Xdefaults yet.  BTW, startx does
not use .xession at all...

Can you provide the .xinitrc you're trying for your startx attempts?
As a fallback, before calling your WM, you can also call xterm, or
some other term, to keep Xorg up while the term is up...  If that
works, then it might be something is wrong when calling the WM...

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calurrgdvnhyonlpspg-xq+16knq4yija3b1xwcff5nsehzj...@mail.gmail.com



Re: startx vs. xdm

2012-07-28 Thread Javier Vasquez
On Sat, Jul 28, 2012 at 9:52 AM, Chris Bannister
 wrote:
> On Fri, Jul 27, 2012 at 01:31:51PM -0400, John L. Cunningham wrote:
>> On Fri, Jul 27, 2012 at 09:20:02AM -0800, peasth...@shaw.ca wrote:
>> > In the process of trying to make xmonad work I've found
>> > that startx fails whereas xdm succeeds.  The logs are here.
>> > startx fails: http://carnot.yi.org/Xorg.0.log.old
>> > xdm succeeds: http://carnot.yi.org/Xorg.0.log
>> >
>> > My summary of the differences follows.
>> >
>> > Any insights to direct further studies?
>>
>> I would only note that startx and xdm don't necessarily look at the same
>> startup files.  xdm looks for .xsession and startx looks for .xinitrc.
>
> I use startx, and only have an .xsessionrc file. I know it is read
> because of the xterm settings.

Resources, whether for xterm, urxvt, or similar, usually are not
configured into .xinitrc, neither .xsession (I never used
.xsessionrc).  Instead they are specified in .Xresources and
.Xdefaults.  However it might be you "xrdb" them from .xsessionrc,
though .Xdefaults the old days was supposed to beloaded automatically
without being loaded through xrdb.

Now, to make both startx and xdm (and other DMs using .xsession) what
is required is to have .xinitrc with execute permissions (.xsession
requires them for for several DMs if I recall correctly since it gets
executed), and then create a link from .xinitrc to .xsession.

Also, from the old days, .Xdefaults can be a link to .Xresources, so
the resources loaded by default are the .Xresources.  Now a days, this
might have changed, some .xininitrc files even evaluate if .Xresources
exists to then "xrdb" them...

Thanks,

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGf_k8nB-Sti0sq=3ESXKCe4bq-ryn9-ezsHQ=5u38s...@mail.gmail.com



Re: multiple ftp servers

2012-07-17 Thread Javier Barroso
On Tue, Jul 17, 2012 at 1:41 PM, Anan Zaaa  wrote:
> I have proftp installed and want to install pureftp on a different port for
> custom usage.
> But apt-get removes proftp before installing pureftp. Any idea how can i
> overcome this?

You need remove conflct from pure-ftp package, but this is a problem
when you want to upgrade the package, you will have to hold that
package and upgrade yourself, modifying the package every new release.

Technically:
1. Install pureftp dependencies (aptitude install openbsd-inetd
pure-ftpd-common)
2. Modify the pureftp package:
   2.1 aptitude download pure-ftpd ; mkdir tmp; cd tmp
   2.2 Decompress (ar x ../pure*deb)
   2.3 Modify control.tar.gz, so its control file has not conflicts
and not provides ftp virtual package (you can do it with vim if
confortable or untaring / taring control.tar.gz file)
   2.4 Compress (ar rc pure-ftpd_1.0.36-1_amd64.deb debian-bynary
control.tar.gz data.tar.gz)
3. Install forcing it (because there are a conffile which conflicts
too with the other ftp) (dpkg -i --force-all pure*deb)
4. Hold the package aptitude hold pure-ftpd

I hope this help, but really it is not a good example of use of apt
system :-). If you have your own repository you can build appropiate
package there !

Regards,
PD: Does somebody know an easier method to overwrite this kind of conflicts ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZQz+HmB+wkZuLA=fn6=_mbv0bwhwrn8-bd2nh6ttbb...@mail.gmail.com



Re: Small xorg?

2012-07-04 Thread Javier Vasquez
On Wed, Jul 4, 2012 at 9:49 PM, Sthu Deus  wrote:
> Good time of the day, Patrick.
>
>
> You worte:
>
>> Any recommendations for a small, compact version of X (limited
>> features OK) for an old Thinkpad 240X -- max RAM 192MB (design limit.
>>  won't take more.  tried.), 500MHz P3, 800x600 screen--to install
>> Squeeze on?  I'm running Etch and XFCE on it currently.  Want to see
>> if I can install a supported version of Debian with a small window
>> manager without the bloat of a full size X.
>>
>> I really like this notebook for travel--what I got it for originally
>> before netbooks existed.  Great keyboard--I do a lot of typing.
>>  Don't want to put it in a closet to gather dust.  Waste not, want
>> not. ;-)
>
> You assuredly can! - I used current Debian w/ LXDE on P-I ! w/ same RAM
> size as Yours and HDD of 40 GB.
>
>
> Sthu.
>


You can go even further, with no DE (desktop environment) at all.
Just plain WM (window manager), such as fluxbox (the one I prefer),
blackbox (the one used by default on LXDE), fvwm2, etc...  Some other
tiling WMs are also available such as xmonad...

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calurrgdajtfuf+troriwykcir1vm_pwz0eczeakuezo1+t-...@mail.gmail.com



Re: aptitude full-upgrade installs unnecessary packages

2012-06-15 Thread Javier Vasquez
On Fri, Jun 15, 2012 at 10:20 AM, Sven Joachim  wrote:
> On 2012-06-15 18:15 +0200, Christoph Groth wrote:
>
>> "aptitude -D" is supposed to show for each package to be newly installed
>> the reason why it is needed.  In my case, aptitude wants to install
>> texlive-fonts-extra though this package is currently not installed and
>> also (to my knowledge) not required or recommended in any way.
>
> Interesting.
>
>> "apt-get full-upgrade" wants to do the same, BTW.
>
> Please show the output of "dpkg -l texlive-fonts-extra".
>
> Cheers,
>       Sven

Some time back the policy changed to install by default the
"recommended" ones.  So I had to include in my setting:

APT::Install-Recommends "false";

I'm not sure if that would help you.  Also I would turn off
"suggested" packages if you have them turned on (they are not by
default), like:

APT::Install-Suggests "false";

Perhaps you could try those and see what happens, :-)  It might this
is not related to your problem, but if you know what you're doing,
it'd be worth giving it a try...

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGeR9Wh+8rrMTK7DqO3OoQ3=pog2gqzttf6smk+44nk...@mail.gmail.com



Re: Sound on Squeeze

2012-05-29 Thread Javier Vasquez
On Tue, May 29, 2012 at 12:08 PM, Joe  wrote:
> On Tue, 29 May 2012 17:55:22 +0100
> Lisi  wrote:
>
>> Hello, all!
>>
>> On a new installation of Squeeze the sound is muted.  I have checked
>> Alsamixer and made sure that master and PCM are not muted, as
>> recommended by Claudius. But sound is still muted.
>>
>> A large part of the problem is that I am a total ignoramus when it
>> comes to sound, so although i have launched both Alsamixer and Kmix
>> (consecutively, not simultaneously!), I can see nothing wrong.  But
>> as I don't know what to look for, (other than, thanks to Claudius,
>> the 00s in Alsamixer for Master and PCM), that is not surprising.
>>
>> Where do I look next?  And for what do I look?
>>
>
> Probably tutorials on Linux sound...
>
> Very first question: is the user in the audio group? Absolutely vital.
>
> Next quick question: do you have more than one sound device e.g.
> motherboard and USB sound card? If so, you may be looking at the wrong
> one. Start by looking in /proc/asound to see if what's there looks
> right, and if there is more than one cardN directory, usually but not
> always starting with card0.
>
> The utility called speaker-test which is in alsa-utils is useful. It
> only makes noises, but it's quicker to use than locating an MP3 file
> and player, and then wondering whether the player is working. Just type
> speaker-test at a prompt and kill it with ctrl-C.
>
> --
> Joe


BTW, if using USB sound device then care must be taken cause debian
always set usb device as non 1st device:

/etc/modprobe.d/alsa-base.conf

 16 # Keep snd-usb-audio from beeing loaded as first soundcard
 17 options snd-usb-audio index=-2

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGe6P3+8OetvJicTGac=wnxpyd7b5cxw95ptorhnma3...@mail.gmail.com



Re: Re: apt-get dist-upgrade failed.

2012-05-03 Thread Javier Parapar
BTW by installing phonon-backend-null the dist-upgrade can be performed,
but no audio or video could be generated meanwhile a proper backend is not
installed.

-- 
Javier Parapar


Re: Re: apt-get dist-upgrade failed.

2012-05-03 Thread Javier Parapar
Same situation here, I've tried with several updated mirrors (
http://mirror.debian.org/status.html) and no difference.

According to this
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669278 should
we expect any update in the repositories soon?

Regards,

-- 
Javier Parapar


Re: Debian GNU/Linux wheezy/sid: aptitude ERROR

2012-05-02 Thread Javier Vasquez
On Wed, May 2, 2012 at 5:00 AM, Csanyi Pal  wrote:
> Andrei POPESCU  writes:
>
>> On Mi, 02 mai 12, 08:52:26, Csanyi Pal wrote:
>
>>> today I run aptitude update and get errors:
>>> http://paste.debian.net/166950/
>>
>> Pastebin for 3 lines?
>>
>>> After that I run aptitude safe-upgrade and again, I get errors:
>>> http://paste.debian.net/166951/
>>
>> I'd say this is your problem:
>>
>> Setting up fontconfig-config (2.9.0-2) ...
>> rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory not empty
>> dpkg: error processing fontconfig-config (--configure):
>>
>>> What can I do to solve these problems?
>>
>> Delete or move (not copy) that directory somewhere else and then retry.
>
> Thanks! That solve the problem.


BTW, as the defoma is getting removed, instead of manually moving its
directories and files, you could have:

aptitude purge defoma

And that would have paved the way as well, actually I did that
yesterday (sid) with no porblems, :-)

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGeAPeS=ZnszbSB6A6quUwAajqnCs==wwa9xpr8oj78...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-28 Thread Javier Vasquez
On Sun, Mar 25, 2012 at 12:09 AM, Stan Hoeppner  wrote:
> On 3/24/2012 4:02 PM, Javier Vasquez wrote:
>> 2012/3/24 shirish शिरीष :
>
>>> # TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
>>> # size is provided.  If no value is provided here, the kernel default
>>> # will be used.
>>> TMPFS_SIZE=20%
>>
>> See, this is as you wish.  This particular setting is the maximum for
>> ALL of the tmpfs space.  Kind of the default if nothing else is
>> specified.  You might not touch this if you don't want.  So I would
>> not be afraid of using 100% of RAM here.
>
> That's probably not a smart idea:
>
> http://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
> ...
> tmpfs has three mount options for sizing:
>
> size:      The limit of allocated bytes for this tmpfs instance. The
>           default is half of your physical RAM without swap. If you
>           oversize your tmpfs instances the machine will deadlock
>           since the OOM handler will not be able to free that memory.
> ...

Hmm, but you omitted swapping.  Using your same link, you'll see that
you can use whole RAM, and that doesn't mean oversizing, specially
with the OP swap size...

First some more data form the link:


tmpfs puts everything into the kernel internal caches and grows and
shrinks to accommodate the files it contains and is able to swap
unneeded pages out to swap space. It has maximum size limits which can
be adjusted on the fly via 'mount -o remount ...'
...
If you compare it to ramfs (which was the template to create tmpfs)
you gain swapping and limit checking.
...
Since tmpfs lives completely in the page cache and on swap, all tmpfs
pages currently in memory will show up as cached. It will not show up
as shared or something like that. Further on you can check the actual
RAM+swap use of a tmpfs instance with df(1) and du(1).


So yes, one needs to be careful, not to oversize your tmpfs.  That's
completely true, but the limit is not physical RAM, it is actually
RAM+Swap, as I mentioned before.

On this thread, it is asked about how to got with huge files to be
handled by tmpfs, well, debian still gives the option to set /tmp as a
regular partition for example, but if you also have enough swap space,
then by setting the right tmpfs size, you can still get away with it
through tmpfs.  Actually in this case I suggested 2g or even 3g for
tmpfs, which was discarded because it sounded dangerous at first by
looking only at RAM, and not considering at all the available swap,
which in my mind and experience is a mistake.

>
> The OP would likely be far better off simply mounting /tmp on his root
> filesystem as was always done in the past.

I don't agree.  Actually the OP has plenty of swap, so he could get
away with 2g or 3g of tmpfs with no risk.

>  Application developers
> writing to /tmp aren't expecting memory speed transfers of such files
> because of the traditional placement of /tmp.  And he'll have more than
> enough space, many times his RAM quantity.

This is true, but his swap area already provides that in his case.

>
> FWIW, my Squeeze servers are all upgrades going back to Sarge, IIRC.
> Here's my /tmp setup:
>
> $ df /tmp
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/sda2     ext2     33G  3.8G   28G  12% /
>
> I'm sure some/many of you will gasp at that fact I still use EXT2.  If
> it ain't broke, don't "fix" it.  The /boot and root filesystems are on
> EXT2, with all data storage on XFS.  Never had problems with EXT2 in
> this setup, so it lives on, for now.
>
> --
> Stan

Just in case, although totally OT, I use ext4 for everything, and I
don't have any problems, :-)  And before tmpfs, I kept /tmp in ext4
then, without problems either, so I don't think there's need to
specially recommend ext2.  But this is opinion based on self
experience only.

And I'm sorry to reply even though it has been asked to close the
thread, but I believe there's need to realize that we're not talking
just about RAM.

And on small RAM boxes, things can still work with enough swap, and
for them there was a rule of thumb that said one needed to double at
least the RAM size, and one can play then with total of 3 times RAM
size...

The same way people is recommending disk partitions, one could
recommend increase of swap space, whether through more swap partitions
or even swap files (there's no need to create new partitions for
swapping).  And one can always change whatever wanted...

I think this time I won't come back to the thread, :-)


-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calurrgffkx4dtt2zuhr1ox5b9fwo2kvzk-ip3pgvnxr6eqw...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
2012/3/24 shirish शिरीष :
>
> ...
>
> How do I write values of TMPFS_SIZE and TMP_SIZE
>
> This is what it looks like atm :-
>
> # TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
> # size is provided.  If no value is provided here, the kernel default
> # will be used.
> TMPFS_SIZE=20%

See, this is as you wish.  This particular setting is the maximum for
ALL of the tmpfs space.  Kind of the default if nothing else is
specified.  You might not touch this if you don't want.  So I would
not be afraid of using 100% of RAM here.  Though if you feel like it's
too agressive, you can set something different.

When using %, the percentage is with respect to RAM.

I would recommend you also looking at swappiness setting
(vm.swappiness), :-)  When you use absolute sizes, those sizes can go
beyond RAM, as long as they fit into RAM+Swap, that's why I mentioned
swappiness, though a bit off topic.

>
> # TMP_SIZE: maximum size of /tmp
> #
> # No default size.
> TMP_SIZE=

This is also as per your needs.  You might want to use all of the RAM
reducing if you'd like other tmpfs areas such as /run and /run/lock,
plus some margin.  Or you could use some other heuristic, more or less
conservative.

I would use half the RAM if I want to be conservative, :-).  And if
agressive, then whole RAM, hoping to swap when in need (I usually have
in swap same amount of RAM).

You can google around this, and you can find the following information
useful (though not debian):

https://wiki.archlinux.org/index.php/Fstab#tmpfs

Notice there's no restriction to go beyond RAM size again, since you
can always swap.

Finally, you do not need to touch /etc/default/tmpfs if you don't want
to.  Just set the entry in your /etc/fstab as I mentioned previously,
kind of:

tmpfs  /tmptmpfs   nodev,nosuid,relatime,size=2G   0   0

Just make sure the size you use doesn't exceed RAM+Swap...

>
> Now my questions are :-
>
> a. From where would TMPFS_Size be used ? Would it take from the space
> allocated from / (which has enough empty space) or does it take from
> /home. Note that I have two partitions / , /home and of course swap is
> also good around 4 GB.
>
> $ free -h
>             total       used       free     shared    buffers     cached
> Mem:          2.0G       1.8G       134M         0B        72M       840M
> -/+ buffers/cache:       954M       1.0G
> Swap:         4.6G       212M       4.4G
>

There's no magic, just experimentation.  I think I provided enough
hints, but from your setting:  2g RAM + 4.6g Swap, I would go with the
2g, or even 3g...  It doesn't mean you'll be using all that amount of
tmp area, it means you can load through vim a 2g or a 3g file if you'd
like, :-)  Vim by default loads in /tmp...

> b. The second question is how do I phrase the two ?
> tmpfs is given as 20% . 20% is default for what and from where ?

Didn't understand.  TMPFS_SIZE is kind of the default if no other
setting is found.  The rest are specific.

>
> c. What do I write at TMP_SIZE= if I want to say 900 MiB or 1 GiB .

Do the math, :-)  I believe you can use a suffix also.  But again, you
can always use fstab without touching debian stuff...

>
>
>> Thanks,
>>
>> --
>> Javier.

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGdzOfDvLLUHOKGSbb1Qte0+96�pqanni1rtdsxjx...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
On Sat, Mar 24, 2012 at 11:10 AM, Camaleón  wrote:
> On Sat, 24 Mar 2012 11:00:49 -0600, Javier Vasquez wrote:
>
>> 2012/3/24 Joey Hess :
>>> shirish शिरीष wrote:
>>>> I got this error, does anybody know how I can give more space to tmpfs
>>>> ?
>>>>
>>>> Downloaded, time 4575.50sec, speed 29kB/sec,
>>>> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>>>>  Error: applying of delta for texlive-latex-extra-doc failed:  :
>>>> Sorry, not enough disk space (581788kB) in directory /tmp for applying
>>>> delta (needs 668963kB) (retriable)
>>>
>>> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point
>>> to something like $HOME/tmp
>>>
>>> You may also consider filing a bug, since the more people report
>>> problems with Debian's new, absurdly small /tmp, the more likely it is
>>> to get fixed.
>
> +5
>
>> Why?
>
> Because the default is giving some headaches to the users?
>

How many?  Or how many would you consider critical mass to make things change?

To me it's just not possible to provide defaults satisfying all users.

The important thing for the distro is to make sure to provide options
so the user can tweak the system as he/she wants/needs.  Not that it
will be perfect by default for his/her needs.  And this is already the
case for this tmpfs thing.

Moreover, you can shut debian settings off, and use fstab if you'd
like, as follows:

tmpfs  /tmp tmpfs   nodev,nosuid,relatime,size=2G   00

Current setting is not the most fortunate for some (neither for me),
but users still have the ability to configure as they wish, which BTW
can serve way better than any default now, or even in the future.

>> You can always configure as you wish.  Take a look at:
>>
>> /etc/default/tmpfs
>>
>> There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
>> asked for.  And if you definitely don't want to use tmpfs, then you can
>> RAMTMP=yes as you suggested.
>>
>> I think this is a matter of configuration, and we all might want
>> different settings for our purposes, :-)
>
> There was a recent discussion in this same list about that entitled
> "[Feedback needed] Setting the right size for /tmp" (it was opened by
> me), I would recommend reading people's comments to get a wider outlook
> on this with their pros and cons.

With so much traffic, I usually miss some e-mails...  I'll have to
look for that one you started...

I won't probably talk more about this, :-).  I believe the question
has been addressed (with options, and suggestions for complains), and
if not, maybe the original poster can ask further, :-)

>
> Greetings,
>
> --
> Camaleón

Thanks,

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGdKaMg=byhq4cyq5mrjjwqwcg6zq2kjktrxeuyvxo3...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
2012/3/24 Joey Hess :
> shirish शिरीष wrote:
>> I got this error, does anybody know how I can give more space to tmpfs ?
>>
>> Downloaded, time 4575.50sec, speed 29kB/sec,
>> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>>  Error: applying of delta for texlive-latex-extra-doc failed:  :
>> Sorry, not enough disk space (581788kB) in directory /tmp for applying
>> delta (needs 668963kB) (retriable)
>
> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point to
> something like $HOME/tmp
>
> You may also consider filing a bug, since the more people report
> problems with Debian's new, absurdly small /tmp, the more likely it
> is to get fixed.
>
> --
> see shy jo


Why?

You can always configure as you wish.  Take a look at:

/etc/default/tmpfs

There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
asked for.  And if you definitely don't want to use tmpfs, then you
can RAMTMP=yes as you suggested.

I think this is a matter of configuration, and we all might want
different settings for our purposes, :-)

Thanks,

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGfNyLUZNqLjbnb8v8K2LD_k7LUgmuSoH2fBQ+wV_G=6...@mail.gmail.com



Re: Why did UDEV renumber my ethernet interface again?

2012-02-27 Thread Javier Barroso
On Mon, Feb 27, 2012 at 3:46 PM, Curt Howland  wrote:
> Dear Debianistas,
>
> I'm aware of _what_ UDEV is doing, that is, renumbering my ethernet
> ports to prevent conflicts. Yeah. There's only one, but it's getting
> renumbered "eth3".
>
> Trouble is, it wasn't renumbered yesterday. Just today. And a week ago.
>
> About a week ago, UDEV decided to let eth0 remain eth0, which was
> nice, but I had to change /etc/network/interfaces because it had
> previously decided that eth0 should be eth3, and had been doing that
> since I installed it two years ago.
>
> Yes, I'm running Unstable, so it's the UDEV updates that are doing
> this. That makes sense.
>
> What doesn't make sense is _why_. There is only one ethernet interface
> in this machine. Why is UDEV renumbering them _at_all_?
mmm, what does /etc/udev/70-persistent-net.rule file say ?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZTdU=TG-P0++b7PU9Pn5Km8KWgesjEJn=uxsbdqb3a...@mail.gmail.com



Re: [1/2OT] something about sed

2012-02-26 Thread Javier Barroso
On Sun, Feb 26, 2012 at 4:30 PM, lina  wrote:
> Hi,
>
> sorry a bit off-topic,
>
> sed -e 's/\(<[^ ]*>\)\([ ]*\)\(<[^ ]*>\)/\3\2\1/g'
> GNU Linux is cool
> Linux GNU cool is
No here ...

>
> I don't know why
>
> $ echo "GNU linux is cool" | sed -e 's/\(<[^ ]*>\)\([ ]*\)\(<[^ 
> ]*>\)/\3\2\1/g'
> GNU linux is cool
>
> It doesn't work.

Remove "<" and ">", from substitution, and sustitute * by "\+", and
you can use " *" without have to use "[ ]*"

sed -e 's/\([^ ]\+\)\( \+\)\([^ ]\+\)/\3\2\1/g'

or using extended regular expressions, you can remove all escape stuff :

sed -re 's/([^ ]+)( +)([^ ]+)/\3\2\1/g'

I hope this help


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZRQi7y3VH4bDqGtnEVeFdk0=lf5act3pwdpin-...@mail.gmail.com



Re: [debian-mips][icedtea-jamvm] Any one using the icedtea-6-jre-jamvm on mipsel?

2012-02-20 Thread Javier Vasquez
I sent the following to debian-mips list before, cause I wanted
acceleration on such machines, however maybe there's people using the
jamvm icedtea plugin not only on mipsel machines, :-).

Please see below.

--
Javier.


On Sun, Feb 12, 2012 at 9:00 PM, Javier Vasquez  wrote:
| On Sun, Feb 12, 2012 at 4:36 PM, Javier Vasquez
 wrote:
| | Hi,
| |
| | I just installed icedtea-6-jre-jamvm, which depends upon
| | openjdk-6-jre-headless, and it provides the shared library libjvm.so.
| |
| | For some reason debian doesn't link this library inside
| | /usr/lib/mozilla/plugins, but when creating the link by hand, it
| | happens that when starting iceweasel, there's no indication of any
| | failure (on the term it was started), and when going to
| | "about:plugins" there's no sign of the plugin.
| |
| | When trying to configure alternatives for mozilla-javaplugin.so, none
| | is found unless the icetea-netx is installed, in which case the only
| | alternative is the plugin provided by it, and when loading an applet
| | one can read in the term that the plugin loaded of course was the zero
| | hotspot one.
| |
| | I looked under google for options on the subject with no success.  Is
| | the package broken, or am I missing something?  Is there a howto
| | around?
|
|
| I experimented with the following, under jre/lib/mipsel:
|
| mv server/libjvm.so server/libjvm.so.orig
| cd server
| ln -s ../jamvm/libjvm.so
|
| And then when doing:
|
| java -version
|
| I got the right version (the inline, not the zero hotspot)...  So
| that's good news, however in order to have the icedtea plugin so, I
| still need to have the netx installed.
|
| I was expecting a perfomance boost on applets, but I didn't noticed
| any at least on gmail, :-)
|
| Not sure if that's all to be done, cause if so, I better stick with netx, :-)
|
| Thanks,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGfMTA5AZCcT-QPsUWWPC-ND3emqnXAyoTL=zfozkdn...@mail.gmail.com



Neither showkey neither xev recognize a key combo, what to do ?

2012-01-07 Thread Javier Barroso
Hi,

In my Toshiba (Satellite Pro L300) laptop:

showkeys (outside X), doesn't recognize ALT+ALT GR+2
xev (inside X) doesn't recongize ALT + ALT GR+2

Both neither recognize ALT + ALT GR+ 1

But both recognize correctly ALT + ALT GR + 3

If I would have to open a bug for this issue which package would be the
correct ? kernel ?

I discovered this, when I tried to use complete-hostname default bind key
(META - @) in bash. In spanish layout @ = ALG GR - 2

Do you have any tip ? And if you have the same model of toshiba laptop , it
happens to you ?

Thanks !


Re: where did gmplayer go?

2011-12-30 Thread Javier Vasquez
On 12/30/11, Steve Kleene  wrote:
> I just let my Wheezy system upgrade mplayer, and now I can't get a skin for
> the player.  ...
>
> upgrade mplayer 3:1.0~rc4+svn20111024-0.0 3:1.0~rc4+svn20111213-0.0
>
> ...
>
> Does anyone know why the skin option vanished?  Is it likely to return to
> the
> distribution?  I know there are other players, but I'd prefer to stick with
> the mplayer/mencoder system.
>
> Thanks.


If you're talking about debian-multimedia repo mplayer package, the
gui was only available for x86, and now Christian decided to remove
the gui from his repo...

You can take a look at the discussion thread:

http://www.debian-multimedia.org/lurker/thread/20111202.173103.d48cf110.en.html#i20111202.173103.d48cf110

I would suspect then both testing and unstable were affected by this...

Any ways, most front ends are good alternatives, even if you don't use
a DE.  I don't use any DE, and I'm fine with gnome-mplayer, and it's
used by the gecko media player as well, so it works fine for me, but
you can always look for other alternatives...

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGdg9=bih0H5ga4+Hufn0=sxfzdl8d0u-vg6sctrcfd...@mail.gmail.com



Re: something regards "find"

2011-12-29 Thread Javier Vasquez
On 12/29/11, lina  wrote:
> Hi,
>
> I don't know how to find one file out,
>
> one file contains some numbers, like
>
> 7.9 2.4 4.2 12.2 and etc
>
> I can't remember the file name. I tried:
>
> $ grep -e "7.9" -e "2.4" -e "4.2" -e "12.2" */*
>
> $ grep -e "7.9" -e "2.4" -e "4.2" -e "12.2" */*/*
>
> not work,
>
> Thanks with best regards,


Is that all deep you want to go?  You can use "-r" (man grep) for
recursive, in case it's found deeper, and just provide the common root
to all directories...

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/calurrgelfjsmj6_7x2khq8yxoanunnvwihj1uwp3m9lf7db...@mail.gmail.com



Re: what's the best media player ?

2011-12-18 Thread Javier Vasquez
> ...
> As a default player i use gnome-mplayer.I recommend that you to use it.
>
> ...
>>
>> I have a problem in using movie player, it's kinda of funny when open
>> some song with it, all the process just being killed and came to login
>> interface. (more like the new-started laptop without truely re-start).
>>
>> ...

Well, I don't know what moview player is, perhaps "mplayer" is what
has been referred?  BTW, "m" stands for media, if that is the case,
not movie, :-)

Now gnome-mplayer is not a player by its own.  It's just a front end
to mplayer.  And mplayer has different front ends, like KDE ones, GTK+
ones, etc.

To watch video I've been using mplayer for quiet a while, and I've
found no reason to change.  Even when VLC came on board, I just kept
with mplayer with no regret.  Regarding a front end, gnome-player is
what I use given it's the one installed for the gecko plugin, and
besides it works well.

For audio I'm afraid I prefer MPD with mpc, ncmpc, and gmpc as client
front ends, for most of the stuff (including listenning to streaming).
 And for local audio listening I prefer just MOC.  Alsaplayer
sometimes comes in handy as well...

I'm not sure if one alone media player fits all purposes, :-)

At any rate, there's bunch of information about media players on the web...

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGcve3r=jy4SVE8LNFW=kwdgdpqx9fpp9wqxpap_ioe...@mail.gmail.com



Re: why does mplayer sound bad and flashplugin-nonfree sound good?

2011-11-29 Thread Javier Barroso
On Tue, Nov 29, 2011 at 3:47 PM, Curt  wrote:
> On 2011-11-28, Javier Barroso  wrote:
>> In my mplayer installation that file sounds ok, so maybe related to
>> sound card issue ?
>
> What file? The one he downloaded (with the "-f best" argument, whatever
> that is or becomes)?
Sorry, I downloaded the file with -f best switch, so now I'm not sure

Regards,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cal5ymzs6ady-bxwh-iyjvstkathfkpbh01pu7_y5cqukw4y...@mail.gmail.com



Re: why does mplayer sound bad and flashplugin-nonfree sound good?

2011-11-28 Thread Javier Barroso
On Mon, Nov 28, 2011 at 3:46 PM, Camaleón  wrote:
> On Mon, 28 Nov 2011 09:18:37 +0800, jidanni wrote:
>
>>> "C" == Camaleón   writes:
>> C> What happens when ypu open the file with another media player? It
>> sounds great! OK I filed
>> http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2019
>
> Wow, that was a fast bug report! :-)
>
> Maybe Mplayer has an option (aka: parameter) you can use to get a better
> sound quality for a specific audio/video format/codec, depending on the
> file you want to play :-?
In my mplayer installation that file sounds ok, so maybe related to
sound card issue ?

Regards,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZT=W5atmn6S8Hs6EtT7jsL9M=ylqpxagx6w9cc5uhy...@mail.gmail.com



Re: Has iceweasel (or maybe flash) gone single threaded

2011-11-25 Thread Javier Barroso
On Fri, Nov 25, 2011 at 10:12 AM, Alan Chandler
 wrote:
> Over the last few weeks iceweasel has started to operate strangely.  The
> whole application stops whilst trying to open a web page.  you can't switch
> tabs.  Sometimes it gets SO BAD that the entire desktop locks for a while.
>
> Am I the only person experiencing this.
>
> I suspect it has something to do with Javascript or Flash - Slashdot is a
> good candidate to cause this to happen - although it often appears from the
> status bar at the bottom that it is trying to fetch some advert info.
It happens to me too, I think with some javascript which I don't identified yet.

I remember read about this kind of issue was going to be fixed using
¿one thread by tab? There is a mozilla page talking about [1]

Maybe there are any bug related ?

Regards,
[1] http://kb.mozillazine.org/Firefox_hangs#Hang_loading_sites_with_JavaScript


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZQHkEwZ6c-zh36Te65PoDB3-LhsLyi4h+og=jvynzw...@mail.gmail.com



Re: Xfce: GIMP as default PDF viewer ?

2011-11-17 Thread Javier Barroso
On Thu, Nov 17, 2011 at 6:04 PM, Jerome BENOIT  wrote:
>
>
> On 17/11/11 17:37, Osamu Aoki wrote:
>>
>> On Thu, Nov 17, 2011 at 04:45:19PM +0100, Jerome BENOIT wrote:
>>>
>>> Hello List:
>>>
>>> Since I migrated from Gnome3 to Xfce, I have noticed that thdefault
>>> viewer for PDF files is now GIMP:
>>> I would rather expect acrobat or evince.
>>>
>>> Where is the place to fix this ?
It is not elegant, but you could remove pdf from mimetypes that manage
gimp (/usr/share/applications/gimp.desktop) and rebuild the mime
database (update-mime-database)

Of course this is not the best solution, when you upgrade your system
you will get again the same behaviour

There is a bug (closed) [1] with that issue, maybe should be
reassigned to another package?

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522998


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL5yMZR6=mjvk6pveo5-f3unr18wqpkwvquif3mhr1hb6gg...@mail.gmail.com



Re: Testing Gnome3 Radeon OS complete system freeze

2011-11-10 Thread Javier Silva
2011/11/10 Joost Kraaijeveld :
> Hi Javier,
>
> Thanks for responding.
>
> On Thu, 2011-11-10 at 19:36 +0100, Javier Silva wrote:
>> 2011/11/10 Joost Kraaijeveld :
>> Before upgrade to Gnome3 and radeon opensource driver...
>>
>> what driver you had installed?
> The closed source driver from AMD latest version (10.10)

closed source driver from AMD had retired from repositories!!!

open source radeon driver is xserver-xorg-video-radeon and need
firmware-linux-non-free.

the radeon driver uses KMS, notes from driver:

xserver-xorg-video-radeon (1:6.12.192-2) unstable; urgency=low

  * Starting with this version, the radeon driver enables kernel mode setting
(KMS) by default.  This comes with a framebuffer driver which enables
native resolution on the console.  KMS also allows faster VT switching
and mode changes.

Enabling KMS may break X.org drivers that are not KMS-ready, for instance
radeonhd or vesa.

In case of trouble KMS can be disabled with the 'nomodeset' kernel
command line parameter, or by editing /etc/modprobe.d/radeon-kms.conf.
-

install driver and disable KMS.



>> which graphics card is installed (radeon model)?
> ATI Technologies Inc RV670 AGP [Radeon HD 3850]
>> how many monitors are installed?
> 2 monitors
>
>> does de following commands:
>>
>> * disable GDM to no start -- update-rc.d -f gdm3 disable
>> * start a computer and login in console with a normal user
>> * type 'startx'
> Is the purpose to see if the problem persist even after not loading
> gnome, as to find if if it is a driver problem?
>
>> CTRL+ALT+F1 works?
> After starting x without GDM?
>
> --
> Met vriendelijke groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> web: www.askesis.nl
>
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOg_h5Z8cKGmJrd54o3psQRx7bE15NSfxamCL4xn=s75l4y...@mail.gmail.com



Re: Testing Gnome3 Radeon OS complete system freeze

2011-11-10 Thread Javier Silva
2011/11/10 Joost Kraaijeveld :
> On Wed, 2011-11-09 at 20:47 +0100, Javier Silva wrote:
>>
>> After freeze you can be accessed by ssh?
>> Your machine respond to ping?
>
> No , I cannot access the machine with ssh and I cannot ping the machine.
> I have tot use the on/off button to reboot the machine. Rebooting the
> machine with the just the reset button does not work: the machine is
> unable to find any boot disks.
>
> The troubles started after "upgrading" to Gnome3 and the open source
> radeon driver.
>

Before upgrade to Gnome3 and radeon opensource driver...

what driver you had installed?
which graphics card is installed (radeon model)?
how many monitors are installed?


does de following commands:

* disable GDM to no start -- update-rc.d -f gdm3 disable
* start a computer and login in console with a normal user
* type 'startx'

CTRL+ALT+F1 works?



> --
> Met vriendelijke groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> web: www.askesis.nl
>
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caog_h5b3qcva7rvsf2xq2-sz1zzoo3rrifluhksmef0arqh...@mail.gmail.com



  1   2   3   4   5   6   7   8   >