LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-25-2019, 05:20 AM   #1
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,195

Rep: Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773
Autostart applications in different workspaces


KDE 4.14
Slackware64 -current

Any way to autostart applications in different workspaces on startup? Vivaldi on Desk1, xterm on Desk2, krusader on Desk3, etc.

And, while we're at it, any way to control their appearance at startup - maximised, centred, etc?

Fluxbox and IceWM let you do this.
 
Old 10-25-2019, 05:23 AM   #2
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,195

Original Poster
Rep: Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773
Sorry - please ignore. I was looking in the wrong place. Found a setting under Window Rules which should satisfy most of my requirements.
 
Old 10-25-2019, 01:52 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Solved but for anybody wandering into the thread another option is devilspie.
 
1 members found this post helpful.
Old 10-25-2019, 02:16 PM   #4
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,195

Original Poster
Rep: Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773
Quote:
Originally Posted by upnort View Post
Solved but for anybody wandering into the thread another option is devilspie.
I was trying to remember what the name was. Thanks for that.
 
Old 10-25-2019, 04:27 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Thanks for that.
Welcome. I've been using devilspie for many years. Sad though most of the desktop environment devs don't have such native tools.
 
Old 10-25-2019, 05:25 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,195

Original Poster
Rep: Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773Reputation: 1773
Quote:
Originally Posted by upnort View Post
Welcome. I've been using devilspie for many years. Sad though most of the desktop environment devs don't have such native tools.
I took a quick look this evening. I assume it's devilspie2 and not devilspie.

Looks a little more complex than I expected. I don't mind getting stuck in, though, especially if it's desktop agnostic. Any desktop environments it doesn't get along with?
 
Old 10-25-2019, 05:49 PM   #7
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
I'm using devilspie and not devilspie2.

Quote:
Looks a little more complex than I expected. I don't mind getting stuck in, though, especially if it's desktop agnostic. Any desktop environments it doesn't get along with?
Yeah, a quirky syntax. There is a GUI front-end that helps learn or create files.

I have the following in ~/.config/autostart/devilspie:

Code:
[Desktop Entry]
Name=Devilspie
Comment=devilspie daemon
Exec=devilspie
Terminal=false
Type=Application
StartupNotify=false
Icon=gdevilspie
Categories=GNOME;Utility;
NotShowIn=TDE;
X-MATE-Autostart-enabled=true
The config files are stored in ~/.devilspie. I use the app name for the config files, such as gparted.ds, virtualbox.ds, terminal.ds, etc.
 
Old 10-26-2019, 04:59 AM   #8
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by Gerard Lally View Post
I took a quick look this evening. I assume it's devilspie2 and not devilspie.
Same. I never knew about this tool before, but a few times I had the need of enforcing custom window sizes/positions for GUI apps when starting them in dwm(floating mode). Since I didn't know how to do it, I thought I should investigate this devilspie thing deeper someday. A quick search found this https://www.nongnu.org/devilspie2/. On SBo, there's also http://slackbuilds.org/repository/14...top/devilspie/, but its homepage https://github.com/GNOME/devilspie does not exist. So I'm not sure what should I do next.

Edit: https://www.nongnu.org/devilspie2/manual.php is 404 as well.

Last edited by FlinchX; 10-26-2019 at 05:01 AM.
 
Old 10-26-2019, 08:53 AM   #9
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 934

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
I think wmctrl (from SBo) can do that too. I use it to hide Audacious "Album Cover" button from task bar.
 
2 members found this post helpful.
  


Reply



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
tomboy autostart in xfce, though not on autostart list zlya Linux - Desktop 2 11-10-2009 10:49 AM
Different schedulers in different workspaces at startup HelpMe2877 Linux - Newbie 0 07-28-2008 12:09 PM
Gnome: force applications always to open in the same virtual desktop/workspaces hamish Linux - Software 0 08-09-2006 02:50 AM
Starting different apps in different workspaces on login (GNOME)? lrt2003 Linux - General 2 04-17-2004 06:26 PM

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

All times are GMT -5. The time now is 07:37 AM.

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
Open Source Consulting | Domain Registration