You are not logged in.

#1 2018-03-01 09:19:50

mija
Member
Registered: 2018-03-01
Posts: 2

No suspend upon lid closing on KDE Thinkpad X1 carbon

Hi everyone,
I have a fresh arch installation on my Thinkpad X1 carbon gen6 laptop with KDE running. Everything runs great, but whenever I close the lid everything just continues as usual (screen stays on, fan still active)... here is the output of journalctl -f when closing lid for only 10 seconds

Mar 01 09:48:27 mija-ThinkPad-X1 systemd-logind[373]: Lid closed.
Mar 01 09:48:27 mija-ThinkPad-X1 org_kde_powerdevil[583]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 0)))
Mar 01 09:48:36 mija-ThinkPad-X1 systemd-logind[373]: Lid opened.

when I wait for a little longer, like around 2 minuts I get

 
Mar 01 09:49:40 mija-ThinkPad-X1 systemd-logind[373]: Lid closed.
Mar 01 09:49:40 mija-ThinkPad-X1 org_kde_powerdevil[583]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 0)))
Mar 01 09:49:55 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:49:55 mija-ThinkPad-X1 kdeinit5[500]: ("/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_9.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_1.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_2.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_3.txt", "/home/mija/Dropbox/BSSE/ERK/Models_25_04_17/Egf_model_1/results/3_10_fixed_sigma/lns_13_sampler_prev_weights.txt", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Help/variable/PROJECT-NAME_BINARY_DIR.rst", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_19_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/euler_results/LacGfp/m2_t200_K80_f10_h24_a20/pre_sampler_44_means.txt", "/home/mija/Dropbox/Backup_tmp/ClionProjects/Tree_File_Format_API_100/boost_1_58_0/boost/asio/impl/io_service.ipp", "/home/mija/Dropbox/Backup_tmp/ClionProjects/Tree_File_Format_API_100/boost_1_58_0/boost/asio/ip/impl/address.ipp", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Help/variable/PROJECT-NAME_SOURCE_DIR.rst", "/home/mija/Dropbox/BSSE/ERK/Models_25_04_17/Egf_model_1/results/3_10_fixed_sigma/lns_14_sampler_post_weights.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_4.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_5.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_6.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/numerical_data/Egf/results/alt_1/egf_60.txt", "/home/mija/Dropbox/BSSE/ERK/Models_25_04_17/Egf_model_1/results/3_10_fixed_sigma/lns_14_sampler_prev_weights.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/LacGfp/results/u3_m50_final/lac_7.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/birth_death/results/plot_level_hist.m", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_20_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_2_level.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_3_level.txt", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Modules/CMakeAddFortranSubdirectory.cmake", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Modules/CMakeBackwardCompatibilityC.cmake", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_4_level.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_5_level.txt", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Modules/CMakeDetermineSwiftCompiler.cmake", "/home/mija/Dropbox/Backup_tmp/clion-2016.2.2/bin/cmake/share/cmake-3.6/Modules/CMakeDetermineVSServicePack.cmake", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_6_level.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_21_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_22_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_7_level.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_8_level.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_23_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_24_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/LNS_10/numerical_data/Egf/results/q05_final/tmp_9_level.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_25_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/ERK/Models_25_04_17/Egf_model_1/results/3_10_fixed_sigma/lns_15_sampler_prev_weights.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/template-preparing-research/journal-sample.bib", "/home/mija/Dropbox/BSSE/ERK/Models_25_04_17/Egf_model_1/results/3_10_fixed_sigma/lns_17_sampler_post_weights.txt")
Mar 01 09:49:55 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:50:14 mija-ThinkPad-X1 systemd[1]: Starting Cleanup of Temporary Directories...
Mar 01 09:50:14 mija-ThinkPad-X1 systemd[1]: Started Cleanup of Temporary Directories.
Mar 01 09:50:23 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:50:23 mija-ThinkPad-X1 kdeinit5[500]: ("/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/numerical_data/Egf/results/alt_1/egf_16.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/template-preparing-research/journalinvited.sty", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_26_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/numerical_data/Egf/results/alt_1/egf_17.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_27_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_28_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_29_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_30_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_31_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_32_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_33_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_34_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_35_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_36_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_37_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_38_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_39_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_40_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_41_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_42_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_43_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_44_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_45_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_46_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_47_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/numerical_data/Egf/results/alt_1/egf_14.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_48_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_49_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_50_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_51_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_52_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_53_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_54_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_55_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_56_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_57_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_58_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_59_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_60_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final/tmp_61_level_likelihoods.txt")
Mar 01 09:50:23 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:50:42 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:50:42 mija-ThinkPad-X1 kdeinit5[500]: ("/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_final_exp/tmp_acceptance_rates.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/q05_sigma/egf_92_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/sim_sigma_measurement_file_3_10-25.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/sim_sigma_measurement_file_3_20-25.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/sim_sigma_measurement_file_3_60-25.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/Egf/results/sim_sigma_measurement_file_sp10-25.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_10_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_11_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_12_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_13_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_14_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_15_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_16_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_17_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_18_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_19_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_20_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_21_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_Submission/numerical_data/Egf/results/alt_1/egf_39.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_22_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_23_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_24_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_25_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_26_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_27_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_28_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_29_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_30_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_31_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_32_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_33_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_34_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_35_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_36_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_37_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_38_level_likelihoods.txt", "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/LacGfp/results/u3_a10/lac_39_level_likelihoods.txt", "/home/mija/Dropbox/BSSE/INSIGHT/data_files/IrenaModel/irena_0.fcs", "/home/mija/Dropbox/BSSE/INSIGHT/data_files/IrenaModel/fcs_3_files/irena_0.fcs", "/home/mija/Dropbox/BSSE/Trajectory_data/LNS/write_up/journal_2/numerical_data/Egf/results/q05_final/tmp_4_level.txt")
Mar 01 09:50:42 mija-ThinkPad-X1 kdeinit5[500]: ()
Mar 01 09:51:09 mija-ThinkPad-X1 systemd-logind[373]: Lid opened.

so basically I have kdeinit5 listing a whole bunch of files (all of which happen to be in my Dropbox folder. Even though powerdevil seems to be triggering the Suspend session, nothing seems to be happening. This journaltf entry seems to come up all the time, even when I don't close the lid. It seems like kdeinit5 is constantly trying to do something with these files. Sometime I also get randomly messages like

Mar 01 10:11:52 mija-ThinkPad-X1 baloo_file_extractor[757]: Invalid encoding. Ignoring "/home/mija/Dropbox/mu_mija_journal_Submission/numerical_data/birth_death/ellipsoid_vs_dpgmm/acceptance_rate.fig"

All this messages come even if I quit Dropbox (i made sure it is not running with ps -A).

My /etc/systemd/logind.conf file has all entries commented out.

Any idea what what kdeinit5[500]:() does?
Any idea what I could do?

Thanks a bunch!

Cheers!

Offline

#2 2018-03-01 09:42:11

sincomil
Member
Registered: 2018-02-13
Posts: 77

Re: No suspend upon lid closing on KDE Thinkpad X1 carbon

Just for test purposes try to type in:

systemctl suspend

do it with your user (not root shell or sudo)

Offline

#3 2018-03-01 09:49:39

2ion
Member
Registered: 2013-04-19
Posts: 92

Re: No suspend upon lid closing on KDE Thinkpad X1 carbon

Double-check the powerdevil configuration in Settings>Power Management. Ensure that in the On AC Power, On Battery, On Low Battery tabs the "Button events handling" checkbox is ticked and "When laptop lid is closed = Suspend" is selected.

I recall that at least I had to configure this manually on my system.

Offline

#4 2018-03-01 18:07:34

B1omman
Member
Registered: 2016-02-16
Posts: 35

Re: No suspend upon lid closing on KDE Thinkpad X1 carbon

kdeinit5 starts KDE applications and those applications are then hidden behind the name kdeinit5 in your logs. Maybe you have something like KDE-Services that is such an application and also does some Dropbox-stuff. Check your kded5 configuration for anything related to Dropbox and any related configurations for KDE-Services if you have it. Also, have you had a look at https://wiki.archlinux.org/index.php/Po … r_managers?

Offline

#5 2018-03-08 10:28:57

mija
Member
Registered: 2018-03-01
Posts: 2

Re: No suspend upon lid closing on KDE Thinkpad X1 carbon

hey guys, sorry for the late reply. Thanks a lot for the answers, actually i just had to activate it manually as 2ion suggested.

Offline

Board footer

Powered by FluxBB