You are not logged in.
Sometimes I want to open up lots of mp3 files in audacity. Each file opens in a separate window. But sometimes while I'm waiting for all the files to open up, I switch to a different workspace. When I do audacity follows me. Soon I have windows opening up on the workspace I switched to as well as some of them open on the original workspace. Is there anything I can do to confine a program like audacity to just the one workspace so that I can get other things done on another workspace?
I'm running XFCE 4 and Audacity 2.1.2.
Last edited by IpreferXfce (2017-02-21 04:21:30)
Offline
Try setting Settings Manager > Windows Manager Tweaks > Focus tab > "When a window raises itself" to "Do nothing". This should allow the windows to keep opening in the original tab while you cycle around workspaces. The other option is to use something like devilspie.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It is not only in programs like audacity, I also have it in Vivaldi-browser in some workspace opening tabs opening links of a mailprogram (in another workspace). And not after a fixed number of tabs open, but after some links from certain forums.
Here it looks like it has something to do with news-notification of the feedreader quiterss. So it looks like a bug.
I switched off quiterss notification and checked before that what ToZ wrote. For the moment all goes well.
I hope this can be of help.
Last edited by rijnsma (2016-12-23 00:31:00)
Offline
Today I was suspicious about my browser (Vivaldi 1.6...).
So I went back to 1.3..
Problem over..! No more disappearance of tabs, no more jumping to a workspace where the link for a tab in Vivaldi has been clicked.
I have posted the problem in the Vivaldi-forum. (But it is also in audacity.)
Could it be something in a compiler the software-developer works with? I keep in mind the post of IpreferXfce .
Offline
Try setting Settings Manager > Windows Manager Tweaks > Focus tab > "When a window raises itself" to "Do nothing". This should allow the windows to keep opening in the original tab while you cycle around workspaces. The other option is to use something like devilspie.
I tried the first option once and it didn't help. Do you need to logout and then log back in before it takes effect?
Offline
Update: Still haven't been able to resolve the issue. Today I made video of what it is doing...
https://www.youtube.com/watch?v=Q-Pf0J0-oKc
I'm running XFCE 4 and Audacity 2.1.2.
Last edited by IpreferXfce (2017-02-20 21:01:33)
Offline
I don't know if this is something thats necessarily wrong with the Window Manager as its doing its job. When you open multiple files in Audacity like that, they all open in a new instance of audacity. The window manager is opening each new instance of the application in the current workspace - like its meant to do.
I wonder how it works in the other desktop environments like Gnome or KDE?
As a work around, you can force all audacity windows to open on one workspace using devilspie and an audacity.ds file like this:
(if
(matches (window_class) "Audacity")
(begin
(set_workspace 4)
)
)
...change "4" to the workspace you want it to open on.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I don't know if this is something thats necessarily wrong with the Window Manager as its doing its job. When you open multiple files in Audacity like that, they all open in a new instance of audacity. The window manager is opening each new instance of the application in the current workspace - like its meant to do.
I wonder how it works in the other desktop environments like Gnome or KDE?
As a work around, you can force all audacity windows to open on one workspace using devilspie and an audacity.ds file like this:
(if (matches (window_class) "Audacity") (begin (set_workspace 4) ) )
...change "4" to the workspace you want it to open on.
My System:
System: Host: gregory-z170m-plus Kernel: 4.4.0-63-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Ubuntu 16.04 xenial
Machine: Mobo: ASUSTeK model: Z170M-PLUS v: Rev X.0x Bios: American Megatrends v: 0704 date: 02/18/2016
CPU: Quad core Intel Core i5-6600K (-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28032
clock speeds: max: 4200 MHz 1: 799 MHz 2: 799 MHz 3: 799 MHz 4: 799 MHz
Graphics: Card: NVIDIA GM107 [GeForce GTX 750 Ti] bus-ID: 03:00.0
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 370.28 Direct Rendering: Yes
Audio: Card-1 NVIDIA Device 0fbc driver: snd_hda_intel bus-ID: 03:00.1 Sound: ALSA v: k4.4.0-63-generic
Card-2 Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Network: Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 515.8GB (8.5% used) ID-1: /dev/sda model: ST500LT012 size: 500.1GB
ID-2: USB /dev/sdb model: Cruzer_Glide size: 15.7GB
Partition: ID-1: / size: 122G used: 26G (23%) fs: ext4 dev: /dev/sda8
ID-2: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:34C
Fan Speeds (in rpm): cpu: 0
Info: Processes: 218 Uptime: 1:40 Memory: 1573.0/15971.2MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35
I never tried gnome or kde doing this with audacity.
I found this link:
https://help.ubuntu.com/community/Devilspie
I checked: "Community-maintained free and open-source software (universe)" is enabled
How do you install devilspie?
Here is some things I tried.
sudo apt-get install devilspie
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package devilspie
sudo apt-get install devilspie2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package devilspie2
devilspie
The program 'devilspie' is currently not installed. You can install it by typing:
sudo apt install devilspie
sudo apt install devilspie
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package devilspie
Last edited by IpreferXfce (2017-02-21 01:57:59)
Offline
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Ok I think it installed after doing that.
sudo apt-get update
[sudo] password for gregory:
Get:1 http://repo.linuxliteos.com/linuxlite citrine InRelease [2,107 B]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:4 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease [17.5 kB]
Get:5 http://repo.linuxliteos.com/linuxlite citrine/main amd64 Packages [12.8 kB]
Get:6 http://archive.canonical.com xenial InRelease [11.5 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:8 http://repo.linuxliteos.com/linuxlite citrine/main i386 Packages [12.4 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]
Get:11 http://archive.canonical.com xenial/partner amd64 Packages [2,664 B]
Get:12 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease [17.6 kB]
Get:13 http://archive.canonical.com xenial/partner i386 Packages [2,964 B]
Get:14 http://archive.canonical.com xenial/partner Translation-en [1,424 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [215 kB]
Get:17 http://ppa.launchpad.net/djcj/mediainfo/ubuntu xenial InRelease [17.5 kB]
Get:16 http://download.zeroc.com/apt/ubuntu16.04 stable InRelease [8,221 B]
Get:18 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease [24.4 kB]
Get:22 http://ppa.launchpad.net/hda-me/xscreensaver/ubuntu xenial InRelease [18.1 kB]
Get:19 http://download.zeroc.com/apt/ubuntu16.04 stable/main amd64 Packages [6,653 B]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [208 kB]
Get:20 http://download.zeroc.com/apt/ubuntu16.04 stable/main i386 Packages [2,609 B]
Get:21 http://download.zeroc.com/apt/ubuntu16.04 stable/main all Packages [2,608 B]
Get:24 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu xenial InRelease [18.1 kB]
Get:25 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [90.0 kB]
Get:26 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [6,828 B]
Get:27 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [6,804 B]
Get:28 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,272 B]
Get:29 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [77.5 kB]
Get:30 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [73.1 kB]
Get:31 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease [17.6 kB]
Get:32 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [43.0 kB]
Get:33 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2,748 B]
Get:34 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [2,908 B]
Get:35 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,232 B]
Get:36 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial InRelease [17.6 kB]
Get:37 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]
Get:38 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease [17.5 kB]
Get:39 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease [17.5 kB]
Get:40 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease [17.5 kB]
Get:41 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main amd64 Packages [5,340 B]
Get:42 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main i386 Packages [5,332 B]
Get:43 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main Translation-en [2,340 B]
Get:44 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial/main amd64 Packages [680 B]
Get:45 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial/main i386 Packages [680 B]
Get:46 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial/main Translation-en [356 B]
Get:47 http://ppa.launchpad.net/djcj/mediainfo/ubuntu xenial/main amd64 Packages [2,028 B]
Get:48 http://ppa.launchpad.net/djcj/mediainfo/ubuntu xenial/main i386 Packages [2,016 B]
Get:49 http://ppa.launchpad.net/djcj/mediainfo/ubuntu xenial/main Translation-en [1,360 B]
Get:50 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages [11.6 kB]
Get:51 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main i386 Packages [11.6 kB]
Get:52 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:53 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main Translation-en [3,544 B]
Get:54 http://ppa.launchpad.net/hda-me/xscreensaver/ubuntu xenial/main amd64 Packages [1,876 B]
Get:55 http://ppa.launchpad.net/hda-me/xscreensaver/ubuntu xenial/main i386 Packages [1,880 B]
Get:56 http://ppa.launchpad.net/hda-me/xscreensaver/ubuntu xenial/main Translation-en [2,284 B]
Get:57 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu xenial/main amd64 Packages [14.3 kB]
Get:58 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu xenial/main i386 Packages [14.3 kB]
Get:59 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu xenial/main Translation-en [9,396 B]
Get:60 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial/main amd64 Packages [904 B]
Get:61 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial/main i386 Packages [904 B]
Get:62 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial/main Translation-en [460 B]
Get:63 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main amd64 Packages [5,768 B]
Get:64 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main i386 Packages [5,752 B]
Get:65 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B]
Get:66 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:67 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main Translation-en [2,792 B]
Get:68 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial/main amd64 Packages [2,360 B]
Get:69 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]
Get:70 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:71 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial/main i386 Packages [2,372 B]
Get:72 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial/main Translation-en [832 B]
Get:73 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial/main amd64 Packages [2,852 B]
Get:74 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial/main i386 Packages [2,860 B]
Get:75 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial/main Translation-en [1,832 B]
Get:76 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main amd64 Packages [1,860 B]
Get:77 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main i386 Packages [1,848 B]
Get:78 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main Translation-en [828 B]
Get:79 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]
Get:80 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
Get:81 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:82 http://us.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:83 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:84 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [474 kB]
Get:85 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [465 kB]
Get:86 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [187 kB]
Get:87 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,176 B]
Get:88 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,164 B]
Get:89 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,396 B]
Get:90 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [400 kB]
Get:91 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [395 kB]
Get:92 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [150 kB]
Get:93 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8,080 B]
Get:94 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [6,872 B]
Get:95 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [3,580 B]
Get:96 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,672 B]
Get:97 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4,660 B]
Get:98 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,200 B]
Get:99 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [2,512 B]
Get:100 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [2,508 B]
Get:101 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [1,216 B]
Fetched 26.6 MB in 37s (707 kB/s)
Reading package lists... Done
sudo apt-get install devilspie
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
devilspie
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.4 kB of archives.
After this operation, 331 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 devilspie amd64 0.23-2 [44.4 kB]
Fetched 44.4 kB in 0s (230 kB/s)
Selecting previously unselected package devilspie.
(Reading database ... 219696 files and directories currently installed.)
Preparing to unpack .../devilspie_0.23-2_amd64.deb ...
Unpacking devilspie (0.23-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up devilspie (0.23-2) ...
devilspie
No s-expressions loaded, quiting
I thought you could run it from the terminal....
I created an audacity.ds file.
http://www.youtube.com/watch?v=-hA9VWHZPic
Where does the audacity.ds file go?
Last edited by IpreferXfce (2017-02-21 03:12:14)
Offline
Create a ~/.devilspie directory and put the audacity.ds file in there. If devilspie is running, stop it and start it up again. If you run it from a terminal window, run it as "devilspie -d" so you can see debug info about what is happening. If its working fine, put the command in your autostart applications.
More info here.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Create a ~/.devilspie directory and put the audacity.ds file in there. If devilspie is running, stop it and start it up again. If you run it from a terminal window, run it as "devilspie -d" so you can see debug info about what is happening. If its working fine, put the command in your autostart applications.
More info here.
I'm printing that link.
I created .devilspie under my home folder and put the audacity in it.
I looked in the processes to see if devilspie was running or not. Didn't appear to be.
I opened the terminal and typed devilspie -d
devilspie -d
Devil's Pie 0.23 starting...
Loading /etc/devilspie
/etc/devilspie doesn't exist
Loading /home/gregory/.devilspie
Loading /home/gregory/.devilspie/audacity.ds
1 s-expressions loaded.
Offline
Loading /home/gregory/.devilspie/audacity.ds
1 s-expressions loaded.
It loaded the file. Now do that thing with audacity and see if they all open on the same desktop.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Loading /home/gregory/.devilspie/audacity.ds
1 s-expressions loaded.It loaded the file. Now do that thing with audacity and see if they all open on the same desktop.
Things are looking better! As you can see from the video.
http://www.youtube.com/watch?v=yK86-YlSpwU
Do I put devilspie -d in the autostart?
Offline
Looks good. Just put "devilspie" as the command in your autostart. You only need to use the "-d" if your trying to debug something.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Looks good. Just put "devilspie" as the command in your autostart. You only need to use the "-d" if your trying to debug something.
I made two more videos, so that you can see my progress. I know have it set to open up in workspace 1.
http://www.youtube.com/watch?v=fn9las0zAcg
http://www.youtube.com/watch?v=yVtSNpscph0
Thanks
Offline
Glad it worked for you. One bit of info: if you change any of the .ds files, you don't need to log out and back in again. Just kill and restart the devilspie program so it re-reads the file change.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I know ToZ loves to use devilspie itself, but I'm here to tell you that the graphic version gdevilspie is a lot easier for many users. Not sure if it runs on Ubu 16.04, but it runs fine on all versions of Debian.
The only problem is that there appears to be no documentation; I wrote a small how-to for our Wiki that might help others.
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
The devilspie works but not well enough for me to keep using it. While audacity is loading up files I still can't open up firefox and browse the Internet because with the combination of audacity and devilspie takes up too much of something, and nothing else will load up until everything in audacity loads up. That is on a machine running an i5 processor with 16 gigs of ram.
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 707.13 KiB (Peak: 755.97 KiB) ]