Re: Debian Testing Xfce4.8 startx problems

2011-09-22 Thread Perry Thompson
On 09/22/2011 04:03 AM, Scott Ferguson wrote:
 On 21/09/11 22:58, rypervenche wrote:
 I am having trouble getting Xfce to work with startx. I have followed
 the instructions in the doc files for xfce4 and xfce4-session, but I am
 still unable to mount drives, start mylogin keyring, and shutdown via
 the GUI (shutdown and restart are grayed out). I even tried adding the
 proper command to visudo, but no success.

 Things I have tried to solve this...

 1. Creating ~/.xinitrc with startxfce4, exec startxfce4, and
 something with ck-launch(er?) in it as well. I have tried adding
 #!/bin/bash, #!/bin/sh to the beginning and making the file executable.
 None of these have worked.

 2. As per the doc file, it says not to use a .xinitrc file but a
 .xsession file, so I have tried the same things with that still with no
 success.

 3. Adding my user to the list of sudoers to give myself the permissions
 to shutdown and restart, but even that does not work.

 I am currently using lightdm, however I would like to be able to start
 my computer straight from the command line if possible. Is it possible
 that because I am using Testing that I am missing some vital package(s)
 for this to work properly?

 Any and all help is appreciated. Thank you.


 
 I'm assuming you have xdm installed:-
 $ dpkg --get-selections xdm
 
 If yes, what happens when you?:-
 # /etc/init.d/xdm start
 
 Also, what Debian release are you running?
 
 Cheers
 
 
No, I do not have xdm installed. I want to run my system without a DM.
The xfce4 doc states to simple put exec startxfce4 in ~/.xsession so
that consolekit and policykit will be called upon, however they do not
seem to be. I was hoping to be able to get this to work without having
to make custom pkla files.

I am using Debian Testing.


-- 
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/4e7b0e3b.4040...@yahoo.fr



LUKS partition?

2011-09-20 Thread Perry Thompson
Hi there. This may or may not be the best place to ask this, but I can't
seem to find help anywhere else, so I thought I would ask.

I have begun backing up my /home to a LUKS encrypted external hard drive
using rsync. I just got a second one external hard drive to do the same
thing with, however I have come across something that I am not sure how
to do.

When creating my LUKS partition, two guides I followed told me to
directly mkfs to the /dev/mapper/LUKS, whereas another told me to create
a partition on it. I did not create a partition on it.

What are the pros and cons to creating a partition on the decrypted
drive? I would like to know which to do before proceeding with backing
up my /home.

Thank you very much.


-- 
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/4e7964f5.1070...@yahoo.fr



Re: Updating Packages in Debian Squeeze from Backports/Testing

2011-06-14 Thread Perry Thompson
On 06/14/2011 11:37 AM, Noah Duffy wrote:
 I've been running Debian Squeeze for a little while now.  I was using
 Ubuntu before, so I'm really used to being able to keep certain
 software up-to-date using their PPA system.  I'm loving Debian (even
 though I've had to make a few tweaks for it to work with my new
 system), but there are a few packages I wish were newer.  Banshee is
 one of them.  There have been a load of changes since the 1.6.1
 version that is in Squeeze.  I can compile the new version myself, but
 have been unable to get webkit support enabled when compiling, so it
 is nicer to use a build from the repositories.
 
 I've done plenty of reading on how to enable the backports and also
 install software from testing/unstable.  However, I wanted to get the
 opinion of others before I change my system for good!
 
 Is it recommended to install packages from testing?  I know this often
 also updates dependencies that other software may use causing the
 system to potentially not be as secure or stable.  Should I just wait
 for newer versions to maybe hit the backports repository?  Or should I
 just take the longer route and compile newer versions myself (which
 sometimes doesn't always work well)?
 
 Also, if I do add the testing repositories and setup apt pinning
 and/or priority, what happens in another year or so when I try to
 upgrade my system to the next stable release?  is everything going to
 work because of the pinning and priority I originally setup?
 
 I'm sorry for so many question in one mailing!  And I hope I'm not
 rambling too much!  My ultimate goal is to run Debian Stable but have
 a few packages and maybe the kernel (many bug fixes for my system are
 in the newer kernels) from backports/testing.
 
 Let me know what you think!
 
 Thanks,
 Noah Duffy
 
 
If it is really important to you to have more up-to-date packages, you
could upgrade to Debian Testing. It depends on what you're using the
computer for really.


-- 
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/4df7c7d1.7050...@yahoo.fr



Re: No Display Manager + shutdown/reboot

2011-06-07 Thread Perry Thompson
On 06/07/2011 05:32 AM, Brian wrote:
 On Tue 07 Jun 2011 at 01:46:49 -0400, Perry Thompson wrote:
 
 1) shutdown my computer by pressing the power button, and
 
 You might need xfce4-power-manager for this but I'm not sure.
 
 2) choose Shut Down or Restart after pressing ctrl+alt+del (I made a
 custom keyboard shortcut to call xfce4-session-logout). Both Shut Down
 and Restart are grayed out, but Log Out works fine.
 
 Install sudo. Use vigr to add yourself to the sudo group.
 
 
I have xfce4-power-manager and am in the sudoers list. This worked
before when I had GDM, but not when I was without a DM or when I tried
Slim or NODM. I have not been able to get this to work in any of those
three situations.


-- 
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/4dee3e93.1010...@yahoo.fr



Re: No Display Manager + shutdown/reboot

2011-06-07 Thread Perry Thompson
On 2011年06月07日 19:44, Brian wrote:
 On Tue 07 Jun 2011 at 11:06:59 -0400, Perry Thompson wrote:
 
 I have xfce4-power-manager and am in the sudoers list. This worked
 before when I had GDM, but not when I was without a DM or when I tried
 Slim or NODM. I have not been able to get this to work in any of those
 three situations.
 
 How about putting
 
perry ALL=NOPASSWD: /usr/lib/xfce4/session/xfsm-shutdown-helper
 
 in /etc/sudoers?
 
 You'd better check xfsm-shutdown-helper is in the location given.
 
 
I tried that and still no success. I tried it with my screen name, with
%users, I tried adding ALL=(root) instead of just ALL=, all of
which I found on websites. None of them worked.

Any ideas why others have had success and not me?


-- 
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/4deee0f5.3090...@yahoo.fr



No Display Manager + shutdown/reboot

2011-06-06 Thread Perry Thompson
Hi all. I am using Debian Wheezy with Xfce4. After some testing with
different DMs, I decided to start X from a tty using startx. I was
told in the Debian IRC channel that it works fine by just removing all DMs.

I enjoy using my computer this way, however I am unable to...

1) shutdown my computer by pressing the power button, and
2) choose Shut Down or Restart after pressing ctrl+alt+del (I made a
custom keyboard shortcut to call xfce4-session-logout). Both Shut Down
and Restart are grayed out, but Log Out works fine.

Is there any way I can have this do what I want while not using a
display manager? Or would I really have to get one? I also tried nodm,
but had the same problems. I would still rather not use a DM if possible.

Please let me know all of my options and if a solution exists for my
problem.

Thank you.


-- 
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/4dedbb49.5040...@yahoo.fr



Re: Building Chromium from source on Debian 6.0.1 Stable

2011-05-27 Thread Perry Thompson
On 05/27/2011 04:15 AM, Mark Grieveson wrote:
 Following my previous question, someone recommended I build Chromium
 from source. Is that possible to do on Stable? I tried to do it from
 apt-get, but there were still dependency issues. Am I doing it wrong?
 Should I be doing it another way?

 If I remember correctly, I tried...

 sudo apt-get source chromium-browser
 sudo apt-get build-dep chromium-browser

 And before I could compile it using apt-get, it gave me a bunch of
 dependency issues. If you need me to I can reproduce this to show you
 all.

 Any and all help would be greatly appreciated.
 
 
 I assume you wish to get the latest one, and are thus trying to port
 from the unstable source to your stable system.  There are two ways
 that the Debian manual describes.  One is the older obsolete way, and
 the other is the newer way.  Both work.  I'm more used to the older
 way, but I'll describe both.
 
 First, make sure you have the source repository listed and updated in
 your sources.list:
 deb-src http://http.us.debian.org/debian unstable main contrib non-free
 
 The older way:
 
 # apt-get build-dep chromium-browser
 $ apt-get -b source chromium-browser
 
 note:  if the above step doesn't build the debian files, and lists
 other dependencies (IE, some_package version is required, but you
 only have a lower version available) then you may be able to
 remedy it by obtaining and building that package by source with
 the above listed procedure.  If so, it means that you would not have
 built the package yet, but you should have downloaded the source
 files.  Once you've obtained, built, and installed all the
 dependencies, then you can create the package with the following:
 
 $ dpkg-buildpackage -rfakeroot -uc -b
 
 So, you should have the chromium-browser packages (debs).  You can
 install them with:
 
 # dpkg -i file.deb 
 
 the name of the various debs that will be created are listed at
 http://packages.debian.org/source/sid/chromium-browser
 
 The newer method is as follows:
 
 Install required packages for the compilation and download the source
 package as the following. 
 # apt-get update
 # apt-get dist-upgrade
 # apt-get install fakeroot devscripts build-essential
 # apt-get build-dep foo
 $ apt-get source foo
 $ cd foo*
 Adjust installed packages if needed.
 Execute the following.
 $ dch -i
 Bump package version, e.g. one appended with +bp1 in
 debian/changelog Build packages and install them to the system as the
 following. 
 $ debuild
 $ cd ..
 # debi foo*.changes
 
 Note:  foo is a generic name for the package -- in your case it's
 chromium-browser
 
 I wouldn't worry about the dch -i step (it's just a step to renumber
 the file, or something.  You don't need to be root to create the debian
 files, but you do for installing them (which is why some commands are
 preceded with $ and others with #, to indicate if it's regular or
 root user).  As with the first method, if there are dependencies that
 require getting other source packages, then just do the same steps for
 those packages, and then try again to build chromium-browser.
 
 Mark
 
 

Is it ok that there are all of these dependencies being changed? And
more importantly, is it a problem that some of the packages are being
removed? This is what I have done.

rypervenche@debian:~$ sudo apt-get -t sid build-dep chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libglade2-dev libgtk2.0-dev libnautilus-extension-dev libpango1.0-dev
seahorse-plugins
The following NEW packages will be installed:
  binutils-gold bison cdbs flex gcc-4.6-base gdb gdbserver
gnome-themes-standard gperf gyp hardening-wrapper libbz2-dev
libcairo-gobject2 libcairo-script-interpreter2
  libcap2-bin libdbus-glib-1-dev libevent-core-1.4-2 libevent-dev
libevent-extra-1.4-2 libgck0 libgconf2-dev libgcr-3-0 libgdk-pixbuf2.0-0
libgirepository-1.0-1
  libglew1.5 libglew1.5-dev libglewmx1.5-dev libglib2.0-bin
libgnome-keyring-dev libgnutlsxx26 libgtk-3-0 libgtk-3-bin
libgtk-3-common libhunspell-dev libicu-dev
  libidl-dev libnspr4-dev libnss3-dev liborbit2-dev libpam0g-dev
libprotobuf-dev libprotobuf-lite7 libprotobuf7 libprotoc7 libspeex-dev
libsqlite3-dev libv8-3.1.8.10
  libv8-dev libxcb-shm0-dev libxslt1-dev libxss-dev libxtst-dev lzma
lzma-dev orbit2 patchutils protobuf-compiler ttf-kochi-gothic
ttf-kochi-mincho
  ttf-sazanami-mincho wdiff x11proto-record-dev x11proto-scrnsaver-dev xvfb
The following packages will be upgraded:
  binutils gnome gnome-core gnome-desktop-environment gnome-keyring
gtk2-engines-pixbuf libcairo2 libcairo2-dev libdbus-glib-1-2
libgail-common libgail18 libgcrypt11
  libgcrypt11-dev libglewmx1.5 libglib2.0-0 libglib2.0-dev
libgnome-keyring0 libgnutls-dev libgnutls26 libgpg-error-dev
libgpg-error0 libgtk2.0-0 libgtk2.0-bin
  libhunspell-1.2-0 libicu44 libnautilus-extension1 libnspr4-0d
libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 

Building Chromium from source on Debian 6.0.1 Stable

2011-05-26 Thread Perry Thompson
Following my previous question, someone recommended I build Chromium
from source. Is that possible to do on Stable? I tried to do it from
apt-get, but there were still dependency issues. Am I doing it wrong?
Should I be doing it another way?

If I remember correctly, I tried...

sudo apt-get source chromium-browser
sudo apt-get build-dep chromium-browser

And before I could compile it using apt-get, it gave me a bunch of
dependency issues. If you need me to I can reproduce this to show you all.

Any and all help would be greatly appreciated.


-- 
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/4ddf132e.8060...@yahoo.fr



Re: Chromium 11 on Debian 6.0.1 Stable

2011-05-25 Thread Perry Thompson
On 05/25/2011 01:33 AM, Andrei Popescu wrote:
 On Mi, 25 mai 11, 00:21:36, Perry Thompson wrote:
 On 05/24/2011 11:41 PM, Umarzuki Mochlis wrote:
 2011/5/25 Perry Thompson ryperven...@yahoo.fr

 I have been looking for an operating system that would allow me to have
 the latest browser, but the stability of Debian Stable, and I realized
 that I just want to keep using Debian. I have looked into apt-pinning to
 install Chromium 11 from Sid, however it has not worked for me.
  
 I think sid is already too far away from squeeze for this. Your best bet 
 is to wait for a backport, but this might take a while (it has to 
 migrate to testing first).
 
 sudo aptitude -t sid install chromium shows me...
 http://pastebin.com/6rFGizCA

 sudo aptitude install chromium/sid shows me...
 http://pastebin.com/LMPtDxLY
 
 Please don't use pastebins, it makes it impossible to inspect the 
 outputs if one is off-line and makes it more difficult to quote parts of 
 the output in a reply.
 
 Regards,
 Andrei

Sorry for the pastebins, I thought the clutter would not be welcome.
I'll make note of it in the future.

I still think that this should be possible. I mean, Chrome 11 works from
chrome.google.com, why shouldn't Chromium work? They're pretty much the
same thing, no? Surely there must be some way of doing this.

If there isn't, could someone explain how Chrome is able to do it?

Thank you in advance.


-- 
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/4ddce7c9.6010...@yahoo.fr



Kernel 2.6.38-bpo.2-686 and Virtualbox

2011-05-25 Thread Perry Thompson
I am running Debian 6.0.1 Stable on an EeePC, and my internal microphone
has never worked properly. Today I installed the squeeze-backports
kernel 2.6.38-bpo2-686 and it fixed it. However, now I have a few things
do not work.

virtualbox-ose, ndiswrapper, and the computertemp applet.

When I installed the kernel, I got the following messages.

Setting up linux-headers-2.6.38-bpo.2-common (2.6.38-3~bpo60+1) ...
Setting up linux-headers-2.6.38-bpo.2-686 (2.6.38-3~bpo60+1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.38-bpo.2-686
virtualbox-ose (3.2.10)...failed.
ndiswrapper (1.56)...failed.

I have tried running # modprobe vboxdrv however it says FATAL: Module
vboxdrv not found.

I have checked in /etc/default/virtualbox-ose and
LOAD_VBOXDRV_MODULE=1 is there and not hashed out.

Any ideas how to fix Virtualbox and/or the other two packages that are
no longer working? (I have done nothing with ndiswrapper, but the
computertemp applet shows a big red X over the icon and two XX where the
computer's temperature should be)

Thank you in advance.


-- 
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/4ddd3749.9030...@yahoo.fr



Chromium 11 on Debian 6.0.1 Stable

2011-05-24 Thread Perry Thompson
I have been looking for an operating system that would allow me to have
the latest browser, but the stability of Debian Stable, and I realized
that I just want to keep using Debian. I have looked into apt-pinning to
install Chromium 11 from Sid, however it has not worked for me.

I tried both doing

sudo aptitude -t sid install chromium
and
sudo aptitude install chromium/sid

Both leave me with a plethora of dependency issues.

I know it is possible to install the Chrome 11 deb from
chrome.google.com, so why shouldn't I be able to install chromium from
the repositories?

I would very much appreciate any and all help in finding a solution for
this.


-- 
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/4ddc79d7.2000...@yahoo.fr



Re: Chromium 11 on Debian 6.0.1 Stable

2011-05-24 Thread Perry Thompson
On 05/24/2011 11:41 PM, Umarzuki Mochlis wrote:
 2011/5/25 Perry Thompson ryperven...@yahoo.fr
 
 I have been looking for an operating system that would allow me to have
 the latest browser, but the stability of Debian Stable, and I realized
 that I just want to keep using Debian. I have looked into apt-pinning to
 install Chromium 11 from Sid, however it has not worked for me.



 maybe you could share us your apt preferences file so we can have a look at
 it?
 

Here is /apt/etc/preferences

Package: *
Pin: release n=squeeze
Pin-Priority: 500

Package: *
Pin: release n=wheezy
Pin-Priority: 450

Package: *
Pin: release n=sid
Pin-Priority: 400

As for the dependency issues I have, this is what I get.

sudo aptitude -t sid install chromium shows me...
http://pastebin.com/6rFGizCA

sudo aptitude install chromium/sid shows me...
http://pastebin.com/LMPtDxLY


-- 
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/4ddc83d0.60...@yahoo.fr



I deleted /usr/src/linux

2011-05-17 Thread Perry Thompson
In my struggle to make Nvidia work with a new kernel, I deleted
/usr/src/linux. Is this bad? I had never used /usr/src in Ubuntu before,
but I am seeing that it has more of a use in Debian.

If I was not meant to delete it, is there a way to get it back?


-- 
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/4dd30e7f.8090...@yahoo.fr



Re: I deleted /usr/src/linux

2011-05-17 Thread Perry Thompson
On 05/17/2011 08:15 PM, Robert Wolfe (Debian) wrote:
 On 5/17/2011 8:10 PM, Perry Thompson wrote:
 In my struggle to make Nvidia work with a new kernel, I deleted
 /usr/src/linux. Is this bad? I had never used /usr/src in Ubuntu before,
 but I am seeing that it has more of a use in Debian.

 If I was not meant to delete it, is there a way to get it back?


 
 IIRC, this is usually where the source code to the linux kernel is
 located (headers, etc).  IMO, it's usually best to leave this directory
 and those in it intact.
 
 
Is there any way to get it back? Especially by using the repositories?
Or could I copy it from another Debian system that I have?


-- 
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/4dd31116.6010...@yahoo.fr



Re: rolling vanilla kernel on Squeeze

2011-05-17 Thread Perry Thompson
On 05/17/2011 10:09 PM, Stan Hoeppner wrote:
 System:  Squeeze
 Current Kernel:  2.6.34.1 vanilla built under Lenny long before
  upgrading to Squeeze
 Issue:   Seeing two extra .debs being built by make
 
 I grabbed 2.6.38.6 from kernel.org yesterday and rolled a kernel using
 'make KDEB_PKGVERSION=custom.x.x deb-pkg'.  After running the make
 script I ended up with a kernel .deb package, a headers .deb package,
 and a libc-dev .deb package.  I've been rolling my own kernels for many
 years and I've never ended up with anything but a single kernel .deb
 file.  I don't use initrd nor module support.
 
 What's the story on these two new .deb packages, and what do I do with
 them, if anything?  Is it safe to go ahead and install the kernel
 package?  What, if anything, do I need to do with the 2 new files?
 Install them?  Copy then to /boot?  Ignore them?
 
Install them all, it is normal.


-- 
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/4dd32cf3.1090...@yahoo.fr



Re: [SOLVED] Why doesn't debian remove the proprietary software from it's servers?

2011-05-15 Thread Perry Thompson
On 05/15/2011 11:14 AM, John Hasler wrote:
 sdc writes:
 My beginner question is, why doesn't Debian remove the [non-free]
 software hosted on it's servers?
 
 Because some of our users need it.  While we make that stuff available,
 we do not consider it part of Debian.
 
 Don't they want to follow the FSF word?
 
 No.  Note that the FSF publishes documentation that Debian considers
 non-free.  Debian is not a subsiduary of the FSF.  See
 http://www.debian.org/social_contract

While FSF may not consider it to be free, it is as long as you have not
used the non-free and contrib repos. Install the package called vrms and
run it from the terminal. If you have no programs in that list, then
you're running a system that is just as free as any FSF-recommended OS.

It used to irk me as well that Debian was not considered free by FSF,
but they give us the choice. So, as with many things in GNU/Linux world,
we have the choice of what we want to do.


-- 
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/4dd040ac.1010...@yahoo.fr



Logitech Headset not working

2011-05-10 Thread Perry Thompson
I'm running Debian 6.0.1 stable on an Asus Eee PC 1201PN, and I have
been unable to get my Logitech ClearChat Pro USB headset to work with
it. It worked fine on Ubuntu 10.04 and 10.10. I can also manually choose
hw:1 or hw:2 (depending on which it is at the time) and it works (in
programs such as Skype and Audacity).

Any ideas on how I can get it work? I am also able to get it work by
putting some simple code into .asoundrc, however I can only listen to
one stream at a time, unlike with my internal speakers. The code I use
is this...

pcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2
}

Still, it is not practical. Any other ideas? I would have hoped it would
work automatically as it does on Ubuntu :/


-- 
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/4dc9a858.80...@yahoo.fr



Re: Nautilus scripts using $1

2011-05-07 Thread Perry Thompson
On 05/07/2011 06:13 AM, Camaleón wrote:
 On Fri, 06 May 2011 19:23:54 -0400, Perry Thompson wrote:
 
 Hi there. I made a nautilus script so that I can right-click on a file,
 use it in a program, and then move the produced file back to the working
 directory.

 I made a test script to try it out.

 #!/bin/bash

 echo $1 $HOME/Desktop/test.txt
 
 Shouldn't that be? :-?
 
 echo $1  $HOME/Desktop/test.txt
  
 When I am in any Nautilus folder and I right-click on a file and run the
 script, in the contents of test.txt I have filename.
 
 (...)
 
 How can I fix it so I can use any file in any environment? Maybe somehow
 set nautilus to use full pathnames? Any ideas?
 
 (...)
 
 Yep, try with:
 
 filename=${1##*/}
  
 Greetings,
 
Thank you! It works perfectly :)


-- 
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/4dc57dff.6060...@yahoo.fr



Nautilus scripts using $1

2011-05-06 Thread Perry Thompson
Hi there. I made a nautilus script so that I can right-click on a file,
use it in a program, and then move the produced file back to the working
directory.

I made a test script to try it out.

#!/bin/bash

echo $1 $HOME/Desktop/test.txt

When I am in any Nautilus folder and I right-click on a file and run the
script, in the contents of test.txt I have filename.

However, when I use the script straight from the desktop it does not
work the same way. When I right-click on the file and choose to run the
Nautilus script, it gives me the full path to the file in test.txt.

I'm not sure if that's clear enough, I'll give an example in case it's not.

Filename is on my desktop.

Running the script in Nautilus, test.txt shows Filename
Running the script straight from the desktop, test.txt shows
/home/rypervenche/Desktop/Filename

How can I fix it so I can use any file in any environment? Maybe somehow
set nautilus to use full pathnames? Any ideas?

(Here is my actual script)
#!/bin/bash

# Fix full pathname of input file
location=$(pwd)
location=$location/
filename=$1

# Change working directory to Monolith
cd /home/rypervenche/Monolith

# Make Mono file
./monolith base/Monolith_7D4.wav -m $location$filename

# Move Mono file to folder of original file
mv mono/* $location



-- 
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/4dc4830a.2020...@yahoo.fr



Re: OT: Safe to access SSH server from work?

2011-05-05 Thread Perry Thompson
On 05/05/2011 06:46 PM, cac...@quantum-sci.com wrote:
 On Thursday 5 May, 2011 15:09:02 Brian wrote:
 Use a strong password or ssh keys for access to the server. The question
 is whether you trust the machine you use at work.
 
 OK, say you -don't- trust your machine at work.  Workarounds?
 
 
I suppose you could keep your public key with you on a USB drive and
only put it on the computer when you need it, however I'm not sure how
secure that would be :/


-- 
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/4dc33d8f.2020...@yahoo.fr



Re: Remove unused language from GDM?

2011-05-04 Thread Perry Thompson
On 05/04/2011 08:08 AM, Camaleón wrote:
 On Tue, 03 May 2011 22:06:00 -0400, Perry Thompson wrote:
 
 Hi there. I use en-US and zh-TW (Chinese Taiwan) as locales on my
 computer, and recently tried to do something with my fonts and replaced
 my fonts.dtd file with another and tried logging in. The result was the
 locale or fonts were incorrect and I was given Unspecified
 [ANSI-X3.4-1968] as a choice in my languages bar.
 
 (...)
 
 Is the locale only present in GDM greeter or in the whole system? I mean, 
 what does locale -a show?
 
 Greetings,
 

rypervenche@debian:~$ locale -a
C
en_US.utf8
POSIX
zh_TW.utf8

This is the norm apparently. I checked it on all other computers and
friends' computers. So apparently the locale is there, but I just don't
want the ANSI choice there anymore.


-- 
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/4dc19bf7.1070...@yahoo.fr



Re: Remove unused language from GDM?

2011-05-04 Thread Perry Thompson
On 05/04/2011 02:56 PM, Camaleón wrote:
 On Wed, 04 May 2011 14:33:27 -0400, Perry Thompson wrote:
 
 On 05/04/2011 08:08 AM, Camaleón wrote:
 
 Is the locale only present in GDM greeter or in the whole system? I
 mean, what does locale -a show?

 Greetings,


 rypervenche@debian:~$ locale -a
 C
 en_US.utf8
 POSIX
 zh_TW.utf8
 
 That looks right. So it seems that is only GDM3 which exposes the 
 additional locale :-?
  
 This is the norm apparently. I checked it on all other computers and
 friends' computers. So apparently the locale is there, but I just don't
 want the ANSI choice there anymore.
 
 How about your /etc/default/locale and ~/.dmrc files? Also, check if 
 another user is affected by this.
 
 As a last resort, you can make a full search for that locale's name over 
 all of the system files (just in case): 
 
 grep -H ANSI_X3 /*
 
 Greetings,
 

I tried it using a different user, same result.

rypervenche@debian:~$ cat /etc/default/locale
#  File generated by update-locale
#LANG=en_US.UTF-8
rypervenche@debian:~$ cat .dmrc

[Desktop]
Language=en_US.utf8
Layout=us
Session=default

I have searched for the ANSI name in /etc and a few other folders, such
as /var and /usr, but doing the entire system was taking too long and I
was unable to do a complete search. I will try it again when I have a
large amount of time that I can set to the task.

Any other ideas?


-- 
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/4dc1b6df.5090...@yahoo.fr



Remove unused language from GDM?

2011-05-03 Thread Perry Thompson
Hi there. I use en-US and zh-TW (Chinese Taiwan) as locales on my
computer, and recently tried to do something with my fonts and replaced
my fonts.dtd file with another and tried logging in. The result was the
locale or fonts were incorrect and I was given Unspecified
[ANSI-X3.4-1968] as a choice in my languages bar.

http://i28.photobucket.com/albums/c211/Rypervenche/GNULinux/xephyr.jpg

I replaced my fonts.dtd with the original file, however this option in
my language choice has not gone away. I would like to know how I can
refresh this list of languages or, if I must, manually delete the old
locale choice.

I have looked all over the place and haven't found anything relevant,
aside from this...
http://i28.photobucket.com/albums/c211/Rypervenche/GNULinux/CE.jpg

I'd appreciate any and all help on this subject. Thank you.


-- 
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/4dc0b488.7070...@yahoo.fr