archlinux

gnome-terminal doesn't work maybe because of locale setting

倖福魔咒の 提交于 2020-01-13 11:03:30
问题 I installed Antergos (easy version of Arch) with the Japanese environment. But I wanted to chaned the language to English, so I reffer the wiki article then run some commands after uncomment #en_US.UTF-8 UTF-8 in /etc/locale.gen and edit /etc/locale.conf into following: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC

gnome-terminal doesn't work maybe because of locale setting

ε祈祈猫儿з 提交于 2020-01-13 11:03:28
问题 I installed Antergos (easy version of Arch) with the Japanese environment. But I wanted to chaned the language to English, so I reffer the wiki article then run some commands after uncomment #en_US.UTF-8 UTF-8 in /etc/locale.gen and edit /etc/locale.conf into following: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC

gnome-terminal doesn't work maybe because of locale setting

大憨熊 提交于 2020-01-13 11:03:18
问题 I installed Antergos (easy version of Arch) with the Japanese environment. But I wanted to chaned the language to English, so I reffer the wiki article then run some commands after uncomment #en_US.UTF-8 UTF-8 in /etc/locale.gen and edit /etc/locale.conf into following: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC

js-bson: Failed to load c++ bson extension, using pure JS version

旧时模样 提交于 2020-01-13 04:30:28
问题 I tried to install mean.io stack on an arch linux mini computer (the cubox). So I install nodejs and mongodb packages. I retrieve the stack with Git, made an npm install (it was ok) but then: I get this error after typing 'grunt': [nodemon] v1.2.1 [nodemon] to restart at any time, enter `rs` [nodemon] watching: *.* [nodemon] starting `node --debug server.js` debugger listening on port 5858 { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load

Unable to start postgresql.service?

北城余情 提交于 2020-01-12 03:40:35
问题 I'm using arch linux (4.8.13-1-ARCH). I'm trying to set up PostgreSQL as instructed here. After performing [postgres@BitBox ~]$ initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data' The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on

ArchLinux下i3wm简单配置和美化

℡╲_俬逩灬. 提交于 2020-01-12 01:49:39
先show下自己配置的截图,简单弄了下,凑合用。 本文默认你已经安装了基本的archlinux系统,只是没有配置桌面环境。所以跳过前面archlinux的基础安装过程。 ArchLinux的具体安装请参见我的博客 https://blog.csdn.net/r8l8q8/article/details/76516523 1.安装显卡驱动 和X窗系统 (1)安装显卡驱动 确定显卡型号 执行: # lspci | grep VGA 执行: $ sudo pacman -S 驱动包 官方仓库提供的驱动包: 通用----------------------------------xf86-video-vesa intel----------------------------------xf86-video-intel Geforce7±-------------------------xf86-video-nouveau Geforce6/7-------------------------xf86-video-304xx (2)安装X窗口系统 执行: $ sudo pacman -S xorg-server 3.安装登录管理器和i3wm (1)安装sddm登录管理器,可以选择其他登录管理器或者不装用startx启动,具体参见arch wiki 执行 $ sudo pacman -S

MySQL 10x slower on one server compared to another

不羁的心 提交于 2020-01-05 08:27:46
问题 I have a live server and my dev server, and I am finding that queries on my LIVE (not dev) server run 10x slower, even though the live server is more powerful and they are both running comparable load. It's not a database structure thing because I load the backup from the live server into my dev server. Does anybody have any ideas on where I could look for the discrepancy? Could it be a MySQL config thing? Where should I start looking? Live Server: mysql> SELECT count(`Transaction`.`id`) as

Gitlab on archlinux not working -> API not reachable

大城市里の小女人 提交于 2020-01-05 08:22:14
问题 I have tried to install gitlab on archlinux following https://wiki.archlinux.org/index.php/gitlab As 8080 is a well current port, I have switched to 8033. When I try to connect to the website, it prints me 402 error. If I have a look to nginx/gitlab_errors.log I have : 2015/03/23 21:16:00 [error] 29748#0: *1081 connect() failed (111: Connection refused) while connecting to upstream, client: 5.51.59.153, server: gitlab.floth.fr, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8033/",

“dlopen failed: is 32-bit instead of 64-bit” in tests only

筅森魡賤 提交于 2020-01-04 03:15:12
问题 I'm having a set or Gradle modules that uses the core module based on c++ code: Core (C++ with JNI glue, aar with libxyz-jni.so ) Tests (Android instrumentation tests) App (regular Android app) Core module includes native 32 bit libxyz-jni.so compiled for armeabi-v7a and x86 and is compiled to aar . It does not have arm64 libraries. App module depends on Core and is working on arm64 hardware device without any issues (is able to load libxyz-jni.so ) Tests depends on Core and fails to load

Why is the re module trying to import enum.IntFlag?

你离开我真会死。 提交于 2020-01-02 07:04:13
问题 How is it possible that a core module is importing a non-existent name from another core module? Specifically, the re module importing enum.IntFlag Ways to Reproduce It can be reproduced by launching an interpreter and attempting the import, running a program that depends on enum.IntFlag such as pip , viewing the interpreter settings page in Eclipse, using the text editor, running the interactive console in PyDev, ... Directly importing from enum import IntFlag Traceback (most recent call