localectl set-locale LANG=en_US.UTF-8
باید در اون فایل خط مذکور وجود داشته باشه. سپس locale-gen رو اجرا کرده باشید که locale فعال شده رو تولید کنه. در نهایت هم :این کارها رو انجام دادم ولی بازم مشکل حل نشدکد: [انتخاب]localectl set-locale LANG=en_US.UTF-8
از تو دایرکتوری هوم برید اینجا و خروجی ls رو بزاریدباید در اون فایل خط مذکور وجود داشته باشه. سپس locale-gen رو اجرا کرده باشید که locale فعال شده رو تولید کنه. در نهایت هم :این کارها رو انجام دادم ولی بازم مشکل حل نشدکد: [انتخاب]localectl set-locale LANG=en_US.UTF-8
.oh_my_zsh/themes/
از تو دایرکتوری هوم برید اینجا و خروجی ls رو بزاریدخروجی دستورکد: [انتخاب].oh_my_zsh/themes/
ls ./.oh-my-zsh/themes
به صورت زیر هست3den.zsh-theme kennethreitz.zsh-theme
adben.zsh-theme kiwi.zsh-theme
af-magic.zsh-theme kolo.zsh-theme
afowler.zsh-theme kphoen.zsh-theme
agnoster.zsh-theme lambda.zsh-theme
alanpeabody.zsh-theme linuxonly.zsh-theme
amuse.zsh-theme lukerandall.zsh-theme
apple.zsh-theme macovsky-ruby.zsh-theme
arrow.zsh-theme macovsky.zsh-theme
aussiegeek.zsh-theme maran.zsh-theme
avit.zsh-theme mgutz.zsh-theme
awesomepanda.zsh-theme mh.zsh-theme
bira.zsh-theme michelebologna.zsh-theme
blinks.zsh-theme mikeh.zsh-theme
bureau.zsh-theme miloshadzic.zsh-theme
candy-kingdom.zsh-theme minimal.zsh-theme
candy.zsh-theme mira.zsh-theme
clean.zsh-theme mlh.zsh-theme
cloud.zsh-theme mortalscumbag.zsh-theme
crcandy.zsh-theme mrtazz.zsh-theme
crunch.zsh-theme murilasso.zsh-theme
cypher.zsh-theme muse.zsh-theme
dallas.zsh-theme nanotech.zsh-theme
darkblood.zsh-theme nebirhos.zsh-theme
daveverwer.zsh-theme nicoulaj.zsh-theme
dieter.zsh-theme norm.zsh-theme
dogenpunk.zsh-theme obraun.zsh-theme
dpoggi.zsh-theme peepcode.zsh-theme
dstufft.zsh-theme philips.zsh-theme
dst.zsh-theme pmcgee.zsh-theme
duellj.zsh-theme pygmalion-virtualenv.zsh-theme
eastwood.zsh-theme pygmalion.zsh-theme
edvardm.zsh-theme random.zsh-theme
emotty.zsh-theme re5et.zsh-theme
essembeh.zsh-theme refined.zsh-theme
evan.zsh-theme rgm.zsh-theme
fino-time.zsh-theme risto.zsh-theme
fino.zsh-theme rixius.zsh-theme
fishy.zsh-theme rkj-repos.zsh-theme
flazz.zsh-theme rkj.zsh-theme
fletcherm.zsh-theme robbyrussell.zsh-theme
fox.zsh-theme sammy.zsh-theme
frisk.zsh-theme simonoff.zsh-theme
frontcube.zsh-theme simple.zsh-theme
funky.zsh-theme skaro.zsh-theme
fwalch.zsh-theme smt.zsh-theme
gallifrey.zsh-theme Soliah.zsh-theme
gallois.zsh-theme sonicradish.zsh-theme
garyblessington.zsh-theme sorin.zsh-theme
gentoo.zsh-theme sporty_256.zsh-theme
geoffgarside.zsh-theme steeef.zsh-theme
gianu.zsh-theme strug.zsh-theme
gnzh.zsh-theme sunaku.zsh-theme
gozilla.zsh-theme sunrise.zsh-theme
half-life.zsh-theme superjarin.zsh-theme
humza.zsh-theme suvash.zsh-theme
imajes.zsh-theme takashiyoshida.zsh-theme
intheloop.zsh-theme terminalparty.zsh-theme
itchy.zsh-theme theunraveler.zsh-theme
jaischeema.zsh-theme tjkirch_mod.zsh-theme
jbergantine.zsh-theme tjkirch.zsh-theme
jispwoso.zsh-theme tonotdo.zsh-theme
jnrowe.zsh-theme trapd00r.zsh-theme
jonathan.zsh-theme wedisagree.zsh-theme
josh.zsh-theme wezm+.zsh-theme
jreese.zsh-theme wezm.zsh-theme
jtriley.zsh-theme wuffers.zsh-theme
juanghurtado.zsh-theme xiong-chiamiov-plus.zsh-theme
junkfood.zsh-theme xiong-chiamiov.zsh-theme
kafeitu.zsh-theme ys.zsh-theme
kardan.zsh-theme zhann.zsh-theme
کلا ohmyzsh رو هم نصب نکنم اون مشکلی که علامت فلش رو نمیشناسه وجود داره
sudo vipw
این دستورو بزن یه فایل باز می کنه محتویات فایل ر کپی کن اینجاچه دلیلی داره خروجی این دستور رو بفرستم؟کد: [انتخاب]sudo vipw
فایل /etc/passwd رو باز می کنه از اون باید ببینیم چه شلی برا هر یوزر تنظیم شدهاین دستورو بزن یه فایل باز می کنه محتویات فایل ر کپی کن اینجاچه دلیلی داره خروجی این دستور رو بفرستم؟کد: [انتخاب]sudo vipw
التبه اینن فقط برا مطمعن شدنه بعد این که مطمعن شدی شل همه ی یوزر ها (هم روت هم مال خودت) رو زد اس اچ تنظیم شده باید فایل .zshrc رو باز کنی و اینو توش کپی کنی(به حای یوزر نیم اسم فولدر هوم یوزرتو بزن)این دستورو بزن یه فایل باز می کنه محتویات فایل ر کپی کن اینجاچه دلیلی داره خروجی این دستور رو بفرستم؟کد: [انتخاب]sudo vipw
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/username/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git zsh-syntax-highlighting vim-interaction)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
یدونه اسکرین شات هم از ترمینالت بنداز که اون مربع رو ببینیمباید در اون فایل خط مذکور وجود داشته باشه. سپس locale-gen رو اجرا کرده باشید که locale فعال شده رو تولید کنه. در نهایت هم :این کارها رو انجام دادم ولی بازم مشکل حل نشدکد: [انتخاب]localectl set-locale LANG=en_US.UTF-8
getent passwd $USER | awk -F: '{print $7}'
$ awk -F: -v user="$USER" '$1 == user {print $NF}' /etc/passwd
/bin/bash
localectl status
localectl status
به صورت زیر هست: System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/a
برای این سوال که چه فونت هایی رو نصب دارم دستور زیر درست هست؟ ls /usr/share/fonts
100dpi adobe-source-code-pro encodings iranian OTF xseries
75dpi cantarell gsfonts liberation util
اینجا گفته شده با نصب قلم مشکل حل میشه.دم شما گرم، فونت های پایین رو نصب کردم درست شدhttps://github.com/Microsoft/WSL/issues/1517
مرتبط: نصب قلمهای فارسی (https://wiki.ubuntu.ir/wiki/%D9%86%D8%B5%D8%A8_%D9%82%D9%84%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%81%D8%A7%D8%B1%D8%B3%DB%8C)
کار خاصی نکردم فقط مشکل را جستجو کردم، اولین نتیجه همین پیوند بود.ممنونم، حتما
خوشحالم که مشکل حل شد. ممنون که به عنوان تاپیک عبارت حل شد اضافه کردید.
لطفا روش حل مشکل و تصویر پس از درست شدن را نیز قرار دهید که بعدها قابل استفاده باشه.
git clone https://github.com/powerline/fonts.git
کلون میکنیم بعد وارد پوشه fonts میشیم و دستور زیر رو اجرا میکنیم:bash install.sh