|
apt-cache search libgtk you probably want libgtk2.0-0, libgtk2.0-common and libgtk2.0-dev. also, there's apt-file that'll find specific files inside packages.
|
# ? Jun 24, 2011 09:14 |
|
|
# ? May 21, 2024 01:35 |
|
.
angrytech fucked around with this message at 00:03 on Oct 17, 2013 |
# ? Jun 24, 2011 20:07 |
|
Reverse DNS is almost always handled by your ISP/host. You'll probably need to contact whoever provides your IPs to have them create the PTR record(s). Edit: FWIW, your name server is responding properly to the PTR request, but it doesn't matter much as requests won't go to your server. code:
Somebody fucked around with this message at 04:54 on Jan 9, 2016 |
# ? Jun 24, 2011 20:38 |
|
.
angrytech fucked around with this message at 00:04 on Oct 17, 2013 |
# ? Jun 24, 2011 21:16 |
|
Definitely. Hit up whoever provides the VPS. It should be as simple as opening up a support ticket and asking that they create a PTR record for you.
|
# ? Jun 24, 2011 21:32 |
|
angrytech posted:Since I'm running this on a VPS, would that still hold true?
|
# ? Jun 24, 2011 22:41 |
|
Sorry to keep bothering you guys, but it still doesn't want to compile for me. When I try to run gcc it says that the package gtk+-3.0 was not found. The apt-file list shows that package file as being in /usr/lib/pkgconfig, but when I actually look there there's nothing. What's going on? code:
code:
code:
ps sorry for the tables icantfindaname fucked around with this message at 23:40 on Jun 24, 2011 |
# ? Jun 24, 2011 23:36 |
|
Anyone pretty familiar with Ghostscript? I'm not really at all, but am trying to get it installed on a RHEL 5.6 box for a client so they can convert PDF -> JPG. I chose the easy route and went from RPMs, which worked fine with a test PDF I created. The client let me know today that they're not able to convert any of the PDFs they have on hand due to some JPEG2000 issues. I fixed those by scrapping the RPM install for a shiny new source installation, but now I'm getting an even more cryptic error on these PDFs. No problems on my test PDF. Here's what I get when I simply try to load a PDF into Ghostscript: quote:GPL Ghostscript 9.02 (2011-03-30) I was thinking this might be font related because there's a lot of wackiness associated with the four or five different GS installs that were there previously, but I could be completely off base here. Anyone a GS guru that can lend a hand? The GS IRC channel is a ghost town. Edit: changed code to quote to prevent breaking hscroll.
|
# ? Jun 24, 2011 23:51 |
|
icantfindaname posted:Sorry to keep bothering you guys, but it still doesn't want to compile for me. Try -I/usr/include/gtk-3.0 so that gcc knows where to find gtk/gtk.h
|
# ? Jun 24, 2011 23:54 |
|
icantfindaname posted:The apt-file list shows that package file as being in /usr/lib/pkgconfig, but when I actually look there there's nothing. What's going on? Are you quite sure that you have libgtk-3-dev installed?
|
# ? Jun 25, 2011 00:17 |
|
icantfindaname posted:Sorry to keep bothering you guys, but it still doesn't want to compile for me. You are missing a file. apt-file confirms that the file you are missing is in the package libgtk-3-dev. You should install that package, so that you will no longer be missing that file.
|
# ? Jun 25, 2011 00:19 |
|
ToxicFrog posted:Are you quite sure that you have libgtk-3-dev installed? Well, now I feel stupid. Turns out libgtk-3-dev wasn't actually installed. Thanks for the help, I'll crawl back into my hole now
|
# ? Jun 25, 2011 00:40 |
|
I've installed debian 6 with dwm on my desktop that has an ATI card, I have 3 questions. 1) how do I install ATI drivers 2) how do I reconfigure dwm 3) how do i disable capslock on login
|
# ? Jun 25, 2011 18:55 |
|
Megaman posted:I've installed debian 6 with dwm on my desktop that has an ATI card, I have 3 questions. I'm not sure about how this is done in Debian; I know in Ubuntu, you just use the "Additional Drivers" tool. You should be able to enable the non-free repository for Debian, run "apt-get update ; apt-get install fglrx fglrx-amdcccle", and then use its command line tool to configure Xorg to use the fglrx driver. You'll probably also need to add your user account to the 'video' group. Megaman posted:2) how do I reconfigure dwm I assume you mean "Compiz" in this case; once you have hardware acceleration working, run "apt-get install compiz compiz-gnome", and once everything is installed, run "compiz --replace &" in a terminal window. That should enable desktop compositing. Megaman posted:3) how do i disable capslock on login On Ubuntu, I do this by choosing System -> Preferences -> Keyboard, going to the Layouts tab, clicking the Options... button, and under "Ctrl key positioning", selecting "Make Caps Lock an additional Ctrl". I believe it should be similar on Debian.
|
# ? Jun 25, 2011 21:08 |
|
dolicf posted:Anyone pretty familiar with Ghostscript? Anyways, the real problem is that your client is dealing with PDF files that require (PDF 1.5) JPXDecode support for JPEG2000-encoded images. Ghostscript (should) support this if compiled with JasPer, which I imagine Ghostscript is optionally dependent on so you'll need to make sure that library (and any dev package) is installed before building. Depending on how flexible your client is, a better/alternate option might be to install Poppler (forked from Xpdf). In particular, the "pdftoppm" program can be used to rasterize a PDF to ppm or png formats, and you can use ImageMagick's "convert" to make JPEGs out of those. I generally try pdftoppm first as Ghostscript is slow and sometimes buggy, although I've encountered PDFs that Poppler craps out on but Ghostscript handles like a champ. Anyways, Poppler supports JPXDecode via OpenJPEG, so you'll need the relevant library installed for that if you're building from source again.
|
# ? Jun 25, 2011 21:15 |
|
Megaman posted:1) how do I install ATI drivers If you want to use the proprietary fglrx driver, which may have the best support for whatever card you have, but has otherwise always sucked, you'll have to do some magic. In sid, it looks like installing the "fglrx-driver" should take care of everything but fixing up /etc/X11/xorg.conf. The procedure might be different in squeeze. Anyways, see ATIProprietary. Megaman posted:3) how do i disable capslock on login
|
# ? Jun 25, 2011 21:25 |
|
ExcessBLarg! posted:It looks like it might be coughing on FlateDecode. Thanks for the ideas! I actually checked in on the Ghostscript IRC channel and they advised me to open a bug report. It looks like this is actually a known issue in that Ghostscript can't yet handle the case where a PDF's images have multiple decoding filters one of which being JPXDecode, so I guess we're waiting for a patch. I'll see if the client wants to investigate another route.
|
# ? Jun 25, 2011 22:08 |
|
Dinty Moore posted:I'm not sure about how this is done in Debian; I know in Ubuntu, you just use the "Additional Drivers" tool. You should be able to enable the non-free repository for Debian, run "apt-get update ; apt-get install fglrx fglrx-amdcccle", and then use its command line tool to configure Xorg to use the fglrx driver. You'll probably also need to add your user account to the 'video' group. I didn't clarify, I meant all from the command line, and through the window manager dwm. No compiz.
|
# ? Jun 26, 2011 04:07 |
|
haha who uses compiz with dwm? You configure dwm by applying patches, editing config.h, sometime writing a little code, and recompiling. Most stuff you can do just from editing config.h and recompiling though.
|
# ? Jun 26, 2011 09:29 |
|
Megaman posted:I didn't clarify, I meant all from the command line, and through the window manager dwm. No compiz. You could give awesome a try though, if you don't like recompiling software.
|
# ? Jun 26, 2011 09:46 |
|
What would be the most elegant alternative to mountpoint for pre-2004 systems? I want to check for a mounted Samba share in rc.local. Don't like to, but I'm still spamming kernel messages over all terminals.
|
# ? Jun 26, 2011 15:55 |
|
Underflow posted:What would be the most elegant alternative to mountpoint for pre-2004 systems? I want to check for a mounted Samba share in rc.local. Don't like to, but I'm still spamming kernel messages over all terminals. I don't fully understand your question. You want to check if a remote server has a mountpoint available? Just guessing here, but what if you'd just put it in fstab (fs would be cifs) and use the "bg" option meaning the system will try to mount it at boot but continue booting if it's not available. e: actually that option may be specific to NFS, need to check up on that.
|
# ? Jun 26, 2011 16:03 |
|
spankmeister posted:I don't fully understand your question. You want to check if a remote server has a mountpoint available? I have an earlier version of Samba cause the share is on a Win95 machine. Cifs only does NTFS, yep. I do this atm: mountpoint -q /mnt/X || smbmount //X/pub /mnt/X -o password=Y,username=Z but mountpoint is from 2004 and I need to do the same thing on older machines. Upgrading is not an option cause of custom hardware drivers that would be a huge pain to rewrite. e: mountpoint checks if there's anything mounted at all under the specified mountpoint - on the local machine
|
# ? Jun 26, 2011 16:12 |
|
Hmm you could use stat to see what device a directory is on, if it's mounted it will be different from it's parent. You could also compare the path to see if it's in /etc/mtab, or even do some grepping on the output of "mount". I like the stat option best.
|
# ? Jun 26, 2011 16:26 |
|
spankmeister posted:Hmm you could use stat to see what device a directory is on, if it's mounted it will be different from it's parent. You could also compare the path to see if it's in /etc/mtab, or even do some grepping on the output of "mount". Okay, thanks; will do.
|
# ? Jun 26, 2011 16:31 |
|
Underflow posted:Okay, thanks; will do. Did some experimentation: code:
code:
|
# ? Jun 26, 2011 16:42 |
|
spankmeister posted:Did some experimentation: Great, thanks a lot!
|
# ? Jun 26, 2011 16:50 |
|
Yesterday I took my old PC, replaced the crappy old small IDE drives with a nice 1TB SATA and installed Ubuntu Server. (I figured Ubuntu is one of the most widely supported distributions around right now for novice-ish users). It's primary purpose, at the moment, is a file server for all of our media. I used a combination of guides to gets samba working about as easily as possible (basically with a complete lack of security... but the server is only accessible on our LAN, so that's fine with me), but I am running into a slightly annoying problem. I'm using k9copy to rip our DVD collection, which works fairly well, but I can't get it to output to my samba shared directory. I have to output my ISOs to my home folder and use sudo to move them to the share, so obviously I am not understanding permissions correctly. The way the guide I used had me set up the shares was with nobody:nogroup permissions, which as best I can tell is essentially a lack of security (equivalent to Everyone in Windows?) But if that were the case, I wouldn't think I would need to use sudo in order to put files there. Windows PCs can write files to the share with no issue. === 2nd question: Right now, I've just got the one drive because I'm on a budget, but in the future I plan on adding significantly more storage. The Linux file system is still fairly mysterious to me, but I understand it's capable of some pretty magical things. If I add a second harddrive, will I be able to make that space available to my existing samba share, or will I need to create a new share when I get to that point?
|
# ? Jun 26, 2011 17:24 |
|
brc64 posted:The way the guide I used had me set up the shares was with nobody:nogroup permissions, which as best I can tell is essentially a lack of security (equivalent to Everyone in Windows?) But if that were the case, I wouldn't think I would need to use sudo in order to put files there. Windows PCs can write files to the share with no issue. When your Windows PCs access Samba without authenticating, Samba is mapping the Windows anonymous user to "nobody." They're writing as "nobody." Your user is trying to write as your user. You aren't "nobody." brc64 posted:2nd question: Right now, I've just got the one drive because I'm on a budget, but in the future I plan on adding significantly more storage. The Linux file system is still fairly mysterious to me, but I understand it's capable of some pretty magical things. If I add a second harddrive, will I be able to make that space available to my existing samba share, or will I need to create a new share when I get to that point? Buy two new drives, create a software RAID-1 array, and migrate your shares to the RAID-1. (You don't really care if you lose the root drive, it's easy to backup configs and reinstall the OS.) When the time comes, you'll turn off samba, move all the data to a new filesystem on the RAID-1, and mount that filesystem at the old mountpoint. If the new LVM volume is foo/bar, and your shares are at /samba-shares, here's a cheap example: code:
|
# ? Jun 26, 2011 17:31 |
|
Empty Threats posted:When your Windows PCs access Samba without authenticating, Samba is mapping the Windows anonymous user to "nobody." They're writing as "nobody." quote:You *can* add a new drive to the existing filesystem, but you *shouldn't*.
|
# ? Jun 26, 2011 17:43 |
|
brc64 posted:Yesterday I took my old PC, replaced the crappy old small IDE drives with a nice 1TB SATA and installed Ubuntu Server. (I figured Ubuntu is one of the most widely supported distributions around right now for novice-ish users). It's primary purpose, at the moment, is a file server for all of our media. How big are the IDEs, are they okay, and do you still have them? brc64 posted:I used a combination of guides to gets samba working about as easily as possible (basically with a complete lack of security... but the server is only accessible on our LAN, so that's fine with me), but I am running into a slightly annoying problem. I use this with smbmount mounting a share on an old FAT fs, but the options may still be valid: -o dmask=770,fmask=660,gid=wheel,password=$your_pwd,username=$your_uid For total freedom you can set the dmask to 777, the fmask to 666, the gid to users. brc64 posted:2nd question: Right now, I've just got the one drive because I'm on a budget, but in the future I plan on adding significantly more storage. The Linux file system is still fairly mysterious to me, but I understand it's capable of some pretty magical things. If I add a second harddrive, will I be able to make that space available to my existing samba share, or will I need to create a new share when I get to that point? You can make it available as long as the permissions on that drive/partition make it available to who you want (don't know if the initial perms used when you mounted the smb share will carry over) and place a symbolic link in the original Samba share's directory
|
# ? Jun 26, 2011 17:44 |
|
Underflow posted:How big are the IDEs, are they okay, and do you still have them? quote:I use this with smbmount mounting a share on an old FAT fs, but the options may still be valid: quote:You can make it available as long as the permissions on that drive/partition make it available to who you want (don't know if the initial perms used when you mounted the smb share will carry over) and place a symbolic link in the original Samba share's directory
|
# ? Jun 26, 2011 18:10 |
|
Add your user to the nobody group. As long as the group has the permissions you want, you're golden.
|
# ? Jun 26, 2011 18:38 |
|
Lonely Wolf posted:haha who uses compiz with dwm? You configure dwm by applying patches, editing config.h, sometime writing a little code, and recompiling. Most stuff you can do just from editing config.h and recompiling though. Where is config.h? I did a find from / and no such a file exists. Do I have to make it? And if so where?
|
# ? Jun 26, 2011 18:57 |
|
Thermopyle posted:Add your user to the nobody group. As long as the group has the permissions you want, you're golden. I'm now a member of nogroup, but I'm still getting permission denied without using sudo. Here are the permissions for the folder I'm trying to copy into: code:
Group and Other lack write permissions. But hmm, now that I'm a member of nogroup, why isn't 775 sufficient? I only get rid of the permission denied error with 777... I mean, I guess it doesn't really matter... I'm not at all worried about security for my purposes, but I am interesting in learning.
|
# ? Jun 26, 2011 18:57 |
|
How much data is on the 1TB drive? Do you have enough scratch space to copy everything off of it, wipe it and reformat it? If so, you should do that. After copying everything off of the 1TB disk, unmount its filesystem and modify its partition table (assuming that the disk is /dev/sdb): code:
code:
code:
I haven't tested these instructions and typed some of it from memory (and man pages), but this should be pretty painless.
|
# ? Jun 26, 2011 19:07 |
|
brc64 posted:Two 120 GBs and one 250 GB. They're okay. I mainly just pulled them out to clean things up and simplify my life a little bit. In hindsight, I guess I could have kept one and used that for the OS and the entire new drive for data, but whatever. Yes, you can easily use those for extra space. almost 500Gb isn't bad. To keep things simple, you could mount them under /120a, /120b, /250. brc64 posted:I barely understand this, but I think you're suggesting I mount my own SMB share on the server? That, or I really don't understand what you said at all. You're on a Linux machine trying to access a Windows share, right? The mount command for that is: mount -t cifs //NameOfTheWindowsMachine/NameOfTheShare /EmptyDirectoryToMountTheShareIn Now see if the same command will work with the options I mentioned: mount -t cifs //NameOfTheWindowsMachine/NameOfTheShare /EmptyDirectoryToMountTheShareIn -o dmask=777,fmask=666,gid=users,password=PasswordOnTheWindowsShare,username=YourUsernameOnTheWindowsMachine Oh and if you want to go the nogroup route: I think I vaguely remember something about group order being important, so maybe it would work if you have 'nogroup' listed before 'users'. Could be nonsense, but worth a try. e: NB: there's a space between the '-o' and the options that follow And... brc64 posted:I'm now a member of nogroup, but I'm still getting permission denied without using sudo. Here are the permissions for the folder I'm trying to copy into: That's not a 775 dir, that's a 755 Try it after you type this as su: 'chmod 775 /PathOfYourDirectory'. Underflow fucked around with this message at 20:07 on Jun 26, 2011 |
# ? Jun 26, 2011 20:02 |
|
brc64 posted:I'm now a member of nogroup, but I'm still getting permission denied without using sudo. Here are the permissions for the folder I'm trying to copy into: Changes in group membership will not apply to any logged in sessions. Log out and log back in to become a member of the group. Re: the disks, use one of the old crappy IDE disks for the boot/root/swap filesystems. Root doesn't need to be big or fast. 8GB will do. Use the entirety of the 1 TB drive for your Samba shares. Be sure to use LVM, in order to ease later migration to software RAID. (It's probably best to use a separate LVM VG, too. You don't HAVE to, but it will be less of a pain in your rear end.) Honestly, what the hell kind of data can you put on a 1TB drive that isn't worth $80 to protect? Restoring 1TB of data from backup is a huge pain in the rear end. It's hard for me to believe that your time is worth less than the $80 for a second drive.
|
# ? Jun 26, 2011 20:07 |
|
Underflow posted:You're on a Linux machine trying to access a Windows share, right? quote:That's not a 775 dir, that's a 755 Try it after you type this as su: 'chmod 775 /PathOfYourDirectory'. Empty Threats posted:Changes in group membership will not apply to any logged in sessions. Log out and log back in to become a member of the group. quote:Use the entirety of the 1 TB drive for your Samba shares. Be sure to use LVM, in order to ease later migration to software RAID. (It's probably best to use a separate LVM VG, too. You don't HAVE to, but it will be less of a pain in your rear end.) quote:Honestly, what the hell kind of data can you put on a 1TB drive that isn't worth $80 to protect? Restoring 1TB of data from backup is a huge pain in the rear end. It's hard for me to believe that your time is worth less than the $80 for a second drive.
|
# ? Jun 26, 2011 20:33 |
|
|
# ? May 21, 2024 01:35 |
|
brc64 posted:It's all just media from our different PCs, plus our DVD collection I've been ripping, all for streaming to XBMC. It's nothing mission critical or anything that would give me a heart attack in the event of sudden catastrophic harddrive failure. I do intend to add redundancy, but I could only afford to start small and I wanted to get the project moving. I know the feeling. I ripped ~300 DVDs for the same purpose, with the same application. It took me about 5 minutes of work per DVD. (plus quite a few minutes of waiting) You can fit ~100 complete DVDs (or ~250 DVD features) inside a "1TB" drive. At five minutes a pop, that's between 10 and 20 hours of work. A second 1TB HDD is about $80. Is your leisure time really worth less than four bucks an hour? Notorious b.s.d. fucked around with this message at 21:46 on Jun 26, 2011 |
# ? Jun 26, 2011 21:38 |