Page 80 of 80

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-04 14:05
by None1975
Head_on_a_Stick wrote:The opinion of the OpenBSD developers is that the existence of the nouveau drivers encourages NVIDIA to keep their code closed so they have no interest in investing any time and effort into it.Anyway, the OpenBSD DRM tree has been synchronised with Linux so perhaps you could try porting nouveau yourself... :mrgreen:

Thank you for the answer. I have no interest in investing any time and effort into porting nouveau for OpenBSD.

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-05 11:38
by ruffwoof
OpenBSD 6.2 fvwm with stalonetray (tray for osmo, radiotray and libreoffice -quickstart icons/launchers). Added up and down sound volume level buttons to fvwm buttons
Code: Select all
*FvwmButtons "S Up"      arrup2.xpm    exec mixerctl outputs.master=+12
*FvwmButtons "S Down"      arrdown2.xpm    exec mixerctl outputs.master=-12


Seems to work better/quicker when using the likes of libre spreadsheet than under other wm's (perhaps as all integral to the openbsd core package).

fvwm takes a little getting used to compared to jwm/xfce/lxde/kde type panel/layout, but highly configurable and nice to use after you do become more familiar with the ergonomics.

Nice and easy. Install OpenBSD base system (that unlike freebsd comes pre-configured and ready to go) ... use the inbuilt fvwm and just pkg_add firefox-esr, libreoffice, osmo, mpv, mtpaint, xfe and stalonetray ... and you have a reasonable desktop system ready to go (calendar, diary, notes, office suite (wordprocessor, spreadsheet ...etc), browser (pdf reader), filemanager (xfe), video player (mpv), calculator, text editor (xfw), paint program (mtpaint) ... etc.

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-10 23:49
by ruffwoof
OpenBSD 6.2 running twm


There's a lot to be said for the elegance of sheer simplicity :)

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-11 09:54
by debiman
ruffwoof wrote:There's a lot to be said for the elegance of sheer simplicity :)

twm can be made to look a little better than that...
from my crashed blog:

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-11 13:17
by None1975
debiman wrote:twm can be made to look a little better than that...

Very nice, debiman :)

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-12 18:55
by GarryRicketson
Not very pretty yet, just installed, Minix 3 on QEMU VM, OpenBsd is the host.
It is working good though, and ssh / sftp access to other servers, is great.

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-12 19:13
by ruffwoof
twm can be made to look a little better than that...

:) Trying.

Dropping the icons and iconbar is a start in the right direction IMO.

Default boot desktop

That's a stalonetray (tray) at top of screen and two xclocks below that (one showing the analogue clock the other is set to digital and shows the date). Background image is a simple 1010111 type bitmap

I've set the desktop left mouse press to show current open (active or 'iconified) windows, the middle mouse press shows a volume level selection menu, right mouse press shows the twm (main menu). That right mouse for menu matches right mouse clicking the three tray icons that respectively show osmo's choices (calendar/notes...etc), my own menu set choices (green liquid in a bottle icon that clicking shows firefox, xterm ...etc) and the third is LibreOffice -quickstart menu choices (spreadsheet, word processor ...etc).

Window title buttons have the 'iconify' at far left (window disappears totally other than being viewable via left mouse on the desktop), the X next to that is close window; On the right there's the resize (furthest right and next to that a zoom full screen/restore toggle.

This next image is a composite collection of the various menus all merged into a single shot


The pkg_info -mz shows all of the total installed packages ... 9 shown, but one (quirks) is a system security package i.e. not installed by me. i.e. the total number of things installed on top of the base OpenBSD 6.2 system (that includes X and twm ....etc).

To get my own menu into the green liquid tray icon I installed yad and I'm using a notification loop that presents menu/command pairs


Likely not anywhere near the best choice of code/script, but my coding ability is limited to more or less hunting around for examples that might fit and adapting that accordingly (for example I had to look up how to do a while loop).

Nice simple layout for the casual browsing type user (mostly mouse). If I were a more keyboard/desk or laptop user I'd probably go with cwm. For just 8 packages, two of which are small anyway (yad and stalonetray) that's quite a functional desktop setup IMO (browsing/pdf/office/calendar/diary/tasks/file management/video/audio/image editing ...etc.) and runs incredibly well on my 10+ year old hardware (2GB quad).

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-12 21:04
by pawRoot
I dont know how you people can stand those 80's graphics :D

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-13 06:03
by ruffwoof
Modified the icon in the desktop I posted ealier along with extending the yad based drop down menu that I add to stalonetray alongside the drop down menu icons for osmo and libre.

A neat feature is that middle mouse clicking the title bar of a window throws it backwards, so the stalonetray and xclock show through. Handy when you're viewing a web page with the window maximised as a quick way to launch other programs. Left click title bar, right click one of the three stalonetray icons ... and select what you want from the drop down menu. Click the maximised windows title bar again and normal browser viewing resumes (brings it forward again).


Code: Select all
# For OpenBSD 6.2.
#Requires yad and stalonetray (pkg_add yad stalonetray)
yad --notification --text="" \
--image=applications-office \
--separator="\\n" \
xterm!xterm -T "XTERM"
QUIT!/tmp/killtrayapps" \
--command='xmessage "    Use right mouse click to activate menu    "' &
echo "#!/bin/sh" >/tmp/killtrayapps
echo "kill -s HUP $PID" >>/tmp/killtrayapps
echo "rm /tmp/killtrayapps" >>/tmp/killtrayapps
chmod +x /tmp/killtrayapps

I have it set up so left mouse on the desktop shows a list of all windows ... that can be switched to (so like a portable iconbar but that has all windows listed), middle click is for volume adjustment, right click shows the twm menu, that is much the same as what the yad menu shows. No twm icons nor iconbar.

Have it in mind to perhaps set it up to have iconified windows also being added to the stalonetray. Either individually or perhaps under a single icon or maybe even groups of icons. Stalonetray has a neat feature where it has scrollbars so once the number of icons exceeds a specified maximum number you can scroll through them.

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-13 21:54
by GarryRicketson
Minix 3 with fvwm
Using Links, browser.

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-14 23:22
by ruffwoof
OpenBSD 6.2 twm with a colour theme added in


Each programs window set to open with the title/border that colour matches its menu and icon colour

"Icon manager" set to top of screen, 5 wide before stepping down a row for the next 5 ... so a bit like a task bar.

Code: Select all
# num_lock is NOT a normal modifier like control or shift
# if on then key bindin combinations may not work
# use xfontsel to select a font
# -b&h-lucida-medium-r-*-*-20-*-*-*-*-*-*-*
# supports font size 8, 10, 11, 12, 14, 17, 18, 19, 20, 24, 25, 26, 34 values
# and bold or medium weights (r regular and i italic slants)

    #TitleHighlight "/home/user/.twm/bitmaps/solid.xbm"
    # Use a solid bitmap instead if you prefer

    # The solid.xbm file (that's commented out) is a a solid white image.
    # The entire file looks like this:
    #  #define solid_width 8
    #  #define solid_height 8
    #  static char solid_bits[] = {
    #  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    #  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

UsePPosition         "on"
TitleFont          "-b&h-lucida-bold-r-*-*-20-*-*-*-*-*-*-*"
ResizeFont          "-b&h-lucida-medium-r-*-*-20-*-*-*-*-*-*-*"
MenuFont          "-b&h-lucida-medium-r-*-*-20-*-*-*-*-*-*-*"
#MenuFont          "-*-helvetica-medium-r-*-*-24-*-*-*-p-*-*-*"
IconFont          "-b&h-lucida-medium-r-*-*-20-*-*-*-*-*-*-*"
IconManagerFont       "-b&h-lucida-medium-r-*-*-20-*-*-*-*-*-*-*"

BorderWidth          6    # Number of pixels for border around entire window
FramePadding          1    # Number of pixels between titlebar buttons & frame
TitlePadding          2    # Number of pixels around title buttons
MenuBorderWidth       3    # Number of pixels for menu border
NoMenuShadows             # No shadow behind the menu
#SqueezeTitle                      # Squeezes title (making it look like a 'tab' (as in twm)
ButtonIndent          0
TitleButtonBorderWidth       0     # Number of pixels for button border
TitleJustification       "left"
#FramePadding 1 # Margin beetwen decorations and border in title.

# If a title button is defined here then it is shown/used
#LeftTitleButton       "resize.xbm"    = f.resize
#RightTitleButton       "minimize.xbm"    = f.iconify
# full zoom leads to having to double click so removed
RightTitleButton       "maximize.xbm"    = f.fullzoom
#LeftTitleButton       "close.xbm"    = f.delete
# standard (inbuilt i.e. /usr/X11R6/include/X11/bitmaps close button)
LeftTitleButton       "xlogo11"    = f.delete

# Iconified windows icons can be used if ForceIcons is set
IconDirectory          "/home/user/.twm/bitmaps"
Icons {
   "XTerm"          "xlogo16"
   "xfe"          "folder"
   "libreoffice"       "libre.xbm"
   "mtpaint"          "paint"
   "xfi"          "paint.xbm"
   "xfw"          "notes"

# Show window content as move window

RandomPlacement         # auto start rather than wire frame/grid

RestartPreviousState      # Store state across restarts

IconManagerGeometry       "1280x5+0+0" 5      # strip across top
IconRegion          "1000x20+0+2" North East 100 10
#IconifyByUnmapping     # no icons if uncommented
IconBorderWidth       1            # Default is 2

# Border on unfocused windows.
# If we define both of these to the same colour, we get a solid
# border. Otherwise stippled.
BorderTileBackground       "#000000"
BorderTileForeground       "#000000"

NoTitle          { "TWM Icon Manager" "xmessage" "xload" "xclock" "oclock" "WorkSpaceManager" }
NoBorder          { "TWM Icon Manager" "mpv" "xmessage" "xload" "WorkSpaceManager" "xclock" "oclock" }
NoHighlight          # global i.e. following commented out   { "xmessage" "xload" "WorkSpaceManager" "xclock" "oclock" }
IconManagerDontShow       { "xclock" "oclock" "stalonetray" "xeyes" "WorkSpaceManager" }

    BorderColor       "#000000"
                   "xcalc"       "#494949"
                  "Firefox"       "brown"
                  "mtpaint"      "orange"
                  "osmo"         "yellow"
                  "xfw"          "blue"
                  "xfe"          "blue"
                  "libreoffice-writer"    "blue"
                  "libreoffice-calc"    "#006D00"
                  "xterm"          "#494949"
                  "soffice"       "#DCDAD5"
                  "LibreOffice"       "#006D00"

    DefaultBackground       "#020a09"
    DefaultForeground       "gray85"
    # Title default Title colour ... then with selective programs having other colours
    # Use xprop command to identify WM names such as XTerm ...etc.
    TitleBackground       "#006D00" {
                  "xcalc"       "#494949"
                  "Firefox"       "brown"
                  "mtpaint"      "orange"
                  "osmo"         "yellow"
                  "xfw"          "blue"
                  "xfe"          "blue"
                  "libreoffice-writer"    "blue"
                  "xterm"          "#494949"
                  "mpv"          "black"
    TitleForeground       "white"   {
                  "mtpaint"      "black"
                  "osmo"         "black"
    MenuBackground       "#020a09"
    MenuForeground       "#00FF00"
    MenuBorderColor       "slategrey"
    MenuTitleBackground    "#005B5B"
    MenuTitleForeground    "white"
    IconBackground       "#020a09"
    IconForeground       "gray85" {
                  "xcalc"       "white"
                  "Firefox"       "brown"
                  "mtpaint"      "orange"
                  "osmo"         "yellow"
                  "xfw"          "blue"
                  "xfe"          "blue"
                  "libreoffice-writer"    "blue"
                  "libreoffice-calc"    "#006D00"
                  "xterm"          "white"
                  "soffice"       "#DCDAD5"
                  "LibreOffice"       "#006D00"
    IconBorderColor       "#000000"
    IconManagerBackground    "#020a09"
    IconManagerForeground    "gray85" {
                  "xcalc"       "white"
                  "Firefox"       "brown"
                  "mtpaint"      "orange"
                  "osmo"         "yellow"
                  "xfw"          "blue"
                  "xfe"          "blue"
                  "libreoffice-writer"    "blue"
                  "libreoffice-calc"    "#006D00"
                  "xterm"          "white"
                  "soffice"       "#DCDAD5"
                  "LibreOffice"       "#006D00"
    IconManagerHighlight   "slategrey"

# Define some useful functions for motion-based actions.
MoveDelta 2


Function "move-or-lower"    { f.move f.deltastop f.lower    }
Function "move-or-raise"    { f.move f.deltastop f.raise    }
Function "move-or-iconify"    { f.move f.deltastop f.iconify    }
Function "deiconify-raise"    { f.deiconify f.raise       }

Button3 =            : root    : "defops"
Button2 =            : root    : "Volume"
Button1 =            : root    : "TwmWindows"

Button1 =          m : window|icon : f.function "move-or-lower"
Button2 =          m : window|icon : f.iconify
Button3 =          m : window|icon : f.function "move-or-raise"

Button1 =            : title    : f.function "move-or-raise"
#Button1 =           : title    : f.function "raise-lower-move"
Button2 =            : title    : f.delete
Button3 =            : title    : f.raiselower

Button1 =            : icon    : f.function "move-or-iconify"
Button2 =            : icon    : f.delete
Button3 =            : icon    : f.iconify

Button1 =            : iconmgr    : f.function "deiconify-raise"
Button2 =            : iconmgr    : f.delete
Button3 =            : iconmgr    : f.iconify

DefaultFunction               f.nop

# define key bindings
# run 'xmodmap' ... to see keys
# Key bindings (m = ALT, c = control so
#"l" = c | m : all : f.exec "xscreensaver-command -lock &"
# is ctrl-alt-l key combination
# focus must be on root window (not a program window)

"Tab"             = m    : all    : f.circleup
"Print"          =    : all    : f.exec "/home/user/bin/snap3sec &"
"Super_R"          =    : all    : f.fullzoom
"Menu"             =    : all    : f.exec "xfe /home/user/bin &"

#"F21"            =   : all   : f.warpring "next"
#"F22"            =   : all   : f.warptoiconmgr ""
#"F23"            =   : all   : f.raiselower
#"Num_Lock"         =   : all   : f.iconify
#"F24"            =   : all   : f.warpto "xmh"
#"F25"            =   : all   : f.warpto "[expo]"
#"F26"            =   : all   : f.warpto "emacs"
#"KP_Subtract"         = mod5   : all   : f.colormap "prev"
#"KP_Add"         = mod5   : all   : f.colormap "next"
#"KP_Enter"         = mod5   : all   : f.colormap "default"
#"Left"            = m   : all   : f.backiconmgr
#"Right"         = m   : all   : f.forwiconmgr
#"Up"            = m   : all   : f.upiconmgr
#"Down"            = m   : all   : f.downiconmgr
#"Left"            = mod5   : all   : f.warpring "prev"
#"Right"         = mod5   : all   : f.warpring "next"

# And a menus with the usual things
# Colour after menu name is highlight colours foreground/background respectively
# colour after a menu entry name is for the unhighlighted foreground/background
# colours for that entry

menu "defops" ( "#020a09" : "#92FF92"  )
   "MAIN MENU"               f.title
   "FILES"      ( "white" : "blue"    )   !"xfe &"
   "xTERM"      ( "white" : "#494949" )   !"/usr/bin/env LANG=en_GB.UTF-8 /usr/X11R6/bin/xterm &"
   "Firefox-esr"    ( "white" : "brown"   )   !"firefox-esr &"
   ""                  f.nop
   "Text Editor"    ( "white" : "blue"    )   !"xfw &"
   "Calc"       ( "white" : "#494949" )   !"xcalc &"
   "Paint"       ( "black" : "orange"  )   !"mtpaint &"
   ""                  f.nop
   "Libre Spreadsheet"   ( "white" : "#009200" )   !"libreoffice5.2 -calc &"
   "Libre Writer"   ( "white" : "blue"    )   !"libreoffice5.2 -writer &"
   "Osmo Calendar"    ( "black" : "yellow"  )   !"osmo &"
   ""                  f.nop
   "Exit"      ( "white" : "red"     ) f.quit
   ""                  f.nop
   "Move"               f.move
   "Delete"               f.delete
   "Utilities Menu"   "Utilities"

menu "Utilities" ( "#020a09" : "#92FF92"  )
   "Utilities"               f.title
   "xedit"                !"xedit &"
   "xfontsel"                !"xfontsel &"
   "xloaD"                !"xload -geometry =136x136+0+0 &"
   "xclipboard"             !"xclipboard &"
   "xclock"                !"xclock -padding 0 -fg white -bg SteelBlue4 -hd white -hl white &"
   "Top"               !"xterm -T Top -n Top -e top &"
   "Xman"               !"xman &"
   "Xmag"               !"xmag &"
   "Editres"               !"editres &"
   ""                  f.nop
   "XLock"               !"xlock -mode random &"
   "Reset X defaults"             !"xrdb -load $HOME/.Xdefaults"
   ""                  f.nop
   "Window Ops Menu"      "Window Ops"

menu "Volume"
   "Volume"               f.title
   " 100%"                    !"mixerctl -q outputs.master=255"
   "  95%"                    !"mixerctl -q outputs.master=242"
   "  90%"                    !"mixerctl -q outputs.master=230"
   "  85%"                    !"mixerctl -q outputs.master=217"
   "  80%"                    !"mixerctl -q outputs.master=204"
   "  75%"                    !"mixerctl -q outputs.master=191"
   "  70%"                    !"mixerctl -q outputs.master=179"
   "  65%"                    !"mixerctl -q outputs.master=166"
   "  60%"                    !"mixerctl -q outputs.master=153"
   "  55%"                    !"mixerctl -q outputs.master=140"
   "  50%"                    !"mixerctl -q outputs.master=128"
   "  45%"                    !"mixerctl -q outputs.master=115"
   "  40%"                    !"mixerctl -q outputs.master=102"
   "  35%"                    !"mixerctl -q outputs.master=89"
   "  30%"                    !"mixerctl -q outputs.master=77"
   "  25%"                    !"mixerctl -q outputs.master=64"
   "  20%"                    !"mixerctl -q outputs.master=51"
   "  15%"                    !"mixerctl -q outputs.master=38"
   "  10%"                    !"mixerctl -q outputs.master=26"
   "   5%"                    !"mixerctl -q outputs.master=13"
   "   0%"                    !"mixerctl -q outputs.master=0"

menu "Window Ops"
   "Windows Ops"            f.title
   "Iconify"               f.iconify
   "Resize"               f.resize
   "Move"               f.move
   "Raise"               f.raise
   "Lower"               f.lower
   ""                  f.nop
   "Focus"               f.focus
   "Unfocus"               f.unfocus
   "Show Iconmgr"            f.showiconmgr
   "Hide Iconmgr"            f.hideiconmgr
   ""                  f.nop
   "xev"                !"xterm -h xev &"
   "xwininfo"                !"xterm -h xwininfo &"
   "xprop"                !"xterm -h xprop &"
   "Preferences Menu"     "Preferences"


menu  "Preferences" {
   "Preferences"               f.title
   "Bell Loud"                 !"xset b 80&"
   "Bell Normal"               !"xset b on&"
   "Bell Off"                  !"xset b off&"
   "Click Loud"                !"xset c 80&"
   "Click Soft"                !"xset c on&"
   "Click Off"                 !"xset c off&"
   "Lock On"                   !"xset led on&"
   "Lock Off"                  !"xset led off&"
   "Mouse Fast"                !"xset m 4 2&"
   "Mouse Normal"              !"xset m 2 5&"
   "Mouse Slow"                !"xset m 1 1&"

Re: What does your non-Debian desktop look like?

PostPosted: 2017-11-24 17:22
by GarryRicketson
More Minix 3:
Working on the servers,
Useing w3m browser