|
Sorry if this has been brought up in a previous thread, but how does flasg run for you guys? What version of flash and what linux distro are you using? I ask because I am on a FreeBSD machine which doesn't have native flash support so I have to use the hacked up linux versions in ports that have trouble with video and audio gettings out of sync.
|
# ¿ Mar 28, 2007 03:05 |
|
|
# ¿ May 2, 2024 17:39 |
|
I didn't see anything about this in the thread, but forgive me if this has been covered. Is there a way to replace the Ubuntu logo with the Footprint logo of GNOME?
|
# ¿ May 6, 2007 20:14 |
|
JoeNotCharles posted:Where exactly do you mean? In the boot splash screen, login screen, Gnome splash screen, Gnome menu...? Sorry, I wasn't clear. In the upper left hand corner where the 'Applications' menu is. The reason I want to change it is because I am not a big fan of the brown/orange/whatever theme on Ubuntu, but when I change it to something like a blue theme, the Ubuntu logo stands out.
|
# ¿ May 6, 2007 21:12 |
|
JoeNotCharles posted:EDIT: don't do this yet, I made dangerous mistakes. Testing and will update in a minute. By all means, don't put your own computer at risk. I was just curious if there was a sure fire way of doing this.
|
# ¿ May 6, 2007 22:51 |
|
Why are fonts so sexy in Firefox for Ubuntu, but are so ugly (and jagged) in Firefox for Gentoo or FreeBSD?
|
# ¿ May 18, 2007 05:33 |
|
200th Poster posted:Does this mean that fluxbox is the only WM that weighs in at under a gigabyte? I'm confused by your response. I don't know for sure, but I think OpenBox (which I prefer to all other WMs) may also.
|
# ¿ May 25, 2007 23:06 |
|
With the SA search feature disabled right now I find it hard to search for my query: Is there a way to create a simple script that allows me to connect to an SSH session WITHOUT prompting for a password (hardcoded into the script?)?
|
# ¿ Jun 16, 2007 04:05 |
|
L posted:You can do something like this Hmm, this looks like it will work, except, what do I do with it? Does it need to be in a certain directory? CHMOD'd to a certain permission? Thanks for your help.
|
# ¿ Jun 16, 2007 05:11 |
|
Has anyone ever had luck running or compiling zdoom on their Ubuntu machine? I have tried several tutorials and HOWTOs on how to do so (for Linux distros in general, not particularly Ubuntu) and they always fail somewhere during compilation. I am not sure what I am doing wrong soa ny insight would be appreciated.
|
# ¿ Sep 3, 2007 03:09 |
|
I read the man page for echo, but could not find the answer to my question. What I am looking for is a command that disables output from a script.code:
Thanks in advance.
|
# ¿ Sep 11, 2007 08:21 |
|
teapot posted:Don't use passwords and expect when you can use ssh keys. Generate your own key, and copy the public key into .ssh/authorized_keys so it will allow you to login without password. Okay, but what if I have a script almost exactly like that for logging into a different computer for FTP access? How would I get rid of the echoing of what it is doing?
|
# ¿ Sep 11, 2007 17:08 |
|
teapot posted:To stop logging to user you only have to place "log_user 0" before the section you want to stop logging, and "log_user 1" after it. The problem that you may have to face is that the program you are calling may still produce output after the last string is sent to it, so to make sure that this output is not passed to the user you have to match it. For example, if the script runs shell and passes the first command to it, you would see the command's echo unless you match the shell prompt that will be produced after the command is finished (and then you will have to re-send it to the user): Thank ya kindly
|
# ¿ Sep 12, 2007 05:49 |
|
I am almost done creating a script (for Mplayer/Mencdoder) to rip my DVDs for my HTPC and was looking for some help with the script I made. What I need to know is if anyone knows how I would go about getting 128, 137, 130, and 131 from these lines (I'm assuming using either sed or cut?) code:
Also, it doesn't have to grab the numbers from those lines all at once, it can do them one at a time. Oh, and one more thing, these numbers (128, 137, 130, and 131) as well as things like ac3, dts, stereo, mono, en, es, and fr all change depending upon the DVD. Thanks a bunch!
|
# ¿ Sep 20, 2007 22:57 |
|
teapot posted:If you really need a comma-separated list with a newline at the end: No no, I don't need a comma separated list. Sorry that was my fault for not clarifying. Really, I only need to know how to get the last three numbers on each line, sans the period at the end. I'll try yours and see if I can tweak it to get what I need though. Thanks.
|
# ¿ Sep 21, 2007 03:40 |
|
Can anyone help me suppress the INPUT that occurs within this script?code:
Eventually, I will add echo lines into the script (once this input/output problem has been solved) to make it only read what I say in 'echo ""'. This would be a huge help and is very much appreciated. Edit: Not sure why bitrate is starting on a new line in the box, but it is all one line in the script.
|
# ¿ Sep 25, 2007 07:46 |
|
Steve French posted:Can anybody tell me why the hell this is happening and/or how to fix it? Pacman!
|
# ¿ Sep 29, 2007 09:13 |
|
This is probably a very simple question, but what is the easiest way to grab the number when executing:code:
Edit: Right now, I get: code:
|
# ¿ Oct 3, 2007 09:05 |
|
DevastatorIIC posted:wc -l filename | awk '{print $1}' Works like a charm. Thank ya kindly
|
# ¿ Oct 3, 2007 09:57 |
|
Is there any other way to identify the processor name other than:code:
Edit: In case there was any question, it is because I have a dual core processor: code:
Crush fucked around with this message at 10:21 on Oct 5, 2007 |
# ¿ Oct 5, 2007 10:11 |
|
I seem to be having trouble understanding sgrep. Say I have a file that might read code:
|
# ¿ Oct 7, 2007 08:32 |
|
teapot posted:"make sure" <- Do you mean "determine if"? Yes teapot posted:"alternate" <- Do you mean "contains the sequence: one occurence of one of the strings followed by one occurence of the other string", "contains the sequence: one occurence of one of the string followed by one occurence of the other string, then the occurence of the first string", of any of the remaining half a dozen possible definition of "alternate"? Essentially, I want to make sure that code:
|
# ¿ Oct 7, 2007 12:47 |
|
teapot posted:The simpliest way to check for it (assuming that "-" in place of newline does not produce something that may be also present in the file): Interesting, will give this a try. Edit: Ok, I ran this and it instantly just went back to the prompt without saying anything. I then changed the 3 to a random number like 1223432432 and ran it again and the same thing happened. What am I to do with this? Thanks for your help by the way. Crush fucked around with this message at 06:17 on Oct 8, 2007 |
# ¿ Oct 8, 2007 05:13 |
|
Ilya posted:Here's the best (or at least most proper) way of doing it: teapot posted:It checks specifically for those strings, so you have to keep spaces/capitalization/... the same in matching strings and in the file you test. If it returned nothing, it means, nothing matched, otherwise it returns a string that will be the whole file with dashes instead of newlines. For the use in scripts it's more important that return value of grep is 0 if it matched, nonzero if it didn't. Ahh, it looks like for whatever reason my file had additional spaces in it; must have had something to do with the way I ripped that information . In any event, they both work, but now I am a little confused as to how I could use this in a conditional. If this criteria is met (the pattern of duration: 2 duration: 3) then do this Else do this. I have done conditionals for bash scripts before, but they were simple: code:
|
# ¿ Oct 8, 2007 10:58 |
|
teapot posted:
Awesome, thanks to both you and Ilya. Nice tips on the conditionals, too.
|
# ¿ Oct 8, 2007 11:54 |
|
Is it possible to go through a file and find the highest (greatest) first number, and of those lines find the highest second number, and of those lines find the lowest third number and then finally the lowest fourth number? Like, would I be able to find '720 352 0 62' out of the file below? Say it goes through the file and sees that 720 is the greatest first number on a line, then of the lines that have 720 as the highest first number, it sees that 352 is the highest number in the second column, and of those lines, it finds the lowest third number, and of those lines the lowest fourth number. code:
|
# ¿ Oct 9, 2007 21:25 |
|
AWESOME! Worked. Thanks!
Crush fucked around with this message at 22:02 on Oct 9, 2007 |
# ¿ Oct 9, 2007 21:59 |
|
Steve French posted:That doesn't handle the following, if I'm reading the question right: This is correct, thanks to everyone though for the help. Accipiter's works fine for me
|
# ¿ Oct 10, 2007 05:04 |
|
Scaevolus posted:Battle for Wesnoth gets pretty high ratings, although turn-based games aren't my type. Ever heard of Cube2/Sauerbraten?
|
# ¿ Oct 13, 2007 01:28 |
|
rookieone posted:They're fun even though they are pretty limited community/players wise. It's like a Quake1/Quake2 style quick online game. Graphics look good though and you always have to applaud their efforts for putting out a real crossplatform game. I don't know why, but I thought he meant free games.
|
# ¿ Oct 14, 2007 05:33 |
|
covener posted:Net, 32-bit will have less potential headaches. Unlikely any tanginle benefit of running a 64-bit kernel or applications. I've heard things such as video encoding can improve up to 40%, is this true?
|
# ¿ Oct 18, 2007 20:30 |
|
How can I make an image of a CD/DVD? I have triedcode:
code:
code:
|
# ¿ Oct 21, 2007 21:28 |
|
Crush fucked around with this message at 02:10 on Oct 23, 2007 |
# ¿ Oct 21, 2007 22:30 |
|
dfn_doe posted:You want to do something like See I get this when I do that command verbatim. code:
|
# ¿ Oct 21, 2007 22:33 |
|
dfn_doe posted:Stop copy/pasting commands from the forums... What device is your cdrom drive? that needs to be the if "input file".... "reading `/dev/cdrom': Input/output error" leads me to believe that /dev/cdrom isn't a valid node or symlink to a node on your system. Also, your first post indicated that you were doing /dev/sda1 which dumped over 20gb, which leads me to likewise believe you have copied/pasted that from somewhere else and you're actually dumping from a hard drive which sda1 happens to be on your system. I was only typing what you told me to try. Otherwise I always try for whatever is specific to my problem...I have (obviously) already tried cdrom, cdrom0, dvd, and dvdrw. All have the same problem. This apparently isn't working for me which is why in my original post I asked for an alternative to doing it this way. I appreciate your help, but there is no need to assume (which seem to do a lot) anything. It doesn't help, only makes things worse.
|
# ¿ Oct 21, 2007 23:27 |
|
dfn_doe posted:Heh, funny that you accuse me of making assumption when you clearly say "I was only typing what you told me to try" when I already pointed out that you need to use the correct device node when doing the dd command. Also you never asked for an alternative way, you asked if there was something better than what you were doing (which, would be a working command line as opposed to your close but no cigar attempts)... which I then outlined for you and again in that post "I do that command verbatim." which sure sounds like copy/pasting. You sure got your panties in a bunch about the perceived assumption on my part. This bit here is loving stellar too, "I have (obviously) already tried," when there is nothing obvious about what you have or haven't tried... I said I don't make a habit of copying and pasting, but in this case did. Also you tend to not be able to grasp that I had already tried any other device nodes available. I guess I figured you'd ASSUME I had already tried it since you seem to know everything.
|
# ¿ Oct 22, 2007 03:19 |
|
teapot posted:Can you, please, post the results of dmesg and ls -l /dev/cdrom ? Yeah, sorry. code:
|
# ¿ Oct 22, 2007 05:08 |
|
teapot posted:"tried hda to no avail" <- WTF does it mean???!! What exactly did you run, and what was the result. I am also still waiting for the answer about the actual data being on that CD, DVD or whatever other thing you have in that drive. What is it? Is it readable when you mount it? A DVD thatis several GBs large. dd if=/dev/hda of=NAME.ISO. Yes it is readable. Please believe I would at least know that before trying to accomplish this. Also, I have tried this on s few different DVDs and CDs. Everyone in this thread needs to chill the gently caress out
|
# ¿ Oct 22, 2007 05:17 |
|
teapot posted:Data or video? Movie DVDs, however I just tried again with an older data CD and it worked fine. My only guess is some sort of encryption on the DVDs?
|
# ¿ Oct 22, 2007 05:23 |
|
waffle iron posted:Oh lord I haven't laughed so hard in a while. Care to enlighten us as to why? Edit: So I asked in a couple linux channels on irc and the only reply I got was that it is because they are encrypted. Oh well. Thanks anyways, teapot. Crush fucked around with this message at 05:49 on Oct 22, 2007 |
# ¿ Oct 22, 2007 05:27 |
|
|
# ¿ May 2, 2024 17:39 |
|
Kinch posted:Almost all commercial DVDs are encrypted. Thanks, Kinch. Good to know.
|
# ¿ Oct 22, 2007 05:50 |