Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-05-2012, 10:46 AM
|
#16
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by sycamorex
That was just an example. i3 is just a window manager, similar to xmonad. Can you post your .xinitrc?
|
This is the code I now. I just added the new rules for i3 but changed it to xmonad. Previously it said
"exec /usr/bin/xmonad"
and that was enough. I havent tried the this new xinitrc yet.
Code:
#!/bin/sh
xrandr -s 0
setxkbmap -option compose:menu
# Load resources
xrdb -merge .Xresources
xsetroot -solid black
xsetroot -cursor_name left_ptr
setxkbmap dvorak &
if [ -f $HOME/.Xdefaults ]; then
xrdb -merge $HOME/.Xdefaults
fi
# xset fp rehash
xset b 100 0 0
xset r rate 140 40
PATH=/home/michijo/bin:$PATH
# exec
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/xmonad
else
exec /usr/bin/xmonad
fi
|
|
|
|
11-05-2012, 10:49 AM
|
#17
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,113
|
Quote:
Originally Posted by michijo
This is the code I now. I just added the new rules for i3 but changed it to xmonad. Previously it said
"exec /usr/bin/xmonad"
and that was enough. I havent tried the this new xinitrc yet.
Code:
#!/bin/sh
xrandr -s 0
setxkbmap -option compose:menu
# Load resources
xrdb -merge .Xresources
xsetroot -solid black
xsetroot -cursor_name left_ptr
setxkbmap dvorak &
if [ -f $HOME/.Xdefaults ]; then
xrdb -merge $HOME/.Xdefaults
fi
# xset fp rehash
xset b 100 0 0
xset r rate 140 40
PATH=/home/michijo/bin:$PATH
# exec
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/xmonad
else
exec /usr/bin/xmonad
fi
|
Yes, that's what I meant. So does it work now?
|
|
|
|
11-05-2012, 10:50 AM
|
#18
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by sycamorex
Yes, that's what I meant. So does it work now?
|
I just restarted x and now it works! Thanks for that. Seems strange that one cant just exec xmonad anymore, but whatever.
|
|
|
|
11-05-2012, 10:55 AM
|
#19
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,113
|
Glad it works. Bear in mind that if you just add it to ~/.xinitrc it will get overwritten if you change a window manager with xwmconfig. To avoid it, you also need to update /etc/X11/xinit/xinitrc.xmonad
|
|
|
|
11-05-2012, 11:05 AM
|
#20
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by sycamorex
Glad it works. Bear in mind that if you just add it to ~/.xinitrc it will get overwritten if you change a window manager with xwmconfig. To avoid it, you also need to update /etc/X11/xinit/xinitrc.xmonad
|
Thanks, this was a rough upgrade to 14, but everything seems squared away now.
|
|
|
|
11-05-2012, 11:07 AM
|
#21
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Actually, in /etc/X11/xinit/xinitrc.xmonad it is already as it should be. It seems my own created xinitrc file was overriding what was automatically added to /etc/X11/xinit/xinitrc.xmonad.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|