?

Log in

No account? Create an account
Communities and key combos? - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Communities and key combos? [Nov. 4th, 2004|03:49 am]
LogJam

logjam

[appleshampooid]
So I just started using LogJam and really like it for the most part, but I was wondering if there is a way to get the standard emacs key-combos (Ctrl-B goes back, Ctrl-A goes to front of line, Ctrl-D deletes, etc.) in the LogJam window. I hate the using the arrow keys! I figure if there isn't an easy way I can try to hack away at the source code.

Also, how do you post to a community from logjam? I'm sure it's something simple that I'm missing.

Thanks for help.
LinkReply

Comments:
From: kent_turbo
2004-11-04 08:56 am (UTC)
Emacs keybindings are to be enabled in GTK. And you can post to communities with 'Journal/Use Journal' menu.
(Reply) (Thread)
[User Picture]From: appleshampooid
2004-11-04 09:24 am (UTC)
(I'm still a linux newbie, so sorry if this isn't directly applicable to logjam)
What do you mean they are to be enabled in GTK? As in, what do I need to do specifically to enable them...I'm using gentoo w/ fluxbox for FYI.

Also, my Journal menu look like:
Friends
load last entry
load recent entry
load offline entry
synchronize offline copy
lj console
weblinks

none of which are any help in posting to a community...still missing something....
(Reply) (Parent) (Thread)
From: kent_turbo
2004-11-04 09:34 am (UTC)
What version of Logjam you are using? Mine is 4.4.0, but I recall that in earlier versions there was a way to enable a button in the lower part of the window to pick the journal to post to. Look out for the menu with user interface elements (mine is called View).

Concerning GTK emacs bindings, you should place
gtk-key-theme-name = "Emacs" in your gtkrc file.
(Reply) (Parent) (Thread)
[User Picture]From: bradhicks
2004-11-04 03:35 pm (UTC)
Unless you missed an item on your Journal menu when you were writing it down, your copy is broken somehow. There's supposed to be a submenu at the top called Use Journal that has all of the communities you have posting access to.
(Reply) (Parent) (Thread)
[User Picture]From: appleshampooid
2004-11-04 04:01 pm (UTC)
Interesting, it's definitely br0kz0r3d then, because that's definitely not there. I got this version out of Gentoo's portage tree, I'm going to try installing a different copy.
(Reply) (Parent) (Thread)
[User Picture]From: troworld
2004-11-04 05:42 pm (UTC)
"Gentoo's copy" is the source code. If you got a different copy from somewhere else, it's likely that that copy is the altered one. I'm using it without problems. You need to update your information / login through the client again. The menu should appear.
(Reply) (Parent) (Thread)
[User Picture]From: haran
2004-11-04 09:37 am (UTC)
LogJam uses Gtk's native widgets for text editing.
These can be configured to support emacs bindings like
C-A,C-F,C-B,C-E...
I'm not a big emacs buff so I don't know what else is there.
But you can configure GTK to provide emacs bindings for all their text widgets. Off the top of my head, I forgot the method for doing this but just google fro Gtk Emacs bindings and you should get it.
HTH
(Reply) (Thread)
[User Picture]From: appleshampooid
2004-11-04 03:01 pm (UTC)
Got the key macros to work (with the above mentioned setting in ~/.gtkrc-2.0), sort of. Is there a way to get the emacs macros to override the menu shortcuts? For example, Ctrl-N still tries to start a new journal, insteard of scrolling down....

Still no luck with the community posting. I am using version 4.4.0, and nothing from the view menu helps. There is a button at the bottom that says "LiveJournal.com/appleshampooid", so I'm guessing that's where it's supposed to be...but when I click it there aren't any other options. WTF.
(Reply) (Thread)
[User Picture]From: gaal
2004-11-04 04:14 pm (UTC)
Did you ever log in using LogJam?

Go to Logjam > Change User..., and hit "Update Information". Then try changing journals, either from the Journal menu or from the bar button.
(Reply) (Parent) (Thread)
[User Picture]From: appleshampooid
2004-11-04 06:34 pm (UTC)
Thank you to troworld and gaal for saying the magic words..."update information"...works fine now, just needed to do that.
(Reply) (Thread)