|
fletcher posted:When I create an application launcher in GNOME 2.16.0, I assume it's creating a file in some folder somewhere? Where is that folder? I want to be able to create them in a script. ~/.gnome2/panel2.d/default/launchers it seems
|
# ? Jul 23, 2014 00:36 |
|
|
# ? Jun 4, 2024 14:02 |
|
xtal posted:D-Bus, PulseAudio and systemd are rightfully absent from many, many Linuxes and BSDs. I just want to find one that's similar to Arch. Right now my eyes are on Crux and Slackware, could anybody help me decide? Slackware sounds like a perfect match. You will be constantly stuck with an outdated OS from the 90s, and you can't ask us for help because nobody actually remembers how to use slirp and Midnight Commander! It's a win-win scenario!
|
# ? Jul 23, 2014 00:40 |
Suspicious Dish posted:~/.gnome2/panel2.d/default/launchers it seems Perfect, thanks!
|
|
# ? Jul 23, 2014 00:42 |
|
evol262 posted:This article is aggressively misleading, technically wrong in some places, castigates systemd for problems sysvinit and other init systems share, and lumps the entire systemd project into a single daemon. It is the epitome of FUD. I've been peripherally aware of the whole drama regarding systemd, and was a little leery when I updated my first machine to a release that used it. Same was true for the first time I used GRUB2. In both cases, the most surprising result was that it was entirely seamless and has never caused me a problem. In fairness, I only run Linux desktops, and don't do a whole lot of hardware changes on a regular basis. Still, even with dual and triple boot systems I have yet to encounter an issue.
|
# ? Jul 23, 2014 00:50 |
|
Flash plugins support systemd now? The same Flash that insists on using HAL still?
|
# ? Jul 23, 2014 01:19 |
|
scroogle nmaps posted:Flash plugins support systemd now? What does flash or HAL have to do with systemd? Did you mean to ask about udev or something?
|
# ? Jul 23, 2014 01:37 |
|
CaptainSarcastic posted:I've been peripherally aware of the whole drama regarding systemd, and was a little leery when I updated my first machine to a release that used it. Same was true for the first time I used GRUB2. In both cases, the most surprising result was that it was entirely seamless and has never caused me a problem. In fairness, I only run Linux desktops, and don't do a whole lot of hardware changes on a regular basis. Still, even with dual and triple boot systems I have yet to encounter an issue. Wait, you're using GRUB2 without any problems? Who are you?
|
# ? Jul 23, 2014 02:46 |
|
Longinus00 posted:What does flash or HAL have to do with systemd? Did you mean to ask about udev or something? I mentioned flash because freedesktop.org is basically a collection of modern APIs and standards for various things to ease eventing and communication. dbus, cairo, Wayland, pulseaudio, etc. It's extremely likely that audio (including flash) will increasingly adhere to these, plus 2d/3d are part of freedesktop (mesa, DRI, et al) Xtal's "no systemd" -> "no freedesktop" basically means "no modern software". Flash works for now, because :adobe:, and it's pretty archaic. But GPU accelerated flash on Wayland in a few years will require freedesktop bits
|
# ? Jul 23, 2014 03:29 |
|
Suspicious Dish posted:Wait, you're using GRUB2 without any problems? Who are you? Someone who avoided using it until 2012 or so.
|
# ? Jul 23, 2014 03:31 |
|
xtal posted:D-Bus, PulseAudio and systemd are rightfully absent from many, many Linuxes and BSDs. I just want to find one that's similar to Arch. Right now my eyes are on Crux and Slackware, could anybody help me decide?
|
# ? Jul 23, 2014 06:47 |
|
explorer.exe must really make them fume at the mouth then
|
# ? Jul 23, 2014 08:17 |
|
Thanks TelcoM for the longer list of suggestions, but between you and evol, I see this question:evol262 posted:Exactly what are you trying to accomplish? I'm in a place where I have to deal with pre-alpha hardware and software, and I need some flexibility in debugging them together on Linux. So I will end up doing some stuff that would normally be stupid. Right now I'm testing on VMs so I am protected against wrecking anything hardcore.
|
# ? Jul 23, 2014 18:36 |
|
Megaman posted:So I dropped to console, and low and behold it's not mounted. The only things that are mounted are: Anyone?
|
# ? Jul 24, 2014 00:53 |
|
Misogynist posted:I'm literally laughing out loud at the people in this article and its comments implying that Linux, a monokernel, needs an init system that imitates a microkernel's design because putting more than one thing into PID 1 is "too complex" I'd be okay without Linux, but I guess I am in the Linux thread! xtal fucked around with this message at 01:33 on Jul 24, 2014 |
# ? Jul 24, 2014 01:24 |
|
xtal posted:I'd be okay without Linux, but I guess I am in the Linux thread! Maybe try Linux From Scratch or invent your own Linux
|
# ? Jul 24, 2014 01:49 |
|
Megaman posted:Anyone? #fdisk -l And I'm guessing you saw the typo in your error message. But run fdisk. Ensure you can see the drive. If not you'll probably need to load the USB modules then check again. And mount it in /mnt/tmp or something. You're running on tmpfs so you can make directories.
|
# ? Jul 24, 2014 01:55 |
|
xtal posted:I'd be okay without Linux, but I guess I am in the Linux thread! Megaman posted:Anyone? When it says the mount fails, check dmesg. I've never played with Debian's autoinstall, but it's probably loopback mounting something. Post /proc/mounts?
|
# ? Jul 24, 2014 04:10 |
|
jaegerx posted:#fdisk -l Yeah, that was just a reply typo. There is no fdisk binary at this level of the installer, the disk is at /dev/sda and the system sees /dev/sda1, but i cannot mount with mount /dev/sda1 /mnt/ or anywhere else. It claims no such file or directory, whatever that means.
|
# ? Jul 24, 2014 04:26 |
|
evol262 posted:This is far from the biggest problem with that pile's arguments, but "it's a hybrid/monokernel" is applicable to literally every major OS out there. Try Hurd or mach. Good luck I posted proc mounts above, there's nothing in it except what debian needs to install a system.
|
# ? Jul 24, 2014 04:27 |
|
Megaman posted:I posted proc mounts above, there's nothing in it except what debian needs to install a system. I mean, please post the actual contents of that file, not just what's mounted. I want to see what's mounted where, with which options. Are you still in the initrd here, or the actual installer?
|
# ? Jul 24, 2014 04:30 |
|
Suspicious Dish posted:Slackware sounds like a perfect match. You will be constantly stuck with an outdated OS from the 90s, and you can't ask us for help because nobody actually remembers how to use slirp and Midnight Commander! It's a win-win scenario! I use Slackware as Virtualbox hypervisor, rock solid, haven't rebooted in 5 years except for a kernel upgrade last year. Slackbuilds/slapt-get makes package install manageable, just don't expect to support the latest and greatest without knowing what the hell you are doing.
|
# ? Jul 24, 2014 04:33 |
|
Megaman posted:Yeah, that was just a reply typo. There is no fdisk binary at this level of the installer, the disk is at /dev/sda and the system sees /dev/sda1, but i cannot mount with mount /dev/sda1 /mnt/ or anywhere else. It claims no such file or directory, whatever that means. Dive into /sys. Ensure it's actually seeing that drive. Check dmesg too. Maybe it's corrupted.
|
# ? Jul 24, 2014 04:35 |
|
evol262 posted:I mean, please post the actual contents of that file, not just what's mounted. I want to see what's mounted where, with which options. It's hard to post the contents of a file when you can't get it onto a disk that can't be mounted. How can I get this file off the installer with no way to mount storage?
|
# ? Jul 24, 2014 04:46 |
|
jaegerx posted:Dive into /sys. Ensure it's actually seeing that drive. Check dmesg too. Maybe it's corrupted. The drive isn't corrupted, I can mount it in another installation, and I can also install the iso just fine without the preseed file. It's just the preseed file that cannot be found because the disk can't be mounted, otherwise it works like a dream.
|
# ? Jul 24, 2014 04:47 |
|
Megaman posted:The drive isn't corrupted, I can mount it in another installation, and I can also install the iso just fine without the preseed file. It's just the preseed file that cannot be found because the disk can't be mounted, otherwise it works like a dream. dmesg says the removable disk got attached as sda, and again I can see it in /dev/sda with its partition /dev/sda1, but it cannot be mounted, and I see no log of it even being attempted to be mounted. Do I need to tell grub to mount this as a loopback device so it can be accessed? Is this a known bug or something?
|
# ? Jul 24, 2014 04:55 |
|
Megaman posted:dmesg says the removable disk got attached as sda, and again I can see it in /dev/sda with its partition /dev/sda1, but it cannot be mounted, and I see no log of it even being attempted to be mounted. Do I need to tell grub to mount this as a loopback device so it can be accessed? Is this a known bug or something? Are you in the initrd or not? The classic answer to "how do I get this off" is over the network, which you can certainly bring up at whatever point you're at. Even configuring netconsole and cat-ing it to syslog pointed at a netconsole server (just netcat works fine for this) works
|
# ? Jul 24, 2014 05:19 |
|
evol262 posted:Are you in the initrd or not? I guess I'm not familiar enough with the linux installer to know what "are you in the initrd or not" means, but I assume this is in the installer since select preseed is not only an option in the installer but when the preseed fails it dumps you to the preseed options which is not the first options in the installer list. Yes, I could probably do this with auto url=blah, but I want to do everything local, hence my problem. I haven't tested url= though.
|
# ? Jul 24, 2014 05:31 |
|
Megaman posted:I guess I'm not familiar enough with the linux installer to know what "are you in the initrd or not" means, but I assume this is in the installer since select preseed is not only an option in the installer but when the preseed fails it dumps you to the preseed options which is not the first options in the installer list. Yes, I could probably do this with auto url=blah, but I want to do everything local, hence my problem. I haven't tested url= though. When the system boots, you see linux /vmlinuz0 foo bar initrd /initrd.img The initrd (or initramfs, depending on distro) is a very minimal filesystem which contains the bare minimum necessary to mount the root filesystem. Kernel boots Initrd is mounted at / if specified (pretty much if you're using modules and don't have support for some critical root bit built into the kernel) initrd/init runs Init is a shell script (older) or invokes dracut (newer) and populates /Dev Switchroot happens and your real root gets mounted The list of mounts you gave is very similar to what you'd see in dracut. If you see services starting, you're past it. But the utilities in the initrd are very limited and things don't always work the way you expect. If you're in the initrd, mounting can be... interesting
|
# ? Jul 24, 2014 06:17 |
|
I've got an ubuntu server I remote into via SSH and I use byobu on it so I can have different tabs and stuff. I'd like to figure out how I can make my sessions in my server persistent, so if I disconnect it'll keep programs running (like irssi) in the background and reload all my byobu tabs I had open before come right back up when I reconnect. Is that possible? I've done a bunch of googling this morning but I can't figure out if I can do this and how to if I can.
|
# ? Jul 24, 2014 14:41 |
|
Megaman posted:So I dropped to console, and low and behold it's not mounted. The only things that are mounted are: In an initrd environment, the device nodes *might* not be an accurate representation of what actually is detected by the kernel. Run "cat /proc/partitions" to see the list of disks and partitions. You might even be able to identify them by their sizes. The problem on mounting might be caused by one of these things: - The appropriate filesystem module might not be included in initrd. Or it is included, but it is not loaded automatically for some reason. "cat /proc/filesystems" will list the filesystem types the kernel can use with the currently-loaded modules. As usual, the modules should be at /lib/modules/<your_kernel_version>/. - If you are trying to use the same initrd file as when booting from an actual installation DVD, it might only contain the drivers for iso9660 filesystem, and thus be usable for actual CD/DVD installation only. To successfully use USB sticks and other HD-style media, there might be an alternative initrd image available that contains more drivers in the initrd phase. For example, Debian has separate initrd images for CD-ROM, HD-media and network boot. RHEL's "network boot" initrd doubles as "all the bells and whistles" initrd. Make sure you're using the installer initrd that is intended for HD-media installations: it is usually noticeably bigger than the CD-only version. For Debian, see: http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/ If you want the testing or unstable version, they are in similar paths: /debian/dists/<jessie|sid>/main/installer-<architecture>/current/images/ - Other than the filesystem driver module, accessing an USB stick also requires the driver modules for the appropriate USB host adapter (in modern systems, ehci_hcd and ehci_pci for USB2 support; xhci_hcd would be USB3). If these are missing from the initrd environment or not loaded, you might also see just the kind of failures you're seeing. Most Linux installers I've seen will send some log output to a virtual console or two. You found the console with the root prompt, now try Ctrl-Alt-<other function keys>. If you find the installer's log output, try pressing Shift-PageUp or Shift-PageDown: there might be some amount of scroll-back buffer available.
|
# ? Jul 24, 2014 15:41 |
|
Megaman posted:I guess I'm not familiar enough with the linux installer to know what "are you in the initrd or not" means, but I assume this is in the installer since select preseed is not only an option in the installer but when the preseed fails it dumps you to the preseed options which is not the first options in the installer list. Yes, I could probably do this with auto url=blah, but I want to do everything local, hence my problem. I haven't tested url= though. According to that you either put the file in your initrd image or you pass it at boot time with a boot parameter. If it's anything like what I have worked with in the past with kickstart files the options won't be 1 for 1 identical to Linux system devices. They have an example that has /hd-media but I don't know if that's a directory or the name it uses to identify the usb.
|
# ? Jul 24, 2014 15:43 |
|
100 HOGS AGREE posted:I've got an ubuntu server I remote into via SSH and I use byobu on it so I can have different tabs and stuff. Byobu is just a wrapper for tmux or screen. I think if you hit F6 it'll disconnect you from your tmux session and you can logout. The next time you log in and run byobu, you should reconnect to your old session.
|
# ? Jul 24, 2014 15:47 |
|
Mr. Fix It posted:Byobu is just a wrapper for tmux or screen. I think if you hit F6 it'll disconnect you from your tmux session and you can logout. The next time you log in and run byobu, you should reconnect to your old session. That did it thanks a bunch, I'll just have to remember to mash F6 when I'm done instead of just closing the putty window.
|
# ? Jul 24, 2014 16:14 |
|
100 HOGS AGREE posted:That did it thanks a bunch, I'll just have to remember to mash F6 when I'm done instead of just closing the putty window. Just closing putty should already leave everything running. Take a look at this and see if you need to fiddle with something/already fiddled with the wrong thing. https://help.ubuntu.com/14.04/serverguide/byobu.html edit: I have mine to set to always launch when I log on. thebigcow fucked around with this message at 17:24 on Jul 24, 2014 |
# ? Jul 24, 2014 17:22 |
|
thebigcow posted:Just closing putty should already leave everything running. Take a look at this and see if you need to fiddle with something/already fiddled with the wrong thing. Oh I'm a moron. I was typing exit every time like a goob.
|
# ? Jul 24, 2014 17:47 |
|
So, I have a CSV in LibreOffice and I want to remove duplicates. To be specific, I don't want to just remove duplicate entries, but I want to remove any item that has duplicate entries. So something like: code:
code:
|
# ? Jul 24, 2014 20:44 |
|
the posted:So, I have a CSV in LibreOffice and I want to remove duplicates. To be specific, I don't want to just remove duplicate entries, but I want to remove any item that has duplicate entries. this depends a lot on how the csv file is, but uniq -u $FILE would at least only print lines that are unique.
|
# ? Jul 24, 2014 20:47 |
|
telcoM posted:- If you are trying to use the same initrd file as when booting from an actual installation DVD, it might only contain the drivers for iso9660 filesystem, and thus be usable for actual CD/DVD installation only. To successfully use USB sticks and other HD-style media, there might be an alternative initrd image available that contains more drivers in the initrd phase. For example, Debian has separate initrd images for CD-ROM, HD-media and network boot. RHEL's "network boot" initrd doubles as "all the bells and whistles" initrd. Make sure you're using the installer initrd that is intended for HD-media installations: it is usually noticeably bigger than the CD-only version. Ok, so the problem looks to be the initrd.gz I've used the one for stable hd-media and it now progresses past preseed, but errors out on finding the image. The image I'm using is stable mini.iso, is there a way I can get it to detect this particular image? The reason I'm using mini.iso is to be able to install testing, you cannot do this with regular netinstall.
|
# ? Jul 25, 2014 18:53 |
I've got a bash script that does conditional like this:code:
edit: removing the quotes around the regex seems to fix it fletcher fucked around with this message at 01:01 on Jul 26, 2014 |
|
# ? Jul 26, 2014 00:35 |
|
|
# ? Jun 4, 2024 14:02 |
|
I'm using Debian testing, and I connected my laptop to an ethernet cable the other day instead of wifi. Ever since then, whenever I boot up my laptop it seems to be sending a request for the wired interface over wifi, bringing the interface up, and trying to access the internet over that interface even though the cable is not connected. If I just bring the interface down then the wireless connection functions normally. Here is the contents of /etc/network/interfaces: code:
|
# ? Jul 27, 2014 02:53 |