You are not logged in.

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

megabeaver
Member
Registered: 2012-12-10
Posts: 4

[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: 142
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
Registered: 2012-12-10
Posts: 4

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
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,222
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

InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

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

megabeaver
Member
Registered: 2012-12-10
Posts: 4

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