Skip to content

u/ze_rat

In this archive from Aug 2014 to Jan 2017

0
posts
36
comments
0
media
136
score

Oh, I see now. I would have booted back on the installlation media, mounted the ESP, then made the changes "live".

Alternatively, it seems that the EFI shell might be usable for a manual boot that way (I did not test this):

\EFI\arch\grubx64.efi

Still assuming that this is where grub was installed. No need to add it to the boot menu, which will be lost anyway once the machine is powered off.

1 points

VirtualBox is a weird beast, generally, but for EFI, its support is... quite weird. It cannot save "bios configs", so anything done on the EFI shell or in the menus (are there even menus? I forgot) won't stick around for later boots. The ESP will boot the default location, as specified in the EFI spec, which is /EFI/BOOT/BOOTX64.EFI.

Assuming you mounted the ESP (the EFI special system partition) under /boot/ESP, you would need to make sure you copied the grubx64.efi file to where VirtualBox will read it.

Mostly, it would look like:

sudo mkdir -p /boot/ESP/EFI/BOOT/
sudo cp /boot/ESP/EFI/arch/grubx64.efi  /boot/ESP/EFI/BOOT/BOOTX64.EFI

Do note, though, that this is not needed for most UEFI implementations. If this is practice for a future UEFI install of Arch Linux, make a note in your notes that this is only needed for VirtualBox. You would normally fiddle-fart around in the UEFI menus to configure it, or use efibootmgr.

Think of that step

If I remember correctly, this is the only issue I encountered with the UEFI implementation of VirtualBox, otherwise, it acts pretty much like a standard UEFI implementation.


6 points

Are you using xwiimote? It is not needed for the Wii U Pro Controller. I am using a Pro Controller, too, which is why I find it confusing that it might override the pointer.

(The landscape for Wii[u] peripherals is quite confusing with Linux, since there are a couple of differently-completed projects around with some overlapping features.)

I am using blueman-applet to pair the Pro Controller, but I believe that anything that does the normal bluez pairing works.

1 points

From the wiki

It's also worth mentioning that there is also a xorg driver xf86-input-joystick. It just allows you to control the mouse/keyboard in xorg using a joystick, for most people this will be undesirable. Disabling this behaviour is described below in Disable Joystick From Controlling Mouse, in most cases you can just remove this package though.

TLDR: you might want to remove xf86-input-joystick.

1 points

I've been having issues sometimes with chrome, using xfce, with either compton or XFCE's own compositing.

I still haven't been able to pinpoint the exact cause, but I know that I can reproduce my issue, which is a beautiful thing.

Or, I was, until I updated. I updated yesterday and I cannot reproduce in the same way. I'm using google-chrome-beta, now at version 48.0.2564.41.

My rendering issues were caused by having some particular pages opened in a window, with the window being not minimized. The only particular page I was able to find that gave me issues was the facebook home timeline, though I'd wager that other page do or did cause the issues too.

Once I changed the tab the window showed out of the particular page, or minimized the window, the issue disappeared.

Next time you have issues with rendering in chrome, check the opened windows, even if they are completely overlapped with other windows, it might be the cause of the issue.

Sorry for the rambling, but I'm actually frustrated with that issue, and now even more since I cannot reproduce it anymore.

1 points

Only FEZ. When it wasn't working, it showed me keyboard button mappings as prompts. After rebooting and when it worked, FEZ showed xbox-like button prompts. There is Portal 2, too, which worked, but on another Archlinux setup, for which I don't remember if I had the same issue.

I, otherwise, actually haven't played much with the controller.

I do remember, though, trying with the manual udev rules beforehand, which did not work, but it was a shotgun approach, where I tried many things at once. I do not know what hit the mark and what was useless efforts.

2 points

I had a similar issue. This will seem pretty obvious and maybe frivolous, but I had read that rebooting helps. I wasn't believing it, I had reloaded udev rules, I looked at dmesg and everything looked fine. Still, my steam controller did not work as a gamepad in games started from big pictures until I actually rebooted.

If you haven't already, reboot, then report back.

Oh, and for udev rules, I used [steamcontroller-udevAUR](https://aur.archlinux.org/packages/steamcontroller-udev/). Shouldn't be an issue, here's the udev rules it adds, but I prefer having packages over miscellaneous files in /etc/.

Afterwards, it worked flawlessly with games started from Big Picture either wired or wireless. Steam has to run to work wireless as mouse/keyboard. I did not try to work out functionality without Steam running or with games outside Big Picture and outside Steam.

4 points

Chrome happily does color emoji!

Though, I think it's because I'm coercing it a bit.

I don't remember where I found this information, but I was able to make it work in chrome. I wasn't able to make it work elsewhere, but did not try hard to make it work.

###$ cat .config/fontconfig/conf.d/11-scale-bitmap-fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <match target="scan">
    <test name="family">
      <string>Noto Color Emoji</string>
    </test>
    <edit name="scalable" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="pattern">
    <test name="prgname">
      <string>chrome</string>
    </test>
    <edit name="family" mode="prepend_first">
      <string>Noto Color Emoji</string>
    </edit>
  </match>


</fontconfig>

Don't ask me what any of this does, I'm not entirely sure. I understand the first match is to set the scalable rendering for that particular font. I don't know if it's necessary.

I also understand that the second rule is to set Noto Color Emoji higher in the priority list for chrome, but I don't know how prgname is found. Reading The Fine Manual would probably tell me.

Be warned that if you have some other emoji fonts, some website will put the CSS rules in an order that might override Noto, since the browser will use the fonts in the order defined in the CSS file. I think the litmus test for this is the Emoji page on Wikipedia.

Now, about the flags, I don't know. I think the actual font is different from the one used in Android, but I haven't bothered to verify. Also, I'm not using the packaged font, since I configured this before it was.

3 points

They are not in separate git repositories, but in two collections found here.

You can also use abs to download the PKGBUILDs, and event download only one. (Though, you need to know in which repo it's found.)

By default abs downloads to /var/abs, but you can change where it download with the ABSROOT environment variable, like so:

$ mkdir -p ~/tmp/abs
$ cd ~/tmp/abs
$ ABSROOT="$PWD/"  abs core/bash
==> Starting ABS sync...
[... elided output ...]
$ ls
core
$ ls core/
bash
$ ls core/bash/
bash.install      dot.bashrc    system.bash_logout
dot.bash_logout   PKGBUILD      system.bashrc
dot.bash_profile  privmode-setuid-fail.patch
4 points

It's not obvious from the comment if you did, but you can (and probably should) copy it to your home directory in ${HOME}/.local/share/themes.

This is the currently recommended location for themes according to the XDG specs. If you do, symlink it to ${HOME}/.themes since some parts used by XFCE (and maybe other DEs) are not too keen on that newer location. I know that if I don't, custom GTK themes do not apply properly in the appearance manager even though it's the recommended path by XFCE.

1 points

Since it happens after some time, it could be an issue with memory consumption or just general resources consumption.

  • What are the specs of the computer?
  • What DE or WM are you using?
  • Do you use a compositor?

Then, you could check for abnormal RAM usage of chrome or anything else with something like htop, gnome-system-monitor or xfce4-taskmanager. Be sure to sort with RSS or Resident Memory, whichever your application provides. Other than that, testing with chromium (which is different, but not much, from google-chrome) and maybe another chromium-based browser (opera?) might help to see where the issue lies.

Finally, reporting feedback or reporting an issue are the only other things I could recommend. Try to provide as much information as possible and try to correlate things similar with people that also have the same issue.

(In any case, here's my setup, where I do not have the issue:

  • XFCE4, with xfwm4
  • Compositing is activated through xfwm4
  • 8GB RAM (plus 8GB swap)
  • Haswell i5
  • Haswell-ULT Integrated Graphics Controller

Chrome sits, with a couple of tabs and too many extensions, difficult to exactly pinpoint, but at about 3GB of RAM usage. Checking with chrome's own task manager [right click on its title bar in an empty spot] I can see a single tab using 800MB and a couple extensions using each 200MB. This might sound like a lot, but is usual in my poorly optimized setup. )

2 points

First, try with a fresh profile, only to ascertain that the issue is not with your configuration or extensions.

  1. Quit google chrome entirely
  2. mv "${HOME}/.config/google-chrome" "${HOME}/.config/google-chrome.backup"

Then, re-start google chrome, do not login in your google account and test for input latency. If you log-in with your google credentials, it will most probably reinstall all your extensions.

If the issue is resolved this way, you can either put back your saved profile and try to find out what causes the lag or log back in with your google credentials in that fresh instance of google chrome, the issue could stay resolved by wiping the configuration and re-syncing. Though, this is all grasping at straws.

Personally, I'm using google chrome beta 46 without issues, and had no input issues with when it was google chrome beta 45.

10 points

When you say "acts dead", do you mean like a dead key ([l][space] would print it) or simply that pressing the [L] key unshifted gives nothing?

Does using [Caps Lock] give the same results (instead of shift)? (Though, I do not know how it would help). It shouldn't change anything since copy/pasting does the same thing, I think.

It's not clear whether [l] works in your shell from your message, but if it does not, would you mind changing from zsh to bash to test if it's somehow related to zsh? (Just read your other comment). If it was related to readline, bash might have failed. In that case, looking at ~/.inputrc could have revealed something wrong.

Check the environment variables that affect ncurses in its manpage. Both gpg and ncmpcpp are using ncurses. This might be where the issue lies.

3 points

I tried getting around this by installing arch on the T420's hard drive in a different computer

  • Put back the drive in another computer and install netctl or anything else you'd need.

Alternatively:

  • Download the packages from their respective package page. Download every dependency they need and dependencies of dependencies... and so on. It might not be that bad.
  • Put them on a usb drive.
  • Mount it (obviously!).
  • Then, pacman -U *.pkg.tar.xz those packages.
3 points

Might seem obvious and you might already have done it, but it's not specified in your post:

  • Does your USB drive boot on a different computer than the one you made it on?

You say:

claiming that an ext4 formatted device does not exist

What are the exact messages? Sometimes a paraphrasing might elide specific details.
If you can take a good quality photo of the messages it might be faster than re-typing them out.

You might also want to pastebin or gist your syslinux config, just in case.

The fact that blkid in the early userspace does not detect the usb drive might mean that there's an incompatibility with that specific drive, the legacy bios, linux and the C720, especially if it works in (multiple) other systems. If you can, try copying the drive on a different one (different brand) or re-installing on a different one.

Another thing to try would be to boot the archlinux install image with the sandisk drive. Make sure to do a backup of your setup if you do ☺.

2 points

It's not a tag for material design.

#ma·te·ri·al /məˈtirēəl/

  1. the matter from which a thing is or can be made.
    "goats can eat more or less any plant material"
    synonyms: matter, substance, stuff, medium
                       "the decomposition of organic material"

  2. facts, information, or ideas for use in creating a book or other work.
    "there is much good material here for priests to use in sermons"
    synonyms: information, data, facts, facts and figures, statistics, evidence, details, particulars, background, notes;

In case the formatting is weird

2 points

For the compilation/dependency tracking, you can build in a clean chroot

This makes it pretty obvious when you're missing dependencies, principally for build-time dependencies. For runtime dependencies, if the project has a unit test suite, you can always add check() function to your PKGBUILD. Otherwise, I might suggest testing it in a VM installation of archlinux with the smallest set of packages you can manage to install.

The whole Creating packages wiki page is pretty useful.

19 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.