Fedora :: What Are Dpy Values

Dec 29, 2010

X programs specify parameter "-display dpy". I have failed with many guesses at dpy values. I find no definition in man pages and elsewhere. I know it is simple. I request examples.

View 5 Replies


ADVERTISEMENT

Fedora :: Cropdetect Giving Negative Values

Jun 4, 2010

I'm currently using Fedora 12.I'm having trouble ripping a DVD. Every time I use cropdetect in Mplayer, it gives me negative x,y values which makes it impossible for me to use Mencoder to remove the borders. I shall display the info below. Also, may I add that I'm trying to use 2 pass encoding to recieve better video quality. I would like convert the DVD to an AVI file. I've compiled all the binary codes for various codecs so I'm not sure what's wrong.

Also, it can not find any audio tracks on the DVD either. I was successfully able to rip the trailor for a different movie on the DVD to avi which was track 3 no problem (wiith good quality sound that synced up)I'm new to Fedora and Mplayer/Mencoder, but "WinBlows XP" doesn't seem to help with ripping good quality videos so I decided to try something in Fedora.

View 2 Replies View Related

Red Hat / Fedora :: Searching Path Of Some Basic HW Values

Apr 22, 2010

I would like know in which file is the machine name, os type and processor architecture stored in? I would like to know the path to those files where the value for os is i386 and machine i686 is something like this, in which file the systemuser and the number of users of that system is stored

/usr/src/redhat/RPMS/ ...

In these files i686 and I 386 is stored as directories and not as values but I want them as values in the file.

View 4 Replies View Related

Security :: Change Of Umask Values In Fedora 11

Feb 4, 2010

Recently I was going through some chmod manipulations and found the umask values to be 0002 by default in Fedora 11 distro. What I knew about the default values to be 022. I don't know whether this is a kernel modification in this distro or my system is in compromise(I doubt for the latter option, but not confirmed).

View 4 Replies View Related

Fedora :: Add/Remove Software - ValueError: Too Many Values To Unpack

Mar 24, 2010

When trying to search for applications to install via 'Add/Remove Software', I get the following error:

Code:

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 391, in _do_search
for (pkg, inst) in res:
ValueError: too many values to unpack

View 3 Replies View Related

Fedora Security :: Restore Default Boolean Values?

Jul 5, 2010

I think I've messed my SELinux boolean values. How to restore default boolean values?
Modified boolean values are stored in

Code:
/etc/selinux/targeted/modules/active/booleans.local
Can I just delete the file and reboot to get the defaults?

View 1 Replies View Related

Fedora :: Yumex - Values Instance Has No Attribute Repos

Jan 29, 2011

I am trying to get Yumextender to work and I get a error window. The traceback is:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1314, in dispatcher
self.parse_command(args[0], args[1:])
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1242, in parse_command
self.get_packages(args[0], args[1]
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 71, in newFunc
return func(*args, **kwargs) .....
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 42, in enable_debuginfo_repos for opt, repoexp in opts.repos:
AttributeError: Values instance has no attribute 'repos'
I messed with some repos but with yum update it checks and says 0 Updates

View 12 Replies View Related

Red Hat / Fedora :: Bash - Echo Multiple Numeric Values On One Line

Aug 9, 2009

I'm trying to get multiple numeric valued version information into a variable, all on the same line. I want for example $VERSION=3.1.0.01.002. I'm trying to pull seperate values from the file named version.properties, wherein the file contains;

patch.rel.num=0
sqa.num=01
major.rel.num=3
build.num=002
minor.rel.num=1

So I have the following script:
#!/bin/bash
BUILDVERFILE="version.properties"

PATCH=`grep "patch.rel.num" ${BUILDVERFILE} | awk {'print $1'}`
SQA=`grep "sqa.num" ${BUILDVERFILE} | awk {'print $1'}`
MAJOR=`grep "major.rel.num" ${BUILDVERFILE} | awk {'print $1'}`
BUILD=`grep "build.num" ${BUILDVERFILE} | awk {'print $1'}`
MINOR=`grep "minor.rel.num" ${BUILDVERFILE} | awk {'print $1'}`

P=`echo $PATCH | tr -d .=[:alpha:]`
S=`echo $SQA | tr -d .=[:alpha:]`
MA=`echo $MAJOR | tr -d .=[:alpha:]`
B=`echo $BUILD | tr -d .=[:alpha:]`
MI=`echo $MINOR | tr -d .=[:alpha:]`

VERSION=$MA.$MI.$P.$S.$B
echo $VERSION #

I end up with the value of .002 ?? Seems like it's only getting the last portion because if I run the script thru "bash -x" I get:
...
+ VERSION=$'3
.1
.0
.01
.002
'
+ echo $'3
.1
.0
.01
.002
'
.002

View 7 Replies View Related

Fedora :: Cookie Editor / Adder / Remover - Order To Change A Particular Browser's Cookie Values?

Jan 21, 2011

I'm looking for a program that will add cookies to my web browser (firefox or chrome, preferably). The application would ask me for the Cookie's:Name

Content
Domain
Path
Send For (type of connection)
Expiration Date

If no one knows of an application that does this, does anyone know what files i could manually edit in order to change a particular browser's cookie values?

View 4 Replies View Related

Ubuntu Installation :: How To Set Vga Values

Feb 5, 2011

Getting half of a screen with big fonts

View 2 Replies View Related

Programming :: Else & Return Values?

Oct 12, 2010

i am having two small issues with a function i have made.sorry if it is a mess, i am still learning bash.the first is calling the nonpersistssh function (second line) and assigning the return value to nonpersistdiag.the function returns 1, but nonpersistdiag seems to only contain 0. i am unsure on how to proceed.the second problem is the nested else clause on line 10. it is a syntactical error. how would i declare it correctly?

Code: function endsession(){
nonpersistdiag=$[nonpersistssh]# a function that returns an exit code
sudo /etc/init.d/ssh stop; sshdiag=$?

[code]....

View 6 Replies View Related

Software :: Discrepancy In Top & Ps Values?

Feb 24, 2011

Please check this:PS:

Code:
ps -C mysqld -o 'pcpu,pid,rss,vsize'
%CPU PID RSS VSZ

[code]....

View 3 Replies View Related

General :: Bash - Use Sed To Get Values From File Name?

May 26, 2011

how to retrive every portion separately from following file name? DSA4020_frontcover_20346501_2011-05.doc

I want to retrieve informations as below;

name = DSA4020
type = frontcover
id = 20346501
date = 2011-05

is it possible to do with sed??

View 4 Replies View Related

Ubuntu :: Changing Resolution To Very Low Values?

Feb 21, 2010

i'm trying to change the resolution on a small device i have been making.. it has the X86 and i have installed the lasted ubuntu 9.10..

the only problem is that the monitor i am going to use very soon supports 480x234 resolution or 320x240 resolution.. set this resolutions into my xorg so that i can finally see a clear images onto the new 7" monitor..

View 1 Replies View Related

Ubuntu :: How To Go From Decimal To Numerical Values

Nov 10, 2010

I get this:

0000000 1202 0 0 0 0 0 0 0
0000020 141 89 63 89 141 0 0 0

[code]....

How to go from decimal to numerical values?

View 4 Replies View Related

Programming :: Modifying Hex Values From A Script?

Nov 11, 2010

I can use hexedit to manually edit one or two hex values in a binary file, but if I want to change many of the, this is impractical. Is there any tool that will take parameters like Code: someTool filename byteNumber replacementByte ?

View 3 Replies View Related

General :: Why Priority Values Of Process Different

Oct 7, 2010

Code:
# ps
22355 pts/3 00:00:00 bash
#
# ps -l 22355
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 519 22355 22354 0 75 0 - 1338 wait4 pts/3 0:00 -bash
#
# ps -o pid,priority,command 22355
PID PRI COMMAND
22355 15 -bash
#

Why are the priority values of the process different? What is the difference? Is the value 15 the "nice" priority? Then, what is the value 75? Please, explain the difference of each result.

View 4 Replies View Related

General :: Hex Values Converting Inconsistently?

Dec 19, 2010

I couldn't really decide where this should be posted, but this is the most general of the forums. Anyway, I've been playing a wargame on intruded.net in which some of the challenges require me to pass hexvalues into the programs as character values. All is well with this, and usually I would use the shell to pass it in, but most of these programs use the gets() method to get my input.

Here comes the problem... The other day I was using my desktop which runs slackware 64 13.1 to do these challenges. My method was to use "echo -e 'xefxbexadxde'" to print them to the shell's standard output and then highlight and copy the resulting values to paste to the program. This works just fine on slackware, but when I repeated the same processes on Ubuntu 64 10.04 (which runs on my laptop) the 'xde' always turns up to be 'x00'. Then I tried some other levels with similar responses, not all the hex values convert to the correct ASCII characters.

View 2 Replies View Related

General :: Pass Two / Three Values To Grep?

Sep 22, 2010

Is there any way i can pass two / three values to grep. Basically i want to list the lines in the file with three different values. Currently I'm using three grep to get my work done.

EG: more Filename | grep text1 | grep text2 | grep text3
BRs

View 2 Replies View Related

General :: Replace Values In Log File?

May 14, 2010

I have the following values in my log file:

...
2010-05-13 11:00:00 k_TRANSFER OK (11)
2010-05-13 11:30:01 m_TRANSFER OK (21)
2010-05-13 12:00:00 k_TRANSFER OK (12)
2010-05-13 12:30:00 m_TRANSFER OK (32)
2010-05-13 13:00:00 m_TRANSFER OK (13)
...

I want to replace every number with it's decrement. For example, the above values should be:

...
2010-05-13 11:00:00 k_TRANSFER OK (10)
2010-05-13 11:30:01 m_TRANSFER OK (20)
2010-05-13 12:00:00 k_TRANSFER OK (11)
2010-05-13 12:30:00 m_TRANSFER OK (31)
2010-05-13 13:00:00 m_TRANSFER OK (12)

View 5 Replies View Related

General :: How To Set Ulimit Values As Default

Mar 18, 2010

I need to set ulimit values according to
I used
Code:
ulimit -c unlimited
ulimit -s unlimited
ulimit -u unlimited
But after I log again to my session values are set to default. Now can I set this values so they don't change after log out of after reboot?

View 2 Replies View Related

Programming :: Extract Values From Array PHP

Jul 2, 2009

The idea is to make a website to check the availability of domains and it works but its not pretty yet. Below is what i have till so far:

## this is the API from my domain registrar.
<?php $client = new SoapClient('http://api.sync.com/?wsdl');
## I have a search box that sends the request to this page
$var = $_GET ["s"];

## remove the most common subdomains from the request.
$var=eregi_replace("www.", "", $var);
$var=eregi_replace("mail.", "", $var);
$var=eregi_replace("ftp.", "", $var);
$var=eregi_replace("pop.", "", $var);
$var=eregi_replace("smtp.", "", $var);

## remove any TLD extension from the request.
$split = explode(".", $var);
$main = $split[0];
$arraysize = sizeof($split);
for ($x=1; $x<$arraysize; $x++) {
$tld .= "." . $split[$x];
}
## login to the API
$paramLogin = array('handle' => 'randall', 'password' => 'password');

## match the domain with any possible TLD
$varcom = $paramAvailDomain = array('sld' => $main, 'tld' => 'com');
$varnet = $paramAvailDomain = array('sld' => $main, 'tld' => 'net');
$varorg = $paramAvailDomain = array('sld' => $main, 'tld' => 'org');
$varbiz = $paramAvailDomain = array('sld' => $main, 'tld' => 'biz');
$varinfo = $paramAvailDomain = array('sld' => $main, 'tld' => 'info');
$vareu = $paramAvailDomain = array('sld' => $main, 'tld' => 'eu');
$varnl = $paramAvailDomain = array('sld' => $main, 'tld' => 'nl');
$varbe = $paramAvailDomain = array('sld' => $main, 'tld' => 'be');
$varde = $paramAvailDomain = array('sld' => $main, 'tld' => 'de');
$varcouk = $paramAvailDomain = array('sld' => $main, 'tld' => 'co.uk');
$varorguk = $paramAvailDomain = array('sld' => $main, 'tld' => 'org.uk');
$varname = $paramAvailDomain = array('sld' => $main, 'tld' => 'name');
$varmobi = $paramAvailDomain = array('sld' => $main, 'tld' => 'mobi');
$varin = $paramAvailDomain = array('sld' => $main, 'tld' => 'in');
$vartv = $paramAvailDomain = array('sld' => $main, 'tld' => 'tv');
$varcn = $paramAvailDomain = array('sld' => $main, 'tld' => 'cn');
$varws = $paramAvailDomain = array('sld' => $main, 'tld' => 'ws');
$varnu = $paramAvailDomain = array('sld' => $main, 'tld' => 'nu');
$varbz = $paramAvailDomain = array('sld' => $main, 'tld' => 'bz');
$varcc = $paramAvailDomain = array('sld' => $main, 'tld' => 'cc');

## this requests the domain.COM and domain.NET
$varcom;
$varnet;
?>
<div id="content">

## below prints the result
<?php
print "<html><body><pre>";
$result1 = $client->__soapCall('Login', $paramLogin);
echo "<b>Result Login:</b>
" . print_r($result1, true);

$result15 = $client->__soapCall('AvailabilityDomain', $varcom);
$resvarcom = var_dump($result15, true);
$result15 = $client->__soapCall('AvailabilityDomain', $varnet);
$resvarnet = var_dump($result15, true);

print "</pre></html>";
?>
<?php

## the returned array looks like this

Result Login:
Array
(
[code] => 200
[message] => Login succesful
)
array(3) {
["code"]=>
string(3) "200"
["message"]=>
string(20) "Domain not available"
["result"]=>
object(stdClass)#236 (1) {
["status"]=>
string(5) "TAKEN"
}
}
bool(true)
array(3) {
["code"]=>
string(3) "200"
["message"]=>
string(16) "Domain available"
["result"]=>
object(stdClass)#232 (1) {
["status"]=>
string(4) "FREE"
}
}
bool(true)
?>
## till so far it works

What I need to do is to make this ugly looking reply in to something more readable, basically if TAKEN print occupied and if free print its yours to grab. I have been struggling with the in_array function but i'm not getting anywhere close in getting it to work.

View 2 Replies View Related

Programming :: Get Variable Values From Keyboard?

Jul 11, 2010

I have been reading the Wikibook on C Programming for quite some time and am up to the variable part. I did learn several new things, like that too many variables hog memory.

What I want to know is how to assign a variable to the keyboard (in the C/C++ family) as such that the user has to type it in.

View 2 Replies View Related

Programming :: Passing Values Through Pages?

May 23, 2010

I have the following snippet HTML code:

Quote:

<table id="profile">
<tr>...............</tr>
<tr>
<td width="40%">

[Code].....

How can pass values in args[0] and args[1] to Perl/CGI script?

View 2 Replies View Related

Programming :: PHP Array - Possible To Get More Than Two Values Per Entry?

Jun 13, 2009

I created a class which has to return an array. My problem is I need to return 3 entries per record for example:

Code:
array(
"2009-06-13", "John", "Doe";
"2009-06-13", "Paul", "Simon";
"2009-06-12", "Frank", "Herbert";
);

Can this be done? What is the syntax? Where is the documentation? If this can't be done, How would you return this to a class without using a DB?

View 3 Replies View Related

Programming :: Possible To Communicate Values Between Class?

Feb 24, 2009

I have a application in C++, and now I have two class. MyDialog is the class that main function launch. In MyDialog class there are four elements and when I click over theese elements, there is a MousePressEvent that launch other class, Touchpad class. So, in some moments, I have loaded two class. My question is, how can pass a value from Touchpad class to MyDialog class, when I close (destroy) Touchpad class. In a few words, is it possible to communicate values between class?

View 5 Replies View Related

CentOS 5 :: Df Showing Negative Values?

Jun 14, 2010

I'm having this problem with my CentOS install

when i run df -h i get something like this:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
672G -551M 638G 0% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm

View 1 Replies View Related

Debian Programming :: Returning Different Values For Same Code?

Sep 11, 2014

I am developing a script to automate some database setup, but I have an issue I cannot figure out. I prompt for some input with whiptail and select a default if nothing is entered. However, if you do not enter anything, it normally returns 0, but this time it is returning an empty value.

Code: Select all  # This one does work!

  # Set the source path
  TMPPATH=$(whiptail --backtitle "Linux Build Configuration"
    --title "Source-Code Path"
    --inputbox "Default: $SRCPATH" 0 60
    3>&2 2>&1 1>&3)

[Code] ....

So what is wrong with the second code?

View 1 Replies View Related

Ubuntu :: Seeking Thorough Documentation Of SMART Values?

Apr 5, 2010

I am looking for comprehensive documentation of the SMART values that are reported in Palimpsest.For example, I am getting the following result:

Attribute: Reallocated Sector Count
Assessment: Warning
Normalized: 100
Worst: 100
Threshold: 36
Value: 1 sector

I would like to find a very thorough description of the meaning of these values, how they relate to each other, and how to interpret them.

View 2 Replies View Related

Ubuntu Installation :: 11.04 - Appropriate Values For Various Partition Size

Jun 26, 2011

I had installed ubuntu 10.10 long back but never really used it much due to academical commitments. I had installed ubuntu on a separate partition of 20 gb. I don't remember exactly what all values I had selected for various partition and I was very much confused while installation! I somehow managed to install it and this is what I got while booting my laptop! Apart from that my home and desktop size were very less.

I remembered myself giving 6 gb to swap (as I considered swap to be important). Here is what I get when I mount type in terminal!! I have downloaded the new ubuntu 11.04 and I want to start over again by totally formatting my 20 gb hard disk that I created!! Also I want to keep at least 30 gb for my new drive! What sizes exactly should I used for this installation for various file systems!

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved