Tag Info

New answers tagged

0

I use set wrap margin 1 in a 80 char terminal :set textwidth=80 :set wm=1 And it words pretty well. (when you want to switch off wrapping do :set wm=0 )


0

Yes, it should be possible with Virtualbox, by mapping the physical partition with a VMDK file. It is not possible via the GUI, but it can be done via the VBoxManage command. Below link might help: http://www.sysprobs.com/access-physical-disk-virtualbox-desktop-virtualization-software


1

As pointed out by Wieland, the /etc/conf.d/memcached file was removed when the package was changed to use a systemd unit. The /etc/conf.d directory was used by SysVinit, and hence no longer applicable. The options for the service can be edited by editing the systemd unit. The recommended way to do this is to run systemctl edit memcached.service --full. This ...


4

You CPU is slow. A score of 760 for a dual core CPU is bad. If you take a look at the single-core performance for that CPU on the site it's on par with a good Pentium III. The GPU should be good enough for YouTube but together with the CPU it could be not enough. I can watch 760p YouTube in HTML5 on a Pentium M with a much slower AMD GPU. Be sure to have ...


0

jasonwryan pointed me in the right direction. I performed the following steps: 1) downloaded latest installation media and made a bootable USB 2) unencrypted my LUKS LVM volumes 3) mounted my volume to the live USB file system in /mnt/arch, a directory I created (including /mnt/arch/boot, and /mnt/arch/home) 4) connected to the internet with wifi-menu ...


3

I'm not sure you will like this answer, but, in my experience too, using PTP has always caused a high WTF/min. Presumably the camera itself restricts writing in the root folder, or something equally sensical. I would suggest getting your hands on a CompactFlash reader, mounting the filesystem directly, and using that type of access to copy your firmware ...


2

The Arch Linux wiki has a detailled article about configuring the keyboard. If you want to set it only for your user (after login), you can put the setxkbmap command in your ~/.xprofile or ~/.xinitrc. As explained in the wiki, if you want the setting to be global you can create a Xorg configuration file /etc/X11/xorg.conf.d/10-keyboard.conf : Section ...


0

same problem here, rpc-stad failed since the last update (all my computers had the problem after the update). But to solve the pb I just enable/start rpcbind.service sudo systemctl enable rpcbind.service # for the next reboot sudo systemctl start rpcbind.service sudo systemctl restart rpcbind.service Voila


0

You only need a kernel module for exfat to just mount, not neccesarily the tools (checking the filesystem etc). So just install fuse-exfat from the community repo and your done without reboot or manual modprobe or a non-fuse exfat implementation from the AUR (exfat-git or exfat-dkms-git), if you know what you're doing and that it's stable enough for your ...


3

This is a bug. The actual root cause is somewhat deeper: systemd's reload logic is flawed. That's why you saw it only when you had actually enabled a unit (i. e. a "disabled -> enabled" transition had taken place): in this case systemd implicitly reloads the units. I'm working on fixing the bug; in the meantime, if this manifestation (spontaneous volume ...


3

Copy .xinitrc from /root/ to /etc/skel/ and when you add users it will be automatically in their homes. For the existing users just copy /root/.xinitrc to their homes and chown it to their user:group.


1

It would apear that the rpcbind systemd unit files went missing: $ find /usr/lib/systemd -name 'rpcbind*' # no output Reinstalling this solved the issue: $ pacman -S rpcbind # [...] $ find /usr/lib/systemd -name 'rpcbind* /usr/lib/systemd/system/rpcbind.service /usr/lib/systemd/system/rpcbind.target /usr/lib/systemd/system/rpcbind.socket $ systemd ...


0

I have similar problem on Ubuntu. The workaround I use is: echo never > /sys/kernel/mm/transparent_hugepage/defrag echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag The source of the workaround can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=879801. The bug was never fixed. This is less drastic then disabling entire ...


1

Try not using /dev/sdX to idendify your devices, instead use its UUID and you should always be safe. Use the blkid command to identify your device's UUID and modify your fstab using UUID=YourDevicesUUID replacing /dev/sdX. You will also need to modify your /etc/grub/grub.cfg to set your root device as the UUID of the drive you want to boot from.


0

Somewhere around version 3.14 gnome added a feature where it remembers the configurations of previously plugged-in monitors. Unfortunately, this feature sometimes prevents gnome from allowing a monitor's proper resolution to be set. Common symptoms are xrandr failing to change the resolution and providing no error as to why, as well as monitors exhibiting ...


-1

The echo should be: echo "ds1307 0x68">/sys/class/i2c-adapter/i2c-1/new_device There are no spaces..... and this works for me. Eon't forget to: systemctl enable <your.service>...


0

The correct solution is on reddit, and I'm repeating it here: It's fine. Remove nvidia-libgl. If you pacman -Si bumblebee, notice that it provides nvidia-ligbl. That means that it covers the dependency for other packages that require nvidia-libgl. by LazinCajun. Permalink


0

In my case being signed in to Chrome was getting in the way. When I opened up an incognito window and went to a random webpage the redirection worked. I got this idea from a post on an Arch Linux thread.


2

You are confusing the rw option with the umask. The rw option merely dictates that the partition is not mounted read-only. The umask option dictates what permission that not set on files and directories. Your current umask of 022 sets the permission bits to 755 which translates to rwxr-xr-x. Change the umask to 000, which should give you 777 or rwxrwxrwx ...


0

It looks to me you have write permission as root. Il you want write permission as pi user (or whoever ) sudo chown pi /mnt/data sudo chmod g+w /mnt/data The rw option in /etc/fstab allow proper user to write on filesystems. It is however seldom use. I once in a while mount a FS ro (read-only) due to migration or backup.


2

On Arch linux, the closest I got was: Edit /etc/systemd/journald.conf to set SystemMaxUse=1M Restarting journal: sudo systemctl restart systemd-journald Resetting SystemMaxUse=200M Re-Restarting the journal On my system, each journal file is 8MB, and the above cleared all but 3, bringing the total size to ~25MB. My use-case was disabling CoW for BTRFS ...


0

I've rewritten the if clause via: #!/bin/sh modprobe -v rtc_ds1307 if [ $? -eq 0 ]; then # rtc is connected and working, use it echo "RTC Hardware connected, getting time" systemctl disable ntpd.service systemctl stop ntpd.service echo "ds1307 0x68" > /sys/class/i2c-adapter/i2c-1/new_device hwclock -s else # rtc is ...


0

The file dpkg.tar.gz is the instructions to actually build the package. Do this, in the directory in which dpkg.tar.gz resides: tar xf dpkg.tar.gz cd dpkg makepkg I had to resolve some dependencies with pacman -S some-stuff to get makepkg to finish. I was left with a file dpkg-1.16.15-1-x86_64.pkg.tar.xz. That's the package file. You have to do this ...


3

DEL doesn't indicate that that process deleted /dev/zero, but that that process is using /dev/zero and the instance of /dev/zero that was being used has since been deleted. For example, if I have a command (say some-command) that uses /some/file and I do: $ some-command & $ rm /some/file $ touch /some/file Then lsof for /some/file would look like: ...


0

I also installed just exfat-utils and fuse-exfat from the community repository but not `exfat-git'. After that mounting of an exfat usbstick worked just fine. Archlinux (3.18.5-3).


4

The rule syntax above may work on some distributions, but did not work on mine (Raspbian). Since I never found a single document that explains all the ins and outs, I wrote my own, to be found here. This is what it boils down to. 1. find out what's on ttyUSB: dmesg | grep ttyUSB 2. list all attributes of the device and pick out a unique identifier set, ...


0

In the current systemd (218 at the time of writing), an entry in /etc/crypttab results in an instance of the systemd-cryptsetup@.service unit being generated by the systemd-cryptsetup-generator that systemd executes when the system is booting up. The generated unit includes a dependency on the path to the key file: RequiresMountsFor=/path/to/key_file ...


1

One way or another, the script cannot be executed. Try to launch it from the shell Check noexec, SELinux, etc (whatever security restrictions you could have) Check the shebang in the first line of the script (spaces before #, spaces before !, verify existence of /bin/sh) By the way: Remove sudo from the script, it is already ran as root The redirection ...


0

I've forced java reinstall process with packman -S --force java_package and now work everything ok!



Top 50 recent answers are included