r/unixporn•
upmo

| Weekly Workshop 2020-01-17

Discussion

This is a thread to get answers for all your questions, no matter how stupid you think it may be. Feel free to share your default setups here too, someone might have some pointers for what to do next. In short you can make any on topic comment, in any format you like, and using any host. We hope this gives new users a chance to get some help with any problems they're having and older users a chance to show off their knowledge by helping those in need.

^Contact ^us ^if ^our ^bot ^has ^messed ^(up)

Posted Jan 17, 2020, 6:00 AM UTC

824
[deleted]•

[deleted]

3
calces_gelida•

It's just a matter of taste, both wm are good.

For the windows you should be okay just with bspwm and xorg, but for the wallpaper you need another program, feh is popular for setting the wallaper. Also note that bspwm doesn't read the keyboard, you need another program for that, sxhkd is good for that, it has been created by the same author of bspwm. I suggest you to read the bspwm page of the arch wiki for setting it up: https://wiki.archlinux.org/index.php/Bspwm#Configuration.

PS: Knowing how to program helps, but it's not required.

3
[deleted]•

[deleted]

2
przemio_1978Arch•

Which tiling extension for Plasma would you recommend and what are their strengths? (I'm looking for something that I could switch on without taking the trouble to re-login into i3wm.)

3
TyphoonTeaser•

I would like to use Manjaro to have a linux partition and be able to really customize it and make it work the way I want.

I tried with openbox and was able to make a cool theme but I'm not sure if another environment would be better. Got my eye on XFCE, KDE Plasma, i3 or openbox again, but I'm open for suggestions

2
[deleted]•

[deleted]

2
TyphoonTeaser•

Alrighty, will be playing around with them. Thank you!

2
AsstRgnlMgrDwight•

What happened to Flurry Desktop posted here last year? I can't find it in the sub and it turns out that it was deleted and even OP's account is deleted. Is it discontinued or abandoned? I read somewhere that it never existed. Im out of the loop.

2
djw0bbl3•

Haha so true

1
otto251help whats a flair•

The account hasn't been deleted, the post has, though.

Someone actually remade flurry in AwesomeWM, you can find more info about flurry in this that thread as well.

1
AsstRgnlMgrDwight•

The account hasn't been deleted, the post has, though.

So it's a karma-whoring, eh? RIP to those awards given to him.

Someone actually remade flurry in AwesomeWM, you can find more info about flurry in this that thread as well.

Thanks for this! Gonna try it later

1
klingt-net•

How can I force XFCE's systray to use symbolic icons, like they ase used in Gnome shell's panel? Here is screenshot of the systray: imgur. I am using XFCE 4.14 with the Adwaita Icon Theme. Other icon themes like elementary are looking equally bad.

PS: The systray in MATE's panel looks the same, also no symbolic icons.

1
otto251help whats a flair•

Try the Papirus icon theme, if that doesn't work, try make the panel smaller. (height-wise)

1
klingt-net•

Thank you very much! This was what I did in the mean time, using ePapirus and a height of 26px fixed it for me.

1
Dunked0n•

How do you disable shadows in cinnamon?

1
[deleted]•

[deleted]

1
whizzythorne•

Are there any other screen lockers for Wayland besides swaylock? Google isn't helping me much

1
Palitroll•

I just got a raspberry pi and have seen some nice rices made onto them. i'd like to know how to go about it, should i stick to raspbian or use something else? i want to have the smoothest desktop experience with a tiling WM

1
viyoue:Debian:•

The distro shouldn't really matter if you have all the packages you need. I would just stick to Raspbian and install a tiling WM of your choice. (i3, bspwm...)

1
GentleJovian•

I'm used ST 8.1 (8.2 doesn't seem to properly work with w3m image previews in ranger) with the Xresources patch.

Terminals spawned with the -n name option appear to ignore the font set in Xresources (the colors still work). Anyone have any ideas how to fix this?

Edit: After digging around in the patch file and the source, it appears the patch works specifically by comparing the name of the window to the name of the resource, and I was able to fix this by putting the names of the windows I want to spawn into my Xresources file with their own font setting (drop.font, music.font, etc).

I don't know much about c, so if any one has any ideas on how to patch this, I'd appreciate the help!

1
efexos•

Use st 8.2 here is my version with all the important patches, github.com/efexos/st

for image preview in ranger build it from source GitHub - ranger/ranger: A VIM-inspired filemanager for the ... i have found that w3m is slow and the ranger in repo does not support ueberzug.

  1. Remove ranger and build it from source.
  2. Install python-ueberzug
  3. In ranger rc.conf, "set preview_images true" and "set preview_images_method ueberzug".
  4. Restart ranger. voilà

And st 0.8.2 has no issues with xresources patch.

2
GentleJovian•

I appreciate the recommendation to use ueberzug; that seems to work fine in 8.2.

However, even with 8.2 I still have the font issue: named terminals need to have a resource with the matching name in the Xresources file to load the font.

2
efexos•

I did a bit digging turns out you are right, named terminals need resource. its not a issue in a way but. if you specify -n you should also do -f /usr/share/fonts/$your_font this way it will set specified font. The name and class of the terminal must be 'st' and 'St' to use xresources patch.

2
MikeBur7•

Is there a website for figuring out a terminal color pallete. And would the config also work for emacs config?

1
_inblank:Arch:•

I am looking for option to keep my dotfiles under control, what is your usual approach? I am to believe that doing it manually (adding dotfiles manually to version control and remember all of them) is prone to errors, so, any tool recommendations?

1
AsstRgnlMgrDwight•

adding dotfiles manually to version control and remember all of them

Yes. +1 to this. You can also symlink them or use a script so it doesn't need some manual intervention

1
Burazen•

I have a problem with applying Layan theme, my top bar seems a few pixels short.
Any idea how to fix this?

1
TheRussianEngineer•

Hey guys so I was trying to make a calculator that would show and hide itself with a shortcut in i3-gaps and I stumbled upon this 2 videos that show how it can be done,

https://www.youtube.com/watch?v=Ja-DgvGPDu8&feature=youtu.be

https://www.reddit.com/r/i3wm/comments/ax3vrm/how_to_get_working_scratchpads_on_i3gaps/

however when I try and do the same it just won't work, whenever i3 starts it opens a non floating window with calc on it, and I cant even hide it by pressing my shortcut.

BTW whenever I press the shortcut and move my cursor to the wallpaper a thinking cursor appears idk why.

My config:

# Launch calc on terminal bindsym $mod+c exec [instance="terminal_calculator"] scratchpad show; [instance="terminal_calculator"] move position center

...

for_window [instance="terminal_calculator"] floating enable
for_window [instance="terminal_calculator"] resize set 400 400
for_window [instance="terminal_calculator"] move scratchpad
for_window [instance="terminal_calculator"] border pixel 2 
exec --no-startup-id urxvt --name=terminal_calculator -e calc
1