Questions générales sur Manjaro Linux.
S'il vous plaît, avant de poster, essayez la fonction de recherche du forum.

"clavier" français / anglais

#21Messageil y a 5 ans

System:
  Host: lenovo Kernel: 4.19.1-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN tk: Gtk 3.24.1 info: xfce4-panel 
  wm: xfwm4 dm: LightDM 1.28.0 Distro: Manjaro Linux 
CPU:
  Topology: Quad Core model: AMD A4-7210 APU with AMD Radeon R3 Graphics 
  bits: 64 type: MCP arch: Puma rev: 1 L1 cache: 256 KiB L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 14376 
  Speed: 998 MHz min/max: 1000/1800 MHz boost: enabled Core speeds (MHz): 
  1: 1138 2: 1149 3: 1148 4: 1268 
Graphics:
  Device-1: AMD Mullins [Radeon R3 Graphics] vendor: Lenovo driver: radeon 
  v: kernel bus ID: 00:01.0 chip ID: 1002:9850 
  Display: server: X.Org 1.20.3 driver: radeon resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.19.1-1-MANJARO LLVM 7.0.0) 
  v: 4.5 Mesa 18.2.4 compat-v: 4.4 direct render: Yes 

"clavier" français / anglais

#22Messageil y a 5 ans

il y a une chose bizarre

mjro Kernel: 4.19.1-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 
  Desktop: Xfce 4.12.4 tk: Gtk 2.24.32 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.28.0 Distro: Manjaro Linux 
je suis sur la version stable , et nous sommes en version 4.12.4 Xfce ,
j'ai une partie en Gtk3 mais tout n'a pas fait en Gtk3 pour Xfce

serai-tu sur une branche Test ou Instable ?

a priori radeon c'est bon donc video-ati par mhwd

"clavier" français / anglais

#23Messageil y a 5 ans

>>serai-tu sur une branche Test ou Instable ?
non
linux419, mais j'ai essayé avec linux414, pareil
quand à xfce-gtk3 installé avec pacman, normalement
( mêmes versions sur pc qui fonctionne ! )
>>tout n'a pas fait en Gtk3
faut-il le faire ? comment ?

"clavier" français / anglais

#24Messageil y a 5 ans

alors il semble que de mon coté je suis resté avec ancienne version
pas de gtk3 en local pour Xfce

tu as installé depuis quand sur ton pc Ko ?
il a servi pour du developpement ?

que contient
Fichier:

cat /etc/locale.conf
cat .bashrc

"clavier" français / anglais

#25Messageil y a 5 ans

›cat /etc/locale.conf

LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LANG=fr_FR.UTF-8
›cat .bashrc

[[ $- != *i* ]] && return
colors() {
	local fgc bgc vals seq0
	printf "Color escapes are %s\n" '\e[${value};...;${value}m'
	printf "Values 30..37 are \e[33mforeground colors\e[m\n"
	printf "Values 40..47 are \e[43mbackground colors\e[m\n"
	printf "Value  1 gives a  \e[1mbold-faced look\e[m\n\n"
	# foreground colors
	for fgc in {30..37}; do
		# background colors
		for bgc in {40..47}; do
			fgc=${fgc#37} # white
			bgc=${bgc#40} # black
			vals="${fgc:+$fgc;}${bgc}"
			vals=${vals%%;}
			seq0="${vals:+\e[${vals}m}"
			printf "  %-9s" "${seq0:-(default)}"
			printf " ${seq0}TEXT\e[m"
			printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
		done
		echo; echo
	done
}
[[ -f ~/.extend.bashrc ]] && . ~/.extend.bashrc
[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion
faut que j'y supprimer color() ! d'ailleurs

/usr/share/bash-completion/bash_completion

alias affIP='curl ipecho.net/plain&&echo'
alias dir='dir -a'
alias ls='shopt -s nocaseglob && ls -aAp --color=auto'
alias rm='rm -I'
alias sudo='sudo dbus-run-session'
export DISPLAY=:0.0
export EDITOR=/home/bul/bin/txt
export EXT="/run/media/bul/ext"
export GOROOT="$EXT/Exec/go"
export GOPATH="$GOROOT/path"
export JAVA_HOME="$EXT/Exec/jdk"
export INSTALL4J_JAVA_HOME="$JAVA_HOME/jre"
#export MOZ_PLUGIN_PATH="$HOME/.mozilla/plugins"
#export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
PATH="${PATH}:/home/bul/bin:$JAVA_HOME/bin:$HOME/.gem/ruby/2.3.0/bin:$GOPATH/bin:$GOROOT/bin:/run/media/bul/ext/Exec/node/bin"
export PATH
export QT_QPA_PLATFORMTHEME=qt5ct
function calc(){ awk "BEGIN{ print $* }"; }
PROMPT_COMMAND='printf "\033]0;${PWD}\007"'
PS1="\D{%a %x %R} ${USER} ›"
~/.extend.bashrc

#
# ~/.extend.bashrc
#

# Change the window title of X terminals
case ${TERM} in
	xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
		PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
		;;
	screen*)
		PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"'
		;;
esac

use_color=true

# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS.  Try to use the external file
# first to take advantage of user additions.  Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?}   # sanitize TERM
match_lhs=""
[[ -f ~/.dir_colors   ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs}    ]] \
	&& type -P dircolors >/dev/null \
	&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true

if ${use_color} ; then
	# Enable colors for ls, etc.  Prefer ~/.dir_colors #64489
	if type -P dircolors >/dev/null ; then
		if [[ -f ~/.dir_colors ]] ; then
			eval $(dircolors -b ~/.dir_colors)
		elif [[ -f /etc/DIR_COLORS ]] ; then
			eval $(dircolors -b /etc/DIR_COLORS)
		fi
	fi

	#if [[ ${EUID} == 0 ]] ; then
	#	PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
	#else
	#	PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
	#fi

	#alias ls='ls --color=auto'
	alias grep='grep --colour=auto'
	alias egrep='egrep --colour=auto'
	alias fgrep='fgrep --colour=auto'
else
	if [[ ${EUID} == 0 ]] ; then
		# show root@ when we don't have colors
		PS1='\u@\h \W \$ '
	else
		PS1='\u@\h \w \$ '
	fi
fi

unset use_color safe_term match_lhs sh

alias cp="cp -i"                          # confirm before overwriting something
alias df='df -h'                          # human-readable sizes
alias free='free -m'                      # show sizes in MB
#alias np='nano -w PKGBUILD'
#alias more=less

xhost +local:root > /dev/null 2>&1

complete -cf sudo

# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control.  #65623
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize

shopt -s expand_aliases


# export QT_SELECT=4

# Enable history appending instead of overwriting.  #139609
shopt -s histappend

#
# # ex - archive extractor
# # usage: ex <file>
ex ()
{
  if [ -f $1 ] ; then
    case $1 in
      *.tar.bz2)   tar xjf $1   ;;
      *.tar.gz)    tar xzf $1   ;;
      *.bz2)       bunzip2 $1   ;;
      *.rar)       unrar x $1     ;;
      *.gz)        gunzip $1    ;;
      *.tar)       tar xf $1    ;;
      *.tbz2)      tar xjf $1   ;;
      *.tgz)       tar xzf $1   ;;
      *.zip)       unzip $1     ;;
      *.Z)         uncompress $1;;
      *.7z)        7z x $1      ;;
      *)           echo "'$1' cannot be extracted via ex()" ;;
    esac
  else
    echo "'$1' is not a valid file"
  fi
}

# better yaourt colors
export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"

03/11/2018 installation xfce4-gtk3

>>il a servi pour du developpement ?
depuis toujours, programmes perso ( avec plusieurs langages )
Dernière modification par bulil y a 5 ans, modifié au total 1 fois.

"clavier" français / anglais

#26Messageil y a 5 ans

il te manque /etc/locale.conf

LANG=fr_FR.UTF-8
LC_COLLATE=C

"clavier" français / anglais

#27Messageil y a 5 ans

"clavier" français / anglais

#28Messageil y a 5 ans

et j'ai de mon côté ce problème

locale
LANG=fr_FR.utf8
LC_CTYPE="fr_FR.utf8"
LC_NUMERIC="fr_FR.utf8"
LC_TIME="fr_FR.utf8"
LC_COLLATE=C
LC_MONETARY="fr_FR.utf8"
LC_MESSAGES="fr_FR.utf8"
LC_PAPER="fr_FR.utf8"
LC_NAME="fr_FR.utf8"
LC_ADDRESS="fr_FR.utf8"
LC_TELEPHONE="fr_FR.utf8"
LC_MEASUREMENT="fr_FR.utf8"
LC_IDENTIFICATION="fr_FR.utf8"
LC_ALL=
cad je devrais avoir fr_FR.utf-8 ....

"clavier" français / anglais

#29Messageil y a 5 ans

sudo inxi -GSCxxx

System:
  Host: lenovo Kernel: 4.19.1-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN tk: Gtk 3.24.1 info: xfce4-panel 
  wm: xfwm4 dm: LightDM 1.28.0 Distro: Manjaro Linux 
CPU:
  Topology: Quad Core model: AMD A4-7210 APU with AMD Radeon R3 Graphics 
  bits: 64 type: MCP arch: Puma rev: 1 L1 cache: 256 KiB L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 14376 
  Speed: 998 MHz min/max: 1000/1800 MHz boost: enabled Core speeds (MHz): 
  1: 1126 2: 1013 3: 1162 4: 1241 
Graphics:
  Device-1: AMD Mullins [Radeon R3 Graphics] vendor: Lenovo driver: radeon 
  v: kernel bus ID: 00:01.0 chip ID: 1002:9850 
  Display: server: X.Org 1.20.3 driver: radeon resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.19.1-1-MANJARO LLVM 7.0.0) 
  v: 4.5 Mesa 18.2.4 compat-v: 4.4 direct render: Yes 
cat /etc/locale.conf

LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LANG=fr_FR.UTF-8
LC_COLLATE=C
toujours au même point
merci pour la patience

"clavier" français / anglais

#30Messageil y a 5 ans

puisque tu as un problème avec x11 ce n'est pas locale mais localectl (/etc/vconsole.conf) qu'il faut voir/comparer ?

localectl
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: fr-latin9
      X11 Layout: fr
       X11 Model: pc105
     X11 Variant: latin9
     X11 Options: terminate:ctrl_alt_bksp

"clavier" français / anglais

#31Messageil y a 5 ans

›cat /etc/vconsole.conf

KEYMAP=fr
FONT=
FONT_MAP=
›localectl

System Locale: LANG=fr_FR.UTF-8
                  LC_COLLATE=C
       VC Keymap: fr
      X11 Layout: fr
       X11 Model: pc105
     X11 Variant: oss
les différences sur pc où tout est ok :
›localectl

   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: fr
      X11 Layout: fr
       X11 Model: pc105
     X11 Variant: oss_latin9

/etc/vconsole.conf sont les mêmes

"clavier" français / anglais

#32Messageil y a 5 ans

de mon côté

localectl
   System Locale: LANG=fr_FR.UTF-8
                  LC_COLLATE=C
       VC Keymap: fr-latin9
      X11 Layout: fr
       X11 Model: logitech_base
     X11 Variant: oss_latin9

"clavier" français / anglais

#33Messageil y a 5 ans

"clavier" français / anglais

#34Messageil y a 5 ans

loin d'être sûr que ce qui me semble être des détails
différents puissent être la cause du souci ( ? )
ça peut probablement(?) jouer sur des caractères spéciaux ( «»€œæ... )
pas sur les différences clavier français/anglais.
j'ai peut-être tort...

cat /var/lib/AccountsService/users/bul

[org.freedesktop.DisplayManager.AccountsService]
BackgroundFile='/usr/share/backgrounds/maia.png'

[User]
Email=«pas sur un forum ??????????»
Language=fr_FR.utf8
Session=xfce
XSession=xfce
Icon=/var/lib/AccountsService/icons/bul
SystemAccount=false
sur le pc qui "fonctionne"

[org.freedesktop.DisplayManager.AccountsService]
BackgroundFile='/usr/share/backgrounds/maia.png'

[User]
Icon=/var/lib/AccountsService/icons/bul
SystemAccount=false

"clavier" français / anglais

#35Messageil y a 5 ans

il s'agit des comptes affichés par Display manager pour le login
il faut corriger
Language=fr_FR.utf8 --> fr_FR.utf-8

redémarrer

"clavier" français / anglais

#36Messageil y a 5 ans

fait :

cat /var/lib/AccountsService/users/bul
[org.freedesktop.DisplayManager.AccountsService]
BackgroundFile='/usr/share/backgrounds/maia.png'

[User]
Email=??????
Language=fr_FR.utf-8
Session=xfce
XSession=xfce
Icon=/var/lib/AccountsService/icons/bul
SystemAccount=false
mais pas suffisant, on progresse, mais pas au bout !

"clavier" français / anglais

#37Messageil y a 5 ans

as tu redémarré ou déconnecté cession ?
j'ai vérifié locale est correct de mon côté ,
et j'ai récupéré le clavier pour la TTY par ce biais

"clavier" français / anglais

#38Messageil y a 5 ans

redémarrer sans hésitation
ridicule mais peut-être fr_FR.UTF-8 ?

"clavier" français / anglais

#39Messageil y a 5 ans

c'est en Majuscule dans /etc/locale
et c'est en minuscule pour le COLLAPSE_C ( cad le compilateur )

teste
https://wiki.archlinux.fr/locale
–> avec le source de locale-check.sh
Dernière modification par stephaneil y a 5 ans, modifié au total 1 fois.

"clavier" français / anglais

#40Messageil y a 5 ans

j'ai tenté en majuscules et effectivement ça ne change rien
mais... il y a des guillemets ", alors sait-on jamais (?!?)
je teste dès que possible, je vais être occupé cet après-midi
et je dis ce que ça donne

mais contrôle :

./ctr.sh
 * Parent:     469 xfce4-session
 * Terminal:   996 /usr/bin/sakura
 * Shell:     1001 /bin/bash

notice: Tried to guess parent process from $SESSION_MANAGER.

Looks good. ♥
 * You are using the fr_FR.UTF-8 locale.
 * Shell's locale matches terminal's locale.
 * Terminal's locale matches parent process locale.
@+
Dernière modification par bulil y a 5 ans, modifié au total 2 fois.
Répondre