davatorium / rofi

Rofi: A window switcher, application launcher and dmenu replacement
https://davatorium.github.io/rofi/
Other
13.06k stars 608 forks source link

Rofi not keeping config #826

Closed BitstyRoss closed 6 years ago

BitstyRoss commented 6 years ago

:arrow_right: First read the guidelines! :arrow_left:

Version

1.5.1

Configuration

Configuration file is located here: /home/ywft/.config/rofi/config

rofi.show-icons:            false
rofi.modi:                  drun,run,window,ssh
rofi.lines:                 7
rofi.line-padding:          10
rofi.matching:              fuzzy
rofi.bw:                    0
rofi.padding:               0
rofi.separator-style:       none
rofi.hide-scrollbar:        true
rofi.line-margin:           0
rofi.columns:               4
rofi.font:                  sans-serif 10

rofi.theme: /usr/share/rofi/themes/nord.rasi

Launch Command

It loads the proper config if I use the right click menu in Openbox > preferences > rofi theme selector or if it's loaded from the command line. If i load it using the super key it ignores my formatting for the most part, but does pick up the correct theme. I can change some things, like # of lines but it ignores option to leave out icons and adjust columns.

I have noting under .Xresources and no other config I can find, but it's pulling it from somewhere.

Steps to reproduce

na

What behaviour you see

Loads with my theme with incorrect formatting if loaded using super key in Manjaro Openbox

What behaviour you expect to see

Expect it to load the same config when done via command line

carnager commented 6 years ago

First of all you haven't defined a proper font. There are 2 problems with your choice:

1) sans-serif is not a font at all. It's an alias which can point to different fonts, depending on your environment.

2) It's most likely not a monospace font, which is needed for rofi to display things properly

YWFT commented 6 years ago

That alone will ignore columns and icons yet load fine when loading it via cmd line or with theme selector?? If i dump it and load default config, same deal though.

DaveDavenport commented 6 years ago

Please pastebin the output of rofi -h. (can you also dump the rofi -h output when called from the keybinding?)

carnager commented 6 years ago

Also you mentioned .Xresources. Also check for .Xdefaults. And make sure you don't have a config.rasi file.

BitstyRoss commented 6 years ago

Output from terminal - https://gist.github.com/BitstyRoss/89bd09f1c80a60ca15fb3d4d28aa3b02#file-rofi

When called from the keybinding that launches rofi, the rofi -h command loads firefox lol This came included with Manjaro's Openbox, this i suspect is the issue to some degree.

BitstyRoss commented 6 years ago

@carnager no file, Found a .local/share/rofi/themes/manjaro-openbox.rasi but it's just another theme.

BitstyRoss commented 6 years ago

I saw a reply, but that was it for me too, it was being set by the rofr.sh file being called by the super key, just changed my superkey to call rofi the same way I do from terminal :)

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.