Favicon
Gravatar

Firstrun-Wizard for Sawfish?

Hi all,

 

I've been wondering about a firstrun-wizard for Sawfish...

 

What do you think? (good idea or not, what stuff to ask the user for etc...)

 

A plain example is attached to this mail, call via `rep --batch sfw.jl'

 

Regards,

Chris

;;
;; sfw.jl - Sawfish-FirstRun-Wizard
;;
;; (c) 2012 Christopher Roy Bratusek <nano <at> tuxfamily.org>
;;
;; licensed under GNU GPL v2+
;;

(structure ()

  (open rep
        rep.system
        gui.gtk-2.gtk)
        ;sawfish.wm.customize)

  ;; init widgets
  (define window (gtk-window-new 'toplevel))
  (gtk-container-set-border-width window 10)
  (gtk-window-set-title window "Sawfish-FirstRun-Wizard")
  (gtk-window-set-wmclass window "Sawfish-FirstRun-Wizard"
			  "sawfish-firstrun-wizard")
  (gtk-window-set-position window 'center)
  (gtk-window-set-default-size window 380 200)
  ;(gtk-window-set-icon-from-file window "icons/sfw.png")

  ;; BASIC Widgets
  (define hbox (gtk-vbox-new nil 2))
  (define book (gtk-notebook-new))

  (define bbox (gtk-hbutton-box-new))
  (gtk-button-box-set-layout bbox 'end)

  (define go-prev (gtk-button-new-from-stock "gtk-go-back"))
  (define go-next (gtk-button-new-from-stock "gtk-go-forward"))

  (gtk-button-set-relief go-prev 'none)
  (gtk-button-set-relief go-next 'none)

  (gtk-container-add window hbox)

  (gtk-box-pack-start hbox book)
  (gtk-box-pack-end hbox bbox)

  (gtk-box-pack-start bbox go-prev)
  (gtk-box-pack-start bbox go-next)

  (gtk-notebook-set-show-tabs book nil)

  ;; Welcome Page
  (define welcome-label (gtk-label-new "Welcome"))
  (define welcome-text (gtk-label-new "\
Welcome to the Sawfish Firstrun-Wizard!

This wizard will guide you through changing some of the basic settings of Sawfish.

For (lots) more options refer to `sawfish-config'.

Thanks for choosing Sawfish!"))

  (gtk-label-set-line-wrap welcome-text t)
  (gtk-label-set-justify welcome-text 'left)

  (gtk-notebook-append-page book welcome-text welcome-label)
  (gtk-notebook-set-current-page book 1)

  ;; DISPLAY
  (gtk-widget-show-all window)
  (gtk-rc-parse-string "gtk-button-images = 1")

  ;; SIGNALS
  (g-signal-connect window "delete_event"
    (lambda (w) (throw 'quit 0)))

  (setq interrupt-mode 'exit)
  (recursive-edit))
Favicon
Gravatar

[ANNOUNCE] SSD 0.30

Hi all,

 

a brand-new version of the Sawfish-Session-Dialog is available ...

(in case anyone uses it).

 

http://download.tuxfamily.org/sawfish/Extras/ssd-0.30.tar.bz2

http://download.tuxfamily.org/sawfish/Extras/ssd-0.30.tar.bz2.sha1

 

 

0.30: "Drum Machine"

- re-load configuration after saving (so changes apply immediately now)

- fixed detection of XFCE4 (use sawfish-client)

- new option: --razor (use commands for Razor-Qt)

- new option: --mate (use commands for MATE)

- add detection of MATE (getenv)

- add detection of Razor-Qt (sawfish-client)

- add hibernate and suspend commands to KDE4-preset

- don't start dialog when --detect was given

- fixed forcing to show icons on buttons

- add abort-button to settings editor (close without saving)

- don't decorate the dialog

- force centering the dialog

 

Have Fun,

Chris

Kim B. Heino | 14 Jan 22:27
Favicon

[PATCH] librep compile with gcc-4.7 for x86_64

librep/configure tries to autodetect stack direction if it's not
specified. It's forced to "downwards" for sparc/i?86/powerpc, but not
for x86_64. The autodetect has worked so far but not anymore with
gcc-4.7. Compiling librep runs self-test, which detects correctly
"downwards" and conflicts with configure's "upwards". Attached patch
forces it to "downwards" on x86_64 too. 	

Comment in the source says that "upwards" is not even tested.

diff --git a/configure.in b/configure.in
index 525cc40..85ececd 100644
--- a/configure.in
+++ b/configure.in
@@ -536,7 +536,7 @@ AC_ARG_WITH(stack-direction,
  [with_stack_direction=unknown])
 if test "${with_stack_direction}" = unknown; then
   case ${host_cpu} in
-    sparc|i?86|powerpc)
+    sparc|i?86|powerpc|x86_64)
       AC_MSG_RESULT([assuming downwards])
       with_stack_direction="-1"
       ;;

---
--
Sawfish ML

Kim B. Heino | 14 Jan 18:08
Favicon

[PATCH 0/4] Fedora's spec.in files

This patch series updates spec.in files to match files that are used in
Fedora 16. There are lot of changes and fixes so I'm not going to
details here. Feel free to ask or see RedHat/Fedora bugzilla.

These are also available at http://b.bbbs.net/sawfish/ if my email
client has problem with long lines.

---
--
Sawfish ML

Favicon
Gravatar

about Sawfish 1.8.91

Hi all,

 

well... maybe I get a bit more time the next weeks,

so I schedule Sawfish 1.8.91 for 29th January.

 

There haven't been many changes since October yet,

but I want to add tiling and cabinet (both already exist,

but need more or less polishing).

 

Sawfish-MMC is not yet merged and there's a zillion of

merge-conflicts... maybe someone of you got more free-time,

than I have and could have a look at it?

 

You can find it at (cat .git/config):

 

24 [remote "mmc"]

25 url = http://git.gitorious.org/~mmaruska/sawfish-mirror/mmaruskas-sawfish.git

26 fetch = +refs/heads/*:refs/remotes/mmc/*

 

Comments & Co. appreciated.

 

Regards,

Chris

Teika Kazura | 13 Jan 05:30

New scripts arrival

Some interesting new scripts are on the wiki:

Home-ws:
http://sawfish.wikia.com/wiki/Home-ws
"Switch to a specified home workspace when the last window in your
current workspace is removed."

Cabinet:
http://sawfish.wikia.com/wiki/Cabinet
1) Support window icons to be shown
2) Support cycling among workspaces
3) Distinguish windows for display from windows for manipulation. 
4) Use forground color instead of tag to indicate window status.
5) Enable users to manipulate a bunch of windows.
6) Item format 

Haven't tested any of two. 

Have fun,
Teika (Teika kazura)

---
--
Sawfish ML

Trevor Cordes | 10 Jan 19:25
Picon

periodic segfault

Hi!  I have used sawfish since Metacity (yuck) came out.  Love it!  Great 
work!

I have one little problem: every 1-3 weeks my wm crashes and restarts.  
The only error I can see anywhere is on the console: "rep received fatal 
signal segmentation fault"

Are there any other logs I can look in?

When it crashes, it restarts, but all my windows are shifted down and to 
the right by the size of the titlebar/frame width.  So I have to then 
reposition all my windows to how I want them (some are off-screen a bit, 
etc).  Since I have about 200 windows open, this is a big pain.

It has crashed every couple of weeks on me for years, throughout many 
versions of sawfish/librep/rep-gtk.  I always try to get up to the latest 
version hoping it is fixed, but it never is.

I'm eager to get this solved and am pretty good at using tracing / 
debugging / logging tools and can find my way around C source.

A word about my environment, in case it's relevant: dual monitor 1600x1200 
using xorg R&R. Fedora 16. Stock Fedora sawfish rpms now that it's back in 
Fedora's stock repo.  I never log out and I have 16 workspaces.  Each 
workspace will have 5-30 windows open in it.  I probably have 200 windows 
open on average.

The crash always seems to happen when opening a new window (though I can't 
always be sure as it happens very fast).  I see the window open and then 
all the frames disappear and sawfish does its crash/restart cycle and 
redraws all the frames.  Usually it's on opening a firefox window, but I 
open zillions of them all day long so it might just be the luck of the 
draw.

sawfish-1.8.91-1.fc16.i686
librep-0.92.1-1.fc16.i686
rep-gtk-0.90.7-1.fc16.i686

Thanks!

---
--
Sawfish ML

Stefan Husmann | 7 Jan 17:09
Picon
Favicon

Sawfish from GIT does not save customizations

Hello,

the newest sawfish from git does not respect my customizations anymore.

The theme is always StyleTab. I can change that using the config tool
from the menu but the cahnge is gone if I restart sawfish. Also the
application menu is in english now.

If I downgrade to the version from new years day everything is fine
again.

I do not use a DE. The behaviour is the same on Archlinux x86_46 and i686.

Regards Stefan

---
--
Sawfish ML

Darth Emacs | 24 Dec 21:29
Picon

creating deb packages from git source

Hi folks,

I'm building deb packages from the git source and am running into some problems. I start by 'debianizing' librep. First I rename the directory from librep to librep-0.92.1b+git20111224 and open the directory and throw the debian directory in the trash. I then run ./autogen.sh from the shell to configure the source. When I don't run this configure I run into errors when creating the debs and am halted for upstream errors. After configuring a new debian directory is created in the librep-0.92.1b+git20111224 directory. I then modify the control, copyright and changelog files by replacing them with minor changes the files that were originally sent to the trash before configuring. This is where I think I am running into the problem. In Christopher's control file it specifies five packages. These packages are rep, librep16, librep-dev, librep-dbg and rep-doc. I then use debhelper and rfakeroot to create the deb packages. It creates five deb packages, one each for rep, librep16, librep-dev, librep-dbg and rep-doc. I install these packages with dpkg -i. No problems. I then run ./autogen.sh on rep-gtk. The operation is halted because librep => 0.90.5 is required. There is no librep installed. Only the five deb packages rep, librep16, librep-dev, librep-dbg and rep-doc are installed. What would be the optimal workarounds for this problem.

thanks

--

 Darth Emacs
 

nano | 24 Dec 17:57
Favicon
Gravatar

(unknown)


---
--
Sawfish ML


Gmane