looking to add hotkey

29 views
Skip to first unread message

jammin

unread,
Jul 30, 2009, 5:24:34 PM7/30/09
to Webconverger Users
Howdy, I'm digging around and liking what I see.

I've built it a few times, tweaking this and that. (Homepage, the "no
addressbar browser", and adding an init script that grabs centrally
managed host and resolv.conf files.) All good to go.

Except... on the machines we'd put it on it's looking kinda crappy.
Screen resolution too high, looks like maybe not full color depth,
fonts, etc. The main problem is some blocks of text on our page are
very hard to read. But it looks fine in a VM on my own machine. So
I'm looking to figure out why, so I can fix it.

That would be SO much easier if I could get in a shell while it is
actually running on that hardware... so I'm looking to add a hotkey to
launch an xterm (with ctrl+alt+t or something like that) for testing.
Which of course would be removed from the "deployed" version.

I'm not having much luck with that so far, and am looking for some
direction on the best/simplest way to do it.

--I don't have any acpi keys, so can't do it that way.
--I'd try xbindkeys, but not sure how to get it to launch. (And if I
did, I'd probably just launch xterm automatically the same way, and
call it a day.)
--I'd try to do that from the window manager, but haven't figured out
which wm (if any) is being used.
--I tried to uncompress or just mount the squashfs to look around, but
apparently my machine isn't going to do it without monkeying around
with it some more. Wanted to look at the x session files being used,
to see if I should be going that route.


I'd love to know:
1. The wm being used, if any
2. The config file that launches iceweasel (so I can add things to
it)
3. Some other "hidden" means of launching a terminal or console of
some sort
4. If I'm barking up a wrong tree here somewhere

FWIW, I did try solving the display issue by other means (live-
initramfs options... xdebconf & xvideomode), but they didn't work, or
didn't change anything.

I'm using the latest I got via git yesterday.

Thanks!

Kai Hendry

unread,
Aug 3, 2009, 6:51:53 AM8/3/09
to webc-...@googlegroups.com
Sorry for the slow reply! This email somehow slipped my radar.

2009/7/30 jammin <jeremia...@gmail.com>:


> That would be SO much easier if I could get in a shell while it is
> actually running on that hardware... so I'm looking to add a hotkey to
> launch an xterm (with ctrl+alt+t or something like that) for testing.
> Which of course would be removed from the "deployed" version.
>
> I'm not having much luck with that so far, and am looking for some
> direction on the best/simplest way to do it.

> I'd love to know:
> 1. The wm being used, if any

Remove 'nosudo' from the command line and then ctrl+alt+enter to
launch an xterm for debugging.
http://dwm.suckless.org/tutorial

> 2.  The config file that launches iceweasel (so I can add things to
> it)

http://git.webconverger.org/?p=webconverger-base.git;a=blob;f=home/webc/pb

> FWIW, I did try solving the display issue by other means (live-
> initramfs options... xdebconf & xvideomode), but they didn't work, or
> didn't change anything.

Have you tried xvideomode=640x480 ?
See: http://webconverger.org/boot/

Kind regards,

jeremia...@gmail.com

unread,
Aug 4, 2009, 12:54:56 AM8/4/09
to webc-...@googlegroups.com
That's ok. I was able to install a newer kernel with squashfs 4 support, then take a look around.

I did find the /home/webc/pb and .xsession files, and did some experimenting putting modified versions in there before building. So I was starting to get close. :)

Remove nosudo from what command line? I did see it referred to in the pb file, under /proc/cmdline

I didn't try that particular resolution, but I did try xvideomode=800x600

Thanks!



Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Kai Hendry <hen...@webconverger.com>

Date: Mon, 3 Aug 2009 11:51:53
To: <webc-...@googlegroups.com>
Subject: [webc] Re: looking to add hotkey

Guttorm Flatabø

unread,
Aug 4, 2009, 8:30:30 AM8/4/09
to webc-...@googlegroups.com
On Tue, Aug 4, 2009 at 6:54 AM, <jeremia...@gmail.com> wrote:
Remove nosudo from what command line? I did see it referred to in the pb file, under /proc/cmdline

CD: choose to edit boot options.
USB: edit syslinux/live.cfg on the usb stick.

--
Guttorm Flatabø
Norway

Jeremy Miller

unread,
Aug 5, 2009, 7:34:22 PM8/5/09
to webc-...@googlegroups.com
> CD: choose to edit boot options.
> USB: edit syslinux/live.cfg on the usb stick.

OK, got it. (Using CD.) I've got my terminal, and it works great.

Running xrandr shows my resolution is exactly what I asked for
(800x600), so that isn't the problem.

Most of the text is way small, and the few images are heavy on the jaggies.

I'm suspecting a color depth or font issue, or maybe both. The page
looks good under most default systems... have seen it in various
windows OS's, Mac OS X, and Linux (mostly Ubuntu). This is the only
one where it doesn't look right.

Here's a snippet of the stylesheet... are most of them missing, and
I'm just seeing sans-serif?

font-family: DejaVu, Verdana, Arial, Helvetica, Geneva, sans-serif;

Is there a quick tool to report what color depth I'm currently seeing?
xrandr doesn't show it, and I'm not finding out much poking around in
/etc/X11.

Thanks!

Steve Robson

unread,
Aug 18, 2009, 5:46:43 AM8/18/09
to webc-...@googlegroups.com
Jeremy Miller wrote:
<snip>

> Is there a quick tool to report what color depth I'm currently seeing?
> xrandr doesn't show it, and I'm not finding out much poking around in
> /etc/X11.

The /usr/X11R6/bin/xdpyinfo command will report the current colour depth
(amongst other things)

--
Regards,
Steve

Reply all
Reply to author
Forward
0 new messages