LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2007, 01:20 AM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Hotkey annoying me + home dir doesnt display sometimes


Hey guys,

can someone tell me how to find out where a command is binded to a hotkey? My situation: laptop touchpad mouse has a button to deactivate it, but every time I reactivate the mouse I get a ubuntu help window open. This is really annoying. I checked gconf-editor and checked out the keybindings for metacity but I don't see any commands relevant to a ubuntu help window. (Actually all the command listings are my own.)

So where is this global event binding listed for my mouse deactivation/activation button?

The other problem I have, is sometimes my home directory doesn't display. The window opens up and the gnome foot thingy moves its toes to indicate that it is thinking and I can hear my hard drive grinding away, but none of the contents will get displayed. From console "ls" works, but "ls -l" doesn't work. I'm wondering what logs will show information on this error so I can figure out what is causing it.

Thank you all.
 
Old 08-17-2007, 02:44 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
blimey, maybe your disk is starting to fail.
 
Old 08-17-2007, 02:54 AM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by bigearsbilly View Post
blimey, maybe your disk is starting to fail.
I suppose anything is possible, but I don't know that there is any evidence for that yet. (I'm always willing to learn though. ) I am particularly interested that ls works but ls -l doesn't. But I don't have any conjecture for this curious behavior.
 
Old 08-17-2007, 03:24 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
well, (I think)
a simple ls only reads the directory, but to get the -l
it needs to stat each file. So there is a difference.

maybe the disk/partition is sick.
is ls an alias?
what about the full path?
/bin/ls -l
 
Old 08-17-2007, 03:36 AM   #5
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
I would greatly hope my brand new laptop ($1100) does not have a faulty hard disk...

ls is no alias either. Basically i'm in ~/ and i run ls the output is good. If I do ls -l I hear the hard drive doing something but nothing gets displayed. The command hangs. I let it hang for perhaps a minute before ctrl-c.

If i reboot everything is happy again. (p.s. it doesnt do this too often either. I think it's happened twice in a month)
 
Old 08-17-2007, 06:32 AM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by bigearsbilly View Post
well, (I think)
a simple ls only reads the directory, but to get the -l
it needs to stat each file. So there is a difference.
Good point. As I understand it, stating the file involves reading the inodes. Which brings to mind two things:
  • Geminias could run the stat command on one of the files he knows is there and see if this command hangs also.
  • Since stating involves inodes, if there is a problem, it might (I am a little unsure of myself here) by found by running fsck
Geminias,

It would be useful if you told us what distro you are using and how you have your disk partitioned. You shouldn't fsck a mounted partition. But, tmk, it is fairly standard to be able to force the machine to do an fsck on the next boot, by rebooting with (run as root):

Code:
shutdown -rF now
I know the above does not work on Ubuntu 6.10. There could be other distros it doesn't work on. (There is a way to still do it on Ubuntu 6.10, but it requires manually creating a file whose name I would have to find by reading through an init script.)

You can also fsck your partition(s) by booting a live CD.
 
Old 08-17-2007, 09:50 AM   #7
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks for replies. I will try scanning with fsck. My distro is my signature.

Anyone know about the hotkey issue?
 
Old 08-17-2007, 02:12 PM   #8
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by Geminias View Post
My distro is my signature.
As Homer Simpson would say ... Doh!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Jailed Home Dir tdkratboy Linux - Security 10 06-19-2010 07:51 AM
Annoying HOME when you add CODE ! frenchn00b LQ Suggestions & Feedback 4 07-15-2007 07:59 PM
Annoying display problem Infernal211283 Linux - Newbie 1 12-12-2005 09:25 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
Apache Home Dir Nige General 1 02-24-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration