Home > Arch Linux > Arch .xinitrc Not Working

Arch .xinitrc Not Working


rfkill requires root privileges, so it wouldn't run properly. Thanks for all the help sofar! :twisted: Offline #8 2005-02-17 15:45:38 phrakture Arch Overlord From: behind you Registered: 2003-10-29 Posts: 7,879 Website Re: command in .xinitrc not being executed? [SOLVED] kdm Your window manager (or desktop environment) of choice should now start correctly. If the file does not exist, copy a skeleton version from /etc/skel/.bash_profile. have a peek at these guys

My laptop has Intel GL40 and I've installed the xf86-video-intel driver; is it the correct one? if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/?*.sh; do [ -x "$f" ] && . "$f" done unset f fi # twm & # xclock -geometry 50x50-1+1 & # Related 2Start normal user's instance of X app in Linux as root1Trying to start a GUI process on a second machine1How to load ~/.Xresources when starting X?1Sound does not work on So, I went into that directory and did not find such a file. other

Xinitrc I3

Is adding the ‘tbl’ prefix to table names really a problem? Browse other questions tagged linux xorg arch-linux xbindkeys or ask your own question. Please see my edit, I've added my .xinitrc.

I tried using feh --bg-scale ~/Pictures/wallpaper.png exec feh --bg-scale ~/Pictures/wallpaper.png feh --bg-scale ~/Pictures/wallpaper.png & exec feh --bg-scale ~/Pictures/wallpaper.png & exec ~/.fehbg exec ~/.fehbg & exec sh ~/.fehbg exec sh ~/.fehbg & This is the entirety of my ~/.xinitrc file: #!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f That filename starts with a ".", which means most tools won't show it by default. Arch Linux Startx Command Not Found If I can't rfkill in .xinitrc, where should I run it? –Joshua Dec 10 '12 at 23:42 @Joshua You should be able to type commands in this terminal.

For example, to start openbox: ~/.xinitrc ... Arch Linux Startx HomePackagesForumsWikiBugsAURDownload xinit From ArchWiki Jump to: navigation, search Related articles Display manager Xorg xprofile Xresources The ~/.xinitrc file is a shell script read by xinit and by its front-end startx. After that x worked That probably means you have both, and you'll probably want bumblebee. http://unix.stackexchange.com/questions/58114/bash-commands-dont-seem-to-run-in-xinitrc It'll execute when i3 launches.

Function to find all occurrences of substring Code ladder, Cops Citing work with a publication year in the future How do I deal with my current employer not respecting my decision Arch Linux Install Xorg Install them explicitly: # pacman -S xorg-twm xorg-xclock xterm –jasonwryan Apr 29 '11 at 4:36 # pacman -S xorg-twm xorg-xclock xterm made it work. All rights reserved.REDDIT and the ALIEN Logo are registered trademarks of reddit inc.πRendered by PID 19711 on app-575 at 2016-11-12 17:15:20.380922+00:00 running ade3d47 country code: GB. Tip: This can be used even to start a regular GUI programs but without any of the window manager features.

Arch Linux Startx

It would also be helpful if we could see the xinitrc to be able to see if the problem lies within. This Site What episode of Star Trek is this creature on? Xinitrc I3 See also #Starting applications without a window manager and Running program in separate X display. Arch Startx permalinkembedsavegive gold[–]optagon[S] 0 points1 point2 points 2 years ago(0 children)I edited my post with a link to the log.

It should be "TrackPoint" not "Trackpoint". More about the author Newbie Corner. :oops: Dusty ** Arch Linux Apparel and more ** Arch Linux stickers, laptop bags, jewelery ** I wrote a book on Python 3 ** and one on mental health I believe I may have forgotten to make .xinitrc executable, or it just wasn't being read by my DM properly. cinnamon-session) will read the programs from ~/.config/autostart/*.desktop. Lightdm Xinitrc

It doesn't appear so from that screenshot. The output of .xinitrc is redirected there, so any errors that are encountered should show up there and will help you debugging your script. Mimsy were the Borogoves - why is "mimsy" an adjective? http://da4design.com/arch-linux/arch-linux-dns-not-working.php You can see this by looking at the .desktop files which specify how GDM starts different DMs/WMs: ls /usr/share/xsessions/ for example, I have awesome.desktop (and a few others) in that dir,

How does Berlin Transport Validation Stamp mark current date and/or expiry date? Xinitrc Ubuntu xorg arch-linux share|improve this question asked Apr 29 '11 at 3:03 Samrat Man Singh 49621026 What does the log file /var/log/Xorg.0.log say? –tak Apr 29 '11 at 3:20 add UNIX is a registered trademark of The Open Group.

It seems confusing considering that I have cinnamon installed as my default desktop environment which is started each time I login - but apparently without the use of .xinitrc to dictate

How? See also Fish#Start X at login and Systemd/User#Automatic login into Xorg without display manager. If you would like to remain logged in when the X session ends, remove exec. Xinitrc Example Build me a brick wall!

permalinkembedsavegive goldaboutblogaboutsource codeadvertisejobshelpsite rulesFAQwikireddiquettetransparencycontact usapps & toolsReddit for iPhoneReddit for Androidmobile websitebuttons<3reddit goldredditgiftsUse of this site constitutes acceptance of our User Agreement and Privacy Policy (updated). © 2016 reddit inc. This page has been accessed 10,236 times. Tip: This method can be useful to launch graphical games, especially on systems where excluding the memory or CPU usage of a window manager or desktop environment, and possible accessory applications, news Why do most microwaves open from the right to the left?

Otherwise, the script would halt and wait for each program to exit before executing the window manager or desktop environment. Each of those xinput and rfkill commands work when entered manually, but nothing happens when I run startx. What is happening here? Do ls -A /etc/skel Though your real problem is probably that you haven't installed graphics drivers.

Do you have 'exec i3' inside your .xinitrc ? Browse other questions tagged arch-linux xorg x11 awesome xinput or ask your own question. When I start x I need to execute the command xmodmap ~/xmodmap.conf I added this in my .xinitrc file to be executed, but it does not work. What is the meaning of "cow in the middle"?

xinit -- :1 -nolisten tcp vt$XDG_VTNR Read the Note box and check if that fixes it. Board index The team Delete all board cookies All times are UTC

Another way to show convergence of alternating series Why are progress bars so inaccurate? What should I be using as a noob?1 points · 1 comment Can't get startx to work properly2 points · 1 comment Weird problem...

Is adding the ‘tbl’ prefix to table names really a problem? EDIT: Below is my .xinitrc if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi session=${1:-gnome} case $session in permalinkembedsavegive gold[–]serdotlinecho 1 point2 points3 points 2 years ago(0 children)Comment out exec i3 and add at the bottom in your xinitrc exec i3 -V >> ~/.i3/i3log 2>&1 for debugging. Could it be that they're working, but something later in your session startup overrides these settings?

Edit: Here's the log: http://pastebin.com/W19FWBwn 12 commentsshareall 12 commentssorted by: besttopnewcontroversialoldrandomq&alive (beta)[–]Aru21 1 point2 points3 points 2 years ago(1 child)Have you installed a graphics driver? Any distro, any platform! Thanks for all of your responses!!! 13 commentsshareall 13 commentssorted by: besttopnewcontroversialoldrandomq&alive (beta)[–]Monocog007 2 points3 points4 points 2 years ago(0 children)Add "exec feh ..." To your i3 config. permalinkembedsavegive gold[–]formegadriverscustom 0 points1 point2 points 2 years ago(4 children)eval $(cat ~/.fehbg) This always worked for me.

How do you handle a system with multiple users when using a standalone wm?3 points · 8 comments Can't connect to an unsecured wifi network2 points · 8 comments Software sound card?This is an archived If you want to start any processes this way, add them before the exec line, putting an & at the end of each command to put it in the background and