[solved] Xfce4 unwanted autostarting programs
I have developed a small irritation with what i believe to be Xfce4. Upon every reboot (or cold start) of my machine. When i log into Xfce4, Chromium and a Terminal window both autostart. Chromium starts minimised and the terminal starts visable in the centre of my screen. Some information that may be relevant: Xfce 4.10, Xfwm4, Kernel 3.8.11-1-ARCH, SLiM, Xorg server 1.14.1.
I am not aware of making any changes this problem appeared out of the blue. I have checked the Session and Startup settings and the only autostart programs enabled are Power Manager and Xfsettingsd. I have checked in .config/xfce4 for an autostart folder and there isnt one. There is nothing in .xinitrc
Any help on this would be great thank you.
Last edited by thekore (2013-05-05 17:33:54)
Krarl wrote:Try enabling "Automatically save session on logout" in session and startup and then close all windows. Restart xfce. Hopefully this should clear the saved session, and now you can disable it again.
I feel like such an idiot, I was looking for the most complex solution and forgot about the most obvious. This has solved the problem, thanks Krarl
ewaller wrote:You might also try cleaning out ~/,config/xfce4-sessions
I had checked this already and the folder was empty.
Similar Messages
-
[SOLVED] Awesome WM autostart questions/how to find program "class"
Hi there,
Right so I'm using Awesome WM and want to auto start programs into specific tags.
This is the code I have, and everything is working as expected:
--Autostart Programs
awful.util.spawn_with_shell("chromium")
awful.util.spawn_with_shell("skype")
awful.util.spawn_with_shell("spotify")
-- {{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "Chromium" },
properties = { tag = tags[1][6] } },
{ rule = { class = "Skype" },
properties = { tag = [1][3]} },
{ rule = { class = "Spotify" },
properties = { tag = [1][4] } },
So what I'm wondering is how do I find out what the class of programs for this section: "{ rule = { class = " " },"?
I installed Arch on my chromebook and I've been using a lot of the programs such as Evernote and Trello. I have the chrome app drawer (http://www.omgchrome.com/enable-chrome- … her-linux/).
I created a shortcut and can auto launch programs such as evernote using the chrome app drawer using the command we can see from the desktop entry:
awful.util.spawn_with_shell("/usr/bin/chromium --profile-directory=Default --app-id=lbfehkoinhhcknnbdgnnmjhiladcgbol")
However, the issue is that it always opens on whatever tab I'm using. I cannot find the class to add to the rules.
None of these work:
{ rule = { class = "chrome-lbfehkoinhhcknnbdgnnmjhiladcgbol-Default.desktop" },
properties = { tag = tags[1][6] } },
{ rule = { class = "Evernote Web" },
properties = { tag = tags[1][6] } },
{ rule = { class = "/usr/bin/chromium --profile-directory=Default --app-id=lbfehkoinhhcknnbdgnnmjhiladcgbol" },
properties = { tag = tags[1][6] } },
Any suggestions on what I can do to find the "class"?
Last edited by Gwynplaine (2014-11-14 00:24:01)run 'xprop' in a terminal and your cursor will change to a cross. Click anywhere on the app you want to identify and the class will be sent to the screen (along with a ton of other stuff)
It's in the xorg-xprop pkg
Last edited by oliver (2014-11-14 00:16:08) -
[SOLVED] xfce4-settings
After the recent upgrade to xfce4-settings-4.6.3-3, I lost all my desktop icons (it switched to a default fallback), and the xfce4-settings-manager program would not execute. I downgraded to xfce4-settings-4.6.3-2 and everything is back to normal. I'm running the latest libxi, any ideas?
Last edited by ganja_guru (2009-11-05 06:10:00)Works for me™.
I use xfce and I have only the default icons and a couple of files and a directory on my desktop and they are still there after the update (yes, I have restarted xfce). -
How to delete the Unwanted Z-programs
Hi all,
How to delete the unwanted Z-program from $TMP development class.
Thanks,
Govindarajan Umadevi.Hi,
YOu can go transaction SE80, Choose package $TMP.
And click Display.
Here you will find all your Z programs. Just right click and delete them.
If you are using Latest versions(I think from SAP 4.7D), you can even select all by pressing mouse key and right click and can able to delete multiple items at single time.
BUt becareful, it contains other develper objects also as it is a common place.
Thanks,
Ramakrishna
Message was edited by: Ramakrishna Prasad Ramisetti -
[Solved] Nautilus (desktop) autostart in KDE?
How is this possible?
- not in ~/.config/autostart nor ~/.kde4/Autostart/
- ran as user when checked with ksysguard
Last edited by algorythm (2010-02-15 17:01:24)Uhhhh... it went away with just re-enabling (disable -> enable) _GNOME_ autostart programs with 'gnome-session-properties'... This is like the crazyest thing.
-
[SOLVED] Autostarted programs not exiting on logout with openbox
Hi,
I'm pretty sure I'm just overlooking something obvious, but I simply can't find a solution to the following basic problem. I'm using a simple openbox session started from xdm (also tried lightdm with the same results). In case of xdm, I'm using a .xsession file to start openbox like this:
exec dbus-launch --exit-with-session openbox-session
In case of lightdm, it also works without a .xsession or .xinitrc file.
I'm using "~/.config/openbox/autostart" to start some tools upon login. Until now, I have only started programs which exit right away which worked fine. But now I'd like to use autostart to start a (non-X11) program which should continue to run until I log out. For testing this, I used a simple infinite loop script, let's call it "loop.sh". When I start loop.sh in autostart using "loop.sh &", this script continues to run even if I log out of openbox using the openbox menu. In fact, if I log out and log in multiple times, multiple instances will keep running forever. When I start loop.sh simply using "loop.sh", also the parent processes, namely "/bin/sh /usr/lib/openbox/openbox-autostart OPENBOX" and "sh /home/ochi/.config/openbox/autostart" continue to run.
What is the correct way to have all processes spawned during the X session killed upon logout?
For reference, this is the loop script I use:
#!/bin/bash
while true; do
# If you like, you can also play a sound for feedback.
#paplay /usr/share/sounds/freedesktop/stereo/complete.oga &
sleep 1
done
Update: Using gdm seems to "fix" the problem, i.e. all programs started by the autostart script seem to get killed correctly. However, gdm pulls a LOT of dependencies I don't want to have. I wonder what gdm does differently...
Last edited by Ochi (2015-04-18 23:38:21)I continued to study this subject, and here is what I found at this time.
First I precise again that I use openbox launched by startx at login in tty.
When I exit openbox, I return to a -bash prompt, and I then can log out of tty.
After logging in into openbox, I have:
└─user.slice
└─user-1000.slice
├─[email protected]
│ ├─1421 /usr/lib/systemd/systemd --user
│ └─1422 (sd-pam)
└─session-c1.scope
├─1414 login -- berbae
├─1425 -bash
├─1432 /bin/sh /usr/bin/startx
├─1454 xinit /home/berbae/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.xxxxxxxxxx
├─1455 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.xxxxxxxxxx
├─1459 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
├─1464 dbus-launch --sh-syntax --exit-with-session
├─1465 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
etc...
When I exit openbox, without logging out, I have:
└─user.slice
└─user-1000.slice
├─[email protected]
│ ├─1421 /usr/lib/systemd/systemd --user
│ └─1422 (sd-pam)
└─session-c1.scope
├─1414 login -- berbae
└─1425 -bash
If I ran something in background from konsole, when in openbox, this is not killed:
└─user.slice
└─user-1000.slice
├─[email protected]
│ ├─1421 /usr/lib/systemd/systemd --user
│ └─1422 (sd-pam)
└─session-c1.scope
├─1414 login -- berbae
├─1425 -bash
├─1296 /bin/bash /home/berbae/bin/loop.sh
└─1338 sleep 60
If I log out, the process is still not killed!
└─user.slice
├─user-1000.slice
│ ├─[email protected]
│ │ ├─517 /usr/lib/systemd/systemd --user
│ │ └─519 (sd-pam)
│ └─session-c1.scope
│ ├─1296 /bin/bash /home/berbae/bin/loop.sh
│ └─1338 sleep 60
As seen the '[email protected]' with the 'systemd --user' process is not ended too, even after logging out.
Edit: This is due to the session c1 still active; see next post.
I don't know if this is intentional, maybe it is a feature.
Now I found and propose a way to change this apparently default behavior, if it is not wanted.
First to end the 'systemd --user' process at logout, it is easy; just run:
$ systemctl --user enable exit.target
Edit: This is useless, sorry; see next post
Then to run a process in background, which should end when logging out, just launch it like this:
$ systemd-run --user loop.sh
This will launch the command 'loop.sh' as a service in the 'systemd --user' manager, instead of the 'session-c1.scope';
and it will be ended at logout, because the manager is now ended at logout, with the normal end of the manager.
Edit: see next post
I will continue studying this matter, to see if something else interesting can be found.
Edit: See the 'Edit:' lines above for the modifications, before the explanations in the next post.
Last edited by berbae (2015-04-16 14:38:35) -
[SOLVED] Metacity autostart programs without GNOME
Hi,
I would like to use a session with metacity + lxpanel (starts from LXDM)
then I have edited my .dmrc:
$ cat ~/.dmrc
[Desktop]
Session=metacity
it works, but when I login my session (default) from LXDM, there is only metacity with nothing. how can I add "lxpanel" on start?
I tryed to put "lxpanel.desktop" on" ~/.config/autostart" but it doesn't work.
Someone can help me?
Thanks.
Last edited by quellen (2015-04-26 10:20:39)i have a problem with "lxde-logout" of lxpanel: it doesn't work good, when i press "logout" nothing happens ("Shutdown" and "Reboot" work)
maybe i need to edit "/etc/lxdm/PostLogout"?
$ cat /etc/lxdm/PostLogout
#!/bin/sh
# Note: this is a sample and will not be run as is.
test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r
# Terminate current user session
/usr/bin/loginctl terminate-session $XDG_SESSION_ID
# Restart lxdm
#/usr/bin/systemctl restart lxdm.service
(screenshoot takes from google images)
Last edited by quellen (2015-04-29 17:16:31) -
[solved] ssh into autostarted xfce4 session
I have two remote machines running Arch. They have identical sshd_config, .bashrc and .bash_profile files.
$ cat .bashrc
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
$ cat .bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startxfce4
fi
I can log onto both with ssh and conduct the common tasks I perform (ie, no problems), However one gives me the following remark after login:
Last login: ...
-bash: !/bin/bash: No such file or directory
$
Where in my login sequence might this error be generated?
Last edited by herOldMan (2014-06-02 18:55:09)loafer wrote:...incorrect somewhere i.e. "!/bin/bash" rather then "#!/bin/bash"...
Thanks, Found it.
In /etc/profile I have a loop:
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
I inserted an echo $profile after the do. I found that the error was thrown on sh vdpau_vaapi.sh, a script which did indeed not have the #.
This particular machine has the catalyst-hd234k driver installed. I am guessing the file was created when installing it or related packages.
Thanks -
How to solve delay in a program with data aquisition and processing
Hello, I am a starter in Labview programing. I am working on a system which contains a roller, a piston and a A/D cart which is from Data Translation Inc (DT304). I am using labview to get speed data of the roller (which is voltage first then be converted into speed) from Analog Input Channels, and then using Analog Output Channels to control the friction force being appylied to the roller by using a piston.
I am using a Waveform Chart to show the speed of roller. However, as I am adding more components to the program, I always get delay in the speed display and also the output control of the piston. Also, as I spent more time using the program eg. from morning to night, it became slower too.
My question is, how does labview store data and how are the data been stored and released in the buffer.Is it because I am loading too much data in the buffer so that it became slower? And also how to solve these delays?
I am using the "save to file" function to write data to a ".lvm" file, but I did some changes to the saving by using a button to enable and disable saving. So I don't think the problem is because I am always saving the data into a file.
Thank you very much.
JessieI'm betting it's two things:
1. Program Architecture
and 2. Dynamically resizing arrays.
With the program architecture... if you have one do-while loop that acquires data from teh DAQ, processes it, opens/indexes/writes/closes a file, then comes back around... as your arrays and files increase in size, the loop is going to take longer to execute. A Producer-Consumer loop (a good tutorial on them can be found here) has one loop that acquires data and stuffs the data into a queue. This will buffer the data while it's in transition between acquisition and processing. A second loop in parallel takes data in from the queue, processes it, then comes back around. The two loops operate independently of each other, so even if the consumer loop takes longer as the files or math gets more complex, the producer loop continues to run full speed.
Second is the arrays. Every time you append data into an array, LabVIEW has to make a copy of the data that's in the array. If you append small amounts of data to an array over and over and over again, eventually LabVIEW is going to be copying very large amounts of data over and over and over again. The producer-consumer architecture can alleviate this problem. -
How to cancel autostart program settings in Lion?
my issue may be deeper as Lion has really messed up so many of my programs. tons of little issues and few big ones. but anyway. whenever i log in, mail, itues and safari auto open...even if i don't check the box asking if i want programs to autostart when i log out. I have tried deselecting "restore windows when quitting and re-opening aps" the problem is that i can't save this option. I deselect the item and then close the window, but when i open it up it is selected again. is this an issue or am i missing a way to save this selection.
also tried looking at login items under my user in User and groups. Any ideas? Thanks in advance.You might look at this: Managing Mac OS X Lion's application resume feature. You could also check out RestoreMeNot and Application St... which can help fix the issue.
-
[Solved] xfce4+compiz: conky can only been seen if I miminzed windows?
I have xfce4 and compiz-xfce4 installed with my Arch Linux?
I added conky in my auto start-up setting. It turns out conky can only be seen if I minimize all windows.
When I clicked the "show desktop" button in my xfce4-pannel, conky just cannot show up.
Thanks,
(pls kindly see my another question about xfce4+compiz as well: https://bbs.archlinux.org/viewtopic.php?id=177106)
Last edited by hellolj (2014-02-13 23:12:16)Solved
It turns out I have to uncheck the "Hide Skip Taskbar Windows" option under "General Options" in Compiz configuration settings manager. -
How to solve Firefox keep accessing Program Files when I open it?
When I open Firefox, instead of showing the homepage(which is google.com for me) it bring [file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/]. I don't want it to be this way but I don't know how to solve it.
please help :DOpen a new window or tab. In the address bar, type '''about:config'''.
If a warning screen comes up, press the '''Be Careful''' button.
This is where Firefox finds information it needs to run.
At the top of the screen is a search bar. Enter '''browser.newtab.url'''
and press enter. '''browser.newtab.url'''
tells Firefox what to show when a new tab is opened.
If you want, right click and select '''Modify'''. You can change the setting to;
'''about:home''' (Firefox default home page),
'''about:newtab''' (shows the sites most visited),
'''about:blank''' (a blank page),
or you can enter any '''web page''' or '''about: page''' you want.
The same instructions are used for the new window setting, listed as
'''browser.startup.homepage'''. -
[solved] xfce4-terminal spam after update to util-linux 2.25-3
I use the setterm command inside a file in /etc/profile.d so that I can prevent the screen from blanking when using a console, along with a couple of other things.
After the latest update to util-linux (2.25-3), whenever I open xfce4-terminal these lines show up:
setterm: terminal xterm does not support --blength
setterm: terminal xterm does not support --bfreq
setterm: terminal xterm does not support --blank
[gilmoreja@JamesPC ~]$
Is there a better way to handle making sure setterm runs when a console is used, but not necessarily when a terminal is opened? Or is there some other way to solve this issue? There doesn't seem to be a switch for setterm for any kind of "quiet mode."
Last edited by gilmoreja (2014-08-06 18:36:28)I think that the shell started in a console is a login shell, and it is not the case in a graphical terminal.
A login shell has a '-' at the start of $0; so you can test that and condition the execution of the setterm commands:
if [[ $0 == '-bash' ]]; then
setterm ...
setterm ...
fi -
[SOLVED] xfce4 / Thunar problems moving files between folders
In XFCE4 I open THUNAR file manager, I am browsing DOCUMENTS. If I move one file from DOCUMENTS, to ../PICTURES (by dragging it),
it will move it. However, when I now browse PICTURES, I don't see the file I moved. Unless I click the REFRESH Icon in Thunar.
This started happening with very recent updates.
[UPDATE:] Solved after upgrading thunar (1.6.6-2 -> 1.6.7-1)
Last edited by Kilzool (2015-04-21 11:16:50)You should report this at the upstream bug tracker. The Xfce developers are likely not reading this forum.
I could reproduce this bug with these steps:
1. Open two Thunar windows (Documents and Pictures folder)
2. Move a file from one folder to the other by using drag'n'drop
The result is that the file is moved but it is still shown in Thunar until a manual refresh.
EDIT: This is already fixed by this commit so Thunar 1.6.7 should work fine.
Last edited by Radioactiveman (2015-03-23 13:46:53) -
[solved] xfce4-mailwatch-plugin svn not able to compile
After todays update my xfce4-mailwatch-plugin stopped working. I am using the svn version and trying to compile it again gives:
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for intltool >= 0.31... 0.40.3 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
configure: error: GNU gettext tools not found; required for intltool
gettext is installed though - what is going on here?
Last edited by mykey (2008-08-16 06:49:28)bump
The before mentioned app is not the only one that does not build properly - I tried gnubiff and audio-convert-mod with just the same error message
configure: error: GNU gettext tools not found; required for intltool
What can I do? Would filing a bug-report help?
Maybe you are looking for
-
Tracking oracle database activities in security/system logs of windows server
Can database activity like create or drop tables and packages be tracked in the security/system logs of windows 2003 server for the oracle database 10.2.0.4? Can purging of oracle log, n case the file has become big or even tempered be tracked in the
-
Hallo, wenn ich auf ein PDF Dokument klicke, öffnet sich Acrobat mit einem nicht näher bezeichneten Fehler (siehe screenshot). Ich muss meinst 4-5 mal wieder neu auf das Dokument klicken, bis es dann endlich angezeigt wird. Manchmal geht es überhaupt
-
Which Macbook Pro - Help !!
Hi, I currently have a G5 Powermac (dual 2.7 with 8GB RAM), outputting via a GeForce 6800 Ultra to 2 x 24" monitors via DVI. It is used predominantly for music (Logic) and Video (Final Cut). I am considering 'upgrading' to a Macbook Pro but have a c
-
ES11X-G4-H essbase export adapter issue
Hello, i have this problem with essbase export adapter for FDM: When i perform export step everything seems to be fine but /APPS/myFdmApp/myFile.dat doesn't contain records that i can find with both on web interface and with a query on oracle fdm's s
-
Hi friends, The difference between STATEMENT and PREPAREDSTATEMENT is PreparedStatement is Precompiled one right , Fine, when i execute a query using PreparedStatement where does the query resides ??? does it resides in a JDBCDriver or DATABASE, can