LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2017, 04:38 AM   #1
aeifn
LQ Newbie
 
Registered: Apr 2016
Posts: 17

Rep: Reputation: Disabled
WindowMaker and /etc/xdg/autostart


How to force WindowMaker to load *.desktop files from /etc/xdg/autostart and properly interpret lines in *.desktop files like

Code:
OnlyShownIn=WINDOWMAKER;
 
Old 07-17-2017, 07:10 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,600

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
To get WindowMaker to run applications at startup, I add entries to my ~/GNUstep/Library/WindowMaker/autostart script file.
These can be as simple as:
Code:
# Start orage calendar application.
orage &
# Start nm-applet if NetworkManager is running and nm-applet is not running.
( pgrep NetworkManager && ! pgrep nm-applet ) && nm-applet &
or somewhat more complex
Code:
# Start compton compositer on display 0
# Adjust for current screen size
xrandr | grep -q "Screen 0:" && \
  compton -bcCfG -i 0.8 -e 0.8 -r 3 -l 0 -t 0 -d :0.0 \
   --shadow-exclude-reg +$(xrandr --current | awk '/Screen 0:/ {print $8-64}') \
   --glx-no-stencil --no-fading-openclose
#
I should note that I have wmsystemtray (available from SlackBuilds.org) installed so that systemtray apps like orage and nm-applet can run.
 
1 members found this post helpful.
Old 07-17-2017, 08:10 AM   #3
aeifn
LQ Newbie
 
Registered: Apr 2016
Posts: 17

Original Poster
Rep: Reputation: Disabled
Solved

Thank you so much!

I used this script to start xiccd and it works well!
 
Old 07-17-2017, 08:57 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,600

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
Glad you got your desired outcome. It is nice to know I am not the only WindowMaker user

PS - I would like to see wmsystemtray added to Slackware, but my request fell on deaf ears. http://www.linuxquestions.org/questi...ml#post4739601
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4 Autostart Program Bash Script to Write Autostart Bash Scripts for You! jdmcdaniel3 SUSE / openSUSE 1 05-03-2010 06:17 AM
configure: error: The xdg python module is required (pyxdg or python-xdg) Sargalus Linux - Software 7 03-24-2010 07:34 AM
tomboy autostart in xfce, though not on autostart list zlya Linux - Desktop 2 11-10-2009 10:49 AM
xdg-mime linuxsavar Programming 0 10-10-2008 07:25 AM
xdg problems zbrox Debian 2 07-11-2004 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration