LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-21-2010, 01:42 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Modifying WM source; help and hints please...


OK

hey gangsters

so, as you kknow I been messing with JWM lately
I had some old tinycore dragon themes laying around
and wanted to see how I could hook up jwm in Lenny

well, this is what you get when you install jwm from source or thru apt,etc
see here
http://multidistro.com/deb/JWM/default-jwm.png

so, thats unacceptable

well; I was reading this post here
http://forums.debian.net/viewtopic.php?f=16&t=38976

great post, I simply read only the first post so far...

and so I started and built jwm source into a deb
of course I got the same ugly desktop

so, now I've modified jwm to this so far
http://multidistro.com/deb/JWM/inprogress1.png

http://multidistro.com/deb/JWM/inprogress2.png

Now, I need to patch it all up and modify the source
so the deafult is changed to mine

so, I need pointers on editing source stuff?

I'm gonna make a rad ass JWM desktop .deb and source

I can do that right?
 
Old 01-21-2010, 06:31 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK

after breaking my desktop several times making jwm.deb's

heres wher I'm at now-

http://multidistro.com/deb/JWM/myjwm.png

http://multidistro.com/deb/JWM/myjwm2.png

so, I'm having trouble adding the additional submenus and stuff


you know, not being a real coder, i just try to imitate/modify what I see
 
Old 01-21-2010, 06:56 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey you know I've never modified source before and am stuck...

if I add files to the source, to be added into the deb
there getting deleted from source and not put in deb when I build the deb?

How do I tell "whatever" that i am adding files to it?
LOL
 
Old 01-22-2010, 08:32 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK guys

I think I'm almost finished; I have a nice .deb built
better than the default JWM deb by far

Heres what I got right now

http://multidistro.com/deb/JWM/myjwm-7th.png

http://multidistro.com/deb/JWM/jwm5.png

http://multidistro.com/deb/JWM/jwm6.png

as you can see, I got some buttons and stuff
the 3 buttons on the right are show-desktop/root pcmanfm/root xterm
on the left is the menu button and www browser button
and a pager, cpu usage thingy and clock

I also added reboot and shutdown buttons as JWM also doesnt have these
they work too

So, I've installed this deb into both my debian lenny and ubuntu 9.04 systems and it works great

I need someone to try it?

Who wants to try myjwm_2.0.1-1.1_i386.deb ?

Where's Frenchnoob, he's a JWM guy?

Heres the .deb, 95.4kb, and being a deb it will install all dependencies, which aint much

http://multidistro.com//deb/JWM/myjw...1-1.1_i386.deb

Use gdebi or dpkg to install it
Code:
dpkg -i jwm_2.0.1-1.1_i386.deb
there are no bugs except the same bug that exists in jwm itself
listen up!
when you install JWM thru synaptic, whatever
it for some reason doesn't send its file (Jwm) to /usr/share/xsessions/Jwm
so it wont show up in GDM session picker,etc

it puts the file in /usr/share/jwm/xsessions/Jwm
?

so, just cp the file from there to where its supposed t go and it works fine
Code:
cp -a /usr/share/jwm/xsessions/* /usr/share/xsessions/
or just use your file manager as root to move it,etc

then logout, choose jwm at session chooser and your set

thats not my bug, thats JWM's bug!
the bug also exists in mine cause I dont know what file to edit?!

So, please will anyone check it out?
it uninstalls quite easy

and I need some feedback?
thanks

Last edited by linus72; 01-22-2010 at 08:36 AM.
 
Old 01-22-2010, 09:34 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hmmm

it works in everything but Ubuntu 9.10?!

it works in Lenny and 9.04 flawlessly

in 9.10 it just gives me the default ugly install, I even tried from source,etc

it also works in squeeze, but gives error about newer jwm being availabale so
I'm building a squeeze .deb now

anyone try it yet?
 
Old 01-22-2010, 09:44 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
So, I've installed this deb into both my debian lenny and ubuntu 9.04 systems and it works great
What will happen if there is an upgrade available?
Will your deb still work or will it be overwritten?
 
Old 01-22-2010, 09:48 AM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
damn it it gets overwritten
why!?

is there a way to fix it?

I just made a squeeze one too

heres Lenny/Ubuntu-9.04 deb myjwm
http://multidistro.com//deb/JWM/myjw...1-1.1_i386.deb

heres squeeze version
http://multidistro.com//deb/JWM/myjwm_2.0.1-2_i386.deb

Repo you gonna try it out?
 
Old 01-22-2010, 09:49 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I also added reboot and shutdown buttons as JWM also doesnt have these
On my debian, these buttons are present
Quote:
when you install JWM thru synaptic, whatever
it for some reason doesn't send its file (Jwm) to /usr/share/xsessions/Jwm
so it wont show up in GDM session picker,etc
On my system it shows up in the GDM session picker though
 
1 members found this post helpful.
Old 01-22-2010, 09:52 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what?

you installed the default jwm and it you got reboot/shutdown buttons and it installed the xsession/Jwm correctly?

it wouldnt do that thru synaptic on ANY of my systems
not 9.04/9.10, not lenny, and squeeze has a shutdown button but it does nothing

why's yours got all that and all mine are not?

you do mean the deafult jwm install or mine?
 
Old 01-22-2010, 10:00 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
you do mean the deafult jwm install or mine?
The default install
 
Old 01-22-2010, 10:45 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Your wailing repo..

show me your jwmrc?

you mean it has restart and exit buttons?

does it got exit/restart/reboot/shutdown or what?


Hey, Repo, how would I autostart X without GDM,etc?
I know .xinitrc and what a autostart script or what?
 
Old 01-22-2010, 11:16 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
My bad, it only restarts the x-server or shutdown
restart and exit => restart x-server
shutdown => powers off the computer

It has
Quote:
</Menu>
<Separator/>
<Restart label="Restart" icon="restart.png"/>
<Exit label="Exit" confirm="true" icon="exit.png"/>
<Program label="Shutdown" confirm="false" icon="exit.png">
/usr/lib/jwm/jwm-poweroff.sh
</Program>
</RootMenu>
Here is the complete file
http://beginnerslinux.org/temp/jwmrc.txt
 
Old 01-22-2010, 11:16 AM   #13
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
how would I autostart X without GDM,etc?
Might this help?:

http://blogs.koolwal.net/2009/03/15/...m-gdm-kdm-etc/
 
Old 01-22-2010, 11:20 AM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hey Trooper whats up?

try the squeeze jwm if you will
it uninstalls easy you know
the squeeze is best for lenny/squeeze/9.04

I'll check that llink out now
 
Old 01-22-2010, 11:26 AM   #15
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
try the squeeze jwm if you will
Just one problem with that......it's i386.
I know you can pass dpkg the 'force-architecure' option if you have the ia32-libs installed.
Personally i'd prefer not to do that with a window manager if possible.
So i'll have to pass this time though.
Looks good from what i can see in the screenshots.

Any luck finding some work yet?.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tricks and hints neo77777 Linux - General 145 08-24-2009 02:38 AM
modifying source -> regen with automake/autoconf true_atlantis Programming 1 06-26-2009 07:07 PM
Modifying "sysvinit" source code. trainpic Linux From Scratch 1 03-24-2006 03:12 AM
Need hints please crazyvfg Programming 9 01-05-2006 12:27 AM
modifying makefile after modified C source zerointeger Programming 6 10-06-2005 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration