08-24-2010
ESC+other stuff? It sounds like you're trying to make capslock into the META key(which is what is emulated by ESC+combo on a PC keyboard). Try making it the META key, not the super key, and see if key combos start working then.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My input text has the following pattens:
func_a(3,
4,
5);
I want to replace it with this:
func_b(3,
4,
5,
6);
I'm trying the following expression, but it does not work:
perl -p -e "s/func_a\((.*)?\);/func_b(\1,\n6)/s" <... (8 Replies)
Discussion started by: cooldude
8 Replies
2. UNIX for Dummies Questions & Answers
A file content have
1 1:-0.289433 2:0.833778 3:0.314471 4:-0.289433 5:-0.81876 6:-0.456693 7:-0.17511 8:-0.644555 9:-0.00666341 10:-1.13603
I will like to have that column into row with numbers to be printed (red color) only after colon
output shud be like that
-0.289433... (1 Reply)
Discussion started by: cdfd123
1 Replies
3. Shell Programming and Scripting
I have an archive file that holds a batch of statements. I would like to be able to extract a certain statement based on the unique customer # (ie. 123456). The end for each statement is noted by "ENDSTM".
I can find the line number for the beginning of the statement section with sed.
... (5 Replies)
Discussion started by: andrewsc
5 Replies
4. Solaris
hey all,
i am trying to tar up a folder with sub folders the over all size will be about 70gb
but when i use the normal command
tar -cvf tar -cvf CLPSI_PRU_Escrow_31994.tar CLPSI_PRU_Escrow_31994
i get an error tar: CLPSI_PRU_Escrow_31994/dump1/PROD_SAE_jria3_dump.5 too large to archive. ... (9 Replies)
Discussion started by: dshakey
9 Replies
5. Shell Programming and Scripting
I have 84 files with the following names splitseqs.1, spliseqs.2 etc.
and I want to change the .number to a unique filename.
E.g.
change splitseqs.1 into splitseqs.7114_1#24
and
change spliseqs.2 into splitseqs.7067_2#4
So all the current file names are unique, so are the new file names.... (1 Reply)
Discussion started by: avonm
1 Replies
6. UNIX for Dummies Questions & Answers
I would like to print unique lines without sort or unique. Unfortunately the server I am working on does not have sort or unique. I have not been able to contact the administrator of the server to ask him to add it for several weeks. (7 Replies)
Discussion started by: cokedude
7 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
I was looking for a solution for enabling/disabling the Capslock from the command line and came across some Python code for doing just that...
Well, in this case the code was written to ONLY turn-off Capslock but I assume there has to be a way to turn it on too.
Site where I... (0 Replies)
Discussion started by: mrm5102
0 Replies
LEARN ABOUT DEBIAN
gstreamer::caps
GStreamer::Caps(3pm) User Contributed Perl Documentation GStreamer::Caps(3pm)
NAME
GStreamer::Caps - Structure describing sets of media formats
SYNOPSIS
my $empty = GStreamer::Caps::Empty -> new();
my $any = GStreamer::Caps::Any -> new();
my $structure = {
name => "urgs",
fields => [
[field_one => "Glib::String" => "urgs"],
[field_two => "Glib::Int" => 23]
]
};
my $full = GStreamer::Caps::Full -> new($structure);
my $simple = GStreamer::Caps::Simple -> new(
"audio/mpeg",
field_one => "Glib::String" => "urgs",
field_two => "Glib::Int" => 23);
DESCRIPTION
To create a GStreamer::Caps object, you call one of the following constructors:
GStreamer::Caps::Any->new
GStreamer::Caps::Empty->new
GStreamer::Caps::Full->new
GStreamer::Caps::Simple->new
HIERARCHY
Glib::Boxed
+----GStreamer::Caps
METHODS
$caps1->append ($caps2)
o $caps2 (GStreamer::Caps)
$caps->append_structure ($structure)
o $structure (GStreamer::Structure)
boolean = $caps->do_simplify
caps = GStreamer::Caps->from_string ($string)
o $string (string)
caps = $caps1->intersect ($caps2)
o $caps2 (GStreamer::Caps)
boolean = $caps1->is_always_compatible ($caps2)
o $caps2 (GStreamer::Caps)
boolean = $caps->is_any
boolean = $caps->is_empty
boolean = $caps1->is_equal ($caps2)
o $caps2 (GStreamer::Caps)
boolean = $caps1->is_equal_fixed ($caps2)
o $caps2 (GStreamer::Caps)
boolean = $caps->is_fixed
boolean = $subset->is_subset ($superset)
o $superset (GStreamer::Caps)
caps = $caps->make_writable
caps = $caps->normalize
$caps->set_simple ($field, $type, $value, ...)
o $field (string)
o $type (string)
o $value (scalar)
o ... (list)
integer = $caps->get_size
structure = $caps->get_structure ($index)
o $index (integer)
caps = $minuend->subtract ($subtrahend)
o $subtrahend (GStreamer::Caps)
string = $caps->to_string
$caps->truncate
caps = $caps1->union ($caps2)
o $caps2 (GStreamer::Caps)
SEE ALSO
GStreamer, Glib::Boxed
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Caps(3pm)