LinHES Forums
http://forum.linhes.org/

Lost alt X
http://forum.linhes.org/viewtopic.php?f=11&t=18043
Page 1 of 1

Author:  mjl [ Wed Mar 12, 2008 8:16 pm ]
Post subject:  Lost alt X

Hi,

Machine running R5C7 fine for months then frontend and a couple of xterms ceased to responded.
I could open a new xterm from the desktop in an attempt to kill the others. xserver restart cleared deadwood but could not do alt x for an xterm. Even "gasp" did a reboot but still alt x doesn't work. All my other alt keys work ok and I haven't changed anything in weeks (maybe even months)

Any hints? Not a major thing as I don't use it much as a "media box" other than tunes & weather.
Mike

Author:  cecil [ Fri Mar 14, 2008 1:35 am ]
Post subject: 

Code:
tail -6 /etc/X11/fluxbox/keys

Quote:
Mod1 x :ExecCommand xterm -fn *18*
Mod1 s :ExecCommand mythtv-setup
Mod1 m :ExecCommand mythfrontend
Mod1 1 :ExecCommand sudo /etc/init.d/mythtv-backend start
Mod1 2 :ExecCommand sudo /etc/init.d/mythtv-backend stop
Mod1 3 :ExecCommand sudo /etc/init.d/mythtv-backend restart

Author:  mjl [ Fri Mar 14, 2008 5:52 am ]
Post subject: 

Thanks
sh-3.00$ tail -9 /etc/X11/fluxbox/keys
Mod1 x :ExecCommand xterm -fn *18*
Mod1 w :ExecCommand mozilla
Mod1 e :ExecCommand mozilla-thunderbird
Mod1 t :ExecCommand saytime
Mod1 s :ExecCommand mythtv-setup
Mod1 m :ExecCommand mythfrontend
Mod1 1 :ExecCommand sudo /etc/init.d/mythtv-backend start
Mod1 2 :ExecCommand sudo /etc/init.d/mythtv-backend stop
Mod1 3 :ExecCommand sudo /etc/init.d/mythtv-backend restart

All work Except x .. have to bite the bullet for now and right click the desktop to get an xterm :(

Mike

Author:  mjl [ Fri Mar 14, 2008 6:13 am ]
Post subject: 

Hi,
Working with a modification...

As an up date, I removed the " -fn *18* " , restarted xserver and now I have my alt x back. Still no clue what I did to loose it but must have something to do with fonts? (Haven't changed nor added anything new recently)

Mike

Author:  khrusher [ Fri Mar 14, 2008 6:46 am ]
Post subject: 

once in an xterm execute the command below and see if any errors appear

Code:
xterm -fn *18*

Author:  mjl [ Fri Mar 14, 2008 7:47 pm ]
Post subject: 

Hi,

Interestring, xterm: bad command line option "PC:<my-zip-code>_files"

usage: xterm (a bunch of options...
(over a dozen lines of options)
Type xterm -help for a full description.

And the connection with the zip code?

Thanks
Mike

Author:  mediathreat [ Fri Dec 11, 2009 6:50 am ]
Post subject: 

THis happened to me under R6 -
I was installing wireless drivers and I borked something with fluxbox and it would not drop to xterm from the frontend with alt-x.

I removed the -fn *18* and alt+x worked again from mythtv

It also borked my nvidia-settings as well.

ces't la vie!

Author:  mjl [ Fri Dec 11, 2009 10:53 am ]
Post subject: 

I think it was TJC that explained what was happening with the -fn *18* that it was because the * are of course wild cards. So when you do an alt x it looks in your home folder for a file with *18* in the name.

Doing -fn '*18* ' (single quotes) disables the wild card part and I believe sets font size to be 18.

Just ran across this the other day myself on a R5F27 rebuild :) Doing a ps ax displayed a pid with a xterm picture18.jpg entry. Fortunetly there is a default font size so it still worked.

Just put the ticks around the *18* in the /etc/X11/fluxbox/keys xterm entry. Haven't checked R6 to see if it is needed or even if there is the same path.

Mike

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/