|
Crush posted:Care to elaborate? Okay. System -> Preferences -> Appearance, then click on "Customize..." then click on the center tab (Window Border) and choose whatever you want. Of course, it might still be doing this without me noticing, since the glitch put a gray swath across the titlebar, and the GSM theme is gray.
|
# ? Oct 23, 2007 03:14 |
|
|
# ? Jun 5, 2024 14:35 |
|
hooah posted:Okay. System -> Preferences -> Appearance, then click on "Customize..." then click on the center tab (Window Border) and choose whatever you want. Gotcha, thanks.
|
# ? Oct 23, 2007 03:17 |
|
Here's a somewhat random one. I want to generate a list of all the files under the current directory sorted by their modification time, oldest to newest. I searched around for a utility or some option to ls to do this, but nothing quite did what I want. ls has an option to sort by mtime, but if you run ls recursively over directories, it does this sorting per-directory, and not on the total set of files as a whole. Here's what I came up with using pipe-foo and it works: code:
Anyone got any better methods?
|
# ? Oct 23, 2007 03:57 |
|
brae posted:Anyone got any better methods? Not really but with GNU find you can at least eliminate the -exec by using -printf, which should cut down execution time: Something like code:
|
# ? Oct 23, 2007 04:40 |
|
Neslepaks posted:Not really but with GNU find you can at least eliminate the -exec by using -printf, which should cut down execution time: Ah, nice tip. Unfortunately, right now I'm on OS X which is BSD-style find.
|
# ? Oct 23, 2007 04:44 |
|
brae posted:Here's a somewhat random one. I want to generate a list of all the files under the current directory sorted by their modification time, oldest to newest. I searched around for a utility or some option to ls to do this, but nothing quite did what I want. ls has an option to sort by mtime, but if you run ls recursively over directories, it does this sorting per-directory, and not on the total set of files as a whole. Your line didn't work for me code:
|
# ? Oct 23, 2007 04:48 |
|
Neslepaks posted:Something like Alternatively, -printf "%T+ %h%f\n" for more readable time, and directories for the files.
|
# ? Oct 23, 2007 04:53 |
|
DevastatorIIC posted:That looks relatively simple to me. And how do you mean, in shell versus scripting language? Bash? Bash is a scripting language. I meant in bash/sh as opposed to something in Perl/Python/Ruby/etc. Also, doesn't ls -lc produce readable dates like: code:
brae fucked around with this message at 05:03 on Oct 23, 2007 |
# ? Oct 23, 2007 04:57 |
|
brae posted:I meant in bash/sh as opposed to something in Perl/Python/Ruby/etc. $ ls -lc | awk '{print $6 " " $7 " " $8 }' | sort -n 2007-10-21 01:03 comics/ 2007-10-21 01:05 download.sh* 2007-10-21 15:00 qc.tar Probably a difference between OSX and Ubuntu.
|
# ? Oct 23, 2007 07:29 |
|
For some reason, on a fresh install of Gusty my Windows key isn't acting as a modifier, it's acting as an actual key. When I go to Keyboard Shortcuts in the preferences menu, and try to change lock screen to Windows+L, as soon as I press the windows key it says "Super R" right away and doesn't give me the chance to hit another key (the 'L'). If I leave it like that, just pressing the right windows key locks my screen. Anybody know what's going on here? Edit: I don't know what was happening, but changing the Windows key mappings from Super to Mod4 fixed it. wunderbread384 fucked around with this message at 16:00 on Oct 23, 2007 |
# ? Oct 23, 2007 15:47 |
|
For whatever reason I can't get my 5 button Intellimouse to work properly in Kubuntu 7.10. I can't get the shoulder buttons to respond properly as forward/back buttons in Firefox. This is what I tried using in xorg.conf:code:
edit: nevermind, all it needed was a reboot vv shyduck fucked around with this message at 17:29 on Oct 23, 2007 |
# ? Oct 23, 2007 17:16 |
|
shyguy posted:For whatever reason I can't get my 5 button Intellimouse to work properly in Kubuntu 7.10. I can't get the shoulder buttons to respond properly as forward/back buttons in Firefox. This is what I tried using in xorg.conf: Would something like this work for Logitech mice? I poked around in the Ubuntu forums a little looking for Logitech mouse support, but couldn't find anything for my specific mouse, the MX-620.
|
# ? Oct 23, 2007 18:13 |
|
hooah posted:Would something like this work for Logitech mice? I poked around in the Ubuntu forums a little looking for Logitech mouse support, but couldn't find anything for my specific mouse, the MX-620. code:
|
# ? Oct 23, 2007 19:17 |
|
Is there any way to disable the right key in grub? I find it frustrating when I want to go to another operating system, and instead of going to windows XP, grub desides I'd rather test my RAM.
|
# ? Oct 24, 2007 01:41 |
|
I'm thinking about monkeying around with Compiz in Ubuntu Gutsy using the open source ATI drivers. Yeah, I know it's not going to be as fast as the proprietary fglrx drivers, but given how those things are still pretty buggy on Gutsy (no suspend/resume, which I need on my ATI laptop), I'm just curious to see how "well" the open source drivers work. It's not like I'm going to be doing any crazy 3D gaming anyway. Unfortunately, due to dumbassery when upgrading from Feisty, my xorg.conf is a hacked up version of the failsafe version that crops up when X.org doesn't like your xorg.conf (it didn't like my Feisty config). As a result, it says "Desktop Effects could not be enabled" whenever I try to turn any of them on. There is probably some setting I could put in xorg.conf to get them to work -- I'm just not sure what it is. Thanks.
|
# ? Oct 24, 2007 17:44 |
|
I can't seem to figure out how to use Wine. I went through the start-up guide and I think I configured it properly (mostly defaults), but when I right-click on an executable and choose "Open with Wine Windows Emulator," nothing happens. There's a vino instance running that I found with the top command, but it never actually starts the Windows program.
|
# ? Oct 24, 2007 17:57 |
|
hooah posted:I can't seem to figure out how to use Wine. I went through the start-up guide and I think I configured it properly (mostly defaults), but when I right-click on an executable and choose "Open with Wine Windows Emulator," nothing happens. There's a vino instance running that I found with the top command, but it never actually starts the Windows program. What happens if you type "wine /full/path/to/windows/executable.exe" at the command line?
|
# ? Oct 24, 2007 19:44 |
|
Here's a good one. I will be impressed if anyone responds to this. I am running Debian GNU/Linux on a Dell Inspiron 1420n. These laptops came with Ubuntu Feisty and I presume that DRI (direct rendering, aka 3d acceleration) was enabled and functioning when it got to me. However, I have since wiped the machine many times. I want Direct Rendering Interface back. I am using xorg-xserver-intel as my 2D video driver. I have agpgart support compiled into my kernel. I have followed the instructions here to what seems like no avail. uname -a quote:Linux argentum 2.6.21-2-686 #1 SMP Wed Jul 11 03:53:02 UTC 2007 i686 GNU/Linux cat /var/log/Xorg.0.log | grep dri quote:(II) LoadModule: "dri" If there's anything else that you would like me to paste just ask... Our main culprit: (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed Only appeared after I recompiled MESA and installed it.
|
# ? Oct 24, 2007 20:44 |
|
minerale posted:Our main culprit: You need to recompile something against the new MESA that you've installed. Maybe just the Intel driver, but probably the whole of Xorg and any client programs that depend on Xorg. You could just try running ldconfig to update the shared library links, but that's almost certainly been done already. The basic problem is that you're compiling stuff from source on a distro that uses binary packages. You would probably get away with it if it was a simple client program. But anything that uses OpenGL will have been linked to the original install of Mesa and they are now looking for symbols in the wrong place because you didn't use the exact same compiler version and options. In short, either give up or you're going to end up re-building half the distro from source. And if you succeed in doing that, you're in for a world of hurt the next time you try to use the distro's package management to install or upgrade anything.
|
# ? Oct 24, 2007 21:59 |
|
Reefer Inc. posted:You need to recompile something against the new MESA that you've installed. Maybe just the Intel driver, but probably the whole of Xorg and any client programs that depend on Xorg. You could just try running ldconfig to update the shared library links, but that's almost certainly been done already. Awesome, thanks for this analysis. This came from Debian Lenny, which uses the APT and DEB formats for package stuff. You would hope that it supported DRI on Santa Rosa with X3100 by now, infact, I know it does. I doubt I have to rebuild xserver-xorg for that to happen. Should I perhaps switch to Gentoo from Debian for this reason?
|
# ? Oct 25, 2007 03:05 |
|
In bash/zsh, using ctrl-r will do an emacs-like reverse search through the history. Is there any way to bring the history back to the most recent item (aside from holding the down arror key down for a minute or so)? Or for that matter do a forward search?
|
# ? Oct 25, 2007 03:15 |
|
JoeNotCharles posted:What happens if you type "wine /full/path/to/windows/executable.exe" at the command line? Well, here's my path: /media/Windows/Program Files/Finale 2005/FINALE.EXE The terminal says it can't find "/media/Windows/Program" Does this terminal have the same sort of 8-character limit that the Windows command prompt does? Edit: Nevermind, after doing a number of dir commands, it seems terminal wants directories that have more than one word to be entered in the form "word1\ word2" Strange. hooah fucked around with this message at 03:56 on Oct 25, 2007 |
# ? Oct 25, 2007 03:53 |
|
hooah posted:Edit: Nevermind, after doing a number of dir commands, it seems terminal wants directories that have more than one word to be entered in the form "word1\ word2" Strange. Tab completion would've solved that, and would've saved you a ton of time. /me{tab}/W{tab}/Pr{tab}/Fin{tab}/FIN{tab}E{tab}
|
# ? Oct 25, 2007 04:18 |
|
hooah posted:Well, here's my path: /media/Windows/Program Files/Finale 2005/FINALE.EXE It has nothing to do with terminal and everything with space being a valid command line parameters separator. You can either escape it with \ or include the parameter in single quotes (double quotes are also valid, though you will have problems if the file name contains $). Terminal does not parse your command line, shell does.
|
# ? Oct 25, 2007 04:23 |
|
Ok, now Wine can't find a .dll that's in the system32 directory, which I've told it to use. In an unrelated incident, how do I get Firefox to play flash files? I've installed the flash plugin, but I'm still getting big blank boxes where flash stuff's supposed to be. Except for the ads. Those load just fine.
|
# ? Oct 25, 2007 04:29 |
|
Is it worth it to upgrade to Gutsy? I'm running Feisty right now, and I've got a nice setup with beryl and all kinds of other poo poo that I would rather not have to go through again.
|
# ? Oct 25, 2007 05:42 |
|
astr0man posted:Is it worth it to upgrade to Gutsy? I'm running Feisty right now, and I've got a nice setup with beryl and all kinds of other poo poo that I would rather not have to go through again. My upgrade was rather flawless, and I had 3v1's compiz-fusion. All I did was remove 3v1's (basically remove 3v1's repository then apt-get install apt-show-versions then apt-show-versions | grep 3v1 and remove compiz/config/plugins then reinstall) then upgrade to gutsy. I actually fixed the 3v1 problem post-upgrade. Is it worth upgrading? I don't know, Gutsy seems to be a more refined Feisty, way more refined. From big things like smoother driver transitions down to the little details like per-application keyring settings.
|
# ? Oct 25, 2007 05:54 |
|
Wallin posted:In bash/zsh, using ctrl-r will do an emacs-like reverse search through the history. Is there any way to bring the history back to the most recent item (aside from holding the down arror key down for a minute or so)? Page down should do it.
|
# ? Oct 25, 2007 06:23 |
|
I've got a linux/hardware related question. I've a server that has an uptime of 145days, basically since it was put online, and uses software (md) raid 1. Recently the load's shot up (30-ish on a P4 machine), a shitton of processes have D or D+ stats and 80% or so of the processes are wa(iting). I figured it was a disk issue so I looked around with SMART at the physical devices after mdadm told me the raid was degraded: both hda and hdc have almost the exact same symptons, and are about the same age and both show multiple sector_reallocations. They both have errors that keep happening on the same LBA's. Now here's what's boggling me: hda: code:
quote:12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 21 Is it possible that either the PSU or power connectors to the disk are loose? Our remote hands removed the box from the rack when it wouldn't boot at one point (no boot disk), after which it booted with no problems other than the future symptoms, My main reason i'm going with this theory is that the "Powered_up_time" on both drives resets to 10h after being up 30ish days at some point, even though the machine itself never went down: code:
|
# ? Oct 25, 2007 10:33 |
|
astr0man posted:Is it worth it to upgrade to Gutsy? I'm running Feisty right now, and I've got a nice setup with beryl and all kinds of other poo poo that I would rather not have to go through again. Eventually, it will be. Right now, though, unless you need/want any of the new features of Gutsy, save yourself the possible headache for now.
|
# ? Oct 25, 2007 14:12 |
|
Using synergy. Ubuntu gutsy box as master, Windows lappy as slave. Since I'm using Gutsy, I'm using gnome-screensaver, so the screensaver sync stuff doesn't work. That's fine. I lock both screens individually when I go away. Problem is, when I lock the windows screen, it's as if Synergy stops listening at all and I can't get over to the windows side to ctrl-alt-del and unlock without using a physical keyboard. Googling doesn't turn up much on this... Any ideas? Should I just yank gnome-screensaver and throw xscreensaver in there?
|
# ? Oct 25, 2007 16:04 |
|
hooah posted:Ok, now Wine can't find a .dll that's in the system32 directory, which I've told it to use. First, type "about :plugins" and see if Flash is really installed. It might have put it in the wrong directory or something.
|
# ? Oct 25, 2007 16:36 |
|
JoeNotCharles posted:First, type "about :plugins" and see if Flash is really installed. It might have put it in the wrong directory or something. Yup, it tells me Gnash is installed and enabled. Also, what about this Wine .dll problem?
|
# ? Oct 25, 2007 18:05 |
|
bmoyles posted:Using synergy. Ubuntu gutsy box as master, Windows lappy as slave. Since I'm using Gutsy, I'm using gnome-screensaver, so the screensaver sync stuff doesn't work. That's fine. I lock both screens individually when I go away. Problem is, when I lock the windows screen, it's as if Synergy stops listening at all and I can't get over to the windows side to ctrl-alt-del and unlock without using a physical keyboard. Googling doesn't turn up much on this... Any ideas? Should I just yank gnome-screensaver and throw xscreensaver in there? Master/server box is listening, slave/client connects to it, so as long as Synergy is still running on the Linux box, it's the Windows client problem. Synergy is not supposed to disconnect while the box is up if it is started using its built-in startup configuration.
|
# ? Oct 25, 2007 20:58 |
|
bmoyles posted:Using synergy. Ubuntu gutsy box as master, Windows lappy as slave. Since I'm using Gutsy, I'm using gnome-screensaver, so the screensaver sync stuff doesn't work. That's fine. I lock both screens individually when I go away. Problem is, when I lock the windows screen, it's as if Synergy stops listening at all and I can't get over to the windows side to ctrl-alt-del and unlock without using a physical keyboard. Googling doesn't turn up much on this... Any ideas? Should I just yank gnome-screensaver and throw xscreensaver in there? That's odd. I'm using the exact same setup and have never had that problem.
|
# ? Oct 25, 2007 21:06 |
|
hooah posted:Yup, it tells me Gnash is installed and enabled. Well, then, I got nothing. For either of these.
|
# ? Oct 25, 2007 21:09 |
|
hooah posted:Yup, it tells me Gnash is installed and enabled. quote:Also, what about this Wine .dll problem? What DLL, and what does Wine say about it?
|
# ? Oct 25, 2007 21:11 |
|
how do you get gnome-terminal to launch with a specific dimension? I want to create a launcher that runs irssi in a terminal window, but I want the window to be a little bit bigger than default. Most programs have an option to specify size, but I can't seem to find it for gnome-terminal. Here is my code so far: gnome-terminal --window-with-profile=irc --command=irssi
|
# ? Oct 25, 2007 21:14 |
|
Fishstick posted:I've got a linux/hardware related question. If you ever see an uncorrected error on a drive, you have to replace it. No exceptions. quote:both hda and hdc have almost the exact same symptons, and are about the same age and both show multiple sector_reallocations. They both have errors that keep happening on the same LBA's. quote:Is it possible that either the PSU or power connectors to the disk are loose? Our remote hands removed the box from the rack when it wouldn't boot at one point (no boot disk), after which it booted with no problems other than the future symptoms, SMART is only useful for detecting problems if they are completely unnoticeable by all other means. It is notoriously unreliable, and the only thing it is good for is seeing corrected errors and checking if the drives you have in storage are unsafe to install. If OS tells you that it got an error, it does not matter what SMART says.
|
# ? Oct 25, 2007 21:19 |
|
|
# ? Jun 5, 2024 14:35 |
|
nbv4 posted:how do you get gnome-terminal to launch with a specific dimension? I want to create a launcher that runs irssi in a terminal window, but I want the window to be a little bit bigger than default. Most programs have an option to specify size, but I can't seem to find it for gnome-terminal. Here is my code so far: gnome-terminal --help returns the list of options, one of them --geometry You can do things like: code:
|
# ? Oct 25, 2007 21:31 |