IRIX Network Forums
IRIX-like desktop for Linux/BSD - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: Other Platforms (//forums.irixnet.org/forum-5.html)
+--- Forum: Other UNIX (//forums.irixnet.org/forum-30.html)
+--- Thread: IRIX-like desktop for Linux/BSD (/thread-3150.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: IRIX-like desktop for Linux/BSD - Raion - 10-13-2021

Eh, I don't care for a particular integration or anything myself but can see the utility. The mwm-utils toolbox doesn't look like yours in screenshots as mine shows the minimize and option buttons. Gonna try building that on IRIx anyways for shits and giggles just to see.

Session manager doesn't work properly on BSD presumably, it complains it can't find the PID of the session which is probably a linuxism or config issue.


RE: IRIX-like desktop for Linux/BSD - shrek - 10-14-2021

(10-13-2021, 09:48 PM)Raion Wrote:  Eh, I don't care for a particular integration or anything myself but can see the utility. The mwm-utils toolbox doesn't look like yours in screenshots as mine shows the minimize and option buttons. Gonna try building that on IRIx anyways for shits and giggles just to see.

Session manager doesn't work properly on BSD presumably, it complains it can't find the PID of the session which is probably a linuxism or config issue.
Try taking a look at the Xresources I shared under EMWM-dist/emwm-conf/Xresources. They're essential if you want the desktop to look right.

The session manager does work under FreeBSD and it's not tied to Linux in any way. It complains if xmsm isn't running but you can still use it outside of EMWM. The session manager is a different application and to get it working you should launch it with the xmsession script which will run EMWM, the Toolbox and merge Xresources.


RE: IRIX-like desktop for Linux/BSD - Raion - 10-14-2021

I do have .xsession execing xmsession so I'm not sure what's breaking it.

I have your Xresources file installed I think? I'll double check later when I'm home.


RE: IRIX-like desktop for Linux/BSD - shrek - 10-14-2021

(10-14-2021, 05:07 PM)Raion Wrote:  I do have .xsession execing xmsession so I'm not sure what's breaking it.

I have your Xresources file installed I think? I'll double check later when I'm home.
Make sure you copied the .sessionetc file which autostarts some things. At a minimum it should have two lines and be set executable

#!/bin/sh
xrdb merge ~/.Xresources &

Sometimes xmsession misses some resource files or doesn't merge them right. Putting the merge command in .sessionetc works 100% of the time for me.


RE: IRIX-like desktop for Linux/BSD - shrek - 10-16-2021

A little preview of the new audio controls. I'm trying to do the GUI in Tcl/Tk.


RE: IRIX-like desktop for Linux/BSD - Raion - 10-16-2021

TCL!

Nice. For freebsd you can just pipe that to mixer commands, if you're unfamiliar with audio on BSD


RE: IRIX-like desktop for Linux/BSD - shrek - 10-16-2021

(10-16-2021, 06:52 PM)Raion Wrote:  For freebsd you can just pipe that to mixer commands, if you're unfamiliar with audio on BSD
I figured this would make development and porting much easier. I'm not familiar with audio on the BSDs but I think Free/OpenBSD have OSS compatibility and I can probably work with that.


RE: IRIX-like desktop for Linux/BSD - Raion - 10-16-2021

Yes, my point is that worst case you can use userspace controls easily for it.

kazuo@mirai ~ % mixer
Mixer vol is currently set to 10:10
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer rec is currently set to 37:37
Mixer igain is currently set to 0:0
Mixer ogain is currently set to 100:100
Mixer monitor is currently set to 100:100
Recording source: monitor

kazuo@mirai ~ % mixer 30
Setting the mixer vol from 10:10 to 30:30.

You can easily set volumes like that.

FreeBSD has OSS compat. OpenBSD uses sndio -- I wouldn't bother with OpenBSD though. It's pretty irrelevant.


RE: IRIX-like desktop for Linux/BSD - shrek - 10-16-2021

If OpenBSD's sndio system has commands similar to ALSA it should only take a few lines of editing to port the audio control panel.


RE: IRIX-like desktop for Linux/BSD - Raion - 10-17-2021

Anyways, I got it mostly working how I wanted -- one question. what is the property name for titleLeft in EMWM?