You are not logged in.

#1 2012-12-10 06:27:40

megabeaver
Member
From: Canada
Registered: 2012-12-10
Posts: 17

[SOLVED] TineWM problem [maybe a C compiler problem, not sure]

I plead to you for guidance oh Arch gurus and non-gurus!

Having a very bizzare [or maybe not] problem here.
basically it's the same thing as https://bbs.archlinux.org/viewtopic.php?id=108734
I chose to post my question in a new post for the reasons that the previous one is dead and the poster never received an answer. Hope that this one will though...

I decided to learn/experiment with a little C programming and I came across TinyWM: http://incise.org/tinywm.html. The problem is that I cannot start it, maybe something is wrong with my gcc compiler configuration, or maybe Xlib. After compilation, on execution of the compiled binary [./tinywm] file I receive no errors, nothing happens, it just "thinks" indefinitely.
I've tried to edit my .xinitrc by adding "exec path/to/binary/tinywm" and executing startx. The screen is black and I get the same result...

After a lot of googling apparently only me with the guy [arlekino] have this problem, which is, I agree VERY STRANGE.... obviously I'm doing something wrong.
Can someone please suggest me something?

Thank You!

Last edited by megabeaver (2012-12-10 16:01:56)

Offline

#2 2012-12-10 06:45:34

AaronBP
Member
Registered: 2012-08-06
Posts: 149
Website

Re: [SOLVED] TineWM problem [maybe a C compiler problem, not sure]

Sounds like it's working. Start another application with it.

For example, but this in your .xinitrc

xterm &
exec tinywm

Offline

#3 2012-12-10 07:09:23

megabeaver
Member
From: Canada
Registered: 2012-12-10
Posts: 17

Re: [SOLVED] TineWM problem [maybe a C compiler problem, not sure]

omg! that's it!
thank you so much smile
but why adding the xterm in addition to the actual wm made also the mouse pointer appear?

Offline

#4 2012-12-10 13:04:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [SOLVED] TineWM problem [maybe a C compiler problem, not sure]

You can also do something like

xsetroot -cursor_name left_ptr
exec tinywm

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-12-10 16:02:24

megabeaver
Member
From: Canada
Registered: 2012-12-10
Posts: 17

Re: [SOLVED] TineWM problem [maybe a C compiler problem, not sure]

thank you all for suggestions smile Marked the topic as solved

Offline

Board footer

Powered by FluxBB