although this is an ancient thread, i had the same question.. came up with the following relatively simple solution.. turns out the dell e-port replicator (or at least the one i'm using) can be...
Type: Posts; User: djurny; Keyword(s):
although this is an ancient thread, i had the same question.. came up with the following relatively simple solution.. turns out the dell e-port replicator (or at least the one i'm using) can be...
1) Kubuntu 8.04 LTS (i386), 9.04 (x86_64), 10.04.2 LTS (x86_64)
2) Dell
3) Inspiron 1525
recurring wifi scanning/connection issues on 8.04-lts and 9.04, mostly resolved with hardy-backports...
one thing to keep in mind as well; at least for bash, the last command in a pipeline is not run in the current shell context, like in korn shell.. maybe eog needs stuff from current environment...
you could try the following;
ssh -o PubkeyAuthentication=No remoteserver
hth!
if you're talking about automatic spindown of harddisks; usually all drives support spindown (standby/sleep) after a configurable timeout.. advanced power management is one that not all drives...
you can also try to boot without kms, by adding 'nomodeset' to the kernel commandline
try appending 'nomodeset' to kernel commandline options, had the same issue, due to the nouveau driver being loaded at boottime (somehow drm/kms needs this early on)
then drop to root console at...
also works with less pipework
# kilowatthours
sudo awk '/Estimated energy/ { kwh=NF-1 } END { print $kwh }' /var/log/*
# percentage
sudo awk '/Estimated energy/ { pct=$NF; gsub(/[()]/, "",...
this is a good idea, but isnt this already in place with with for example
admin settings (installation defaults)
/usr/share/app
default settings (initial setup)
/etc/default/app
settings...
sed -i.old -e 's/scr\=\".*\//scr\=\"UpdatedPath\//g' *.html
looks like i made a typo there.. shouldn't that read 'src' instead of 'scr' ??
sed -i.old -e 's/src\=\".*\//src\=\"UpdatedPath\//g'...
sed -i.old -e 's/scr\=\"*\//scr\=\"UpdatedPath\//g' *.html
trouble is the '*', that makes sed never find the pattern you're actually searching for:
try this one:
sed -ne...
/^[0-9]$/ {
Sum+=$1
}
/^[a-z]$/ {
alpha[$1]+=1
}
END {
print "Sum = " Sum
some extra hints:
* look up the 'seq' command
* look up the 'mkdir' command ('-p' option)
* look up the man page of your favorite shell
> string manipulation
> for loops
hope that helps :)
a bit off topic, but this is a really nice one!
IFS/read to handle whitespace and the mime type query..
this will replace all lines with only 'a=blahblahblah' with 'a=somethingelse' in file 'aaa'
sed "s|^a=.*$|a=somethingelse|" aaa
could also be done with some pattern matching, but this...
hi,
well i have had a look at the code you posted and some things are not quite ok (or you have a very forgiving compiler)..
binary() does not allocate memory for 'a' in which it is putting...
as much as i agree with the both of you, sometimes there is just no other (easy) way than to use the system() call..
to call 'synclient' from a c-app, for whatever reason, i am surely not going to...
use
chdir("..");
instead..
the
system("cd .."); will just change the directory of the process started by 'system()'..
i'm pretty sure system() is implemented as a synchronous system call.. if system() is currently implemented using fork() it will be waiting on the child process before returning to its caller..
...
do not overlook the ampersand '&'.. :)
i think (s)he is looking for some kind of fork()-exec() solution.. that's the same as how bash or 'system("ls -laR &")' works.. fork the current process and...
following p.o.c. (piece of code ;)) will set all parameters having 'tap' or 'Tap' in their name to zero.. i personally use this to disable tap on my dell 1525.. :)
synclient $(synclient -l |...
try this:
# become root
sudo su
# have fsam7400 loaded at every boot
echo fsam7400 >> /etc/modules
you could try an opensuse livecd, use 'sax2' (or whatever its called) to configure your dual displays and copy the resulting xorg .conf to a safe place :)
lets hope all developers worldwide know this difference too and also try to focus on knowing your platform instead of coding away and being surprised that porting applications to 'smaller' platforms...
we worked on single page nandflash bootloaders (16kib pages) for a while, even 80c51 based microcontrollers (< 4kib ram), so yes, there are platforms with even lesser requirements :)
(and yes, all...