We all know that not all apps that you find on gnome may satisfy all your needs, a good example is Scribus. This app has no decent gnome equivalent, and hence a Qt integration will be quite useful. So I dug some stuff up and came up with a simple method for this integration;
install qt3-qtconfig using either yumex if on Fedora, or synaptic on Ubuntu
Then run qtconfig from the commandline.
Click the tune palette button, and make sure you adjust the Base, Background & Button colors to R: 237, G: 233, B: 227. Click OK, and do File, Save and close ‘qtconfig’. If you now restart Scribus you’ll notice it’s still not pretty, but it’s more tolerable now.
Qt4 will incoporate the cleanlooks theme, which make things better.
Saturday, 16 May 2009
Saturday, 2 May 2009
Read Mail while programming on emacs
With emacs vm, and emacs zerinc modes, programming can get anymore fun than it is already. Just in case you are wodering how, here is a quick setup for the emans vm mail. Edit your .emacs file with the following, note that that you have to enter user specific details like username and server address.
Have fun coding while updated with your emails.
;; Some file locations are relative to my HOME or BIN directories
(defvar home-dir)
(setq home-dir (concat (expand-file-name "~") "/"))
(defvar bin-dir (concat home-dir "bin/"))
;; Basic VM setup
(push (concat bin-dir "emacs/site-lisp/vm") load-path)
(autoload 'vm "vm" "Start VM on your primary inbox." t)
(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame." t)
(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t)
(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t)
(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t)
(autoload 'vm-mail "vm" "Send a mail message using VM." t)
(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t)
(setq vm-toolbar-pixmap-directory (concat (expand-file-name "~") "/bin/
emacs/site-lisp/vm/pixmaps"))
(setq vm-image-directory (concat (expand-file-name "~") "/bin/emacs/
site-lisp/vm/pixmaps"))
(setenv "PATH" (concat (concat (expand-file-name "~") "/bin/emacs/
site-lisp/vm/bin") ":"
(getenv "PATH")))
(setq send-mail-function 'sendmail-send-it)
(setq user-full-name "User Name")
(setq user-mail-address "username@email.com")
(setq mail-archive-file-name "~/Mail/SENT")
;; Configure inbound mail (POP)
;; edit this details
(setq vm-spool-files
'(("~/INBOX" "pop-ssl:pop.mailserver.com:995:pass:username:*" "
~/INBOX.CRASH")))
;; Use W3M to read HTML email
(require 'w3m-load)
(setq vm-mime-use-w3-for-text/html nil)
(setq vm-url-browser 'w3m)
(load "vm-w3m")
(setq w3m-input-coding-system 'utf-8
w3m-output-coding-system 'utf-8)
;; Configure outbound mail (SMTP)
(setq smtpmail-starttls-credentials '(("smtp.mailhost.com" 587 nil nil))
smtpmail-smtp-server "smtp.mailhost.com"
smtpmail-default-smtp-server "smtp.mailhost.com"
send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-service 587
smtpmail-auth-credentials '(("smtp.mailhost.com"
587
"username@mailhost.com"
nil)))
Have fun coding while updated with your emails.
Subscribe to:
Comments (Atom)