Re: bash, xbindkeys and dual screen

2007-09-28 Thread Nguyen, Cuong K.
On 09/27/2007 06:37 PM, Andrew Sackville-West wrote: I haven't tried two distinct screens, so I can't directly compare them. I find the moving of the mouse from one screen to the other to be intuitive and natural for me, but in reality, I rarely use the mouse anymore. I probably don't need to

Re: bash, xbindkeys and dual screen

2007-09-27 Thread Nguyen, Cuong K.
You're probably right that the DISPLAY is always :0.0. You need another way to toggle between 0 and 1. Try this: #!/bin/bash swfile=/tmp/sw-file if [ ! -f $swfile ]; then echo 0 $swfile ; fi echo $(( ! `cat $swfile` )) $swfile echo exec switchscreen `cat $swfile` Note that I just echo-ed

Re: bash, xbindkeys and dual screen

2007-09-27 Thread Nguyen, Cuong K.
On 9/27/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: On Thu, Sep 27, 2007 at 12:44:32PM -0400, Nguyen, Cuong K. wrote: You're probably right that the DISPLAY is always :0.0. You need another way to toggle between 0 and 1. Try this: #!/bin/bash swfile=/tmp/sw-file if [ ! -f

Re: bash, xbindkeys and dual screen

2007-09-27 Thread Nguyen, Cuong K.
On 9/27/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: a tiling WM is a WM that tiles the windows. That is, the windows don't overlap, but rather occupy as much space as possible and are laid out on the screen like tiles. wmii is one of the many tiling WM's. It works by assigning the

bash, xbindkeys and dual screen

2007-09-26 Thread Nguyen, Cuong K.
Hi all, I have a problem - basically with some bash codes. I have dual screen and one mouse, and I want to switch my mouse back and forth from screen 1 to screen 2 etc by pressing a keyboard. In order to do that, I did the following: 1. install switchscreen, then by typing switchscreen 0 or

Re: Weird partition arrangements and broken GRUB

2007-07-26 Thread Nguyen, Cuong K.
bootloader to boot into Windows XP, but seeing that /dev/sda1 contains a crippled WinPE recovery application, I don't think it will really work. Suggestions would be much appreciated, Thanks. On 7/27/07, Nguyen, Cuong K. [EMAIL PROTECTED] wrote: On 7/26/07, Hamza Saglam [EMAIL PROTECTED

Re: Weird partition arrangements and broken GRUB

2007-07-26 Thread Nguyen, Cuong K.
On 7/26/07, Hamza Saglam [EMAIL PROTECTED] wrote: Hi, After reading dozens of GRUB tutorials for a good few hours and not getting anywhere, I've decided to post on this mailing list regarding my problem. If it has been covered before please pardon me, I really can't see it :( Now before I

samba, cups and windows client

2007-07-25 Thread Nguyen, Cuong K.
Hi all, I just set up a printer server on my Debian box using cups and samba server. Everything seems to be fine when I use a Windows XP Pro Client to connect to the printer: the client can see the printer, I can add it to the printer list, and its status is ready. I also add the windows user to

Re: Newbie, Video help

2007-07-25 Thread Nguyen, Cuong K.
On 07/25/2007 11:20 PM, Bob Proulx wrote: justin reeves wrote: heres the response Please reply to the mailing list so that all can participate in the discussion and the answer will be available in the archive. If your mailer has a reply-to-list action that is the one to use. If not

Re: samba, cups and windows client

2007-07-25 Thread Nguyen, Cuong K.
On 7/25/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: On Wed, Jul 25, 2007 at 12:08:00PM -0400, Nguyen, Cuong K. wrote: Hi all, I just set up a printer server on my Debian box using cups and samba I'm not really up on these things, but I was under the impression that you could bypass

samba, cups and windows client

2007-07-24 Thread Nguyen, Cuong K.
Hi all, I just set up a printer server on my Debian box using cups and samba server. Everything seems to be fine when I use a Windows XP Pro Client to connect to the printer: the client can see the printer, I can add it to the printer list, and its status is ready. I also add the windows

xsession file

2007-07-20 Thread Nguyen, Cuong K.
Hi all, I have Debian Etch 4.0 and it is quite new to me. I want to customize some scripts starting with Gnome every time when I boot up and log in, and the method chosen is to use ~/.xsession file. The problem is I do not see that file in my home folder. I need to create one, but then I do

Re: Debian not auto mount my CDs / DVDs

2007-07-20 Thread Nguyen, Cuong K.
googled and read some posts, and most of them concerned about hal. Anybody experienced the same thing as me? KC. On 7/15/07, Nguyen, Cuong K. [EMAIL PROTECTED] wrote: Hi all, I just switched from Fedora to Debian, so I am totally a newbie to Debian. Now I have one problem: my Debian (Gnome

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
PGP SIGNED MESSAGE- Hash: SHA1 On 07/20/07 19:47, Nguyen, Cuong K. wrote: Hi all, I have Debian Etch 4.0 and it is quite new to me. I want to customize some scripts starting with Gnome every time when I boot up and log in, and the method chosen is to use ~/.xsession file. The problem is I

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
. Thanks, KC. On 7/20/07, Bob Proulx [EMAIL PROTECTED] wrote: Nguyen, Cuong K. wrote: I need to create one, but then I do not know what is the official command(s) to pass off the process to gnome whenever the script is implement. Tried gdm, xdm, /etc/init.d/gdm, startx etc... with no luck

Re: xsession file

2007-07-20 Thread Nguyen, Cuong K.
Hi John, Even fvwm not found in my system (install from the latest DVD downloaded from debian) :( Sorry, I only know that I am now using Gnome, so what is a windows manager then? Is gnome a desktop shipped with that windows manager? KC. John Hasler wrote: I do not have fvwm2 (not found

Debian not auto mount my CDs / DVDs

2007-07-15 Thread Nguyen, Cuong K.
Hi all, I just switched from Fedora to Debian, so I am totally a newbie to Debian. Now I have one problem: my Debian (Gnome) does not automatically mount any of my inserted CDs/DVDs, even I installed *gnome-volume-manager* already, and the *Mount removable media when inserted* as well as