To set themes in windowmaker type the command
setstyle aay.themed
but the particular folder should contain the style file for the theme. I found some cool themes at http://themes.freshmeat.net/browse/918/?topic_id=918 with style files in them. I don't know how to change the style with lsm file. Maybe if I find it soon enough I'll put it here.
Thursday, March 31, 2005
OpenGl Makefile
While doing Computer Graphics i spent a lot of time on a Makefile. I am putting a sample one here. Might help you some day ....
==============================================
CC=g++ -w -pg
GL_INC_DIR=/usr/include
GL_LIB_DIR=/usr/lib
X_LIB_DIR=/usr/X11R6/lib
GL_LIBS=-L$(GL_LIB_DIR) -lglut -lGLU -lGL
X_LIBS=-L$(X_LIB_DIR) -lXmu -lX11 -lXi
CFLAGS = -Wall
.PHONY:clean
OBJ = colorcube.o
LIBS = -L $(GL_LIB_DIR) $(GL_LIBS) $(X_LIBS)
all: $(OBJ) colorcube
$(OBJ): %.o : %.cpp
$(CC) -c $(CFLAGS) $< -o $@
colorcube: $(OBJ)
$(CC) $(OBJ) $(LIBS) -o $@
clean:
rm -f ./*~ ./core $(OBJ)
#DO NOT DELETE
colorcube.o : colorcube.h
===============================================
==============================================
CC=g++ -w -pg
GL_INC_DIR=/usr/include
GL_LIB_DIR=/usr/lib
X_LIB_DIR=/usr/X11R6/lib
GL_LIBS=-L$(GL_LIB_DIR) -lglut -lGLU -lGL
X_LIBS=-L$(X_LIB_DIR) -lXmu -lX11 -lXi
CFLAGS = -Wall
.PHONY:clean
OBJ = colorcube.o
LIBS = -L $(GL_LIB_DIR) $(GL_LIBS) $(X_LIBS)
all: $(OBJ) colorcube
$(OBJ): %.o : %.cpp
$(CC) -c $(CFLAGS) $< -o $@
colorcube: $(OBJ)
$(CC) $(OBJ) $(LIBS) -o $@
clean:
rm -f ./*~ ./core $(OBJ)
#DO NOT DELETE
colorcube.o : colorcube.h
===============================================
Command Prompt
To customise your command prompt display add these lines into the end of your .bachrc
PS1="System-\h/\d/\t $ "
\h stands for host
\d stands for day
\t stands for time
This makes my display look like
System-kamod/Thu Mar 31/19:38:05 $
PS1="System-\h/\d/\t $ "
\h stands for host
\d stands for day
\t stands for time
This makes my display look like
System-kamod/Thu Mar 31/19:38:05 $
Unlocking in Use profile in Mozilla
Many times when you logout of linux while using mozilla your profile remains 'in use'. An easy way to use it again is to go into .mozilla directory and in your profile folder and remove the file named 'lock' there.
cd .mozilla
cd Shubham
cd mbhht9k3.slt
rm lock
cd .mozilla
cd Shubham
cd mbhht9k3.slt
rm lock
A guide into CSE
While doing engineering at Computer Science and Engineering in IIT Delhi, it occurred to me that all the things on which I spend hours on the net searching can be put into once page. I am dedicating this page to all such things.
If you visit this and are reading this, hope you like it.
If you visit this and are reading this, hope you like it.
Subscribe to:
Posts (Atom)