Comments on: Writing first YCP program https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/ Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 17:50:09 +0000 hourly 1 https://wordpress.org/?v=4.7.5 By: Martin Vidner https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-767 Thu, 19 Feb 2009 11:53:18 +0000 http://lizards.opensuse.org/?p=424#comment-767 Ugh, I forgot. If you are not root, you will need to call it with the full path: /sbin/yast2 ...

]]>
By: Martin Vidner https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-766 Thu, 19 Feb 2009 11:51:50 +0000 http://lizards.opensuse.org/?p=424#comment-766 You can also do it without the symlink: yast2 --qt ./PushButton.ycp, yast2 --gtk ./PushButton.ycp, yast2 --ncurses ./PushButton.ycp

And if people got interested, here’s a page with useful links about YaST development

]]>
By: Robin https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-749 Fri, 13 Feb 2009 15:17:42 +0000 http://lizards.opensuse.org/?p=424#comment-749 well, you never stop learning when using linux, that’s why I love it

]]>
By: Alexander Orlovskyy https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-748 Fri, 13 Feb 2009 14:12:11 +0000 http://lizards.opensuse.org/?p=424#comment-748 Robin,i understand , i edited my blog ,so now it makes sense. 😉
Don`t forget,i still learning .

]]>
By: Robin https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-747 Fri, 13 Feb 2009 13:34:41 +0000 http://lizards.opensuse.org/?p=424#comment-747 sure, but exporting a variable and exiting immediately afterwards does nothing.

from the wiki:

export Y2DEBUG=1
yast2

That would start yast2 with the Y2DEBUG variable set to 1.
export Y2DEBUG=1
exit
will set the variable and exit the shell which just discards the variable.

You might want this:
export Y2DEBUG=1 # once in your shell session

./y2base ./PushButton.ycp qt

]]>
By: Alexander Orlovskyy https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-746 Fri, 13 Feb 2009 12:00:31 +0000 http://lizards.opensuse.org/?p=424#comment-746 Hi Robin, please refer to YaST manual
“The y2logs don’t seem to show my problem. Can that logging be made any more verbose?”

http://en.opensuse.org/Bugs/YaST

]]>
By: Robin https://lizards.opensuse.org/2009/02/13/writing-first-ycp-program/#comment-745 Fri, 13 Feb 2009 11:36:06 +0000 http://lizards.opensuse.org/?p=424#comment-745 > $ su
> $ export Y2DEBUG=1
> $ exit

That does exactly… nothing.

Exporting variables only affects child processes

]]>