Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
Hi, On 05/18/13 17:15, Sebastian Reitenbach wrote: just install the gnustep-desktop meta package: sudo pkg_add -i gnustep-desktop then, I have this in my .xsession file in order to start windowmaker and GWorkspace: if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then . /usr/local/share/GNUstep/Makefiles/GNUstep.sh fi export GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding export LC_ALL='en_EN.UTF-8' export LC_CTYPE='en_US.UTF-8' if [ -x /usr/local/bin/gpbs ];then /usr/local/bin/gpbs fi if [ -x /usr/local/bin/gdnc ];then /usr/local/bin/gdnc fi you do know that in theory, both these daemons get started automatically? I have mysteiorus troubles on OpenBSD sometimes, but they should start. Depending if you can run it as root or user, you can have all GWorkspace daemons but also all gnustep daemons start automatically. I would advice to start them before only on slow machines ( 400Mhz) or if you use many gnustep apps. Read below. You may have a slightly longer startup time, but what is the advantage? On quite of the application they get automatically shut down again. So if you just start one GS app occasionally, you won't consume memory and resources! wmaker if [ -x /usr/local/bin/GWorkspace ];then /usr/local/bin/make_services /usr/local/bin/GWorkspace fi You don't need to run make_services at every startup either. You need to run it after every new application got installed. So there are two ways: run it periodically like Apple does (well, but they want you to buy a new MacBook every year) or run it after an application install. While this is not possible with a dragdrop install Apple-style, if you install applications only through pkg, you could have a post-install script run it perhaps? Just suggestions of course, nothing wrong in your script, just different optimizations depending on your usage style. Riccardo
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
Hi, On 05/19/13 15:57, Tito Mari Francis Escaño wrote: Hello again Sebastian, As you advised I was able to successfully install most if not all the apps that are to be included with the gnustep-desktop meta-package. One thing I observed is that the behavior is buggy. For example, in the GWorkspace menu, I selected the Info-Preferences menu, this will open up a Gworkspace Preferences window where there's a pulldown, I chose from the pulldown the Terminal option, clicked on the textbox with the label xterm hoping to replace it with the GNUstep-native Terminal.app. After clicking on that textbox, the cursor will change into an I-cursor, AND STAY SO thorughout the system until I restart X again by clicking on the GWorkspace Quit menu option. Is this an already reported bug? It sadly is a GS core problem that occasionally triggers, but it has been improved in recent GNUstep releases. Being a DIY system, I patiently took time to edit the .xinitrc to only have 'wmaker' as entry, then from the xterm session, run the command to run the likes of Gorm, ProjectCenter and GNUMail, once they run, their icon will appear on the bottom left, I will drag them individually on the right to group them together, then on the WindowMaker Application menu, click on Session-Save Session, and click on Session-Exit, check the 'Save Workspace State' checkbox, then click on the 'Exit' button to ensure that the icons of the GNUstep-native apps remain on the desktop once I change my .xinitrc file to contain the changes I described from last email. Is there a way to simplify this for the common user? I think that here you are just struggling with WindowMaker. You can also just send a Save Session when you like your setup? I really like the GNUstep and OpenBSD tandem, it's so cool, hope this would be one of the desktop options in OBSD. Thank you very much and look forward to help test and refine GNUstep on OBSD. As one of the GNUstep and GAP developers, thank you for the warm words. They are so rare today. Apparently few people use OpenBSD and BSD generally as a desktop, but all the porting efforts do have a use then :) Riccardo
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
Hello again Sebastian, As you advised I was able to successfully install most if not all the apps that are to be included with the gnustep-desktop meta-package. One thing I observed is that the behavior is buggy. For example, in the GWorkspace menu, I selected the Info-Preferences menu, this will open up a Gworkspace Preferences window where there's a pulldown, I chose from the pulldown the Terminal option, clicked on the textbox with the label xterm hoping to replace it with the GNUstep-native Terminal.app. After clicking on that textbox, the cursor will change into an I-cursor, AND STAY SO thorughout the system until I restart X again by clicking on the GWorkspace Quit menu option. Is this an already reported bug? Being a DIY system, I patiently took time to edit the .xinitrc to only have 'wmaker' as entry, then from the xterm session, run the command to run the likes of Gorm, ProjectCenter and GNUMail, once they run, their icon will appear on the bottom left, I will drag them individually on the right to group them together, then on the WindowMaker Application menu, click on Session-Save Session, and click on Session-Exit, check the 'Save Workspace State' checkbox, then click on the 'Exit' button to ensure that the icons of the GNUstep-native apps remain on the desktop once I change my .xinitrc file to contain the changes I described from last email. Is there a way to simplify this for the common user? I really like the GNUstep and OpenBSD tandem, it's so cool, hope this would be one of the desktop options in OBSD. Thank you very much and look forward to help test and refine GNUstep on OBSD. On 5/19/13, Sebastian Reitenbach sebas...@l00-bugdead-prods.de wrote: On Saturday, May 18, 2013 18:06 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Thanks for the pointers SEbastian :) I tried creating an xsession or .xsession file with those contents but they didn't work. Following your example, what I did instead was to create on the home dir the file .xinitrc with the following content: wmaker /usr/local/bin/gpbs /usr/local/bin/gndc /usr/local/bin/make_services /usr/local/bin/GWorkspace This enabled me to run X with the WindowMaker and automatically starting GWorkspace, with the effect that exits X11 when I Quit GWorkspace. Thank you very much. Now my next task is to run the installed apps when I ran the command: pkg_add gnustep-desktop Maybe you can further advise me on this. I'm very grateful. Thank you very much. good that it works for you. The gnustep-meta package installs a README file, with some pointers to websites: You should find it there: /usr/local/share/doc/pkg-readmes/gnustep-desktop-VERSION Otherwise take a look at each softwares homepage, those you can find here: http://readme.portsbug.me.uk/cat/x11/gnustep I know that at least GNUMail is a bit flaky and crashes here and there :(, but the others should at least just work T.M. If something doesn't work for you, or crashes on you, send me bug report so that I am hopefully be able to reproduce the problem in order to fix it. Or even better, send patches ;) Besides maintaining the ports, I'm also working upstream on GNUstep and GAP so any feedback is appreciated. cheers, Sebastian On Sat, May 18, 2013 at 11:15 PM, Sebastian Reitenbach sebas...@l00-bugdead-prods.de wrote: Hi, On Saturday, May 18, 2013 16:32 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Good day, I tried to install OpenBSD 5.3 64-bit on VMware Workstation 9.x and so far it's working like a charm. I next tried to install WindowMaker, to override the default twm, I created an .xinitrc file on home directory with just one entry: wmaker. When I typed startx, as expected, the X window manager is WindowMaker. I then installed GWorkspace, and to run it, I have to type in the xterm window: GWorkspace. I read the man page on startx, I tried to follow the example of /etc/X11/init/xinitrc where it ran fcwm || xterm to run xterm after the default WM started, by creating an home dir/.xinitrc with wmaker || GWorkspace but it doesn't seem to work. Can somebody please give me pointers how I can run GWorkspace automatically when I start X with WindowMaker as WM? Thank you very much. just install the gnustep-desktop meta package: sudo pkg_add -i gnustep-desktop then, I have this in my .xsession file in order to start windowmaker and GWorkspace: if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then . /usr/local/share/GNUstep/Makefiles/GNUstep.sh fi export GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding export LC_ALL='en_EN.UTF-8' export LC_CTYPE='en_US.UTF-8' if [ -x /usr/local/bin/gpbs ];then /usr/local/bin/gpbs fi if [ -x /usr/local/bin/gdnc ];then /usr/local/bin/gdnc fi wmaker if [ -x /usr/local/bin/GWorkspace ];then
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
I apologize if my concerns turn out to be noise here. As I said in my previous mails, WindowMaker with GWorkspace works, following your advise, with modifications made on .xinitrc instead. Will email GNUstep-specific list to air my concerns there. Thanks again for the pointers and kudos for the work :) On 5/19/13, Sebastian Reitenbach sebas...@l00-bugdead-prods.de wrote: Hi, On Sunday, May 19, 2013 15:57 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Hello again Sebastian, As you advised I was able to successfully install most if not all the apps that are to be included with the gnustep-desktop meta-package. One thing I observed is that the behavior is buggy. For example, in the GWorkspace menu, I selected the Info-Preferences menu, this will open up a Gworkspace Preferences window where there's a pulldown, I chose from the pulldown the Terminal option, clicked on the textbox with the label xterm hoping to replace it with the GNUstep-native Terminal.app. After clicking on that textbox, the cursor will change into an I-cursor, AND STAY SO thorughout the system until I restart X again by clicking on the GWorkspace Quit menu option. Is this an already reported bug? This is a known bug in any GNUstep application, that the cursor doesn't reset. It not only happens on OpenBSD. With this, its probably best to mention that it also happens for you on the GNUstep mailing list: http://www.gnustep.org/information/gethelp.html discuss-gnus...@gnu.org If there are enough people being bugged by it, and crying out, hopefully someone will eventually fix it. Being a DIY system, I patiently took time to edit the .xinitrc to only have 'wmaker' as entry, then from the xterm session, run the command to run the likes of Gorm, ProjectCenter and GNUMail, once they run, their icon will appear on the bottom left, I will drag them individually on the right to group them together, then on the WindowMaker Application menu, click on Session-Save Session, and click on Session-Exit, check the 'Save Workspace State' checkbox, then click on the 'Exit' button to ensure that the icons of the GNUstep-native apps remain on the desktop once I change my .xinitrc file to contain the changes I described from last email. Is there a way to simplify this for the common user? So you only have WindowMaker running, but no GWorkspace? I cannot really follow you. I usually run WindowMaker together with GWorkspace. GWorkspace provides a desktop, where you can just drag n drop apps on the desktop, or on the Dock on the right. For example, go with the File Viewer to /usr/local/libexec/GNUstep From there you can CTRL-Drag apps to the desktop, and it will ask you whether you'll link them there. Then you have them on your GWorkspace desktop. Or you can just drag them to the Dock on the right. I really like the GNUstep and OpenBSD tandem, it's so cool, hope this would be one of the desktop options in OBSD. Thank you very much and look forward to help test and refine GNUstep on OBSD. Those questions are not really OpenBSD specific, but more GNUstep related. So I think its a bit off-topic for the misc@ mailing list. Better to either keep it private, or I think you are better off, asking such things on the discuss-gnus...@gnu.org mailing list. cheers, Sebastian On 5/19/13, Sebastian Reitenbach sebas...@l00-bugdead-prods.de wrote: On Saturday, May 18, 2013 18:06 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Thanks for the pointers SEbastian :) I tried creating an xsession or .xsession file with those contents but they didn't work. Following your example, what I did instead was to create on the home dir the file .xinitrc with the following content: wmaker /usr/local/bin/gpbs /usr/local/bin/gndc /usr/local/bin/make_services /usr/local/bin/GWorkspace This enabled me to run X with the WindowMaker and automatically starting GWorkspace, with the effect that exits X11 when I Quit GWorkspace. Thank you very much. Now my next task is to run the installed apps when I ran the command: pkg_add gnustep-desktop Maybe you can further advise me on this. I'm very grateful. Thank you very much. good that it works for you. The gnustep-meta package installs a README file, with some pointers to websites: You should find it there: /usr/local/share/doc/pkg-readmes/gnustep-desktop-VERSION Otherwise take a look at each softwares homepage, those you can find here: http://readme.portsbug.me.uk/cat/x11/gnustep I know that at least GNUMail is a bit flaky and crashes here and there :(, but the others should at least just work T.M. If something doesn't work for you, or crashes on you, send me bug report so that I am hopefully be able to reproduce the problem in order to fix it. Or even better, send patches ;) Besides maintaining the ports, I'm also working upstream on GNUstep and GAP
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
Hi, On Saturday, May 18, 2013 16:32 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Good day, I tried to install OpenBSD 5.3 64-bit on VMware Workstation 9.x and so far it's working like a charm. I next tried to install WindowMaker, to override the default twm, I created an .xinitrc file on home directory with just one entry: wmaker. When I typed startx, as expected, the X window manager is WindowMaker. I then installed GWorkspace, and to run it, I have to type in the xterm window: GWorkspace. I read the man page on startx, I tried to follow the example of /etc/X11/init/xinitrc where it ran fcwm || xterm to run xterm after the default WM started, by creating an home dir/.xinitrc with wmaker || GWorkspace but it doesn't seem to work. Can somebody please give me pointers how I can run GWorkspace automatically when I start X with WindowMaker as WM? Thank you very much. just install the gnustep-desktop meta package: sudo pkg_add -i gnustep-desktop then, I have this in my .xsession file in order to start windowmaker and GWorkspace: if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then . /usr/local/share/GNUstep/Makefiles/GNUstep.sh fi export GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding export LC_ALL='en_EN.UTF-8' export LC_CTYPE='en_US.UTF-8' if [ -x /usr/local/bin/gpbs ];then /usr/local/bin/gpbs fi if [ -x /usr/local/bin/gdnc ];then /usr/local/bin/gdnc fi wmaker if [ -x /usr/local/bin/GWorkspace ];then /usr/local/bin/make_services /usr/local/bin/GWorkspace fi cheers, Sebastian
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
On Sat, May 18, 2013 at 10:32:47PM +0800, Tito Mari Francis Escaño wrote: I read the man page on startx, I tried to follow the example of /etc/X11/init/xinitrc where it ran fcwm || xterm to run xterm after the default WM started, by creating an home dir/.xinitrc with wmaker || GWorkspace but it doesn't seem to work. Of course it won't, you misunderstood what prog1 || prog2 does. It tries to run prog1, and *if that fails* then it runs prog2. Thus, in fcwm || xterm, the goal is to give you an xterm if the startup of fcwm fails (for instance, if your config file for the window manager is bogus). Among the various things sebastia wrote, he did: prog1 prog2 which is a possible shell-construct to start a prog1 in the background and then start prog2 as well. In the context of xinitrc, note that when the script exits, then X windows stops, so you have to write things in the correct order (e.g., the background program has no effect on when xwindows exits)
Re: How to Run WindowMaker and GWorkspace on OBSD 5.3
Thanks for the pointers SEbastian :) I tried creating an xsession or .xsession file with those contents but they didn't work. Following your example, what I did instead was to create on the home dir the file .xinitrc with the following content: wmaker /usr/local/bin/gpbs /usr/local/bin/gndc /usr/local/bin/make_services /usr/local/bin/GWorkspace This enabled me to run X with the WindowMaker and automatically starting GWorkspace, with the effect that exits X11 when I Quit GWorkspace. Thank you very much. Now my next task is to run the installed apps when I ran the command: pkg_add gnustep-desktop Maybe you can further advise me on this. I'm very grateful. Thank you very much. On Sat, May 18, 2013 at 11:15 PM, Sebastian Reitenbach sebas...@l00-bugdead-prods.de wrote: Hi, On Saturday, May 18, 2013 16:32 CEST, Tito Mari Francis Escaño titomarifran...@gmail.com wrote: Good day, I tried to install OpenBSD 5.3 64-bit on VMware Workstation 9.x and so far it's working like a charm. I next tried to install WindowMaker, to override the default twm, I created an .xinitrc file on home directory with just one entry: wmaker. When I typed startx, as expected, the X window manager is WindowMaker. I then installed GWorkspace, and to run it, I have to type in the xterm window: GWorkspace. I read the man page on startx, I tried to follow the example of /etc/X11/init/xinitrc where it ran fcwm || xterm to run xterm after the default WM started, by creating an home dir/.xinitrc with wmaker || GWorkspace but it doesn't seem to work. Can somebody please give me pointers how I can run GWorkspace automatically when I start X with WindowMaker as WM? Thank you very much. just install the gnustep-desktop meta package: sudo pkg_add -i gnustep-desktop then, I have this in my .xsession file in order to start windowmaker and GWorkspace: if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then . /usr/local/share/GNUstep/Makefiles/GNUstep.sh fi export GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding export LC_ALL='en_EN.UTF-8' export LC_CTYPE='en_US.UTF-8' if [ -x /usr/local/bin/gpbs ];then /usr/local/bin/gpbs fi if [ -x /usr/local/bin/gdnc ];then /usr/local/bin/gdnc fi wmaker if [ -x /usr/local/bin/GWorkspace ];then /usr/local/bin/make_services /usr/local/bin/GWorkspace fi cheers, Sebastian