Re: end of resume sequence (to run my USB network fixup script)

2013-09-05 Thread Dom

On 06/09/13 03:27, Zenaan Harkness wrote:

Gday, when I come out of hibernate, I have to run ifdown, ifup, for my
ethernet device to make it work again (it's a USB device).

I would like my ifup/ifdown script to work automatically.

My /etc/network/interfaces does not have auto for my ethernet device,
because I only want internet when I want it - I do not want the device
on all the time, but if it was on when I hibernated, I do want it to
be re-enabled when I come out of hibernation.

I hope this makes sense.


I can think of at least one way of doing it.

Do you have a script that you run when you want the network to start and 
stop?


If so, make it write the desired state to a file somewhere. Let's use 
"on" and "off" as the contents of the file.


Then set up the device in /e/n/i like this. I'm using eth9 as an 
example, and assuming your net status file will be /var/run/netstatus.


auto eth9
iface eth9 inet dhcp
pre-up ( grep -q "on" /var/run/netstatus)

If the grep fails to find "on" in the file it will return 1 and the 
interface won't be started.


If it does find "on", it will return 0 and the interface will be started.

--
Dom


--
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/52296e93.6080...@rpdom.net



Re: Ownership of pluggable devices.

2013-09-05 Thread Sharon Kimble
On Fri, 6 Sep 2013 13:51:09 +1000
Zenaan Harkness  wrote:

> On 9/6/13, peasth...@shaw.ca  wrote:
> > Given two USB pluggable devices, a Sony Mylo,
> > http://en.wikipedia.org/wiki/Mylo_(Sony) ,
> > and a Kingston flash store.
> >
> > # These lines for udev.
> >
> > root@dalton:/home/peter# tail -n 8 /etc/udev/rules.d/10-local.rules
> > # Persistent device names.
> > # The Sony mylo.
> > KERNEL=="sd?1", ATTR{size}=="1752512", SYMLINK+="mylo", \
> >  OWNER="peter", GROUP="floppy"
> > # The KingstonUSB.
> > KERNEL=="sd?1", ATTR{size}=="499712", SYMLINK+="KingstonUSB", \
> >  OWNER="peter", GROUP="users"
> >
Where do these pieces of information come from please? What command do
you use to get the output please? 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 334501 


signature.asc
Description: PGP signature


Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
>>"Forcing" yourself to do something is a matter of self-discipline and
>>attitude. Debian doesn't have packages for instilling those
>>qualitities.
>>:)

This made my day :) 

>>Create two users. One for the undisciplined Anubhav and the other for
>>his aspiring self. Switching to the console with CTRL+ALT+F2 gives the
>>second user the opportunity to log in

Or maybe just logging using the same user after switching to console
with CTRL+ALT+F2. But yes, instead of installing a new version of debian
just to use the console, this seems more feasible! 
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378440107.10051.2.camel@Innovator



Re: Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
Thanks a lot! I will find out more information about tty1-tty6. 
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378439405.9226.0.camel@Innovator



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
>It'd be a lot easier to just CTRL-ALT-F1 to a virtual terminal and work
>from there, don't you think?

This is the most easiest solution for me I feel. Thanks Chris!

-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378439956.10051.0.camel@Innovator



Re: Ownership of pluggable devices.

2013-09-05 Thread Zenaan Harkness
On 9/6/13, peasth...@shaw.ca  wrote:
> Given two USB pluggable devices, a Sony Mylo,
> http://en.wikipedia.org/wiki/Mylo_(Sony) ,
> and a Kingston flash store.
>
> # These lines for udev.
>
> root@dalton:/home/peter# tail -n 8 /etc/udev/rules.d/10-local.rules
> # Persistent device names.
> # The Sony mylo.
> KERNEL=="sd?1", ATTR{size}=="1752512", SYMLINK+="mylo", \
>  OWNER="peter", GROUP="floppy"
> # The KingstonUSB.
> KERNEL=="sd?1", ATTR{size}=="499712", SYMLINK+="KingstonUSB", \
>  OWNER="peter", GROUP="users"
>
> # And for mount.
>
> root@dalton:/home/peter# tail -n 3 /etc/fstab
> /dev/KingstonUSB  /home/peter/MY   ext2  defaults,noauto,user  0   0
> /dev/mylo/home/peter/mylo  vfat  defaults,noauto,user  0   0

When plugging in a device, it is perhaps root that does the mount.

May be you want to use filesystem options "users" instead of option "user"?

Alternatively, for the vfat filesystem, perhaps add mount option
uid=1000 (check your uid to make sure, first user account is normally
1000 on Debian).

Good luck
Zenaan


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



Re: Ownership of pluggable devices.

2013-09-05 Thread Gregory Nowak
On Fri, Sep 06, 2013 at 12:34:05AM +0400, recovery...@gmail.com wrote:
> In short, invoke (after mounting the filesystem):
> 
> chown -R peter /home/peter/MY

I do stand to be corrected, but I don't remember a situation where I
had to do chown like this after every mount. All I've ever had to do
in these situations is to mkdir /home/user/MY, mount /home/user/MY,
and chown user.user /home/user/MY. After each subsequent mount, user
could read/write /home/user/MY with no issues, and without using chown
every time after mount.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20130906030744.gb12...@gregn.net



Re: find and copy

2013-09-05 Thread Zenaan Harkness
On 9/6/13, Craig L.  wrote:
> On Wed, Sep 04, 2013 at 07:16:42AM +1000, Zenaan Harkness wrote:

>> > Both seem to be trying to copy the string '{}' and the directory
>> > /var/data.backup/ to the directory name that is being piped to
>> > xargs, the name of the found file in this case, which is how I
>> > understand xargs to funtion. Regardless, I get the same error to
>> > both:
>> >
>> >"cp: target `dump_08-31-13.sql' is not a directory"
>>
>> Ah yes, well then an argument to cp should do it:
>> ... | xargs cp -t /var/data.backup/
>>
>> ought to do the job. And you can test first with the following:
>> ... | xargs echo cp -t /var/data.backup/
>> 
>
> This works in that it copies the found files to /var/data.backup, but does
> not
> rename it in the process. I'm on another system right now without
> PostgreSQL,
> but my testing was as follows:
>mkdir /tmp/var
>mkdir /tmp/data.backup
>touch /tmp/var/test.sql
>find /tmp/var -mmin -60 -a -iname '*.sql' 2>/dev/null | \
>   xargs echo cp -t /tmp/data.backup
>
> which outputs this:
>cp -t /tmp/data.backup /tmp/var/test.sql

Sorry, I forgot you needed renaming. So -I option to xargs may be
useful for you.

OK, try something like this:

  sh -c 'cp "$0" /tmp/data.backup/${HOSTNAME}".${0:2}"' {} \;

find /tmp/var -mmin -60 -a -iname '*.sql' -type f \
 | xargs -n 50 basename -a \
 | xargs -I NAME echo cp /tmp/data.backup/NAME \
 /tmp/var/$HOSTNAME.`date +%Y%m%d-%H.%M.%S.%N`.NAME.backup

You should be bonza, fab, good to go :)

Let us know if that does the trick,
Zenaan


-- 
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/caosgnsrevtp3wew58jj31mremt60xk+3iqipdnwdjg7_ifj...@mail.gmail.com



end of resume sequence (to run my USB network fixup script)

2013-09-05 Thread Zenaan Harkness
Gday, when I come out of hibernate, I have to run ifdown, ifup, for my
ethernet device to make it work again (it's a USB device).

I would like my ifup/ifdown script to work automatically.

My /etc/network/interfaces does not have auto for my ethernet device,
because I only want internet when I want it - I do not want the device
on all the time, but if it was on when I hibernated, I do want it to
be re-enabled when I come out of hibernation.

I hope this makes sense.

TIA
Zenaan


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



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Gregory Nowak
On Thu, Sep 05, 2013 at 03:55:51PM +0530, Anubhav Yadav wrote:
> >>boot Debian into textmode
> 
> How can I do this?? 
> And thanks, just wondering now how many ways I have got to accomplish
> what I want to do! 

This was already mentioned. The answer is ctrl+alt+f1 through
ctrl+alt+f6 by default. Let me clarify. Unlike in some other
distributions (slackware comes to mind), there is no such thing as
booting into text mode, since gdm starts up in run levels 2-5, as do
your six text consoles by default. So, you actually have both the
graphical environment and text mode available to you at the same
time. The only way to have truly text mode would be either to disable
gdm and start x through running startx, or uninstall the graphical
desktop totally. Since both text and graphical modes are available to
you anyway, there is no reason to do that if you just want to work at
a text console. For the sake of completeness, I will mention run level
1 which is text mode in a single console. You don't want to stay in
run level one all the time for everyday use though. Kind of drawn out,
but it hopefully clears things up. In a nutshell, there's no such thing as text
mode in debian.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20130906021002.ga12...@gregn.net



Re: find and copy

2013-09-05 Thread Craig L.
Thanks Zenaan, for moving this back on-list (to anyone interested, I replied
privately by mistake. Zenaan was gracious enough to accept my mistake)

On Wed, Sep 04, 2013 at 07:16:42AM +1000, Zenaan Harkness wrote:
> 
> It seems I was a bit cavalier on more than one count. My apologies.

No apology necessary. I was cranky that day, and I think we're good. You were
trying to help and that's more important to me.

> 
> > Actaully I considered xargs, but I am very lacking in knowledge
> > of it, and the man page did not offer a solution (that I could see)
> > either. Your suggestion included here will not work, nor will your
> > follow-up suggestion (although the suggestions are appreciated).
> 
> Actually, a bit of tweaking and it will work.

Of course. That's the beauty of an OS built on user desires. :)

> 
> > Both seem to be trying to copy the string '{}' and the directory
> > /var/data.backup/ to the directory name that is being piped to
> > xargs, the name of the found file in this case, which is how I
> > understand xargs to funtion. Regardless, I get the same error to
> > both:
> >
> >"cp: target `dump_08-31-13.sql' is not a directory"
> 
> Ah yes, well then an argument to cp should do it:
> ... | xargs cp -t /var/data.backup/
> 
> ought to do the job. And you can test first with the following:
> ... | xargs echo cp -t /var/data.backup/
> 

This works in that it copies the found files to /var/data.backup, but does not
rename it in the process. I'm on another system right now without PostgreSQL,
but my testing was as follows:
   mkdir /tmp/var
   mkdir /tmp/data.backup
   touch /tmp/var/test.sql
   find /tmp/var -mmin -60 -a -iname '*.sql' 2>/dev/null | \
  xargs echo cp -t /tmp/data.backup

which outputs this:
   cp -t /tmp/data.backup /tmp/var/test.sql

and then this (without the echo this time)
   find /tmp/var -mmin -60 -a -iname '*.sql' 2>/dev/null | \
  xargs cp -t /tmp/data.backup
   ls -l /tmp/data.backup/

outputs this:
   -rw-r--r--  1 craig craig0 Sep  5 19:13 test.sql


Of course, being Linux, there is always yet another way (this without xargs):
   find /tmp/var -mmin -60 -a -iname '*.sql' -execdir \
  sh -c 'cp "$0" /tmp/data.backup/${HOSTNAME}".${0:2}"' {} \;
   ls -l /tmp/data.backup/

results in:
   -rw-r--r--  1 craig craig0 Sep  5 19:14 craigbox.test.sql
   -rw-r--r--  1 craig craig0 Sep  5 19:13 test.sql

The {} argument to sh is $0, and ${0:2} extracts the substring starting after
position 2, from the string represented by {} (./test.sql in this case). It
effectively strips the leading ./

Two caveats regarding that solution:
I have sh pointing to bash on my system. None of the above is tested using dash
which is the default shell on Debian these days. I would expect the same
results, but I am completely unfamiliar with dash.
And, I am pretty sure the sh spawns a subshell for each file found, so in my
case where I know there will only be up to three files it will take minimal
time and resources. I am unsure about the hit a large number of matches would
incur, especially if the files copied are large too.

Cheers,
Craig


-- 
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/20130906011026.ga26...@prod1.getsouthern.com



Re: How many packages in Sid

2013-09-05 Thread sp113438
On Fri, 6 Sep 2013 02:34:52 +0200
sp113438  wrote:

> Thanks!
> 
> Synaptics says I have 41313 packages ready to install on my Sid system
> which I updated today.
> 
> 
> 

That is on my amd64 system, with main contrib and non-free included.


-- 
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/20130906024240.08d44143@fx4100



Re: How many packages in Sid

2013-09-05 Thread sp113438
Thanks!

Synaptics says I have 41313 packages ready to install on my Sid system
which I updated today.



-- 
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/20130906023452.0b33bcfd@fx4100



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Jerry Stuckle

On 9/5/2013 10:32 AM, Zenaan Harkness wrote:

On 9/5/13, Jerry Stuckle  wrote:

On 9/5/2013 5:36 AM, Zenaan Harkness wrote:

On 9/5/13, Jerry Stuckle  wrote:



I have Debian 3.0.4 (via uname -r) on an ARM processor (after
update/upgrade) and am trying to get the kernel headers to compile a
module for it.



aptitude shows the only headers available are for versions 2.6 and
3.2.0.4.

My sources.list contains:
deb http://ftp.debian.org/debian stable main contrib non-free
deb-src http://ftp.debian.org/debian stable main contrib non-free


I recommend you use "wheezy" instead of "stable" in your sources.list
That way you will never be surprised by an automatic update from, eg
Wheezy to Jessie, just at the wrong time, when you really don't need
it.

Codenames are the recommended option for sources.list. Especially if
you are somewhat new to GNU.


I think that is a matter of personal opinion.  I use stable on other
systems because I WANT to keep the systems updated - as I do here.  Can
you show me why changing this will solve this problem?


It won't. It was unrelated.


Two questions:
1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?


I don't know sorry. When did you install Debian?
How did you install Debian (eg CD/DVD/network-install/...??)


I did not.  It came installed on the ARM device.


Perhaps contact the supplier and ask them to make available their
installation repository. You might need to go so far as to then ask
them for access to the source for their code on their device.

That should get you access to the specific headers which ought to
match the Linux kernel installed.



I can ask the engineers - they are the ones who supplied the device.  I 
was just hired to do some device driver programming.  I'm familiar with 
OS/2 and Windows device drivers, but haven't gotten into Linux yet.



2. Where can I find the appropriate headers for version 3.0.4?


Dunno, should be in the same archive (sources.list location) where you
got your kernel from...


Please see above.


Please see above.


Alternatively, how can I update Debian to 3.2.0.4?


Which software do you normally use to install new programs? I use
apt-get, but there are various other options.


I've tried both apt-get and aptitude.  There is nothing to update.


You would of course need a repository with up to date packages. You
will then need to see if there is a more recent kernel. Are you
familiar with package searching, to find packages?



Well, AFAIK, this is the current stable repository.  Is there another 
one I should be using?



You see, kernels are not necessarily automatically upgraded. Which
linux kernel packages do you have installed? The more generic/less
specific, the greater the chance of automatically getting a newer
kernel installed. But that also depends on if a newer kernel package
is available. See above about package searching. If you need more help
on package searching and/or installing, just ask. Sounds sort of like
you don't, but sort of like you might, so I'm not sure. For example,
you could try something like:
apt-cache search linux-image-
and see what you get, then apt-cache show for some of the results. I
don't use arm computer so I can't check easily sorry.



Searching shows images for 2.6 iop32x, ixp4xx, kirkwood, orion5x and 
versatile, plus 3.2.0.3 for iop32x, ixp4xx, kirkwood, mv78xx0, orion5x 
and versitile.  But it looks like nothing for ARM.  I guess I need to 
look around for an ARM repository - although I have upgraded a bunch of 
the other packages on this system from these repositories with no problem.



If a more recent kernel is not available for you to 'manually' install
with say apt-get, then you will need to either find a repository with
one, or compile your own more up to date kernel. I've done it many
times in the past; you'd probaly want to set aside a few hours to go
through the Linux config-menu config options.

Good luck
Zenaan




Yes, looks like I need to find another repository.  I've never compiled 
my own kernel before, so if that's the way I have to go, it looks like 
I'm in for some reading.  I'd prefer not to, though, as I don't want to 
get locked into a long-term contract maintaining the system up to date 
(well, actually, I WOULD - but it's not in the customer's best interests 
:) ).  I'd rather use stock software where ever possible, so others can 
more easily maintain it.


A little more background on this.  The client wants to replace old OS/2 
machines which have been running fine for > 15 years as special purpose 
controllers before they fail.  They were going to go with Windows for 
some other reason (I had some updates on this 3-4 weeks ago) but found 
they couldn't find a computer which would accept their controller cards 
(old ISA bus I think).  So, since they have to design new cards anyway, 
they want to go the ARM route.  The engineers ordered a few devices and 
gave me one to use.  But all it has is display/keyboard and a SD Card, 
so I had 

Re: How many packages in Sid

2013-09-05 Thread Ralf Mardorf
On Thu, 2013-09-05 at 22:16 +0200, sp113438 wrote:
> How do I find out the number of packages currently in Sid?

This doesn't give any information about the quantity of software
available from upstream, since Debian does split the software from
upstream to several packages. some distros don't do this, so a distro
might provide less packages, but could provide more software.

However, IIUC

http://debian-handbook.info/browse/wheezy/sect.apt-cache.html

apt-get update
apt-cache pkgnames > file.txt
cat -n file.txt

I'm not sure if the packages are list by a new line for each package,
I'm not booted to Debian at the moment.


-- 
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/1378414368.787.57.camel@archlinux



Re: How many packages in Sid

2013-09-05 Thread Carroll Grigsby
On Thu, 5 Sep 2013 22:16:39 +0200
sp113438  wrote:

> Hello,
> 
> How do I find out the number of packages currently in Sid?
> Google did not help me.
>  
> Thanks!
> 
> 


A GUI based answer is to open Synaptic, select the All header, and the
number of packages available for the repositories you have selected will
be given. I'm running Jessie AMD 64, and there were 38928 packages
available a minute ago.

-- cmg


-- 
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/20130905172146.68adf243.cgrigs...@att.net



Re: How many packages in Sid

2013-09-05 Thread Brian
On Thu 05 Sep 2013 at 22:16:39 +0200, sp113438 wrote:

> How do I find out the number of packages currently in Sid?
> Google did not help me.

An example:

  wget ftp://ftp.debian.org/debian/dists/sid/main/binary-i386/Packages.gz

  gunzip Packages.gz

  grep ^Package: Packages | wc -l


-- 
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/05092013220418.e4aeee0e3...@desktop.copernicus.demon.co.uk



How many packages in Sid

2013-09-05 Thread sp113438
Hello,

How do I find out the number of packages currently in Sid?
Google did not help me.
 
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/20130905221639.79bc09b4@fx4100



Re: Ownership of pluggable devices.

2013-09-05 Thread recoverym4n
 Hi.

On Thu, 5 Sep 2013 11:19:25 -0700
peasth...@shaw.ca wrote:

> /dev/KingstonUSB  /home/peter/MY   ext2  defaults,noauto,user  0   0

This line is the reason.

ext2 filesystem stores information about file/directory permissions
inside itself, and root of this filesystem (/home/peter/MY) is owned by
root (uid=0 user).

user=peter mount option allow this ordinary user to unmount filesystem,
but has nothing in common with filesystem permissions.

No amount of tinkering with mount options or device permissions will
change filesystem permissions, you'll need to use chown(1) and chmod(1)
for this.

vfat filesystem (you use it for /home/peter/mylo) does not support
file/directory permissions, so mount option user=peter also allows said
user to do anything with filesystem contents.

In short, invoke (after mounting the filesystem):

chown -R peter /home/peter/MY

it'll solve you problem.

Reco


-- 
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/20130906003405.974f678a1e3a289a4e397...@gmail.com



Re: mcedit behavior under X

2013-09-05 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Hi,

The mcedit man-page has the following:

"In  addition  to  that,  Shift  combined  with arrows does text 
highlighting (if supported by the terminal): Ctrl-Ins copies to the file 
~/.mc/cedit/cooledit.clip, Shift-Ins pastes from 
~/.mc/cedit/cooledit.clip, Shift-Del cuts to ~/.mc/cedit/cooledit.clip, 
and Ctrl-Del deletes highlighted text.  Mouse highlighting also works on 
 some  terminals."


That is true for me on a VT console, i.e. non-X. But under X Ctrl-Ins 
copies to the file ~/.mc/cedit/cooledit.clip but Shift-Ins *does not* 
paste from ~/.mc/cedit/cooledit.clip, but from the cliboard.


Can anyone verify that behavior? How would I make mcedit behave as it 
ought to?




I have asked that question before:
https://groups.google.com/forum/?hl=ia#!topic/linux.debian.user/48-BTjdzAy4

but apparently paid no attention because Camaleon had the answer in a mc 
ticket:

https://www.midnight-commander.org/ticket/2358

so when I change the shortcuts of konsole and delete ctrl+ins and 
shift+ins then it works.


But something weird: for shift+ins (paste from cooledit.clip) and 
shift+del (cuts to cooledit.clip) I have to turn on numlock!

This is on a US keyboard.

Hugo


--
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/l0ajgv$d4l$1...@ger.gmane.org



Ownership of pluggable devices.

2013-09-05 Thread peasthope
Given two USB pluggable devices, a Sony Mylo, 
http://en.wikipedia.org/wiki/Mylo_(Sony) ,
and a Kingston flash store.

# These lines for udev.

root@dalton:/home/peter# tail -n 8 /etc/udev/rules.d/10-local.rules
# Persistent device names.
# The Sony mylo. 
KERNEL=="sd?1", ATTR{size}=="1752512", SYMLINK+="mylo", \
 OWNER="peter", GROUP="floppy"
# The KingstonUSB. 
KERNEL=="sd?1", ATTR{size}=="499712", SYMLINK+="KingstonUSB", \
 OWNER="peter", GROUP="users"

# And for mount.

root@dalton:/home/peter# tail -n 3 /etc/fstab
/dev/KingstonUSB  /home/peter/MY   ext2  defaults,noauto,user  0   0
/dev/mylo/home/peter/mylo  vfat  defaults,noauto,user  0   0

# These are the mount points.
root@dalton:/home/peter# ls -ld /home/peter/{MY,mylo}
drwxr-xr-x 2 peter peter 4096 Sep  5 07:08 /home/peter/MY
drwxr-xr-x 2 peter peter 4096 Jun 25 15:48 /home/peter/mylo

root@dalton:/home/peter# getfacl /home/peter/{MY,mylo}
getfacl: Removing leading '/' from absolute path names
# file: home/peter/MY
# owner: peter
# group: peter
user::rwx
group::r-x
other::r-x

# file: home/peter/mylo
# owner: peter
# group: peter
user::rwx
group::r-x
other::r-x

# Plug the two devices.  Then check mount options & ownership again.

root@dalton:/home/peter# mount | grep peter
/dev/sdb1 on /home/peter/mylo type vfat (rw,nosuid,nodev,noexec,relatime,uid=100
0,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=rem
ount-ro,user=peter)
/dev/sdd1 on /home/peter/MY type ext2 (rw,nosuid,nodev,noexec,relatime,errors=co
ntinue,user_xattr,acl,user=peter)

root@dalton:/home/peter# ls -ld /home/peter/{MY,mylo}
drwxr-xr-x  3 root  root 4096 Sep  5 06:50 /home/peter/MY
drwxr-xr-x 19 peter root 8192 Dec 31  1969 /home/peter/mylo

root@dalton:/home/peter# ls -ld /home/peter/{MY,mylo}
drwxr-xr-x  3 root  root 4096 Sep  5 06:50 /home/peter/MY
drwxr-xr-x 19 peter root 8192 Dec 31  1969 /home/peter/mylo
root@dalton:/home/peter# getfacl /home/peter/{MY,mylo}
getfacl: Removing leading '/' from absolute path names
# file: home/peter/MY
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: home/peter/mylo
# owner: peter
# group: root
user::rwx
group::r-x
other::r-x

With similar entries in fstab, why are the mount options 
so different?  

mount shows user=peter for both devices.
Why do ls and getfacl show KingstonUSB assigned to 
root:root and mylo assigned to peter:root after mounting? 

The last is confirmed by peter not being able to write 
to MY after mounting. 

Thanks,... Peter E.


-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
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/171058149.46297.23600@cantor.invalid



Re: ssh X

2013-09-05 Thread Verde Denim
On 09/05/2013 11:51 AM, Luther Blissett wrote:
> On Thu, 2013-09-05 at 20:50 +1000, Zenaan Harkness wrote: 
>> Hello Verde, hope you are well :)
>>
>> Your error report/ request for assistance, is woefully inadequate. Let
>> me suggest further details for you to provide:
>>
>> On 9/5/13, Verde Denim  wrote:
>>> Just successfully got ssh -X to work to connect remotely to my BT5
>> I have no idea wtf is BT5.
>>
> I'd say he's referring to backtrack linux, which is a pentest debian
> based linux distro now on its 5th version;
>
> https://en.wikipedia.org/wiki/BackTrack
>
>
>
You are correct, sir. BT5 is the BackTrack Linux distro, Version 5 (r3).
I have it installed on a virtual device. I have three or four other
linux distro's installed on other virtual machines as well, so I'm
hoping to get them all to work...

Thanks again for the input. It is always greatly appreciated.

-- 
Regards

Jack
Boston Tea Party, Coercive Acts, Powder Alarm, Revolution
Lessons (Mistakes) not learned are bound to be repeated.


-- 
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/5228b34f.6000...@gmail.com



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Jerry Stuckle

On 9/5/2013 12:16 PM, Dom wrote:

On 05/09/13 16:45, Jerry Stuckle wrote:

I have Debian 3.0.4 (via uname -r) on an ARM processor (after
update/upgrade) and am trying to get the kernel headers to compile a
module for it.



aptitude shows the only headers available are for versions 2.6 and
3.2.0.4.


You might be better off asking this question in the Debian ARM list.

debian-...@lists.debian.org

The people there will probably be more familiar with what you need to
do, and all the different varieties of ARM kernels.



Dom,

Thanks.  I didn't even know there was a debian-arm list.  I'll check it out.

Jerry


--
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/5228ba10.6000...@attglobal.net



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Jerry Stuckle

On 9/5/2013 12:17 PM, Luther Blissett wrote:

On Wed, 2013-09-04 at 23:33 -0400, Jerry Stuckle wrote:

Hi, all,

I'm still pretty new to Debian, so this may be a *very* stupid question,
but here goes.

I have Debian 3.0.4 (via uname -r) on an ARM processor (after
update/upgrade) and am trying to get the kernel headers to compile a
module for it.

aptitude shows the only headers available are for versions 2.6 and 3.2.0.4.

My sources.list contains:

deb http://ftp.debian.org/debian stable main contrib non-free
deb-src http://ftp.debian.org/debian stable main contrib non-free

Two questions:

1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?



I do not know. Kernel 3.0 was never part of a stable debian distro. It
only came to debian during wheezing development period. The answer to
this question requires knowing how the system was first installed and
maintained.



I wish I knew.  I'll have to get back to the engineers to find out where 
they got the ARM first, though.



2. Where can I find the appropriate headers for version 3.0.4?



kernel.org has 3.0.94 as the most recent stable release of this kernel
gen. You may download from there and compile from source.



If I really have it, I guess I will.  However, I'd rather not if not 
necessary, as noted previously.



Alternatively, how can I update Debian to 3.2.0.4?



with your current sources, apt-get update; apt-get install
linux-image-3.2.0-4{$your_cpu_arch}
linux-headers-3.2.0-4{$your_cpu_arch} (warning pseudo-code).

You will need to reboot after that to start using the new kernel.


I appreciate any suggestions.

TIA,

Jerry



GN



I saw that, but I don't see anything listed for ARM.  I'll be the first 
to admit I'm not real familiar with ARM (I did some PICK programming 
back in the 80's, but that's about all for embedded systems).


I'm going to read through the debian-arm archives and see what I can find.

Thanks for the help.

Jerry


--
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/5228bae2.4040...@attglobal.net



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Luther Blissett
On Wed, 2013-09-04 at 23:33 -0400, Jerry Stuckle wrote: 
> Hi, all,
> 
> I'm still pretty new to Debian, so this may be a *very* stupid question, 
> but here goes.
> 
> I have Debian 3.0.4 (via uname -r) on an ARM processor (after 
> update/upgrade) and am trying to get the kernel headers to compile a 
> module for it.
> 
> aptitude shows the only headers available are for versions 2.6 and 3.2.0.4.
> 
> My sources.list contains:
> 
> deb http://ftp.debian.org/debian stable main contrib non-free
> deb-src http://ftp.debian.org/debian stable main contrib non-free
> 
> Two questions:
> 
> 1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?
> 

I do not know. Kernel 3.0 was never part of a stable debian distro. It
only came to debian during wheezing development period. The answer to
this question requires knowing how the system was first installed and
maintained. 

> 2. Where can I find the appropriate headers for version 3.0.4?
> 

kernel.org has 3.0.94 as the most recent stable release of this kernel
gen. You may download from there and compile from source.

> Alternatively, how can I update Debian to 3.2.0.4?
> 

with your current sources, apt-get update; apt-get install
linux-image-3.2.0-4{$your_cpu_arch}
linux-headers-3.2.0-4{$your_cpu_arch} (warning pseudo-code).

You will need to reboot after that to start using the new kernel.

> I appreciate any suggestions.
> 
> TIA,
> 
> Jerry
> 
> 
GN



-- 
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/1378397843.8391.14.camel@tagesuhu-pc



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Dom

On 05/09/13 16:45, Jerry Stuckle wrote:

I have Debian 3.0.4 (via uname -r) on an ARM processor (after
update/upgrade) and am trying to get the kernel headers to compile a
module for it.



aptitude shows the only headers available are for versions 2.6 and
3.2.0.4.


You might be better off asking this question in the Debian ARM list.

debian-...@lists.debian.org

The people there will probably be more familiar with what you need to 
do, and all the different varieties of ARM kernels.


--
Dom


--
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/5228ae4a.1080...@rpdom.net



Re: ssh X

2013-09-05 Thread Luther Blissett
On Thu, 2013-09-05 at 20:50 +1000, Zenaan Harkness wrote: 
> Hello Verde, hope you are well :)
> 
> Your error report/ request for assistance, is woefully inadequate. Let
> me suggest further details for you to provide:
> 
> On 9/5/13, Verde Denim  wrote:
> > Just successfully got ssh -X to work to connect remotely to my BT5
> 
> I have no idea wtf is BT5.
> 

I'd say he's referring to backtrack linux, which is a pentest debian
based linux distro now on its 5th version;

https://en.wikipedia.org/wiki/BackTrack



-- 
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/1378396302.8391.2.camel@tagesuhu-pc



Re: USB adapter for SD card.

2013-09-05 Thread Doug
On 09/04/2013 11:54 PM, Cindy-Sue Causey wrote:
> On 9/4/13, Gregory Nowak  wrote:
>>
>> Yeah. It looks like the card reader is recognized, and the fact that
>> the cards are in it, but it looks like the capacity of both cards is
>> too big for the reader to deal with. That's my guess anyway, maybe
>> someone else has a better answer. I'm not sure how backward compatible
>> CF cards are. Again, it's possible your card reader can't handle a
>> 512M CF card as well.
> 
> 
> JUST the last couple weeks experienced this very thing. Upgraded to...
> a secondhand 2008 digital camera that I could now use 16gb SDHC. DEJA
> VU, went through the whole deal it sounds like is reported here of not
> being able to access the card anywhere.
> 
> Exactly as reported here, no file nor graphics program worked and I
> went through every single one I could find (on Knoppix). Tried lsusb,
> probably because of seeing it referenced maybe even on this listserv.
> After seeing the card reader hardware was being recognized and knowing
> the old reader worked great with 2gb but apparently not 16gb, it hit
> that maybe the old card reader couldn't handle the larger SDHC. BINGO.
> Kid you not, new product arrived TODAY and wait for it, here it
> comes >>> IT WORKS! :)
> 
> BUT... Still ran into glitches.. Am on a ~ten year old laptop (Toshiba
> Satellite P25-S609) using a little bit older Knoppix 6.4.3 Live DVD.
> Knoppix would hang bad (sit and spin without loading) on reboot if the
> new product was in a recently acquired USB 4-port hub but Knoppix
> loads as normal if new card reader is given its own dedicated USB port
> it doesn't have to share with any other hardware...
> 
> Cindy Sue :)
> 
> - :: -
> Cindy-Sue Causey
> Wren Grabs [Processed Bugs] Ball From Nestling
> http://youtu.be/nx7g3F6J_jI
> http://www.flickr.com/photos/mountainsplash/
> Talking Rock, Pickens County, Georgia, USA
> ~
> 
> 
Cindy, you have just performed a very valuable service. I imagine a lot
of readers of this list will thank you.  So, thank you!

--doug

-- 
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley


-- 
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/5228a27f.2080...@optonline.net



Re: Cannot view all my android folders in nautilus after mounting android as MTP

2013-09-05 Thread Siard
Anubhav Yadav wrote:
> Tried gmtp, it wont seem to work. I think I need to do some tweaks on
> my mobile side, maybe need to root it and install some files. (saying
> this after reading some posts on the nexus threads on xda-developers)

When I tried gmtp, it did work, but cd'ing into a directory took a long
time (some 30 to 60 seconds) and lots of error messages showed up in
the xterm where it was started from.
But the tweaks you mention are likely to improve this.

I then installed Software Data Cable in Android, so I could access the
device's files via ftp (I used gftp) without a USB cable but through
WiFi, and that worked very well and extremely fast, so I haven't looked
back at MTP.


-- 
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/20130905172112.880df09c.shiems...@kpnplanet.nl



Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
On Thu, 2013-09-05 at 12:25 +0200, Jochen Spieker wrote:
> Anubhav Yadav:
> > 
> > Can I install debian again on my machine (without any desktop manager)
> > on a separate partition for / and use the /home, /usr, /var and /temp
> > from my current debian installation?
> 
> You shoud never share /usr unless your two installations have the exact
> same set of packages installed. The same applies to /var.
> 
> /tmp may be shared freely as long as you don't suspend one OS to disk.
> 
> /home is not a problem as long as you don't mix stable and testing or
> unstable. Many programs save their settings there and may upgrade their
> config file format without notice. Older versions may not be able to
> read this.
> 
> J.

That sums it up! Thanks a lot for the information!
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378388967.5592.2.camel@Innovator



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Zenaan Harkness
On 9/5/13, Jerry Stuckle  wrote:
> On 9/5/2013 5:36 AM, Zenaan Harkness wrote:
>> On 9/5/13, Jerry Stuckle  wrote:

>>> I have Debian 3.0.4 (via uname -r) on an ARM processor (after
>>> update/upgrade) and am trying to get the kernel headers to compile a
>>> module for it.

>>> aptitude shows the only headers available are for versions 2.6 and
>>> 3.2.0.4.
>>>
>>> My sources.list contains:
>>> deb http://ftp.debian.org/debian stable main contrib non-free
>>> deb-src http://ftp.debian.org/debian stable main contrib non-free
>>
>> I recommend you use "wheezy" instead of "stable" in your sources.list
>> That way you will never be surprised by an automatic update from, eg
>> Wheezy to Jessie, just at the wrong time, when you really don't need
>> it.
>>
>> Codenames are the recommended option for sources.list. Especially if
>> you are somewhat new to GNU.
>
> I think that is a matter of personal opinion.  I use stable on other
> systems because I WANT to keep the systems updated - as I do here.  Can
> you show me why changing this will solve this problem?

It won't. It was unrelated.

>>> Two questions:
>>> 1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?
>>
>> I don't know sorry. When did you install Debian?
>> How did you install Debian (eg CD/DVD/network-install/...??)
>
> I did not.  It came installed on the ARM device.

Perhaps contact the supplier and ask them to make available their
installation repository. You might need to go so far as to then ask
them for access to the source for their code on their device.

That should get you access to the specific headers which ought to
match the Linux kernel installed.

>>> 2. Where can I find the appropriate headers for version 3.0.4?
>>
>> Dunno, should be in the same archive (sources.list location) where you
>> got your kernel from...
>
> Please see above.

Please see above.

>>> Alternatively, how can I update Debian to 3.2.0.4?
>>
>> Which software do you normally use to install new programs? I use
>> apt-get, but there are various other options.
>
> I've tried both apt-get and aptitude.  There is nothing to update.

You would of course need a repository with up to date packages. You
will then need to see if there is a more recent kernel. Are you
familiar with package searching, to find packages?

You see, kernels are not necessarily automatically upgraded. Which
linux kernel packages do you have installed? The more generic/less
specific, the greater the chance of automatically getting a newer
kernel installed. But that also depends on if a newer kernel package
is available. See above about package searching. If you need more help
on package searching and/or installing, just ask. Sounds sort of like
you don't, but sort of like you might, so I'm not sure. For example,
you could try something like:
apt-cache search linux-image-
and see what you get, then apt-cache show for some of the results. I
don't use arm computer so I can't check easily sorry.

If a more recent kernel is not available for you to 'manually' install
with say apt-get, then you will need to either find a repository with
one, or compile your own more up to date kernel. I've done it many
times in the past; you'd probaly want to set aside a few hours to go
through the Linux config-menu config options.

Good luck
Zenaan


-- 
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/CAOsGNSRy4eTfJL3Mtf2rXNWnp6tg7MvyLOG6g=ohhaexuys...@mail.gmail.com



Re: Re: Reg: Error in apt-get install in libstdc++ package

2013-09-05 Thread Balamurugan

Dear Ralf,

I tried 'apt-get update' but didn't tried 'apt-get dist-upgrade'. I have 
simply installed the Debian 7.0(Wheezy), imported the debian 
repositories near to india and just ran the below:


apt-get update
apt-get install libstdc++

It had libstdc++6 installed already. I expected either it would update 
to the latest libstdc++ else say the existing package itself is latest 
but unfortunately it gave the mentioned error.


I have another machine which has CentOS 6.4. In that I ran 'yum install 
libstdc++' and it said the existing package is the latest. Hence I felt 
something is wrong in my Debian 7.0 (Wheezy).


Doesn't the command 'apt-get dist-upgrade' will do Debian version 
upgrade (distribution) or will it upgrade libstdc++?


Sorry for too many confusions in my mail. I am new in using the debian 
package maintenance system.


Thanks and Regards,
Balamurugan R

On 09/03/2013 11:36 PM, Ralf Mardorf wrote:
On Tue, 03 Sep 2013 18:15:46 +0200, Balamurugan 
 wrote:
I installed Debian 7.0 (64-bit) - Wheezy (stable release) in one of 
my system. Installation went smooth without any issues.


After installing, I was about to install g++. Before installing g++, 
I tried installing libstdc++ and I got the below error. Can anyone help?



libstdc++6 is already the newest version.



The following packages have unmet dependencies:
  libstdc++6-4.6-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is 
to be installed
  libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is 
to be installed
  libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is 
to be installed
   Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is 
to be installed
  libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is 
to be installed
   Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is 
to be installed

E: Unable to correct problems, you have held broken packages.


Did you run

apt-get update
apt-get dist-upgrade

before you tried to install anything?



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



Re: XFCE4 - gedit - was Re: Thanks

2013-09-05 Thread Zenaan Harkness
On 9/5/13, Nate Bargmann  wrote:
> * On 2013 05 Sep 05:48 -0500, Zenaan Harkness wrote:
>> > Turns out, they both produce almost identical errors. Gedit error:
>> >
>> > (gedit:15593): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
>> > Not using units is deprecated. Assuming 'px'.
>> >
>> > Evince error:
>> >
>> > (evince:15620): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
>> > Not using units is deprecated. Assuming 'px'.

> It sounds like you're lacking a GTK3 theme engine.  For example, I have
> the clearlooks-phenix-theme package installed so that GTK3 and GTK2 apps
> look nearly identical.

Thanks. Adwaita's not too bad either. A theme is another thing I'd
like to create one day - cross-desktop, cross-display engine,
highly-customizable theme.

Now my text box in firefox is no longer expandable - hopefully will
fix itself on restart.

That's all folks, and thanks again,
Zenaan


-- 
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/CAOsGNSTcA0+PNxWftYUYWMG6n6=+hhi7vkevg3jq4gtfnuz...@mail.gmail.com



Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP

2013-09-05 Thread Anubhav Yadav
Tried gmtp, it wont seem to work. I think I need to do some tweaks on my
mobile side, maybe need to root it and install some files. (saying this
after reading some posts on the nexus threads on xda-developers) 


-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378377277.7358.4.camel@Innovator



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Jerry Stuckle

On 9/5/2013 5:36 AM, Zenaan Harkness wrote:

On 9/5/13, Jerry Stuckle  wrote:

I'm still pretty new to Debian, so this may be a *very* stupid question,
but here goes.

I have Debian 3.0.4 (via uname -r) on an ARM processor (after
update/upgrade) and am trying to get the kernel headers to compile a
module for it.


uname -r has very short output, you should post that output.
Better still, you should use uname -a and post the output of that ...
one line is not much, and you should not balk at the effort to cut and
paste such a small amount of output.



I did - 3.0.4.  I didn't type the whole thing in because the terminal 
driving it is not on the internet, so I cannot cut/paste.  This is not 
on a computer; it is on an ARM device, as noted above.



Now, Debian 3 was years ago. So, we would assume you are talking about
the Linux kernel?



Yes, sorry.


aptitude shows the only headers available are for versions 2.6 and 3.2.0.4.

My sources.list contains:
deb http://ftp.debian.org/debian stable main contrib non-free
deb-src http://ftp.debian.org/debian stable main contrib non-free


I recommend you use "wheezy" instead of "stable" in your sources.list
That way you will never be surprised by an automatic update from, eg
Wheezy to Jessie, just at the wrong time, when you really don't need
it.

Codenames are the recommended option for sources.list. Especially if
you are somewhat new to GNU.



I think that is a matter of personal opinion.  I use stable on other 
systems because I WANT to keep the systems updated - as I do here.  Can 
you show me why changing this will solve this problem?



Two questions:
1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?


I don't know sorry. When did you install Debian?
How did you install Debian (eg CD/DVD/network-install/...??)



I did not.  It came installed on the ARM device.


2. Where can I find the appropriate headers for version 3.0.4?


Dunno, should be in the same archive (sources.list location) where you
got your kernel from...



Please see above.


Alternatively, how can I update Debian to 3.2.0.4?


Which software do you normally use to install new programs? I use
apt-get, but there are various other options.

Good luck
Zenaan




I've tried both apt-get and aptitude.  There is nothing to update.


--
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/52288a5f.8020...@attglobal.net



Problem with CableStar Combo

2013-09-05 Thread Janusz S. Bień
I've compiled the 3.10 kernel with the patches necessary to support the
device according to

http://www.linuxtv.org/wiki/index.php/TechniSat_CableStar_Combo_HD_CI

Unfortunately w_scan

http://linuxtv.org/wiki/index.php/W_scan

doesn't find any channel despite the fact that the device works correctly
on Windows XP.

I want to tune to the digital TV channels recently made available free by
UPC in Poland. Following the official tuning instruction I use

w_scan -fc -c PL -Q 1 -S 0 -F -t 3 -x

The result is

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

Any suggestions?

Why the country parameter is obligatory? What is its function?

Can I use somehow the channel table exported by DVBViewer Pro on Windows?

Best regards

Janusz

-- 
Prof. dr hab. Janusz S. Bien -  Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bien - University of Warsaw (Formal Linguistics
Department)
jsb...@uw.edu.pl, jsb...@mimuw.edu.pl,
http://fleksem.klf.uw.edu.pl/~jsbien/





-- 
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/f2ee2e465fb12c78f2fb00a8ffaf0d91.squir...@mail.mimuw.edu.pl



Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Chris Bannister
On Thu, Sep 05, 2013 at 11:43:41AM +0100, Darac Marjal wrote:
> On Thu, Sep 05, 2013 at 10:17:31PM +1200, Chris Bannister wrote:
> > You can still use the command line AND have a GUI installed. How are you
> > going to view a graphic without a GUI? 
> 
> # apt-get install caca-utils
> $ cacaview lena.jpg

LOL.  

> > How are you going to watch a movie without a GUI?
> 
> $ mplayer -vo caca The_Matrix.avi

LOL. 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130905121840.GA14676@tal



Re: XFCE4 - gedit - was Re: Thanks

2013-09-05 Thread Nate Bargmann
* On 2013 05 Sep 05:48 -0500, Zenaan Harkness wrote:
> > Turns out, they both produce almost identical errors. Gedit error:
> >
> > (gedit:15593): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
> > Not using units is deprecated. Assuming 'px'.
> >
> > Evince error:
> >
> > (evince:15620): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
> > Not using units is deprecated. Assuming 'px'.
> 
> PS, the "menus with no spacing between them" occurs the same in both
> gedit and evince.

It sounds like you're lacking a GTK3 theme engine.  For example, I have
the clearlooks-phenix-theme package installed so that GTK3 and GTK2 apps
look nearly identical.

Both Gedit and Evince use GTK3 which has its own method of defining
themes, as I understand it.  Also, I don't see the Theme parsing error
you're getting when starting either Geany or Evince from a terminal (I'm
running a nearly up-to-date Sid).  

Try experimenting with different GTK3 theme packages.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
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/20130905112214.gi7...@n0nb.us



Re: ssh X

2013-09-05 Thread Zenaan Harkness
Hello Verde, hope you are well :)

Your error report/ request for assistance, is woefully inadequate. Let
me suggest further details for you to provide:

On 9/5/13, Verde Denim  wrote:
> Just successfully got ssh -X to work to connect remotely to my BT5

I have no idea wtf is BT5.

As a good rule of seeking-help-from-others, who may well not know what
I am familiar with, is:
The first time you use an abbreviation/acronym (at least, one which is
not common occurence on the list/forum in which you are seeking help),
you ought to put the expansion in brackets, immediately after the
first occurrence of your use of that acronym.

> machine. Works great!

What works great?
BT5? So what's BT5?
Or what application are you running remotely?
Or did you choose to run a whole desktop "remotely"?

You have not said what you are even running.

So many assumptions, and so many people who can easily ignore what you
say, because they do not speak your language of assumed knowledge :)

> Except when I end the session.

What session? SSH session? Application? Desktop session remote?
Desktop session local?

More assumptions, more people lost what you are saying.

> I wind up with the
> top and bottom task bars of my local desktop, but the display of BT5. Is
> there a graceful way to exit the session and have my local desktop
> return

Oh, so your local desktop "went"?

And you think that is not a problem?

It is clear to me, that there is much you are not telling :)

> or do I need to log out and back in again every time I end a ssh
> -X session?

I never had to, no.

But it looks like you are hiding some deep (and hopefully lite) secrets :)

> Thanks, as always, for the input.

No probs. Hope it was useful.

Good luck
Zenaan


-- 
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/CAOsGNSTspbbp7aGhiK6aYOSfrKavv57Sxx+3XSL=23gculh...@mail.gmail.com



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
>>boot Debian into textmode

How can I do this?? 
And thanks, just wondering now how many ways I have got to accomplish
what I want to do! 
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378376751.7358.1.camel@Innovator



Re: XFCE4 - gedit - was Re: Thanks

2013-09-05 Thread Zenaan Harkness
> Turns out, they both produce almost identical errors. Gedit error:
>
> (gedit:15593): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
> Not using units is deprecated. Assuming 'px'.
>
> Evince error:
>
> (evince:15620): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
> Not using units is deprecated. Assuming 'px'.

PS, the "menus with no spacing between them" occurs the same in both
gedit and evince.


-- 
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/CAOsGNSRdLpaT_+45yE0GRbjafP3+zj1=pBbPzTDgD4_=z-f...@mail.gmail.com



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Anubhav Yadav
>>And I actually managed to forget the footnote... Shame on me

Thanks I was actually wondering where it is! I'll do some research this
weekend and see what can I do with it.
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378376615.7358.0.camel@Innovator



Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Darac Marjal
On Thu, Sep 05, 2013 at 10:17:31PM +1200, Chris Bannister wrote:
> On Thu, Sep 05, 2013 at 12:23:11AM +0530, Anubhav Yadav wrote:
> > On Wed, 2013-09-04 at 19:33 +0100, Brian wrote:
> > 
> > > Possibly. But why bother? Debian may be a Good Thing - but why do you
> > > need more than one installation? If you do, why not just do it?
> > 
> > One for using an OS as a normal user (the one I have currently with
> > debian installed) and the other for forcing me to use the shell for
> > daily tasks. 
> > 
> > I just don't want another entirely new version of wheezy again, just
> > asking if I can install another debian with all /home, /var, /usr
> > and /temp from current installation, so that I can access my files from
> > both the installations!
> 
> You can still use the command line AND have a GUI installed. How are you
> going to view a graphic without a GUI? 

# apt-get install caca-utils
$ cacaview lena.jpg

> How are you going to watch a movie without a GUI?

$ mplayer -vo caca The_Matrix.avi

> 
> It'd be a lot easier to just CTRL-ALT-F1 to a virtual terminal and work
> from there, don't you think?
> 
> -- 
> "If you're not careful, the newspapers will have you hating the people
> who are being oppressed, and loving the people who are doing the 
> oppressing." --- Malcolm X
> 
> 
> -- 
> 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/20130905101731.GB10184@tal
> 


signature.asc
Description: Digital signature


Re: XFCE4 - gedit - was Re: Thanks

2013-09-05 Thread Zenaan Harkness
On 9/5/13, Kailash  wrote:
> On Sunday 01 September 2013 08:24 AM, Zenaan Harkness wrote:
>> On 9/1/13, Joe Pfeiffer  wrote:
 I'm just going to revert to squeeze, that desktop actually worked.
>>>
>>> Another vote for xfce.  I switched to it quite a while ago, and have
>>> been happy since.
>>
>> I don't like mousepad editor however, and I don't gedit. So I installed

BTW, that should have been "I don't mind gedit"..

>> gedit.
>>
>> But gnome apps aren't configuring properly; in particular, in the menu
>> bar of gedit (and I've seen it elsewhere I think), all the menus are
>> jammed up against each other - no nice spacing between them. Anyone
>> know what I ought to install to make these gnome menus work properly
>> with XFCE4 ?
>>
> Hi Zenaan,
>
> Have you tried running gedit from terminal? Perhaps some interesting
> errors or warnings may crop up.

Good point. In fact, that's the only way I run it :)

Which reminds me, evince always comes up with an error .. checking now ..

Turns out, they both produce almost identical errors. Gedit error:

(gedit:15593): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
Not using units is deprecated. Assuming 'px'.

Evince error:

(evince:15620): Gtk-WARNING **: Theme parsing error: gtk.css:101:18:
Not using units is deprecated. Assuming 'px'.

And that to me looks perhaps like the perfect culprit, let's say that
the original gtk.css is assuming cm or mm, and this new theme parser
is assuming 'px', so 5mm would definitely be greater than 5px. And if
that is mean to be the minimum width of a menu, of course we end up
with no gaps between menus. This however is just my theoretical
metahypotheticalizationisms.

Anyone know how to fix, or what to install .. ?


-- 
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/caosgnsqswtxu3+-pxk-wabfns0gnxrt1n0ot8nito+gu6f3...@mail.gmail.com



Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Brian
On Thu 05 Sep 2013 at 00:23:11 +0530, Anubhav Yadav wrote:

> On Wed, 2013-09-04 at 19:33 +0100, Brian wrote:
> 
> > Possibly. But why bother? Debian may be a Good Thing - but why do you
> > need more than one installation? If you do, why not just do it?
> 
> One for using an OS as a normal user (the one I have currently with
> debian installed) and the other for forcing me to use the shell for
> daily tasks. 

"Forcing" yourself to do something is a matter of self-discipline and
attitude. Debian doesn't have packages for instilling those qualitities.
:)

> I just don't want another entirely new version of wheezy again, just
> asking if I can install another debian with all /home, /var, /usr
> and /temp from current installation, so that I can access my files from
> both the installations!

Create two users. One for the undisciplined Anubhav and the other for
his aspiring self. Switching to the console with CTRL+ALT+F2 gives the
second user the opportunity to log in.

As a point of interest: *you* do not have any files on the system; only
a user can own files. A user can, of course, make his files available to
other users.


-- 
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/20130905103709.gj28...@copernicus.demon.co.uk



Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Jochen Spieker
Anubhav Yadav:
> 
> Can I install debian again on my machine (without any desktop manager)
> on a separate partition for / and use the /home, /usr, /var and /temp
> from my current debian installation?

You shoud never share /usr unless your two installations have the exact
same set of packages installed. The same applies to /var.

/tmp may be shared freely as long as you don't suspend one OS to disk.

/home is not a problem as long as you don't mix stable and testing or
unstable. Many programs save their settings there and may upgrade their
config file format without notice. Older versions may not be able to
read this.

J.
-- 
A passionate argument means more to me than a blockbuster movie.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-05 Thread Chris Bannister
On Thu, Sep 05, 2013 at 12:23:11AM +0530, Anubhav Yadav wrote:
> On Wed, 2013-09-04 at 19:33 +0100, Brian wrote:
> 
> > Possibly. But why bother? Debian may be a Good Thing - but why do you
> > need more than one installation? If you do, why not just do it?
> 
> One for using an OS as a normal user (the one I have currently with
> debian installed) and the other for forcing me to use the shell for
> daily tasks. 
> 
> I just don't want another entirely new version of wheezy again, just
> asking if I can install another debian with all /home, /var, /usr
> and /temp from current installation, so that I can access my files from
> both the installations!

You can still use the command line AND have a GUI installed. How are you
going to view a graphic without a GUI? How are you going to watch a
movie without a GUI?

It'd be a lot easier to just CTRL-ALT-F1 to a virtual terminal and work
from there, don't you think?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130905101731.GB10184@tal



Re: Headers for Debian 3.0.4 on ARM

2013-09-05 Thread Zenaan Harkness
On 9/5/13, Jerry Stuckle  wrote:
> I'm still pretty new to Debian, so this may be a *very* stupid question,
> but here goes.
>
> I have Debian 3.0.4 (via uname -r) on an ARM processor (after
> update/upgrade) and am trying to get the kernel headers to compile a
> module for it.

uname -r has very short output, you should post that output.
Better still, you should use uname -a and post the output of that ...
one line is not much, and you should not balk at the effort to cut and
paste such a small amount of output.

Now, Debian 3 was years ago. So, we would assume you are talking about
the Linux kernel?

> aptitude shows the only headers available are for versions 2.6 and 3.2.0.4.
>
> My sources.list contains:
> deb http://ftp.debian.org/debian stable main contrib non-free
> deb-src http://ftp.debian.org/debian stable main contrib non-free

I recommend you use "wheezy" instead of "stable" in your sources.list
That way you will never be surprised by an automatic update from, eg
Wheezy to Jessie, just at the wrong time, when you really don't need
it.

Codenames are the recommended option for sources.list. Especially if
you are somewhat new to GNU.

> Two questions:
> 1. Why would the kernel be at 3.0.4 when the headers are at 3.2.0.4?

I don't know sorry. When did you install Debian?
How did you install Debian (eg CD/DVD/network-install/...??)

> 2. Where can I find the appropriate headers for version 3.0.4?

Dunno, should be in the same archive (sources.list location) where you
got your kernel from...

> Alternatively, how can I update Debian to 3.2.0.4?

Which software do you normally use to install new programs? I use
apt-get, but there are various other options.

Good luck
Zenaan


-- 
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/CAOsGNST4hj4LwmE++H0RcPpBQSZ3_+Dm8L=mpwxsgweh-zr...@mail.gmail.com



Re: Cannot view all my android folders in nautilus after mounting android as MTP

2013-09-05 Thread The_Ace
While not a direct answer to the question, you can easily move files
from/to android phone using FTP. FTP server can be on your pc or phone.
Works either way.



On Fri, Aug 30, 2013 at 9:40 PM, Anubhav Yadav  wrote:

> Hello list,
>
> I am using an android phone running 4.0.4 ICS and when I connect my
> phone with USB( and select MTP as transfer protocol), it gets mounted on
> linux, but I am able to view very few folders. There are many folders in
> the phone.
>
> Well the phone does not has a memory card, it just has a 2 gb internal
> sd card.
>
> I am using debian wheezy 7.1, it has gvfs-backends installed to the
> newest version!
>
> Any help is appreciated.
>
> Thanks.
>
> Regards,
> Anubhav Yadav,
> Computer Engineering Final Year Student,
> Imperial College of Engineering and Research,
> Pune.
>
>
> --
> 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/1377879046.5005.3.camel@Innovator
>
>


-- 
The mysteries of the Universe are revealed when you break stuff.