LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

RPM commands

Posted 06-03-2011 at 03:41 AM by blue_print
Updated 06-03-2011 at 04:23 AM by blue_print

RPM package is a powerful utility to manage the software in all major Linux distributions. RPMs can be used to,
  • Install packages
  • Remove packages
  • Upgrade packages
  • Verify packages

Here are some useful command to manage RPM packages,



1. Getting detailed information about the package httpd

Code:
rpm -qi httpd
2. Determining which package installed the file /etc/httpd/conf.d/httpd-portal.conf,

Code:
rpm
...
Member
Posted in Linux Basics
Views 752 Comments 0 blue_print is offline
Old

hiding the GUI of an application

Posted 06-03-2011 at 02:11 AM by neonsignal

The GUI of an X windows application can be 'hidden' by creating a dummy frame buffer:
Code:
Xvfb :display-number -screen 0 1x1x8
This frame buffer can then be used to run the application:
Code:
DISPLAY=:display-number application
Senior Member
Posted in Uncategorized
Views 502 Comments 0 neonsignal is offline
Old

Usability Problems With Unity

Posted 06-02-2011 at 11:35 AM by MTK358
Updated 06-02-2011 at 11:39 AM by MTK358

I think that the sidebar is really confusing. When you click on an icon, it launches the app. You click on it again, and it brings that app to the top. There's no obvious way to start another instance (you have to right-click). If there are multiple instances of an app open, you have to go through two steps to choose it: first click on the icon, then on the instance you want. Why combine the unrelated concepts of launching a process and window management?

Second, the way the menubar...
LQ 5k Club
Posted in Uncategorized
Views 2396 Comments 1 MTK358 is offline
Old

beep in ubuntu

Posted 06-02-2011 at 06:24 AM by sumeet inani
Updated 06-02-2011 at 06:29 AM by sumeet inani

I wanted to hear beep from my sound card with speaker unattached

echo -e "\a"
Dos not work in any case.

I installed package 'beep'.
Run 'lsmod' to see if the module "pcspkr" is loaded by kernel.
(maybe because '/etc/modprobe.d/blacklist.conf' contains 'blacklist pcspkr').
In my case it wasn't.
So I ran
Code:
sudo modprobe pcspkr
Now beep can be heard.
If you want to get info about...
Member
Posted in Uncategorized
Views 843 Comments 0 sumeet inani is offline
Old

playing video on the desktop background

Posted 06-01-2011 at 08:29 AM by neonsignal

The '-rootwin' flag can be used with mplayer to play moving images on the desktop background.

Code:
mplayer -rootwin -nosound -loop 0 -vf scale=width video.avi
Some desktop environments will need to have the normal background management disabled.
Senior Member
Posted in Uncategorized
Views 2790 Comments 1 neonsignal is offline

  



All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
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