You are not logged in.
Hi guys.
in the past when i started terminal it was really fast.
but now it takes about 30 second to load.
which is really bad.
btw my laptop performance is good,just about the terminal......
How to fix it?
Xfce4-Updated system.
Last edited by BAR777 (2021-06-26 06:39:17)
Offline
Offline
The question is unclear. What terminal?
Is that xfce4-terminal? If yes, how do you start it? Does passing `--disable-server` affect it? If yes, any D-Bus related error messages in the journal or xorg log?
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
How do you start xfce?
Hi @Slithery.
Xfce registered in systemctl and auto start at system start up.
Just like wiki.archlinux.org tutorial.
Offline
The question is unclear. What terminal?
Is that xfce4-terminal? If yes, how do you start it? Does passing `--disable-server` affect it? If yes, any D-Bus related error messages in the journal or xorg log?
Hi @mpan.
Yes its xfce4-terminal.
Then i have to run it from another terminal with "--disable-server"?
Offline
Just like what where in the wiki and which tutorial?
loginctl session-status
If it's really *only* the terminal, what about
xfce4-terminal -H -e /usr/bin/ls $HOME
And if that's "fast", what $SHELL are you using and are you also using oh-my-{zsh,fish}?
Offline
Just like what where in the wiki and which tutorial?
loginctl session-status
If it's really *only* the terminal, what about
xfce4-terminal -H -e /usr/bin/ls $HOME
And if that's "fast", what $SHELL are you using and are you also using oh-my-{zsh,fish}?
Hi @seth.
This is the code:
"""""""""""2 - bardia (1000)
Since: Thu 2021-06-24 06:03:56 UTC; 12min ago
Leader: 748 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
Desktop: xfce
State: active
Unit: session-2.scope
├─ 748 lightdm --session-child 12 19
├─ 769 xfce4-session
├─ 827 /usr/bin/ssh-agent -s
├─ 836 xfwm4 --display :0.0 --sm-client-id 2e6656817-f9e0-4f7>
├─ 847 xfsettingsd --display :0.0 --sm-client-id 28e5172f8-88>
├─ 858 xfce4-panel --display :0.0 --sm-client-id 2f290a52f-55>
├─ 862 Thunar --sm-client-id 28148b7f1-2691-45d5-b3e0-ffb8e3f>
├─ 867 xfdesktop --display :0.0 --sm-client-id 27e28d503-ba2d>
├─ 877 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 883 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 884 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 885 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 892 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/>
├─ 907 /usr/lib/firefox/firefox --sm-client-id 278cb8f40-a8ea>
├─ 909 xfce4-terminal --geometry=80x23 --display :0.0 --role=>
├─ 910 xfce4-power-manager --restart --sm-client-id 2862f8280>
├─ 963 bash
├─ 978 plank
├─ 988 nm-applet
├─ 989 /usr/lib/tracker-miner-fs-3
├─ 990 /usr/lib/xfce-polkit/xfce-polkit
├─ 993 /usr/lib/geoclue-2.0/demos/agent
├─1006 pamac-tray
├─1302 /usr/lib/firefox/firefox -contentproc -childID 2 -isFo>
├─1319 /usr/lib/firefox/firefox -contentproc -childID 3 -isFo>
├─1413 persepolis
├─1577 aria2c --no-conf --enable-rpc --rpc-listen-port=6801 ->
├─1848 /usr/lib/firefox/firefox -contentproc -childID 5 -isFo>
├─1887 loginctl session-status """""""
Also my shell is bash
Again this command doesnt work
xfce4-terminal -H -e /usr/bin/ls $HOME
Last edited by BAR777 (2021-06-24 06:30:43)
Offline
Please use code tags, https://bbs.archlinux.org/help.php#bbcode and don't copy out of the pager.
Though in this case, and while this has nothing to do with "registered in systemctl and auto start at system start up" *at all*, there's an active session/bus.
What about not running the shell in the terminal?
Offline
Please use code tags, https://bbs.archlinux.org/help.php#bbcode and don't copy out of the pager.
Though in this case, and while this has nothing to do with "registered in systemctl and auto start at system start up" *at all*, there's an active session/bus.What about not running the shell in the terminal?
Could you answer my question clearer? I dont understand.
also my english is not good.
Offline
What?
You added "this command doesnt work" after my post and not "again", but if that's supposed to be your "question", the actual question is how it "doesn't work", https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
What?
You added "this command doesnt work" after my post and not "again", but if that's supposed to be your "question", the actual question is how it "doesn't work", https://bbs.archlinux.org/viewtopic.php?id=57855
@seth
You should answer my question and not saying my grammar mistakes.
Pls if u have any solution say it.
I told u that my english is not perfect.
Edit:See this link for more informtion:
https://ufile.io/d0r1g2eg
btw, sorry for bad quality.
Last edited by BAR777 (2021-06-24 12:07:47)
Offline
It's the same thing:
*What* question?
You haven't asked any.
On the other hand you've not answered *how*
xfce4-terminal -H -e /usr/bin/ls $HOME
"doesn't work".
From the video however it's pretty save to say that the problem is the shell - move away your ~/.bashrc
Offline
From the video however it's pretty save to say that the problem is the shell - move away your ~/.bashrc
I had a similar suspicion after seeing the video; however I'd rather test that suspicion first.
Bar777, wait for the prompt, then launch a new subshell (type `bash` and hit enter). Do you get the next prompt right away, or is there a long delay again?
EDIT: I suppose the most likely meaning of "doesn't work" for the `ls` command is that nothing apparent happens which would be a good thing: the new terminal opens, runs, and exits instantaneously, and thus in the absence of the shell running, the problem is avoided.
Last edited by Trilby (2021-06-24 15:48:52)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
"-H" is supposed to hold the terminal (I don't have xfce4-terminal to test, but it's what the manpage promises)
Offline
xfce4-terminal -H -e /usr/bin/ls $HOME
......................................................................
This command shows :
xfce4-terminal: Unknown option "/home/bardia"
....................................................................................
Last edited by BAR777 (2021-06-24 16:30:54)
Offline
Try
xfce4-terminal -H -e "/usr/bin/ls $HOME"
Offline
seth wrote:From the video however it's pretty save to say that the problem is the shell - move away your ~/.bashrc
I had a similar suspicion after seeing the video; however I'd rather test that suspicion first.
Bar777, wait for the prompt, then launch a new subshell (type `bash` and hit enter). Do you get the next prompt right away, or is there a long delay again?
EDIT: I suppose the most likely meaning of "doesn't work" for the `ls` command is that nothing apparent happens which would be a good thing: the new terminal opens, runs, and exits instantaneously, and thus in the absence of the shell running, the problem is avoided.
Hi @Trilby.
Typing bash lead to that delay again.
Edit:
******GUY PLS WAIT.******
EVEN After a 5 minute nothing happens in terminal and seems like terminal stuck on a pitch black SCREEN.
BUT When I press ENTER Everything returns to the NORMAL State And BASH Loads Successfully!!!!!!!
**********************************
Offline
I gather there's a `read` command or similar somewhere in your shell config(s). Move your ~/.bashrc as suggested and try again.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
I gather there's a `read` command or similar somewhere in your shell config(s). Move your ~/.bashrc as suggested and try again.
@Trilby
How to do it?
Offline
How did you install archlinux?
Offline
How did you install archlinux?
@seth
Thats out of my question.
From arch wiki tutorial
Offline
And you don't know how to move a file?
Offline
And you don't know how to move a file?
@seth
I know.
But which file from * to * ?
And how to set the configs.
Offline
Guys my problem is solved:
The following code in .bashrc was slowing down my terminal:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/usr/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/usr/etc/profile.d/conda.sh" ]; then
. "/usr/etc/profile.d/conda.sh"
else
export PATH="/usr/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
Offline
I had the same problem and this is how I solved it :
It's all about installing Python Anaconda in your Linux ...
When you open the terminal conda going to start and you must disable it.
if you are using zsh you must edit ~/.zshrc and if you are using bash you must edit ~/.bashrc or ~/.bash_profile
you can find this code :
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/usr/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/usr/etc/profile.d/conda.sh" ]; then
. "/usr/etc/profile.d/conda.sh"
else
export PATH="/usr/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
update it like this :
__conda_setup="$(CONDA_REPORT_ERRORS=false '/home/YOUR_USERNAME/miniconda3/bin/conda' shell.zsh hook 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/YOUR_USERNAME/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/YOUR_USERNAME/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/YOUR_USERNAME/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
if you use bash change shell.zsh to shell.bash
Last edited by avasam (2022-07-28 19:41:28)
Offline