Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Wallpaper: [Cinnamon] Wrong wallpaper displayed. #470

Closed
ghost opened this issue Dec 1, 2016 · 10 comments
Closed

Wallpaper: [Cinnamon] Wrong wallpaper displayed. #470

ghost opened this issue Dec 1, 2016 · 10 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 1, 2016

Description

Please see title and attached image.

Neofetch version

1.9.1-1ubuntu1

Screenshot

screenshot

Verbose log

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.

Logs:

http://pastebin.com/4pLCgby9
http://pastebin.com/86GUac68

I am on Linux Mint 18.1. Reinstalling neofetch did not help. Previously I had no problem. (I am unsure what has changed on my system in the meantime.)

@dylanaraps dylanaraps added the Bug label Dec 1, 2016
@dylanaraps
Copy link
Owner

I need some more info before I'll be able to help:

  • Do you have a .fehbg file in your home directory?
    • If so, delete it and see if this fixes the issue.
  • The two pastebin links aren't neofetch logs, they're config files.

@ghost
Copy link
Author

ghost commented Dec 1, 2016 via email

@dylanaraps
Copy link
Owner

All good!

This is the command Neofetch is running to get your current wallpaper:

gsettings get org.gnome.desktop.background picture-uri

# Output from neofetch
/home/nicholas/Firefox_wallpaper.png

Cinnamon might have it's own gsettings command for getting the wallpaper, I'll do some investigation.

@dylanaraps dylanaraps changed the title Image for distribution replaced by a fragment of an old (non-current) wallpaper Wallpaper: [Cinnamon] Wrong wallpaper displayed. Dec 1, 2016
@dylanaraps
Copy link
Owner

Does this command print out the right image?

 gsettings get org.cinnamon.desktop.background picture-uri

@ghost
Copy link
Author

ghost commented Dec 1, 2016 via email

@dylanaraps
Copy link
Owner

If image mode is available (w3m-img / imagemagick are installed) then Neofetch will use it by default. You can launch Neofetch with --ascii or edit your config file and change image="wall" to image="ascii" to get the ascii art logos.

I've also fixed the incorrect wallpaper issue and it'll be available next release or if you can't wait you can install the git version.

If you need anymore help let me know.

@ghost
Copy link
Author

ghost commented Dec 1, 2016 via email

@ghost
Copy link
Author

ghost commented Dec 1, 2016 via email

@dylanaraps
Copy link
Owner

The program we're using to draw images w3m-img uses a hack to display the images. It just finds the top left corner of the window and plops it there. Neofetch has a couple of config options that alow you to manually fix the issue but no automatic detection of menu bars or etc can be done.

You can use the launch flags --xoffset px or --yoffset px to change the left and top margins of the image. There are also config options called xoffset and yoffset which let you save the values. Here's an example command you can try: neofetch --yoffset 25

You'll have to keep messing around with the values until the image isn't covering the ui. :)

Image mode was probably enabled when you installed either w3m or imagemagick. Neofetch at first didn't support ascii logos so this is why it's default.

I hope this helps. :)

@ghost
Copy link
Author

ghost commented Feb 19, 2017

The bug - the wrong background showing, and it is misprinted - is alive in Neofetch 3.0.1.2.

image

I have the problem only when I assume super-user privileges in the terminal. As before, gsettings get org.gnome.desktop.background picture-uri names the wrong wallpaper and gsettings get org.cinnamon.desktop.background picture-uri gives the right one.

I've been messing with my .bashrc files (specifically, a /etc/bash.bashrc file is now the master one); perhaps that is the (proximate?) cause of the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant