The problem is now solved. I edited the sudoers file
entering my username with the following command:
User_Alias FULLTIMERS = mak
FULLTIMERS ALL = NOPASSWD: ALL
After that, I created a link with sudo /usr/bin/xcd.sh
command, and now the program ejects the cd without
problem.
Thanks eve
On Tuesday 05 July 2005 01:10, j Mak wrote:
> --- Anders Breindahl <[EMAIL PROTECTED]> wrote:
> > On Tuesday 05 July 2005 05:48, j Mak wrote:
> > > Hi,
> > >
> > > I have a script for ejecting cd from the drive.
> >
>
> > only
> >
> > > way I can execute the script is to login as root,
>
> >
This is the script:
#! /bin/bash
killall kio_audiocd
eject /dev/hdc
The point is brobably on the permissions for /usr/bin/eject (or
wherever it sits).
Try:
ls -l `which eject`(these are backticks, not apostrophes)
you'll see not everyone can eject. Either set a+x permission to eject
--- Anders Breindahl <[EMAIL PROTECTED]> wrote:
> On Tuesday 05 July 2005 05:48, j Mak wrote:
> > Hi,
> >
> > I have a script for ejecting cd from the drive.
> The
> > script resides in the /usr/bin directory. But, I
> am
> > unable to make the link to the script work. The
> only
> > way I
On Mon, Jul 04, 2005 at 11:48:57PM -0400, j Mak wrote:
> Hi,
>
> I have a script for ejecting cd from the drive. The
> script resides in the /usr/bin directory. But, I am
> unable to make the link to the script work. The only
> way I can execute the script is to login as root,
> navigate to the
On Tuesday 05 July 2005 05:48, j Mak wrote:
> Hi,
>
> I have a script for ejecting cd from the drive. The
> script resides in the /usr/bin directory. But, I am
> unable to make the link to the script work. The only
> way I can execute the script is to login as root,
> navigate to the /usr/b
Hi,
I have a script for ejecting cd from the drive. The
script resides in the /usr/bin directory. But, I am
unable to make the link to the script work. The only
way I can execute the script is to login as root,
navigate to the /usr/bin directory and double-clicking
on it. How can i make the lin
Stefan O'Rear wrote:
On Thu, Sep 09, 2004 at 04:47:38PM -0700, Matt Perry wrote:
On Thu, 9 Sep 2004, Erik Steffl wrote:
problem 1 (that's just something to be careful about): if you just
have the default x-window-manager it can be replaced during update and
when you restart WM the X session wi
On Thu, Sep 09, 2004 at 04:47:38PM -0700, Matt Perry wrote:
> On Thu, 9 Sep 2004, Erik Steffl wrote:
>
> >problem 1 (that's just something to be careful about): if you just
> > have the default x-window-manager it can be replaced during update and
> > when you restart WM the X session will c
On Thu, 9 Sep 2004, Erik Steffl wrote:
>problem 1 (that's just something to be careful about): if you just
> have the default x-window-manager it can be replaced during update and
> when you restart WM the X session will crash/end.
>
>problem 2 (IMO serious alternative issue): even if y
On Fri, 10 Sep 2004, Wim De Smet wrote:
> I think you can use the generic 'x-window-manager' which will point to
> the selected default. So you could end your .xsession with either
> 'exec x-window-manager' (though the exec is probably not necessary).
That solves the problem the way I wanted to.
Wim De Smet wrote:
On Thu, 9 Sep 2004 15:18:46 -0700 (PDT), Matt Perry
<[EMAIL PROTECTED]> wrote:
Is there a file where I can put programs to be run when I log into X via
XDM? I tried .Xsession but that just dumps me back out to XDM.
That's logical. The .xsession is run as a script. So it starts a
On Thu, 9 Sep 2004 15:18:46 -0700 (PDT), Matt Perry
<[EMAIL PROTECTED]> wrote:
> Is there a file where I can put programs to be run when I log into X via
> XDM? I tried .Xsession but that just dumps me back out to XDM.
That's logical. The .xsession is run as a script. So it starts all
programs and
Is there a file where I can put programs to be run when I log into X via
XDM? I tried .Xsession but that just dumps me back out to XDM.
What I want is for several programs to be run when I log in such as xterm
and xmodmap. I *don't* want to start a window manager from this. I want
to use the w
14 matches
Mail list logo