Re: The ultimate fvwm thread

Sounds a lot like Openbox which isn't too complicated. Thanks PackRat.

"Emacs: making you posthuman since 1976"
Axiom #1: Emacs is a text interface prosthesis
Axiom #2: Org-mode gives you super cyborg organizational powers
cf. Why Emacs | Emacs-fu | EmacsWiki | Worg

Re: The ultimate fvwm thread

replicant wrote:

Sounds a lot like Openbox which isn't too complicated. Thanks PackRat.

More like Fluxbox since it has the taskbar and panels built in as Fvwm modules (no system tray though) - decide how you want the user interface to look and load the module through the ~/.fvwm/config file; just have to wrap your head around the syntax of the configuration files.

Last edited by PackRat (2011-05-13 13:34:07)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: The ultimate fvwm thread

Well it definitely takes time to learn. Some scripting/programming background or some experience with tweaking various dotfiles would help.

Main virue in my opinion is as you get more ore less comfortable with manual (not learned it by heart but just know where to look for what), you can make it do much like anything concerning window management given that you can translate your requirements to pseudocode. %) It's one of the most flexible WMs ever. I would use it even if it required 512 mb RAM for itself to run.

Take a look at my configuration (mentioned earlier in this thread), and I heard that Astrumi has nice configuration, so you can rip it out of livecd. Fvwmcrystal is... well, weird, I wouldn't use it myself.

// It's not like openbox by itself, but you can configure it to mimic openbox if you want to.

Last edited by tartan (2011-05-14 10:40:53)

Re: The ultimate fvwm thread

FVWM 2.6.3

The Debian maintainer hasn't really been responding to any request to build this for squeeze-sid so I went ahead and used Statler's cb-welcome toolchain with pbuilder and rolled a decent i386 deb.  Also, I'm making the source package available so that any of yall are savvy can use it to simply roll an amd64 .deb.  I like it to be there as well for transparency's sake.  The source packages are signed with my gpg key but the binary is not since I use a personal secure APT repo locally.


i386 BINARY
[fvwm_2.6.3-1_i386.deb]
AMD64 BINARY
[fvwm_2.6.3-1_amd64.deb]

SOURCE PKG
[fvwm_2.6.3-1.dsc]
[fvwm_2.6.3.orig.tar.gz]
[fvwm_2.6.3-1.debian.tar.gz]
[fvwm_2.6.3-1_i386.changes]

Last edited by rstrcogburn (2012-01-18 08:56:24)

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

^ How could you be so cool big_smile

I just installed it from source yesterday smile

Thanks anyway

Last edited by machinebacon (2011-11-11 08:28:26)

Nothing right in the left brain. Nothing left in the right brain.

Re: The ultimate fvwm thread

^ ah snap.. if only I was a day sooner yikes  Well, it'll be on the ole dropboxer if you need it for a reinstall or something.

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

rstrcogburn wrote:

FVWM 2.6.3

https://github.com/ThomasAdam/fvwm/comm … debian-dir

-- Thomas Adam

Re: The ultimate fvwm thread

@Thomas

I've been getting these (1)  or other numbers in my titles since the 2.6.3 release.  Where I use to only have the name.  I assume this is part of the new TitleFormat implementation that was in the release notes but haven't gotten it quite figured out yet.  Anyways figured you'd know right off the top of your head chief.   THX.

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

rstrcogburn wrote:

@Thomas

I've been getting these (1)  or other numbers in my titles since the 2.6.3 release.  Where I use to only have the name.  I assume this is part of the new TitleFormat

Yes.  Read this thread:

http://www.mail-archive.com/fvwm@fvwm.org/msg01900.html

I post a solution in there somewhere about reverting to the old behaviour using FvwmEvent.

-- Thomas Adam

Re: The ultimate fvwm thread

Thank you.  That was very helpful as always, TA. cool

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

@nofuturist

Here's the fvwm theme and rest of configs you were wanting.

FVWM Theme
========
http://dl.dropbox.com/u/17828753/twok/twok-fvwm.tar.gz

GTK/Conky/Tint2/bin scripts
=================
http://dl.dropbox.com/u/17828753/twok/twok.tar.gz

Some pointers on getting this to work...

You'll need to extract the first tarball to ~/.fvwm/themes.  Then you'll need to edit .fvwm/environment_variables and change the theme to "twok" from "gray"

Then you'll need to extract the second tarball and put "twok" in .themes and select it from lxappearance.  I'm using the statler default icon theme now as well as clean 7 which is both installed by default with statler.

On getting your fonts to work.. you'll need to make sure to have bitmap fonts enabled.  This is done by editing .fonts-conf accordingly

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font">
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
   <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
   </edit>
 </match>
 <!-- Accept bitmap fonts -->
 <selectfont>
  <acceptfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </acceptfont>
 </selectfont>
</fontconfig>

Then extract the artwiz fontset to .fonts and then do the following commands to get clean detected as well as your font database recached.

get clean linked up with your home directory

ln -s /usr/share/fonts/X11 /home/[your user name]/.fonts

recache your fonts

fc-cache -fv

as far as getting conky and tint2 loaded up plus a nitrogen wallpaper what i do is add the following to .fvwm/autostarted_applications

+ I Test (Init) Exec exec ~/.config/openbox/autostart.sh

I also comment out the cheatsheat line that's up above the #try nitrogen as wallpaper

Anyways hope that gets you on the right track.

Last edited by rstrcogburn (2011-11-20 07:40:09)

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

Wow, this is very thorough. Thanks for taking the time to detail all of this, just trying to implement all of it should teach me a few things about fvwm.

Re: The ultimate fvwm thread

http://ompldr.org/tYm1oaw

Here's an FVWM Starter's Kit theme for Statler 11/2011

http://dl.dropbox.com/u/17828753/statle … ken.tar.xz

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

I'm working on my clock/notification area setup right now and kind of stumped with FvwmPager

maybe @packrat or @thomasadam has some input

basically what I want is a pager with a stippled grid

#12171d background/ #7b7b7b foreground

http://ompldr.org/tYzg3NQ

#  A playground. Test your ideas here.
#  It is read the last, so what's here 
#  would override all the options in the other
#  files. 
#
#  On the other hand, if it makes any mess,
#  just purge it.

# Make TitleFormat work like IndexedWindowName for one window

DestroyFunc CountWindow
AddToFunc   CountWindow
+ I SetEnv WindowCount 0
+ I All ($[w.class], !Transient) PipeRead \
    `echo SetEnv WindowCount $$$$(($$$$WindowCount + 1))`
+ I PipeRead `[ $WindowCount = 1 ] && echo \
    "WindowStyle TitleFormat %n" || echo "Nop"`
+ I UnsetEnv WindowCount

DestroyModuleConfig FE-tweakttformat
*FE-tweakttformat: add_window CountWindow

AddToFunc StartFunction I Module FvwmEvent FE-tweakttformat

##############################################################
# Load any modules which should be started during
# fvwm initialization
#ModulePath /usr/lib/X11/fvwm:/usr/bin/X11
Module FvwmIconMan

# Make FvwmIconMan title-bar-less, sticky, and give it an icon
Style "Fvwm*"      Icon toolbox.xpm,NoTitle,NoHandles,Sticky
Style "FvwmIconMan" HandleWidth 5, Handles, BorderWidth 5

##############################################################
##############################################################
#Definitions used by the modules

*FvwmIconMan: NumManagers        1
*FvwmIconMan: Resolution         global
*FvwmIconMan: Background         #12171d
*FvwmIconMan: Foreground         #7b7b7b
*FvwmIconMan: Font               "xft:clean"
*FvwmIconMan: ButtonGeometry     142x0
*FvwmIconMan: ManagerGeometry    1x0-0+98
*FvwmIconMan: BorderWidth        0
*FvwmIconMan: ReliefThickness    0

##
KillModule FvwmButtons FvwmTaskList
DestroyModuleConfig FvwmTaskList: *
#*FvwmTaskList: (Icon $[FVWM_USERDIR]/themes/$[fvwm_theme]/decorations/clock.xpm)
*FvwmTaskList: Back #12171d
*FvwmTaskList: Fore #12171d
*FvwmTaskList: 1x1
*FvwmTaskList: Frame 0
*FvwmTaskList: Padding 0

KillModule FvwmButtons FvwmClock
DestroyModuleConfig FvwmClock: *
*FvwmClock: (Swallow "xclock" "Exec exec xclock")
*FvwmClock: Colorset 10
*FvwmClock: Frame 0

KillModule FvwmButtons FvwmDay
DestroyModuleConfig FvwmDay: *
*FvwmDay: (Swallow "xday" "Exec exec xclock -name xday -digital -strftime %m.%d -face 'Droid Sans:size=13'")
*FvwmDay: Colorset 10
*FvwmDay: Frame 0

KillModule FvwmPager
DestroyModuleConfig FvwmPager
*FvwmPager: Back #12171d
*FvwmPager: Fore #7b7b7b
*FvwmPager: Hilight #7b7b7b
*FvwmPager: Geometry 71x96-71+0
*FvwmPager: Label 0
*FvwmPager: Font none

Module FvwmButtons FvwmTaskList -g 142x96-0+0
Module FvwmButtons FvwmClock -g 56x56-8+8
Module FvwmButtons FvwmDay -g 55x27-0+64
Module FvwmPager

Style FvwmTaskList !Title, !Handles, BorderWidth 1, !Icon, WindowListSkip, StaysOnBottom
Style FvwmClock !Title, !Handles, BorderWidth 0, !Icon, WindowListSkip
Style FvwmMonth !Title, !Handles, BorderWidth 1, !Icon, WindowListSkip
Style FvwmDay !Title, !Handles, BorderWidth 1, !Icon, WindowListSkip
Style FvwmPager !Title, !Handles, BorderWidth 1, !Icon, WindowListSkip
Style FvwmIconMan !Title, !Handles, BorderWidth 1, !Icon, WindowListSkip, StaysOnBottom
Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

You mean a stippled grid on the page so the active page has a pattern? Sounds like you want to use pixmap image(s).

From the man page for FvwmPager:

*FvwmPager: Pixmap pixmap
    Use pixmap as background for the pager. 

*FvwmPager: HilightPixmap pixmap
    The active page will be highlighted by using this background pattern instead of the normal background. 

http://www.fvwm.org/documentation/manpa … mPager.php

Last edited by PackRat (2012-01-13 18:33:47)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: The ultimate fvwm thread

PackRat wrote:

You mean a stippled grid on the page so the active page has a pattern? Sounds like you want to use pixmap image(s).

Why?  FvwmPager uses a stippled line separation by default.

-- Thomas Adam

Re: The ultimate fvwm thread

@packrat

Thank you, I might end up doing a custom design with the pixmaps.  I was thinking a viewfinder look from a camera would be really kewl.  Are you using it on any of your setups (pixmap pager)?

@thomasadam

That's what I thought too...  I'll keep poking at it.

Thank you both for the quick responses.  I'll let yall know when it's working.

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

I tried it once, but I don't have the graphic art skills to really pull it off. The viewfinder look you're proposing does sound cool.

If you're going to use a pixmap in the pager, you may want to look at:

*FvwmPager: DeskTopScale number
    If the geometry is not specified, then a desktop reduction factor is used to calculate the pager's size. Things in the pager window are shown at 1/number of the actual size. 

as well so that the pixmap and pager resolution match up.

Last edited by PackRat (2012-01-13 23:31:03)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: The ultimate fvwm thread

So i figured it out.  I had 1 desktop that was 2 pages so I only had stipling in between the 2 pages that was barely noticeable.  I busted em up into 2 desktops and 9 pages a piece.  Voila.  I still might end up going the pixmap route though.  Since I don't really need that many pages.  We'll see.


http://ompldr.org/tYzllNw

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

http://box-look.org/CONTENT/content-m1/m148371-1.png

(click on image for box-look.org link)

OK Sexus Dragonius hit the mainstream!
It's on Box-look/Deviantart now for all your amusement.
It includes a full FVWM setup/GTK/Xdefs/ and icons

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

fvwm 2.6.4
++===++

http://dl.dropbox.com/u/17828753/debian … ian.tar.gz
http://dl.dropbox.com/u/17828753/debian … .6.4-1.dsc
http://dl.dropbox.com/u/17828753/debian … 86.changes
http://dl.dropbox.com/u/17828753/debian … 1_i386.deb
http://dl.dropbox.com/u/17828753/debian … rig.tar.gz

enjoy boys! and girls! ... now to the hideout!

Well, you gotta live no matter what happens.  -Dallas (John Ford's Stagecoach 1939 Public Domain)

Re: The ultimate fvwm thread

I'm going to play with this this weekend!  You got me perked up here!

Re: The ultimate fvwm thread

I've finally taken the plunge myself, using @rstrcogburn's sideways brown theme....still trying but will post screenshot in March sometime soonish! (I hope!) Man it's crazy in here. smile

Leave the gun. Take the cannoli.

Re: The ultimate fvwm thread

Okay, a question: how would I bind my media (volume raise/lower, mute) buttons in FVWM? I tried this:

Key XF86AudioRaiseVolume A "amixer sset Master playback 2dB+"

etc. Any pointers? Or should I just bind F-keys with super to the actions?

Leave the gun. Take the cannoli.

Re: The ultimate fvwm thread

mahatman2 wrote:

Okay, a question: how would I bind my media (volume raise/lower, mute) buttons in FVWM? I tried this:

Key XF86AudioRaiseVolume A "amixer sset Master playback 2dB+"

etc. Any pointers? Or should I just bind F-keys with super to the actions?

This works on my setup:

Key XF86AudioMute        A    A    Exec exec amixer set Master toggle -q
Key XF86AudioRaiseVolume    A    A    Exec exec amixer set Master 2+ -q
Key XF86AudioLowerVolume    A    A    Exec exec amixer set Master 2- -q

Last edited by PackRat (2012-03-07 21:04:32)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe