Wolvix Forums
September 06, 2010, 06:59:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The Wolvix Wiki needs your help!!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: When Pekwm meets Wolvix...  (Read 1827 times)
phap
Contributor
Gamma Wolf
*****
Posts: 189



View Profile WWW
« on: April 08, 2009, 09:39:02 PM »

It looks something like this.
For those who don't know pekwm is another cool window manager.
This packs comes along with pypanel and a few tricks to set up the background, icons, ...
It works best for wolvix2beta2, as all the menus are edited for it.

The easiest way to install it is to add this link ftp://ftp.wolvix.org/wolvix/people/phap/repo/wolvix-2.0.0-beta2/ to your packages sources in Gslapt. Then install meta-pekwm with Gslapt.

If you use slim you'll have to edit your /etc/slim.conf. Look for

Code:
sessions            xfce4,fluxbox,openbox

and change it to

Code:
sessions            xfce4,fluxbox,openbox,pekwm

Then open your /usr/share/slim/slim.xinitrc
Edit
 
Code:
case $1 in
xfce4)
exec startxfce4
;;

fluxbox)
exec startfluxbox
;;

openbox)
        exec openbox-session
        ;;

*)
exec startxfce4
;;
esac

to

Code:
case $1 in
xfce4)
exec startxfce4
;;

fluxbox)
exec startfluxbox
;;

openbox)
        exec openbox-session
        ;;

pekwm)
exec startpekwm
;;

*)
exec startxfce4
;;
esac



To restart and reboot, you'll probably have to use gdm.

If you like the conky, here's the code that you can copy in your /home/user/.conkyrc

Some useful links...

For pekwm:
http://pekwm.org/projects/pekwm
http://urukrama.wordpress.com/2007/12/30/some-pekwm-configurations/
http://broadcast.oreilly.com/2009/03/improved-linux-screen-space-ma.html

Pypanel: http://pypanel.sourceforge.net/

Idesk: http://idesk.sourceforge.net/wiki/index.php/Main_Page

xdotool: http://www.semicomplete.com/projects/xdotool/


Have fun!

« Last Edit: May 05, 2009, 09:47:54 AM by phap » Logged

Just relax...
Tom
Gamma Wolf
***
Posts: 203


View Profile
« Reply #1 on: April 09, 2009, 02:25:26 PM »

WooooHoooo, thanks Phap Cheesy
Logged
Wolvrik
Gamma Wolf
***
Posts: 182



View Profile
« Reply #2 on: April 09, 2009, 02:51:36 PM »

Very nice Phap!  I refuse to try it for at least another 8 hours or so because I just got my os back the way I like it after my last adventure with Fluxbox.  Damn you! Wink  I know I am going to do the Pekwm too.  Now if you get Icewm on here I just might stay with that one.  You guys keep making me learn new stuff.   Angry
Logged

Howl At The Moon
Tom
Gamma Wolf
***
Posts: 203


View Profile
« Reply #3 on: April 09, 2009, 03:02:20 PM »

New stuff like how to fix it after you've played about with it?  I might leave it for 8hrs + a few then because i always need help fixing things i break Wink  I know, i know but i really need to mess around with some of this stuff, it looks great and you're all having fun with it  hehehehheh
Happy easter all and good luck hunting chicklets Wink
« Last Edit: April 09, 2009, 03:06:21 PM by Tom » Logged
phap
Contributor
Gamma Wolf
*****
Posts: 189



View Profile WWW
« Reply #4 on: April 09, 2009, 03:34:46 PM »

Code:
I just got my os back the way I like it after my last adventure with Fluxbox

I'm very interested with what didn't work for you. Did you have any problem 'out of the box' with fluxbox? Or did you break everything yourself? I know we can do this pretty quickly! (But I'm not like Tom, then I just erase my partition and reinstall all the stuff.)
Icewm... Funny, this morning I started playing with this it looks like we can make something with this.


« Last Edit: April 09, 2009, 03:37:28 PM by phap » Logged

Just relax...
Wolvrik
Gamma Wolf
***
Posts: 182



View Profile
« Reply #5 on: April 09, 2009, 04:04:26 PM »

No, no, nothing wrong with your instructions!  I usually just keep playing around with stuff until I am in a hopeless mess.  Fluxbox worked fine after following your install instructions.  I am looking forward to Icewm.
Logged

Howl At The Moon
Wolven
Administrator
Werewolf
*****
Posts: 1472



View Profile WWW
« Reply #6 on: April 09, 2009, 05:10:50 PM »

Wolvrik, why don't you boot Wolvix live to test new things? You can do it from an ISO on the HDD freeing up the CD/DVD drive and speeding up the OS. Might be a good idea to throw in a wolvixsav.xfs file too, or use the changes= cheat to store the setting while you experiment, if things get broken, simply remove the save dir or the save file.

How to boot from an ISO on the HDD:

Copy the Wolvix ISO to your hard drive, preferably the root of the drive and give it a short name like 'wolvix.iso'. Then boot Wolvix from the CD in your CD/DVD-ROM drive with like this:
Code:
wolvix from=/dev/hdxy/name_of_file.iso
Where 'hdxy' is your drive+partition and 'name_of_file.iso' is the name you gave the ISO file. Once vmlinuz and initrd is loaded you can eject the CD, as the rest of the OS will be loaded from the ISO on the HDD.

Here's how to store changes:
http://wiki.wolvix.org/StoreChanges

You can install packages running live just like you would on a HDD install, but if you don't use a changes directory or a save file you'll eventually use up all the RAM.

This will save you the work of doing a clean install if you break things you can't fix while experimenting. Now I guess most of the things you've messed up could be fixed without a reinstall, but it's not always that easy, depending on how much of a mess you've made.  Wink
Logged

Give a man Debian, and he'll learn Debian. Give a man SUSE, and he'll learn SUSE. But give a man Slackware, and he'll learn Linux
Wolvrik
Gamma Wolf
***
Posts: 182



View Profile
« Reply #7 on: April 10, 2009, 11:11:22 AM »

Wolvrik, why don't you boot Wolvix live to test new things? You can do it from an ISO on the HDD freeing up the CD/DVD drive and speeding up the OS. Might be a good idea to throw in a wolvixsav.xfs file too, or use the changes= cheat to store the setting while you experiment, if things get broken, simply remove the save dir or the save file.

Thanks Wolven.  I didn't think of doing that.  I does seem rather obvious now, of course.  I'm going to try it next.
Logged

Howl At The Moon
marin
Delta Wolf
**
Posts: 70



View Profile
« Reply #8 on: August 31, 2010, 09:32:22 PM »

anybody still using pekwm?

i have changed a tiniest bit of the source to allow maximizing of transient windows [ie. when you want to maximize Open or Save As window to ease up finding what you need].

check the file src/Frame.cc, function Frame::setStateMaximized, that denies the maximizing of dialog window.

I suggest commenting out of the checking code [approximately line 1387]:
Code:
if (_client->getTransientWindow()) { return; }
simply into:
Code:
// if (_client->getTransientWindow()) { return; }

see:http://pekwm.org/projects/pekwm/tasks/268

« Last Edit: August 31, 2010, 09:45:47 PM by marin » Logged

P4  1.7 GHz,  1G RAM,  ATI 9550 RV350,  Wolvix2b2
marin
Delta Wolf
**
Posts: 70



View Profile
« Reply #9 on: August 31, 2010, 09:43:27 PM »

pls, let me continue...

if you are used to horizontally/vertically maximize you're windows by clicking midle/right mouse button on titlebar buttons [like you could in kde, open/fluxbox, xfce and maybe others] you can have the same in pekwm by editing the theme file:
Code:

...;
PDecor {
   ...
   Decor = "Default" {
      Title {
          ....
          Buttons {
              ....    
              Right {
                   ...
              }
              Right {
                 ...
                 Button = "1" { Actions = "Toggle Maximized 1 1" }
                 # add this:
                 Button = "2" { Actions = "Toggle Maximized 1 0" }
                 Button = "3" { Actions = "Toggle Maximized 0 1" }
         }
             ....
          }
          ....
       }
       ....
    }    
    ....
}
see:http://pekwm.org/projects/pekwm/tasks/190
« Last Edit: August 31, 2010, 10:14:23 PM by marin » Logged

P4  1.7 GHz,  1G RAM,  ATI 9550 RV350,  Wolvix2b2
marin
Delta Wolf
**
Posts: 70



View Profile
« Reply #10 on: August 31, 2010, 09:58:40 PM »

this pertains to both pekwm and fluxbox.

if you allowed yourself in /etc/sudoers to:
Code:
your_user_name  your_localhost=(root) NOPASSWD: /sbin/shutdown

than you can add reboot & shutdown to your menu:
Code:
Entry = " Reboot" { Actions = "Exec sudo /sbin/shutdown -r now &"; Icon = "/usr/share/icons/Tango/22x22/actions/system-reboot.png" }
Entry = " Shutdown" { Actions = "Exec sudo /sbin/shutdown -h now &"; Icon = "/usr/share/icons/gnome/22x22/actions/system-shutdown.png" }

Logged

P4  1.7 GHz,  1G RAM,  ATI 9550 RV350,  Wolvix2b2
marin
Delta Wolf
**
Posts: 70



View Profile
« Reply #11 on: August 31, 2010, 10:12:30 PM »

an Info/About thing you can add to a root menu:
Code:
Entry = " Info" { Actions = "Exec pekwm --info|zenity --text-info --title='PekWM Info' --width=600 --timeout=20 &"}

Logged

P4  1.7 GHz,  1G RAM,  ATI 9550 RV350,  Wolvix2b2
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!