Results 1 to 8 of 8

Thread: Changing "WANTED_GUI" to qt error

  1. #1

    Default Changing "WANTED_GUI" to qt error

    hello guys

    I like qt "skin" better over gtk "skin" for yast

    so I followed the tutorial I found given by DenverD
    and changed the WANTED_GUI value from auto to qt
    /etc/sysconfig/yast2

    unfortunately

    I cant

    this yeilds and error message like this

    Could not create a backup file while saving /etc/sysconfig/yast2
    gedit could not back up the old copy of the file before saving the new one. You can ignore this warning and save the file anyway, but if an error occurs while saving, you could lose the old copy of the file. Save anyway?

    no matter how I try to click the save anyway, I cant, nothing happens, the changes wont be save

    by the way, what i did is log in as a regular user
    go to terminal
    log as root through su
    then chmod o=rw yast2

    after that the save button is available at gedit

    just a newbie guys so sorry in advance if I make a stupid mistake

    help is very much appreciated

    Long Live Linux!!!

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,587
    Blog Entries
    14

    Default Re: Changing "WANTED_GUI" to qt error

    What you're doing now is definitely not what DD suggested, it's dangerous. Changing permissions of system files is changing the stability and security of linux. These permissions aren't there for the fun of developpers. Please do yourself a favor, and use the system tools the way they should be used.
    In this specific case: Yast - System - sysconfig editor, search for "WANTED" and you'll find the option to change to the qt gui. Click OK and it's done. Now you have changed the permissions of yast's config file, meaning that any ordinary user (and intruder on user level) can make changes to your system. Do that to the rest of the system and it won't even boot anymore.
    If you've done more things like this, I suggest you reinstall, since nasty results can follow, incl. dataloss etc.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Changing "WANTED_GUI" to qt error

    On 02.02.2012 13:16, Knurpht wrote:
    >
    > What you're doing now is definitely not what DD suggested, it's
    > dangerous. Changing permissions of system files is changing the
    > stability and security of linux. These permissions aren't there for the
    > fun of developpers. Please do yourself a favor, and use the system tools
    > the way they should be used.
    > In this specific case: Yast - System - sysconfig editor, search for
    > "WANTED" and you'll find the option to change to the qt gui. Click OK
    > and it's done. Now you have changed the permissions of yast's config
    > file, meaning that any ordinary user (and intruder on user level) can
    > make changes to your system. Do that to the rest of the system and it
    > won't even boot anymore.
    > If you've done more things like this, I suggest you reinstall, since
    > nasty results can follow, incl. dataloss etc.
    >
    >


    This i true as it highlights the danger of changing something that was
    not intended to be changed.
    But at the same time, i do change permissions myself. As an example, i
    do make my boot partition read only (which i think it should be).
    But perhaps it should be outlined that an advanced user may or may not
    change it in other ways on its own risk of course.
    Deep systemchanges can be always done with Yast. If GUI Yast doesn't
    work (sometimes it forgets) then you can always use Yast via terminal
    which always works.
    That is at least my experience.

    --

    Windows, supports nearly all software, hardware, and viruses.
    Linux Counter: 548299 https://linuxcounter.net/

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Changing "WANTED_GUI" to qt error

    On 2012-02-02 21:56, Jomar808 wrote:

    > this yeilds and error message like this


    You were not root. So you did not follow the instructions properly.


    > by the way, what i did is log in as a regular user
    > go to terminal
    > log as root through su
    > then chmod o=rw yast2


    Don't ever do that, you do not know the consequences.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5

    Default Re: Changing "WANTED_GUI" to qt error

    sorry guys,

    thanks for the advice, appreciate it a lot

    as for knurpht

    i've followed your instructions

    Yast - System - sysconfig editor, search for "WANTED" and you'll find the option to change to the qt gui. Click OK

    I was able to change it to qt from auto but after that
    when I ran yast
    still on gnome skin or gtk

    ive checked and yes indeed the value for WANTED_GUI is qt

    what seemed to be the prob?

    Long Live Linux!!!

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Changing "WANTED_GUI" to qt error

    On 2012-02-03 00:16, Jomar808 wrote:
    > what seemed to be the prob?


    Probably that you do not have the qt version installed.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7

    Default Re: Changing "WANTED_GUI" to qt error

    how do I get it?

    I have the qt version when I used the KDE skin

    Long Live Linux!!!

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Changing "WANTED_GUI" to qt error

    On 2012-02-03 01:26, Jomar808 wrote:
    >
    > how do I get it?
    >
    > I have the qt version when I used the KDE skin


    Open a terminal, do "su -", then "yast2 --qt sw_single &". If you have the
    qt flavour, it will run. If not, you will get an error and the gtk version
    will continue. You need to install "yast2-qt" and dependencies and similar
    yast-qt packages.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •