From 18727769dd201bfe2df3e3f4879923f75fbb29e6 Mon Sep 17 00:00:00 2001 From: khamidou Date: Tue, 14 Apr 2009 19:53:53 +0200 Subject: [PATCH] added a function to display the output of fortune in *scratch* --- .emacs | 4 ++ Documents/elisp/modalshortcuts.el | 1 + GNUstep/Defaults/WMState | 29 ++++++--- GNUstep/Defaults/WMWindowAttributes | 91 +++++++++++++++++------------ GNUstep/Defaults/WindowMaker | 2 +- 5 files changed, 80 insertions(+), 47 deletions(-) diff --git a/.emacs b/.emacs index 628b677..e835520 100755 --- a/.emacs +++ b/.emacs @@ -17,6 +17,10 @@ (display-time-mode 1) (ido-mode 1) (setq inhibit-startup-message t) +; Add a message coming from the output of fortune in *scratch* +(save-current-buffer + (set-buffer "*scratch*") + (call-process "fortune" nil (current-buffer))) (eval-after-load "dabbrev" '(defalias 'dabbrev-expand 'hippie-expand)) diff --git a/Documents/elisp/modalshortcuts.el b/Documents/elisp/modalshortcuts.el index f322966..55200c7 100644 --- a/Documents/elisp/modalshortcuts.el +++ b/Documents/elisp/modalshortcuts.el @@ -13,6 +13,7 @@ (define-key modal-mode-keymap "u" 'advertised-undo) (define-key modal-mode-keymap "a" 'ffap) (define-key modal-mode-keymap "g" 'keyboard-quit) +(define-key modal-mode-keymap "c" 'compile) (define-key modal-mode-keymap "m" 'man) (define-key modal-mode-keymap "f" 'find-file) (define-key modal-mode-keymap "b" 'ido-switch-buffer) diff --git a/GNUstep/Defaults/WMState b/GNUstep/Defaults/WMState index 752bd82..af137d5 100644 --- a/GNUstep/Defaults/WMState +++ b/GNUstep/Defaults/WMState @@ -61,11 +61,11 @@ BuggyApplication = No; }, { - PasteCommand = "liferea-bin %s"; - Name = "liferea-bin.Liferea-bin"; + PasteCommand = "squeak %s"; + Name = squeak.Squeak; Lock = No; AutoLaunch = No; - Command = "liferea-bin"; + Command = squeak; Position = "0,8"; Forced = No; BuggyApplication = No; @@ -182,11 +182,11 @@ BuggyApplication = No; }, { - PasteCommand = "liferea-bin %s"; - Name = "liferea-bin.Liferea-bin"; + PasteCommand = "squeak %s"; + Name = squeak.Squeak; Lock = No; AutoLaunch = No; - Command = "liferea-bin"; + Command = squeak; Position = "0,8"; Forced = No; BuggyApplication = No; @@ -294,6 +294,17 @@ Forced = No; BuggyApplication = No; Omnipresent = No; + }, + { + PasteCommand = "hydrogen %s"; + Name = hydrogen.Hydrogen; + Lock = No; + AutoLaunch = No; + Command = hydrogen; + Position = "0,2"; + Forced = No; + BuggyApplication = No; + Omnipresent = No; } ); }; @@ -305,12 +316,12 @@ Dock = Dock; Hidden = No; ShortcutMask = 0; - Name = "gnome-terminal.Gnome-terminal"; - Geometry = "658x410+498+11"; + Name = "gnome-volume-control.Gnome-volume-control"; + Geometry = "500x300+449+289"; Workspace = "Bureau 3"; Shaded = No; Miniaturized = No; - Command = "/usr/bin/gnome-terminal"; + Command = "gnome-volume-control"; }, { Dock = Dock; diff --git a/GNUstep/Defaults/WMWindowAttributes b/GNUstep/Defaults/WMWindowAttributes index 4fc2b1f..cc35c6b 100644 --- a/GNUstep/Defaults/WMWindowAttributes +++ b/GNUstep/Defaults/WMWindowAttributes @@ -1,42 +1,42 @@ { - brasero.Brasero = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/brasero.Brasero.xpm"; + "gnome-panel.Gnome-panel" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-panel.Gnome-panel.xpm"; }; - "gnome-power-preferences.Gnome-power-preferences" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-power-preferences.Gnome-power-preferences.xpm"; + gparted.Gparted = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gparted.Gparted.xpm"; }; - "gnome-at-properties.Gnome-at-properties" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-at-properties.Gnome-at-properties.xpm"; + vinagre.Vinagre = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/vinagre.Vinagre.xpm"; }; - "liferea-bin.Liferea-bin" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/liferea-bin.Liferea-bin.xpm"; + "gnome-appearance-properties.Gnome-appearance-properties" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-appearance-properties.Gnome-appearance-properties.xpm"; }; - eog.Eog = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/eog.Eog.xpm"; + "file-roller.File-roller" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/file-roller.File-roller.xpm"; }; - firefox.Firefox = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/firefox.Firefox.xpm"; + gmc.Gmc = { + NoAppIcon = YES; }; Stepman = { Icon = Bookshelf.xpm; }; - gmc.Gmc = { - NoAppIcon = YES; + firefox.Firefox = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/firefox.Firefox.xpm"; }; - "file-roller.File-roller" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/file-roller.File-roller.xpm"; + eog.Eog = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/eog.Eog.xpm"; }; - "gnome-appearance-properties.Gnome-appearance-properties" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-appearance-properties.Gnome-appearance-properties.xpm"; + "liferea-bin.Liferea-bin" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/liferea-bin.Liferea-bin.xpm"; }; - vinagre.Vinagre = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/vinagre.Vinagre.xpm"; + "gnome-at-properties.Gnome-at-properties" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-at-properties.Gnome-at-properties.xpm"; }; - gparted.Gparted = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gparted.Gparted.xpm"; + "gnome-power-preferences.Gnome-power-preferences" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-power-preferences.Gnome-power-preferences.xpm"; }; - "gnome-panel.Gnome-panel" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-panel.Gnome-panel.xpm"; + brasero.Brasero = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/brasero.Brasero.xpm"; }; "sound-juicer.Sound-juicer" = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/sound-juicer.Sound-juicer.xpm"; @@ -80,12 +80,16 @@ gview.Gview = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gview.Gview.xpm"; }; + transmission.Transmission = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/transmission.Transmission.xpm"; + }; xcalc = { AlwaysUserIcon = Yes; Icon = "HP-16C-48.xpm"; }; - transmission.Transmission = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/transmission.Transmission.xpm"; + python2.5.python2.5 = { + NoResizebar = Yes; + EmulateAppIcon = Yes; }; brushselection.Gimp = { AlwaysUserIcon = Yes; @@ -110,12 +114,15 @@ AlwaysUserIcon = Yes; Icon = write.tiff; }; - gedit.Gedit = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gedit.Gedit.xpm"; + Browser.Firefox = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/Browser.Firefox.xpm"; }; xmixer = { Icon = mixer.tiff; }; + gedit.Gedit = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gedit.Gedit.xpm"; + }; "script-fu.Script-fu" = { Icon = "wmaker-gimp-script-fu.tif"; }; @@ -143,19 +150,19 @@ Icon = defaultAppIcon.tiff; SharedAppIcon = Yes; }; - Xman = { - AlwaysUserIcon = Yes; - Icon = Bookshelf.xpm; + . = { + NoAppIcon = Yes; }; audacious.Audacious = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/audacious.Audacious.xpm"; }; - . = { - NoAppIcon = Yes; - }; "gnome-network-preferences.Gnome-network-preferences" = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-network-preferences.Gnome-network-preferences.xpm"; }; + Xman = { + AlwaysUserIcon = Yes; + Icon = Bookshelf.xpm; + }; xplaycd = { Icon = Radio.xpm; }; @@ -270,6 +277,9 @@ qjackctl.bin.Qjackctl.bin = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/qjackctl.bin.Qjackctl.bin.xpm"; }; + "gnome-control-center.Gnome-control-center" = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-control-center.Gnome-control-center.xpm"; + }; gimp_startup.Gimp = { NoResizebar = Yes; AlwaysUserIcon = Yes; @@ -278,9 +288,6 @@ Icon = "wmaker-gimp2.tif"; NoTitlebar = Yes; }; - "gnome-control-center.Gnome-control-center" = { - Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-control-center.Gnome-control-center.xpm"; - }; apturl.Apturl = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/apturl.Apturl.xpm"; }; @@ -323,6 +330,9 @@ ekiga.Ekiga = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/ekiga.Ekiga.xpm"; }; + hydrogen.Hydrogen = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/hydrogen.Hydrogen.xpm"; + }; WMSoundServer = { Icon = Sound.tiff; }; @@ -377,6 +387,13 @@ "gnome-settings-daemon.Gnome-settings-daemon" = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/gnome-settings-daemon.Gnome-settings-daemon.xpm"; }; + Global.Firefox = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/Global.Firefox.xpm"; + }; + squeak.Squeak = { + Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/squeak.Squeak.xpm"; + EmulateAppIcon = Yes; + }; "x-www-browser.X-www-browser" = { Icon = "/home/karim/GNUstep/Library/WindowMaker/CachedPixmaps/x-www-browser.X-www-browser.xpm"; }; diff --git a/GNUstep/Defaults/WindowMaker b/GNUstep/Defaults/WindowMaker index 3b23169..2cd238d 100644 --- a/GNUstep/Defaults/WindowMaker +++ b/GNUstep/Defaults/WindowMaker @@ -52,7 +52,7 @@ FTitleColor = "#ffffff"; AppIconBalloons = NO; NextWorkspaceLayerKey = None; - WorkspaceBack = (spixmap, "/home/karim/Images/Remedy1680x1050.jpg", gray20); + WorkspaceBack = (spixmap, "/home/karim/Images/dispersion.jpg", gray20); IconTitleFont = "Arial,Luxi Sans:pixelsize=9"; HideOthersKey = None; SmoothWorkspaceBack = NO; -- 2.43.0