IRIX-like desktop for Linux/BSD
#31
RE: IRIX-like desktop for Linux/BSD
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.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,244
Threads: 534
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-13-2021, 09:48 PM
#32
RE: IRIX-like desktop for Linux/BSD
(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.

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
(This post was last modified: 10-14-2021, 08:54 AM by shrek.)
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
10-14-2021, 08:51 AM
#33
RE: IRIX-like desktop for Linux/BSD
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.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,244
Threads: 534
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-14-2021, 05:07 PM
#34
RE: IRIX-like desktop for Linux/BSD
(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.

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
10-14-2021, 06:16 PM
#35
RE: IRIX-like desktop for Linux/BSD
A little preview of the new audio controls. I'm trying to do the GUI in Tcl/Tk.


Attached Files Image(s)
   

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
10-16-2021, 06:41 PM
#36
RE: IRIX-like desktop for Linux/BSD
TCL!

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

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,244
Threads: 534
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-16-2021, 06:52 PM
#37
RE: IRIX-like desktop for Linux/BSD
(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.

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
10-16-2021, 07:03 PM
#38
RE: IRIX-like desktop for Linux/BSD
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.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,244
Threads: 534
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-16-2021, 09:23 PM
#39
RE: IRIX-like desktop for Linux/BSD
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.


Attached Files Image(s)
   

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
shrek
It's not done until it's ogre.

Trade Count: (0)
Posts: 233
Threads: 19
Joined: Jan 2019
Location: United States
Find Reply
10-16-2021, 10:26 PM
#40
RE: IRIX-like desktop for Linux/BSD
Anyways, I got it mostly working how I wanted -- one question. what is the property name for titleLeft in EMWM?

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,244
Threads: 534
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
10-17-2021, 12:14 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)