|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[OpenBSD] Customize Xenodm (background image , change keyboard , change xterm)
how i can change background image(png,jpg ...) in xenodm ?
how i can change keyboard layout by press ALT + Shift ? how i can change background , foreground , font size and font family of xterm console ? anything must be permanents. thanks. |
|
|||
I would check out
https://www.tumfatig.net/20190208/cu...penbsd-xenodm/ and https://www.c0ffee.net/blog/openbsd-on-a-laptop/ under section X11 is and .Xresources example |
|
||||
It's probably better to use ~/.Xdefaults to configure xterm rather than ~/.Xresources because it doesn't require that the resources be reloaded when they're changed. Note that xterm will only read ~/.Xdefaults if ~/.Xresources doesn't exist.
Anyway, here's my sample file: https://raw.githubusercontent.com/He...ster/Xdefaults ^ That uses the stock bitmap font, to apply an XFT font use Code:
Xterm*vt100.faceName: mono:size=11
__________________
Are you infected with Wetiko? |
|
|||
thanks to all.
but according to your posts i can not change background image and keyboard layout by ALT + SHIFT keys. for changing keyboard layout i find this code : Code:
setxkbmap -layout us,it -option grp:alt_space_toggle how i can set that permanent? how i can change background image? [login + desktop] |
|
|||
feh can change background image.
Install feh and see the man page. Put this in your .xsession file feh --bg-fill --no-fehbg --randomize --recursive ~/pictures There was a post here about customizing the login https://www.reddit.com/r/openbsd/com...xenodm_themes/ |
|
|||
(In many programs Alt is called "Meta"; Windows Key is called "Mod" or "Mod4".)
ALT-SHIFT: in ~/.xsession file Code:
setxkbmap -model pc104 -layout us,it -variant ,, -option grp:alt_shift_toggle Code:
pkg_add numlockx Code:
/usr/local/bin/numlockx on |
|
|||
Quote:
|
|
|||
Quote:
also i set .xsession permission to 777. but when run this command in xterm then background changed. Code:
feh --bg-fill --no-fehbg --randomize --recursive ~/pictures |
|
|||
not working.
|
|
|||
The feh project provides a specific tool for single image wallpapers: ~/.fehbg. It is generated with
Code:
feh --bg-fill wallpaper.png Scale it once and then run ./fehbg in your .xsession or autostart file. |
|
|||
Quote:
Code:
feh --bg-fill --no-fehbg --randomize --recursive ~/pictures I'm a beginner in OpenBSD. Please post full description ... |
|
|||
Don't use root as your default user!
Are you using OpenBSD as root? You should create your own user, add that user to groups wheel, staff, operator; set up doas.conf to give your user permission to run as root through doas
(example: doas pkg_add ranger) doas.conf should end with an empty line at the end of file, or you'll get error. Read these articles: https://man.openbsd.org/useradd https://man.openbsd.org/usermod https://man.openbsd.org/doas https://man.openbsd.org/doas.conf |
|
|||
That's a good question. I need to think about it.
|
|
|||
Quote:
Quote:
i can run feh command in root account(in xterm) and works. |
|
||||
Quote:
.xsession: Code:
tint2 & ./background & xrdb -load .Xresources & xterm & fluxbox Code:
display -window root /home/garry/Images/backgrounds/aa-OBSD-background.png
__________________
My best friends are parrots |
|
||||
I used this: https://www.tumfatig.net/20190208/cu...penbsd-xenodm/ tutorial,
posted by d31n1 I don't know how to capture a screen shot of the login window,.. so I put the image on a VM, and also just copied my Xsetup_0 file , to the VM, then took a screen shot of the VM ==============================================
__________________
My best friends are parrots |
|
||||
Quote:
Code:
xwd -out /tmp/xenodm.xwd -root & |
Tags |
background, language, xenodm, xterm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Operational change required for OpenBSD -current users | jggimi | OpenBSD General | 2 | 18th October 2016 02:19 PM |
Any info on OpenBSD 5.6's new default IPv6 to off change? | SlyM | OpenBSD General | 4 | 2nd November 2014 09:45 PM |
How to change keyboard key? | newbsdied | OpenBSD General | 5 | 7th November 2010 02:45 AM |
How to change the font size? atop xterm, aterm, etc | jb_daefo | General software and network | 12 | 13th July 2010 10:42 AM |
Can not change keyboard layout with SHIFT and Alt after VNCviewer connect | mfaridi | OpenBSD General | 1 | 13th December 2008 03:14 PM |