I will change the image in Neofetch,whether in this line for change image?
Image Source
--image wall, ascii,path/to/image, /path/to/dir, off
image="wall"
I don't really understand but here's the example usage for each option:
# Inside config
# Config is stored in ~/.config/neofetch
image="wall"
image="ascii"
image="/home/dyl/Pictures/image.png"
image="/home/dyl/Pictures/"
image="off"
# At launch
neofetch --image wall
neofetch --image ascii
neofetch --image /home/dyl/Pictures/image.png
neofetch --image /home/dyl/Pictures/
i had try neofetch --image ~/Pictures/image.jpg in terminal and edit in
~/.xinitrc but nothing happen.
On Mon, Apr 11, 2016 at 8:05 AM, Dylan Araps [email protected]
wrote:
I don't really understand but here's the example usage for each option:
Inside config# Config is stored in ~/.config/neofetch
image="wall"
image="ascii"
image="/home/dyl/Pictures/image.png"
image="/home/dyl/Pictures/"
image="off"At launch
neofetch --image wall
neofetch --image ascii
neofetch --image /home/dyl/Pictures/image.png
neofetch --image /home/dyl/Pictures/โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208105803
Not sure if this will fix your problem, but do you have any of the dependencies for displaying images (I think they are w3m and imagemagick)? If not, try giving the full path to the image (ex. /home/user/pictures/pic.jpg).
i use w3m in my Archinux.
On Tue, Apr 12, 2016 at 1:04 AM, Matthew Treadwell <[email protected]
wrote:
Not sure if this will fix your problem, but do you have any of the
dependencies for displaying images (I think they are w3m and imagemagick)?
If not, try giving the full path to the image (ex.
/home/user/pictures/pic.jpg).โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208479190
You need both w3m, Imagemagick and a terminal emulator that works with w3m-img installed to use image mode.
What terminal emulator are you using?
i use rxvt-unicode and xterm.
On Tue, Apr 12, 2016 at 1:38 PM, Dylan Araps [email protected]
wrote:
You need both w3m, Imagemagick and a terminal emulator that works with
w3m-img installed to use image mode.What terminal emulator are you using?
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208732052
Add set -x to the 2nd line of the script, it should look like this:
#!/usr/bin/env bash
set -x
# vim:bla:bla
# ...
# ...
Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.
so,i only add set -x in ~/xinitrc?
On Tue, Apr 12, 2016 at 3:07 PM, Dylan Araps [email protected]
wrote:
Add set -x to the 2nd line of the script, it should look like this:
!/usr/bin/env bashset -x# vim:bla:bla# ...# ...
Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208771146
oops,i'm sorry what i mean is config neofetch.
On Tue, Apr 12, 2016 at 4:35 PM, Linux Tec [email protected] wrote:
so,i only add set -x in ~/xinitrc?
On Tue, Apr 12, 2016 at 3:07 PM, Dylan Araps [email protected]
wrote:Add set -x to the 2nd line of the script, it should look like this:
!/usr/bin/env bashset -x# vim:bla:bla# ...# ...
Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208771146
You add set -x to the neofetch executable.
i just try to add set +x in line 2 config neofetch,but not showing the
image.
On Tue, Apr 12, 2016 at 4:46 PM, Dylan Araps [email protected]
wrote:
You add set -x to the neofetch executable.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208821135
Adding set -x to the script just prints a verbose log, it's not supposed to display the script correctly.
so,what i must do?
On Tue, Apr 12, 2016 at 5:16 PM, Dylan Araps [email protected]
wrote:
Adding set -x to the script just prints a verbose log, it's not supposed
to display the script correctly.โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208833808
set -x to line 2. (You've already done this)neofetch 2> neofetchlogneofetchlog to pastebin, gist or equivalent.On Tue, Apr 12, 2016 at 5:34 PM, Dylan Araps [email protected]
wrote:
- Add set -x to line 2. (You've already done this)
- Run neofetch 2> neofetchlog
- Upload the contents of neofetchlog to pastebin, gist or equivalent.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208839460
You haven't added set -x to line 2 properly so the log file is empty.
i'm sorry,i check the config evidently i add +x not -x.This is correct log
http://pastebin.com/jE8jm8Tn.
On Tue, Apr 12, 2016 at 5:49 PM, Dylan Araps [email protected]
wrote:
You haven't added set -x to line 2 properly so the log file is empty.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208843313
The script fails to get your terminal size properly, what does this command output?
printf %b%s '\033[14t'
Also, do you currently have X running?
Nothing happen in terminal.
This is why the script is falling back to ascii mode and not displaying the image. On my system the command above prints the terminal window size in pixels.
When the command above fails inside the script neofetch disables image mode as the command above is how we calculate padding/dynamic image sizing.
I'm not sure about _why_ the escape sequence above isn't working for you, the log above shows that you have all of the dependencies installed and you are using a compatible terminal emulator so in theory it should work just fine...
We now know what the problem is so I'll do my best to resolve this for you, thanks for being so patient thus far.
Ok,thanks for help me too.
On 12 Apr 2016 19:55, "Dylan Araps" [email protected] wrote:
This is why the script is falling back to ascii mode and not displaying
the image. On my system the command above prints the terminal window size
in pixels.When the command above fails inside the script neofetch disables image
mode as the command above is how we calculate padding/dynamic image sizing.I'm not sure about _why_ the escape sequence above isn't working for you,
the log above shows that you have all of the dependencies installed and you
are using a compatible terminal emulator so in theory it should work just
fine...We now know what the problem is so I'll do my best to resolve this for
you, thanks for being so patient thus far.โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208891607
What is your current shell?
You can find out by using echo "$SHELL".
I use bash.
On 12 Apr 2016 20:03, "Dylan Araps" [email protected] wrote:
What is your current shell?
You can find out by using echo "$SHELL".
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208894090
Does this command print anything?
bash -c "printf %b%s '\033[14t\033[c'"
the command print ^[[?1;2c~ 1;2c
Yeah, that's not an output that neofetch can use. I'm not sure why this isn't working for you but there's really nothing I can do about this. It's an issue with your system/terminal emulator.
You could try other terminal emulators like xfce4-terminal and termite, they work well with the image modes.
I'm going to close this as this isn't a neofetch issue.
For those of you stumbling across this in the future, this issue is about the terminal emulator not supporting/printing the escape sequence for terminal size correctly.
yes,it's right just now i try in xterm and the image display.But in rxvt not display the image.
Was WSL involved in this? Was this a Linux host or a win10 wsl host?