You are not logged in.
I'm using SLiM as my desktop manager. It manages Mate and i3. I have a little .Xresources that changes the default mouse cursor and that sets some colors for urxvt. However, it's not being read when I log in. My .xinitrc looks as follows:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
#exec mate-session
xrdb -merge /home/hugo/.Xresources
case $1 in
Mate)
exec mate-session
/usr/bin/xscreensaver -no-splash &
;;
i3)
exec i3
;;
esacLast edited by Hurricane (2013-07-17 21:37:00)
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
If you run "xrdb -merge /home/hugo/.Xresources" after you log in, do the changes take effect?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
If you run "xrdb -merge /home/hugo/.Xresources" after you log in, do the changes take effect?
I just tried it, but nothing happened. I checked to see if xorg-xrdb was installed
$ pacman -Ss xorg-xrdb
extra/xorg-xrdb 1.0.9-2 (xorg-apps xorg) [installed]
X server resource database utilityComputers are extra dumb, which is why it takes extra smart people to make them work.
Offline
Have you ever been able to make this work? Have you used other .Xresources files with success? Please post the ouput of
cat /home/hugo/.XresourcesOffline
Have you ever been able to make this work? Have you used other .Xresources files with success? Please post the ouput of
cat /home/hugo/.Xresources
I've never needed to use this approach before. Here's the output you asked for
$ cat /home/hugo/.Xresources
xcursor.Theme: /usr/share/icons/oxy-neon
Urxvt.foreground: white
Urxvt.background: blackComputers are extra dumb, which is why it takes extra smart people to make them work.
Offline
This is not relevant to the posted question, but as is, your call to xscreensaver will never execute.
In addition to trying after loggin in, can you post that .Xresources content. And have you tested it in both mate and i3?
EDIT: wow, I was slow in this one - I guess this has been covered now.
But Urxvt is wrong, it should be URxvt.
I've never seen a cursor theme set in this way, is there documentation for that? I'd suggest using xsetroot for the cursor. EDIT2: I found it, but that should be Xcursor, not xcursor.
Last edited by Trilby (2013-07-17 21:27:37)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
According to the wiki page, the correct format for the xcursor line is:
Xcursor.theme: foobarCorrect capitalization does tend to matter in .Xresources. Try
Xcursor.theme: /usr/share/icons/oxy-neon(edit) And if this does not work, I would second Trilby's suggestion for xsetroot.
Last edited by 2ManyDogs (2013-07-17 21:32:05)
Offline
Okay URxvt's colors changed but the cursor theme didn't, so I guess I might have to try using xsetroot. Thanks everybody for the help.
Edit: I did try fixing the capitalization errors in the xcursor part of the file but it didn't work.
Last edited by Hurricane (2013-07-17 21:36:03)
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
Are you sure you installed the cursor theme correctly? Did you read the entire wiki page on cursor themes? There seem to be a lot of reasons why this could be broken.
Last edited by 2ManyDogs (2013-07-17 21:42:41)
Offline
Are you sure you installed the cursor theme correctly? Did you read the entire wiki page on cursor themes? There seem to be a lot of reasons why this could be broken.
I did install the cursor theme correctly. I followed the instructions in the Arch Wiki. The cursor works under Mate.
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
If this thread is solved, please share your solution:
https://wiki.archlinux.org/index.php/Fo … way_Street
Offline
If this thread is solved, please share your solution:
https://wiki.archlinux.org/index.php/Fo … way_Street
The solution is there, but I'll be more explicit.
.Xresources is case sensitive. A couple of letters were capitalized when they needed to be lowercase and vice-versa.
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline