Mailinglist Archive: opensuse (4237 mails)
| < Previous | Next > |
Re: [SLE] Launching YaST Modules Directly
- From: Leendert Meyer <leen.meyer@xxxxxxx>
- Date: Tue, 17 Aug 2004 21:38:08 +0200
- Message-id: <200408172138.08229.leen.meyer@xxxxxxx>
On Tuesday 17 August 2004 19:15, Randall R Schulz wrote:
> Anders,
>
> On Tuesday 17 August 2004 09:44, Anders Johansson wrote:
> > On Tuesday 17 August 2004 18:37, Randall R Schulz wrote:
> > > Hi,
> > >
> > > Of all the YaST modules, I most often wish to launch the Installer.
> > > Is there a way to create KDE Menu items that go directly to a
> > > particular YaST module, skipping the YaST Control Center?
> >
> > Sure, make the menu item run "/sbin/yast2 <module>"
> >
> > run "yast2 -l" to get a list of available modules
> >
> > "/sbin/yast2 sw_single" will launch the package installer
>
> When I do this as my (non-root) self, I am not prompted for the root
> password as I am whenever I launch the YaST control center.
>
> What's more, when the time comes to read the package from the installation
> media (DVD-ROM for SuSE 9.1 Pro), it gets a persistent error. It says
> that the media is not attached, but in reality everything is in place for
> the installation to proceed.
>
> If I launch the YaST sw_single module from a root shell (with suitable
> xhost permission modification applied), all is again well.
>
> So I guess I should use "kdesu" to launch yast2 in my (so far putative)
> KDE menu additions.
Surprise, surprise:
Open up the YaST Control Center (the graphical one, not the textmode).
Select Software.
Now drag the 'Install and Remove Software' icon onto your desktop.
A dialog pops up, asking for a name. Give it a name (it will be the filename
of the .desktop file).
Now Click on the icon you just dropped. ;P
Cheers,
Leen
> Anders,
>
> On Tuesday 17 August 2004 09:44, Anders Johansson wrote:
> > On Tuesday 17 August 2004 18:37, Randall R Schulz wrote:
> > > Hi,
> > >
> > > Of all the YaST modules, I most often wish to launch the Installer.
> > > Is there a way to create KDE Menu items that go directly to a
> > > particular YaST module, skipping the YaST Control Center?
> >
> > Sure, make the menu item run "/sbin/yast2 <module>"
> >
> > run "yast2 -l" to get a list of available modules
> >
> > "/sbin/yast2 sw_single" will launch the package installer
>
> When I do this as my (non-root) self, I am not prompted for the root
> password as I am whenever I launch the YaST control center.
>
> What's more, when the time comes to read the package from the installation
> media (DVD-ROM for SuSE 9.1 Pro), it gets a persistent error. It says
> that the media is not attached, but in reality everything is in place for
> the installation to proceed.
>
> If I launch the YaST sw_single module from a root shell (with suitable
> xhost permission modification applied), all is again well.
>
> So I guess I should use "kdesu" to launch yast2 in my (so far putative)
> KDE menu additions.
Surprise, surprise:
Open up the YaST Control Center (the graphical one, not the textmode).
Select Software.
Now drag the 'Install and Remove Software' icon onto your desktop.
A dialog pops up, asking for a name. Give it a name (it will be the filename
of the .desktop file).
Now Click on the icon you just dropped. ;P
Cheers,
Leen
| < Previous | Next > |