IRIX-like desktop for Linux/BSD
RE: IRIX-like desktop for Linux/BSD
Hi.
I like the new irix style desktop a lot. Got it running in that xephyr window so far. Sadly no luck running with the standard login manager, where you can choose your session at login. After login it just jumps straight back to the login prompt.
However, when running in xephyr i got errors regarding missing fonts.
The error is XmNfontType set to XmAS_IS. Cannot load font
And when trying to run xosview i getxosview: display :1 cannot load font xfg:Noto Sans:italic:size=10
I installed all of the noto-fonts, but sadly no luck.
Where can i see the logs why login is not working?
And which packages do i need to install for the fonts?
MrWeedster
Octane

Trade Count: (0)
Posts: 86
Threads: 12
Joined: Jan 2019
Find Reply
01-17-2022, 05:14 PM
RE: IRIX-like desktop for Linux/BSD
Sounds like you have xft/fontconfig issues?

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
01-17-2022, 05:29 PM
RE: IRIX-like desktop for Linux/BSD
Maybe? What do i need to do?
MrWeedster
Octane

Trade Count: (0)
Posts: 86
Threads: 12
Joined: Jan 2019
Find Reply
01-17-2022, 06:06 PM
RE: IRIX-like desktop for Linux/BSD
Run fc-cache?

Project: Temporarily lost at sea
Plan: World domination! Or something...
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,250
Threads: 42
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
01-18-2022, 12:28 AM
RE: IRIX-like desktop for Linux/BSD
(01-17-2022, 05:14 PM)MrWeedster Wrote:  Hi.
I like the new irix style desktop a lot. Got it running in that xephyr window so far. Sadly no luck running with the standard login manager, where you can choose your session at login. After login it just jumps straight back to the login prompt.
However, when running in xephyr i got errors regarding missing fonts.
The error is XmNfontType set to XmAS_IS. Cannot load font
And when trying to run xosview i getxosview: display :1 cannot load font xfg:Noto Sans:italic:size=10
I installed all of the noto-fonts, but sadly no luck.
Where can i see the logs why login is not working?
And which packages do i need to install for the fonts?

Updating the font cache like vishnu suggested is a good idea, then do fc-list | grep -i "noto". The session manager redirects stderr and stdout to ~/.xmsession.log so you could check that for details about login crashes.

The XmNfontType XmAS_IS warning is probably the Motif toolkit complaining about localization settings. Safe to ignore.

Right now the only tested platforms are Debian 11 or Devuan 4 but all dependency package names are in the DebAptDeps.sh script. Debian derivatives like Ubuntu will rename a lot of packages too, something to look out for.

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
01-18-2022, 05:05 AM
RE: IRIX-like desktop for Linux/BSD
I ran fc-cache but it didn't make a difference, still complaining about the missing font.
If i grep i find it:
fc-list | grep "Noto Sans:" gives
/usr/share/fonts/truetype/noto/NotoSans-Bold.ttf: Noto Sans:style=Bold
/usr/share/fonts/truetype/noto/NotoSans-Italic.ttf: Noto Sans:style=Italic
/usr/share/fonts/truetype/noto/NotoSans-BoldItalic.ttf: Noto Sans:style=Bold Italic
/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf: Noto Sans:style=Regular

So the Noto Sans:style=Italic is installed, but why does xosview complain?
xosview: display :0 cannot load font xft:Noto Sans:italic:size=10

Is it referenced wrong? I see Noto Sans:style=Italic, but xosview complains about Noto Sans:italic?

The interesting parts in the log seem to be the following:

Merging /home/username/.Xresources
In file included from /opt/DeskView/config/Universal.Xresources:2,
from /home/username/.Xresources:2:
/opt/DeskView/config/applications/Applications.Xresources:42:55: warning: missing terminating ' character
42 | Emwm*confirmRestart*messageString: Restarting EMWM won't close your programs. Continue?
| ^
/opt/DeskView/config/applications/Applications.Xresources:60:21: warning: missing terminating ' character
60 | !tells the WM we don't want to see the little coordinates box during window moves/resizes
| ^
/opt/DeskView/config/applications/Applications.Xresources:114:20: warning: missing terminating ' character
114 | ! Sticky colors don't need to change with the color scheme so they
| ^
/home/username/.Xresources:25:20: warning: missing terminating ' character
25 | !!! Inspired by SGI's default Indigo Magic colors.
| ^
xrdb: "xosview*swap" on line 302 overrides entry on line 291
xrdb: "xosview*page" on line 303 overrides entry on line 292
xrdb: "xosview*net" on line 305 overrides entry on line 293
xrdb: "xosview*disk" on line 312 overrides entry on line 294
xrdb: "xosview*diskIdleColor" on line 552 overrides entry on line 530
Starting the session manager
/home/username/.sessionetc: 39: xosview2: not found
Warning: Cannot convert string "*helvetica-medium-r-normal--14*" to type FontStruct
In file included from /opt/DeskView/config/Universal.Xresources:2,
from /home/username/.Xresources:2:
/opt/DeskView/config/applications/Applications.Xresources:42:55: warning: missing terminating ' character
42 | Emwm*confirmRestart*messageString: Restarting EMWM won't close your programs. Continue?
| ^
/opt/DeskView/config/applications/Applications.Xresources:60:21: warning: missing terminating ' character
60 | !tells the WM we don't want to see the little coordinates box during window moves/resizes
| ^
/opt/DeskView/config/applications/Applications.Xresources:114:20: warning: missing terminating ' character
114 | ! Sticky colors don't need to change with the color scheme so they
| ^
/home/username/.Xresources:25:20: warning: missing terminating ' character
25 | !!! Inspired by SGI's default Indigo Magic colors.
|

[Snip] (A lot of entries in the following form):
Warning:
Name: _MOTIF_DEFAULT_LOCALE
Class: XmRendition
XmNfontType set to XmAS_IS. Cannot load font.

Ignoring unknown option '-o'.
Ignoring unknown option 'load: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
Ignoring unknown option '-o'.
Ignoring unknown option 'cpu: False'.
Ignoring unknown option '-o'.
Ignoring unknown option 'mem: False'.
Ignoring unknown option '-o'.
Ignoring unknown option 'disk: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
Ignoring unknown option '-o'.
Ignoring unknown option 'load: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
urxvt: X connection to :1 broken (explicit kill or server shutdown).^M
X connection to :1 broken (explicit kill or server shutdown).^M
emwm: I/O error on display:: :1

X connection to ':1' broken, unable to recover, exiting.
X connection to :1 broken (explicit kill or server shutdown).^M
X connection to :1 broken (explicit kill or server shutdown).^M
[ 0.16 ] error 3 BadWindow request 2 minor 0 serial 652: "BadWindow (invalid Window parameter)"
[ 0.16 ] error 3 BadWindow request 2 minor 0 serial 747: "BadWindow (invalid Window parameter)"

I'm using this on linux mint and i'm going to try debian 11. So far the prerequisites were all available, except xpdf.

Did a fresh debian 11 install and still have the same error about missing xfg:Noto Sans:italic font
But at least the desktop env is now working when i login.
(This post was last modified: 01-18-2022, 07:30 AM by MrWeedster.)
MrWeedster
Octane

Trade Count: (0)
Posts: 86
Threads: 12
Joined: Jan 2019
Find Reply
01-18-2022, 06:46 AM
RE: IRIX-like desktop for Linux/BSD
(01-18-2022, 06:46 AM)MrWeedster Wrote:  I ran fc-cache but it didn't make a difference, still complaining about the missing font.
If i grep i find it:
fc-list | grep "Noto Sans:" gives
/usr/share/fonts/truetype/noto/NotoSans-Bold.ttf: Noto Sans:style=Bold
/usr/share/fonts/truetype/noto/NotoSans-Italic.ttf: Noto Sans:style=Italic
/usr/share/fonts/truetype/noto/NotoSans-BoldItalic.ttf: Noto Sans:style=Bold Italic
/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf: Noto Sans:style=Regular

So the Noto Sans:style=Italic is installed, but why does xosview complain?
xosview: display :0 cannot load font xft:Noto Sans:italic:size=10

Is it referenced wrong? I see Noto Sans:style=Italic, but xosview complains about Noto Sans:italic?

The interesting parts in the log seem to be the following:

Merging /home/username/.Xresources
In file included from /opt/DeskView/config/Universal.Xresources:2,
                from /home/username/.Xresources:2:
/opt/DeskView/config/applications/Applications.Xresources:42:55: warning: missing terminating ' character
  42 | Emwm*confirmRestart*messageString: Restarting EMWM won't close your programs. Continue?
      |                                                      ^
/opt/DeskView/config/applications/Applications.Xresources:60:21: warning: missing terminating ' character
  60 | !tells the WM we don't want to see the little coordinates box during window moves/resizes
      |                    ^
/opt/DeskView/config/applications/Applications.Xresources:114:20: warning: missing terminating ' character
  114 | ! Sticky colors don't need to change with the color scheme so they
      |                    ^
/home/username/.Xresources:25:20: warning: missing terminating ' character
  25 | !!! Inspired by SGI's default Indigo Magic colors.
      |                    ^
xrdb:  "xosview*swap" on line 302 overrides entry on line 291
xrdb:  "xosview*page" on line 303 overrides entry on line 292
xrdb:  "xosview*net" on line 305 overrides entry on line 293
xrdb:  "xosview*disk" on line 312 overrides entry on line 294
xrdb:  "xosview*diskIdleColor" on line 552 overrides entry on line 530
Starting the session manager
/home/username/.sessionetc: 39: xosview2: not found
Warning: Cannot convert string "*helvetica-medium-r-normal--14*" to type FontStruct
In file included from /opt/DeskView/config/Universal.Xresources:2,
                from /home/username/.Xresources:2:
/opt/DeskView/config/applications/Applications.Xresources:42:55: warning: missing terminating ' character
  42 | Emwm*confirmRestart*messageString: Restarting EMWM won't close your programs. Continue?
      |                                                      ^
/opt/DeskView/config/applications/Applications.Xresources:60:21: warning: missing terminating ' character
  60 | !tells the WM we don't want to see the little coordinates box during window moves/resizes
      |                    ^
/opt/DeskView/config/applications/Applications.Xresources:114:20: warning: missing terminating ' character
  114 | ! Sticky colors don't need to change with the color scheme so they
      |                    ^
/home/username/.Xresources:25:20: warning: missing terminating ' character
  25 | !!! Inspired by SGI's default Indigo Magic colors.
      |   

[Snip] (A lot of entries in the following form):
Warning:
    Name: _MOTIF_DEFAULT_LOCALE
    Class: XmRendition
    XmNfontType set to XmAS_IS.  Cannot load font.

Ignoring unknown option '-o'.
Ignoring unknown option 'load: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
Ignoring unknown option '-o'.
Ignoring unknown option 'cpu: False'.
Ignoring unknown option '-o'.
Ignoring unknown option 'mem: False'.
Ignoring unknown option '-o'.
Ignoring unknown option 'disk: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
Ignoring unknown option '-o'.
Ignoring unknown option 'load: True'.
xosview: display :1 cannot load font xft:Noto Sans:italic:size=10
urxvt: X connection to :1 broken (explicit kill or server shutdown).^M
X connection to :1 broken (explicit kill or server shutdown).^M
emwm: I/O error on display:: :1

X connection to ':1' broken, unable to recover, exiting.
X connection to :1 broken (explicit kill or server shutdown).^M
X connection to :1 broken (explicit kill or server shutdown).^M
[    0.16 ] error    3 BadWindow    request    2 minor    0 serial    652: "BadWindow (invalid Window parameter)"
[    0.16 ] error    3 BadWindow    request    2 minor    0 serial    747: "BadWindow (invalid Window parameter)"

I'm using this on linux mint and i'm going to try debian 11. So far the prerequisites were all available, except xpdf.

Did a fresh debian 11 install and still have the same error about missing xfg:Noto Sans:italic font
But at least the desktop env is now working when i login.

Ok, the -o flag on xosview not being recognized is odd. If you installed xosview from the package manager you should uninstall it and rebuild the new version. I bundled xosview2 which has nicer font support.

But the EMWM I/O error is new to me. Are you sure you followed the build instructions exactly?

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
01-18-2022, 10:02 AM
RE: IRIX-like desktop for Linux/BSD
I did exactly what was stated in the readme.
I did another fresh install and still got the same errors.
I look into xosview2

I got some curious misbehaviour with bash. It does not want to include/source my bashrc.
If i source it manually, i get funny output and control signs all over the console, making it unusable.

I tried to copy the output but i can't. Middle mouse stuffing isn't working. How can i make it work?
Also the command shell seems to be missing basic bash stuff like !$ or the like. How can i make it work?
Ok i can upload pics here:

   

Also: How can i edit the "toolchest" entries?
(This post was last modified: 01-18-2022, 11:00 AM by MrWeedster.)
MrWeedster
Octane

Trade Count: (0)
Posts: 86
Threads: 12
Joined: Jan 2019
Find Reply
01-18-2022, 10:59 AM
RE: IRIX-like desktop for Linux/BSD
(01-18-2022, 10:59 AM)MrWeedster Wrote:  I did exactly what was stated in the readme.
I did another fresh install and still got the same errors.
I look into xosview2

I got some curious misbehaviour with bash. It does not want to include/source my bashrc.
If i source it manually, i get funny output and control signs all over the console, making it unusable.

I tried to copy the output but i can't. Middle mouse stuffing isn't working. How can i make it work?
Also the command shell seems to be missing basic bash stuff like !$ or the like. How can i make it work?
Ok i can upload pics here:



Also: How can i edit the "toolchest" entries?

Looks like your fonts are working okay (see the attachment with xmag)

In the Command Shell just type "bash" to get a bash shell. It uses mksh by default but you can change the shell to anything you like. /opt/DeskView/bin/CommandShell/cmdshell is a script you can edit. Replace the /bin/mksh with a path to any other shell.

The Toolbox entries can be edited by modifying your ~/.toolboxrc. The session menu is not really editable without source code mods but the other top level menus are fair game. If you add more top level menus it will require a longer window, and the config for that is in /opt/DeskView/config/Applications.Xresources. The resource you're looking for is close to the bottom and looks like this: *xmtoolbox*geometry: 118x158+10+100. Just kinda fiddle with it until the Toolbox window size looks right. You need to kill the Toolbox for any changes to take effect. Right click on the desktop > kill X window > click Toolbox. The root menu has options under misc. to open a new Toolbox.

EDIT: Almost forgot to mention that you need to transfer the ~/.mkshrc's second line to your bash config if you want to run some binaries from the shell (like apanel)


Attached Files Image(s)
   

Octane2  R14k 600MHz, V10, 2GB RAM, 73GB disk, IRIX 6.5.22
(This post was last modified: 01-18-2022, 12:34 PM 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
01-18-2022, 12:17 PM
RE: IRIX-like desktop for Linux/BSD
Ok, i got bash and xosview2 running. After installing xosview2 (It's in the DeskView dir but doesn't get compiled/installed by default. I did a ./configure, make and make install in the dir and then got xosview2 installed) and editing the ~/.toolboxrc it works.
However, is there an option to display the individual cpu's instead of just one bar for all?

Still one big issue is the not working copy/paste out of the command shells. I would expect to select something in the one command window and be able to stuff/paste it in another one by middle clicking with the mouse, but that just doesn't work.

And one last question: Is it possible to change the color scheme? I'd like to have the gotham style
MrWeedster
Octane

Trade Count: (0)
Posts: 86
Threads: 12
Joined: Jan 2019
Find Reply
01-18-2022, 01:40 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)