IRIX and Software

Changes to ~.4Dwmrc and system.4Dwmrc dont affect root, why?

Hi.
When adding key modifiers to either the system 4Dwmrc or the user defined 4Dwmrc file in the home catalog I can get everything to work fine except, for the user root ??
Tried it on two different boxes with 6.5.22 and .27 IRIX and they behave the same.

The OS seems to read the files as changes to other parts of the files like the root or desk menu will register.
But not custom button actions.

So is this by design to protect the root user from being borked by a faulty system or root 4Dwmrc file or are my boxes just being stubborn ?

//deBug
Mein Führer, I can walk!
Found the problem, on both my machines I had installed softwindows witch had placed a .Xdefaults in my root(s).
That file disabled the /usr/lib/X11/system. 4Dwmrc and the /.4Dwmrc for the root user.
Renaming .Xdefaults to .Xdefaults.org fixed the problem and my 4Dwmrc files are now affective again and Sofwindwindows keymapping seems to still be OK.
Mein Führer, I can walk!
I can improve on this tip:

It's not the presence of .Xdefaults that prevents keybinding overrides in your .4Dwmrc, but the presence of the 4Dwm*keyBindings: SoftWindowsKeys which I found in .Xdefaults.

I was just adding the http://www.nekochan.net/wiki/Using_the_ ... itch_Desks trick and found this the problem.

The .Xdefaults (and the .Sgiresources config) and the .4Dwmrc all co-exist happily, however you are cautioned on examining carefully each of these if things don't seem to be working right. I found, for example, my ov config being restored after a logout/login because it was defined both .Xdefaults and .Sgiresources.

Hope this is useful for someone.
:O2: r12 400 mapleleaf
New Zealand
rooprob wrote: I can improve on this tip:

It's not the presence of .Xdefaults that prevents keybinding overrides in your .4Dwmrc, but the presence of the 4Dwm*keyBindings: SoftWindowsKeys which I found in .Xdefaults.

I was just adding the http://www.nekochan.net/wiki/Using_the_ ... itch_Desks trick and found this the problem.

The .Xdefaults (and the .Sgiresources config) and the .4Dwmrc all co-exist happily, however you are cautioned on examining carefully each of these if things don't seem to be working right. I found, for example, my ov config being restored after a logout/login because it was defined both .Xdefaults and .Sgiresources.

Hope this is useful for someone.


... then why not write something in the wiki..?

Created a page, knock yourself out... http://www.nekochan.net/wiki/4Dwmrc


R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Hi, I'm not sure if this helps and if it's relevant to your issue, but when you edit ~/file as root - it actually depends on the way how you "become" root,
when you log in as user x and use "su" - then it's likely the file ~/file edited as root will actually be /usr/people/x/file
but when you use "su -" it will be really root's file...
There's fundamental difference in the way your environment is set/reset/preserved during "su".

Cheers
[click for links to hinv] JP: :Fuel: | :O2: | :Indy: || PL: [ :Fuel: :O2: :O2+: :Indy: ]