LinuxQuestions.org
Help answer threads with 0 replies.
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-19-2010, 05:25 AM   #16
ayush.27
LQ Newbie
 
Registered: Aug 2010
Location: Pune, India
Distribution: Ubuntu, Lubuntu
Posts: 29

Original Poster
Rep: Reputation: 0

^^

Code:
ayush@hp-laptop:/sbin$ ./lspci
bash: ./lspci: No such file or directory
Please help.
 
Old 08-19-2010, 05:29 AM   #17
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Maybe it lives in /usr/sbin/lspci, maybe you haven't that tool installed for some reason. The package is usually called something like pciutils, but that -of course- depends on your distro packagers. Simple as that.
 
Old 08-20-2010, 12:32 AM   #18
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 815

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by i92guboj View Post
Mmm, this has nothing to do with the current problem. The search $PATH is irrelevant when you provide the full path to the binary file, as in

Even a relative path would do, and the binary needn't be on a dir listed by $PATH in that case either.
Good point. You do need to have permission to access the "sbin" directory and read the file. I don't know enough about Linux to be sure what the usual permissions are for "sbin".
 
Old 08-20-2010, 01:14 AM   #19
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by catkin
Xfce is simple and fast; for many people it is at least adequate; some do not like its lack of eye-candy;
With any of the desktops, you can add eye candy if you have working 3D acceleration. One word: Compiz.

I'm using Arch with Xfce+Compiz, and I think it looks beautiful!
 
Old 08-20-2010, 07:23 AM   #20
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by Brains View Post
Well....I'm really pissed now.
The best of the best went from "guru" to "moderator". As far as I'm concerned, that's a total disgrace, this "moderator" title impairs reality.
Your comment doesn't make any sense to me, and this seems totally off-topic.
 
Old 08-20-2010, 07:52 AM   #21
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by ayush.27 View Post
^^

Code:
ayush@hp-laptop:/sbin$ ./lspci
bash: ./lspci: No such file or directory
Please help.
Paste the output of the following command here:
Code:
cat /etc/issue
 
Old 08-20-2010, 09:21 AM   #22
ayush.27
LQ Newbie
 
Registered: Aug 2010
Location: Pune, India
Distribution: Ubuntu, Lubuntu
Posts: 29

Original Poster
Rep: Reputation: 0
^^

Code:
Ubuntu 10.04.1 LTS \n \l
 
Old 08-20-2010, 09:22 AM   #23
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by anishakaul View Post
Paste the output of the following command here:
Code:
cat /etc/issue
Various versions of Linux keep their distro/version information in differently named files; /etc/issue is used by several but not all.

@ayush.27 Which Linux distro are you using?

EDIT: ignore that question; ayush.27 was posting the answer as it was being written (and anishakaul was confident it was an ubuntu so /etc/issue was good anyway)

Last edited by catkin; 08-20-2010 at 09:25 AM.
 
Old 08-20-2010, 09:27 AM   #24
ayush.27
LQ Newbie
 
Registered: Aug 2010
Location: Pune, India
Distribution: Ubuntu, Lubuntu
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by catkin View Post
Various versions of Linux keep their distro/version information in differently named files; /etc/issue is used by several but not all.

@ayush.27 Which Linux distro are you using?
I was using kubuntu when I started this thread. But I switched to ubuntu earlier today.
 
Old 08-20-2010, 09:30 AM   #25
ayush.27
LQ Newbie
 
Registered: Aug 2010
Location: Pune, India
Distribution: Ubuntu, Lubuntu
Posts: 29

Original Poster
Rep: Reputation: 0
Just to let people know, I'm going to post my original problem again :

Quote:
I have a HP Pavillian Laptop. Intel Core 2 Duo @ 2 GHz. 4 GB RAM.

I've installed Kubuntu on my laptop. The biggest problem is that my laptop doesn't go into sleep mode. The screen goes off, but the system is still running. I mean you can hear the fan and everything. The sleep in Windows Vista is quite convenient. I just press a button, close the lid and I can later resume from where I left it. While in the sleep mode, the laptop appears to be "off". There's just one small light that keeps blinking.

I've tried the hibernate in Kubuntu. But that isn't satisfactory either. First of all, it takes forever to come out of the hibernate state. Secondly, it doesn't preserve the application state. For example, if I'm watching 45 minute flash video on google video. I have the entire video buffered. After watching half the video, I need to step out for a little while. I do the hibernate. After coming back, I can't resume watching from where I left it. I have to reload the video. This doesn't happen in the Vista sleep mode.
Any help would be appreciated.
 
Old 08-20-2010, 10:24 AM   #26
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by catkin View Post
Various versions of Linux keep their distro/version information in differently named files; /etc/issue is used by several but not all.
....
(and anishakaul was confident it was an ubuntu so /etc/issue was good anyway)
"anishakaul" was not confident about Ubuntu but in fact she was thinking that the OP must be using some weird distros like
andLinux
and
IPCop

cat /etc/issue has been tested on both the above mentioned distros as well as on Suse, Ubuntu, Redhat !
 
Old 08-21-2010, 10:55 AM   #27
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by anishakaul View Post
cat /etc/issue has been tested on both the above mentioned distros as well as on Suse, Ubuntu, Redhat !
Hi Anisha

A good illustration of which files contain distro+version id text on various distros is rkhunter's rkh_dat_get_os_info() function.

Last edited by catkin; 08-21-2010 at 10:57 AM. Reason: umangled link
 
1 members found this post helpful.
Old 08-21-2010, 12:11 PM   #28
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by catkin View Post
A good illustration of which files contain distro+version id text on various distros is rkhunter's rkh_dat_get_os_info() function.
Mr. Catkin,

Thanks for the enlightenment !

But I couldn't find it in the "Yast" nor through "cnf" nor through "man". It needs to be installed separately (at least in OpenSuse). May be there is something wrong with my current installation.

Actually I couldn't find even "Kdevelop" there

Last edited by TheIndependentAquarius; 08-21-2010 at 02:02 PM. Reason: added info
 
Old 08-21-2010, 12:28 PM   #29
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by ayush.27 View Post
I've tried the hibernate in Kubuntu. But that isn't satisfactory either. First of all, it takes forever to come out of the hibernate state. Secondly, it doesn't preserve the application state. For example, if I'm watching 45 minute flash video on google video. I have the entire video buffered. After watching half the video, I need to step out for a little while. I do the hibernate. After coming back, I can't resume watching from where I left it. I have to reload the video. This doesn't happen in the Vista sleep mode.
Read the following man page till end ! See if it helps you somehow:
http://manpages.ubuntu.com/manpages/...-action.8.html
 
  


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
Learning Linux, Switch from Windows. Jimmy King Linux - Newbie 7 08-09-2009 07:17 PM
how we can switch between windows and linux? kamalkirat1 Linux - Software 3 11-17-2008 09:09 PM
how to switch back and forth to windows/linux pungvarg Linux - Newbie 13 03-27-2007 11:48 AM
windows, I want to switch to linux rob1983 Linux - Newbie 35 11-26-2006 08:48 AM
Making the switch - From Windows to Linux qball15j Linux - General 7 01-02-2005 04:23 PM


All times are GMT -5. The time now is 08:29 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