@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> the player of vmware I should download right?
<0> I am out thanks for the help everyone I will be back on later
<1> I don't have a /dev/dsp
<1> how do I get it back?
<2> is it possible to have submenus in grub?
<3> hello
<3> is it really necessary to use 2 spaces after a sentence in tex?
<4> angustia: I don't believe it is necessary to use 2 spaces after a sentence in tex.
<3> hmmm... I've seen it in some places...
<2> angustia: i think it ignores spaces after the first one, i could be wrong on that though
<4> The 2 spaces after a full-stop is an old convention used on typewriters. Tex does it own handling of whitespace.
<3> oh, thanks...
<1> hello
<1> when I cat /proc/asound/cards, my soundcard comes second
<1> how do I change the order?
<3> what command do I use in latex so that a piece of text is not cut between two pages? I intend to put a C struct, using \begin{verbatim}



<5> hi all
<6> does anyone know how to unlock a folder so it can be viewed from my gui
<5> i want to count each occurrency of a word, case insensitive, in a txt, with a bash command/script. The problem is that if the word is present twice in a line, it's counted only one...
<7> AstrialPhantom: you mean change permissions?
<6> yes
<5> with cat toto.txt |grep -i "word" |wc -l
<7> chmod
<6> the folder only has root permission
<7> or chown
<7> chown -R root:users /your/folder
<7> and chmod -R g+r /your/folder
<7> makes the group "users" able to read the dirs/files there
<6> ok
<4> cat meow.txt | dd conv=lcase | grep -o meow | wc -l
<6> ty
<4> I'm using dd, as the -o option and the -i option don't seem to work together in my version of grep (2.5.1)
<5> -o match exactly regarding the man page, -o, --only-matching
<5> Show only the part of a matching line that matches PATTERN.
<5> so how can you want to use -o and -i at the same time..
<6> Zider
<4> I used dd to lower-case everything, as I said
<6> it didnt work
<5> kittenbot ah ok :)
<6> i still dont have premissson for it
<4> action09: alternatively, you could use sed to convert all the whitespaces into newlines, and then use 'grep -i' as before
<5> ok thanks
<5> kittenbot ho ok.. i see, my grep works..
<5> 4 occurrencies of word 'fortuna' ==>
<5> grep -oi fortuna toto.txt |wc -l
<5> 4
<8> ok, i ask here since in #gtk noone knew the answer
<8> what is the canonical way to get all mouse/keyboard events in a gtk app regardless of window focus
<8> i.e. i want to get an event whenever the user moves the mouse or presses any key..
<8> this probably sounds awful lot like a sniffer, but it's for using a mouse as midi controller
<8> [and hotkeys to enable/disable the thing]
<4> tapas: You could always read /dev/input/mice yourself -- but if you do, you'll have to decode the data-stream from the mouse yourself.
<8> kittenbot: yah, i thought about going the low level routine. gdk even has a query_position thing, but i would need to poll that
<8> several times a second. i'd like it to be event driven
<4> tapas: My proposal would mean you looking for a programmer to write some code for you.
<8> kittenbot: nah, i'm still in the there's-a-way-but-i-don't-know-it-yet-mode
<4> The requirement for 'several times a second' or 'event driven' shouldn't pose any difficulties.
<8> probably it's just some event mask in gtk, but i don't know what to do exactly
<4> tapas: I'm not made any heavy use of the gtk, so I couldn't say about that.
<8> hehm, i'm in the same positio
<8> n
<4> tapas: You could always lock the cursor to your window, and read the position of the mouse as normal ?
<4> tapas: You could always take a look at the source code of xeys :)
<4> *xeyes
<8> ah well, i'll just use the gdk_query position thingy
<4> xnee looks interesting
<4> as does xtrap
<0> hey all
<6> hi, is it possible to view files window files on linux, on a different partition of the same hd
<9> yes
<9> mount the drives
<6> ok.. i did that
<6> its mounted into my mnt/ntfs
<6> but when i try to give primission
<6> all the files disapper
<6> and the foler is 0kb
<9> you set the perms when you mount ntfs



<9> not with chmod
<6> how would i do that
<9> man mount , man fstab , google - this is a well documented thing
<6> is there anyway to login as root on gui?
<9> 2 ways.. but its a bad idea. :P
<9> lol
<9> configure gdm/kdm to allow it.. or dont use x/gdm and go to the console and use 'startx'
<6> ic thank u for ur help
<6> im a linux newb just started yesterday
<9> BEST is to login to X as a user , and use 'sudo' or 'sux' to run commands needed to be ran as root.
<9> sudo, sux,gksu, or kdes alternative.
<9> :P
<10> huh? Since when does xdm/kdm NOT allow root login?
<9> Aldaron, gdm/kdm on many disrtos do NOT allow it. its a simple config setting
<9> xdm - not sure. :P
<10> ahh.. distro dependent
<11> AstrialPhantom: better do not login as root on xdm/gdm/kdm, better "adduser foo" or "useradd foo" and use the foo-user to use X, if you then like to be root you can use command su to change to the root-user inside a x-terminal.
<9> Secrity paranoia is becomming the standard. Which i guess is good.
<10> keck0f: does that allow running graphical apps as root? :P
<9> Aldaron, yes.. ive told ya 4 ways to do it. :P
<9> sudo, sux,gksu, or kdes alternative. (whatever its called)
<11> keck0f: if it is configured to allow it: yes, if it's not: no.
<10> Dr_Willis: hehe :). I recall having problems with apps not finding X after su.. I might have done "su -". So I "ssh -X"'d to my box as root..
<10> I'm not the one who needs help tho :)
<9> heh - thats what sudo and sux fix. :P
<9> su -> wont do it. sudo - will.
<10> Dr_Willis: I prefer being root for what I do myself, but I guess it's a matter of taste
<9> Aldaron, its often a matter of 'stability/security' :P
<9> and learning good habbits.
<10> Dr_Willis: well, sudo is hard to set up, requires maintenance and doesn't ask for p***word. Thus, imo it makes no sense at all on a one-admin box
<9> it is?
<9> Aldaron, its nice when it saves you from yourself.
<10> I can do that myself ;)
<9> on a 1 admin box.. hmm - it would require no maintenca. and you could (badly) set up no p***word for root. :P but then again you may as well be running Linspire then.
<10> when does it do that?
<9> so just do whatever ya want.. i dont care. :P
<10> hehe :). Well, no difference between no root p***word and no user p***word with sudo, no?
<9> you are saying 'No users' at all..
<10> As I said, matter of taste. As far as the admin knows some basics of security
<9> its always fun when you accidently miss type rm -rf :)
<10> What? I'm saying root for administration, users for using stuff!
<9> ok. whatever. :P
<10> I *think* I once did "rm -rf .*" or something that went recursively to parent directories :o)
<10> ah.. "I prefer being root for what I do myself" - miscommunication on my part. I like being root for administration stuff
<9> lol.
<9> I think of it the same way we have "lock-out locks" at work.. and other 'safety procedures'
<9> its a pain for me to put on my lock on a machine.. but if it saves me from PERHAPS loseing a hand some day...
<9> all it takes is one mistake.. and you are called Lefty for the rest of your life.
<9> Safety/Security is a Process/learned habbit.
<10> how is "rm -rf"ing with sudo safer than when logged in as root?
<9> how is rm -rf safe at all. :P i think they need to fix that.
<9> sudo at least gives you a pause. With your logic - any admin tasks should never be doable then. since they could be dangerous.
<9> That lockout lock may not pervent me from getting hurt. but at least its another layer of security.
<12> I belive my chroot have done something to my cron setup
<9> Its very interesting how OS-X handles it as well.
<10> No, I'm saying dangerous things have to be done every now and then, and that we have to be careful doing them. How about using "rm -r" without -f for example? Or double-checking what you type when you do "rm -rf"?
<12> I have a amd64 system and a chroot 32bit system, i installed mplayer in the chroot and symlinked it to the amd64 system
<9> how about making a rm alias - that would prevent it totally. :P
<12> Im trying to run a bashscript that is suppose to play a some songs
<12> It have wokred before, but now it wont, i can run the bashscript easily manually
<9> playing songs from cron.
<9> making an alarm clock?
<12> but crontab refuses to initiate it
<12> syslog dont tell me anything much
<12> Mar 26 22:45:01 localhost /usr/sbin/cron[14280]: (deus) RELOAD (crontabs/deus)
<12> Mar 26 22:45:02 localhost /USR/SBIN/CRON[14314]: (deus) CMD (/home/deus/wakeupc$
<9> does cron run as a speficic user? I forget.
<9> Ive rarely used cron.
<10> hehe :).. I used "at" for my own alarm clock.. And a random song from Monty Python! :)
<12> Dr_Willis: hmm, im actually not sure
<10> I think it should run stuff as you, if it's your own personal crontab you edit
<13> What is the cheapest GigE nic that linux supports w/ tcp offloading zero-copy support, rx/tx checksumming, etc?
<12> Aldaron: hehe, i found some vile chaotic song from the Hives...quite effective


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

8puzzle
install vnc on centos
cedega ZeroDivisionError
#perl
qmail mailbox folder
damnsmalllinux Rt2570
#oe
bit for bit copier
Qmail scanner problems encountered
perl astman command



Home  |  disclaimer  |  contact  |  submit quotes