![]() |
|
NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
Xview libraries were never ported to amd64, they run on x86 only. I've read somewhere that some of the libs do not compile on amd64 resulting in a broken toolkit. It must noticed I haven't bothered myself checking whether this statement is true or false, nor attempted to find a workaround for the runtime segfaults; my suggestion - if you really care to run olvwm - is to find a good i386 target (olvwm works for me on NetBSD9.0/i386). Alternatively, you may attempt setting up a multilib pkgsrc environment
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
|
||||
![]()
Indeed I found a nice old Asus eeePC 701 in the cellar and now this machine runs NetBSD 9.0 and the Open Look window manager olvwm. So now I have what I want. Thx for the hints, Paolo.
Nevertheless there a some problems! The most important is, that no programs will start out of my menu. I created an .openwin-menu file in the homedirectory with some entries like: "Web Browser" exec dillo But when I click on that entry, nothing ist started - no dillo. Typing dillo into an xterm, the browser starts properly. Dillo is only an example, have the same behaviour with all other applications. The message in .xsession-erros is "Can't open display .0" Further the is no configuration file example and no OPENWIN seems to be part of the olvwm packages. I used binaries. This problem is solved now by writing export DISPLAY=":0.0" and xhost +machinename into the .xsession file. Berni Last edited by berni51; 13th May 2020 at 08:06 AM. |
|
||||
![]()
Yeah, OpenWindows has a really ancient design and doesn't take anything for granted. Declaring DISPLAY, and always specifying full paths in menu files is a common requirement.
For a cleaner design I symlinked everything Xview related to /usr/openwin and pointed OPENWINHOME to it, in a SunOS fashion, see the relevant Sun docs. I was also able to compile more Xview programs (a Makefile patch is required at least, and is often not enough), keeping that folder as prefix, so now I have everything stored happily there and playing nicely together. Below follows my OL Xresources configuration, in case you were interested in it: Code:
! ===== Xview ===== OpenWindows.BorderColor: slategrey OpenWindows.Background: #a5b2c6 OpenWindows.ButtonFont: -b&h-lucida-medium-r-normal-sans-11-*-*-*-p-*-iso10646-1 OpenWindows.IconFont: -b&h-lucida-medium-r-normal-sans-11-*-*-*-p-*-iso10646-1 OpenWindows.TitleFont: -b&h-lucida-bold-r-normal-sans-11-*-*-*-p-*-iso10646-1 OpenWindows.TextFont: -b&h-lucida-medium-r-normal-sans-11-*-*-*-p-*-iso10646-1 OpenWindows.ScrollbarPlacement: right !OpenWindows.SetInput: followmouse OpenWindows.PopupJumpCursor: True OpenWindows.FocusLenience: True OpenWindows.WindowColor: #a5b2c6 OpenWindows.Beep: never OpenWindows.EdgeMoveThreshold: 50 OpenWindows.WorkspaceColor: #a5b2c6 OpenWindows.PaintWorkspace: false OpenWindows.GrabVirtualKeys: false OpenWindows.DragRightDistance: 20 OpenWindows.IconLocation: top-rl OpenWindows.MultiClickTimeout: 4 OpenWindows.SnapToGrid: True OpenWindows.SelectDisplaysMenu: False OpenWindows.AutoRaise: False OpenWindows.AutoRaiseDelay: 1000000 OpenWindows.AutoReReadMenuFile: True OpenWindows.DragWindow: False OpenWindows.ShowMoveGeometry: True OpenWindows.DefaultIconImage: /usr/openwin/lib/pixmaps/sunlogo_large.xpm OpenWindows.DefaultIconMask: /usr/openwin/lib/pixmaps/sunlogo_mask.xbm OpenWindows.KeyboardCommands: Full OpenWindows.MenuAccelerators: True OpenWindows.WindowMenuAccelerators: True olvwm.ShowMoveGeometry: true olvwm.ShowResizeGeometry: true olvwm.SnapToGrid: true olvwm.Use3DResize: true olvwm.Use3DFrames: false olwm.InvertFocusHighlighting: false olvwm.UseImages: UseAll olvwm.StickyIcons: true olvwm.FreeIconSlots: true !olvwm.UniqueIconSlots: true olvwm.ResizeMoveGeometry: -0+0 olvwm.CursorSpecialResize: true olvwm.AllowArrowInRoot: true olvwm.VirtualDesktop: 3x2 olvwm.PannerScale: 20 olvwm.ServerGrabs: false olvwm.RaiseOnMove: true olvwm.AutoShowRootMenu: true olvwm.AutoRootMenuX: 0 olvwm.AutoRootMenuY: 141 olvwm.Client.workman.MenuAccelerators: False olvwm.VirtualBackgroundMap: /usr/openwin/lib/pixmaps/Virtual \Desktops olvwm.VirtualSticky: xclock xbiff perf xdaliclock xvmount toolbar disktool contool privtool xvmixer xvfilemgr olvwm.MinimalDecor: xclock xbiff xmessage xload xman olvwm.NoDecor: xosview olvwm.FullSizeZoomX: true Code:
# Display startup logo on OpenWindows if [ -x $OPENWINHOME/bin/xcenter -a -f $OPENWINHOME/etc/xview.xbm ]; then $OPENWINHOME/bin/xcenter -bitcenter $OPENWINHOME/etc/xview.xbm && sleep 2 fi # Restore saved desktop settings on OpenWindows, if any if [ -f $HOME/.openwin-init ]; then . $HOME/.openwin-init fi # set background # xsetroot -solid steelblue bggen darkcyan darkblue black | xv -8 -quic -root -quit - # start wm exec /usr/pkg/bin/olvwm
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ Last edited by Sehnsucht94; 13th May 2020 at 12:23 PM. |
|
||||
![]()
Yes, indeed I'm intersted in your configuration file. What is the location of your Xressources?
On my little machine there are only xview-related files in /usr/pkg/include/xview and Usr/pkg/lib/X11/config. Will it make any sense to sysmlink them to $OPENWINHOME? Thx for your kind help so far. Berni |
![]() |
Tags |
netbsd, olvwm, open look, openwindows |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running Apache | morophla | OpenBSD Packages and Ports | 9 | 19th April 2015 03:51 PM |
Getting OpenBSD up and running | Larry | OpenBSD Installation and Upgrading | 10 | 14th May 2010 11:14 PM |
Running as a WPA-RADIUS AP? | Sunnz | OpenBSD Security | 7 | 23rd September 2009 02:09 AM |
Problem getting php running | badguy | OpenBSD General | 7 | 22nd July 2009 03:34 PM |
Problems running jdk-1.7 | incripshin | OpenBSD Packages and Ports | 10 | 10th August 2008 05:54 PM |