Commit Graph

3637 Commits (fix/compton-pidfile)
 

Author SHA1 Message Date
Alexander Golubev 329f56b7fa twin: small refactoring; move global variables to the class
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev 8c73a50076 twin/compton: remove no longer used old pid-file functions
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev 09cd237681 twin/compton: simplify signal handlers
Make signal handlers just set a flag and move all actual logic into the
main loop. A general reminder: it's a UB to have stuff like malloc() in
signal handlers.

This partially reverts some changes made by fbd3a27d6e. Now to reset
compton config the whole session will be recreated from scratch.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev f1a8e00f18 twin/compton: use SIGUSR1 to reload settings
Before that to reload settings compton-tde was using SIGUSR2; and
SIGUSR1 wasn't actully used, but was designated for something wierd.
This commit removes old SIGUSR1 handler and uses SIGUSR1 to reload the
settings instead of SIGUSR2.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev 57a4006f35 twin/compton: remove the file passed via --write-pid-path on exit
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev c5a178fbce twin: incorporate DISPLAY into compton pidfile name
This fixes compton launch on systems with several X11 Screens. And also
in case of multiple sessions for the same user.

Also:
- move the file to tde's proper tmp dir.
- deduplicate some code

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev c00af771de twin/compton-tde: remove some dead code
`WORK_AROUND_FGLRX` is not defined anywhere in the build system. And the
code under the #ifdefs was broken for decades as `restartOnSigterm` is
not declared, defined or used anywhere.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
Alexander Golubev d4522f857f twin: minor whitespaces fixup
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 days ago
TDE Gitea 797db50eff Reset submodule main/core/tdebase/admin to latest HEAD 4 days ago
Alexander Golubev e8fcdbfe90 Replace TRUE/FALSE with boolean values true/false [2]
X API calls for some reason were missed in previous commits.

Note: Traditionally X Api uses "True" and "False" definitions, but for
consistency with the rest of code base it would be better to use modern
counterparts.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 days ago
Slávek Banko e2bdf9f279
Add support for LoongArch 64 bits little-endian.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 week ago
TDE Gitea 9f7c5ac83d Reset submodule main/core/tdebase/admin to latest HEAD 3 weeks ago
LupusRubrum 71b44a28ee changes the kicker icons i missed in /kicker/data/icons to the redesigned ones and adds 64x versions
Signed-off-by: LupusRubrum <bnw_canislupusrufus@zohomail.com>
3 weeks ago
Michele Calgaro d62fa1e145
Rename 'tde_setup_architecture_flags' to a more appropriate 'tde_setup_compiler_flags'
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 weeks ago
LupusRubrum 6fa0fa1b34 redesigns the kicker icons
Signed-off-by: LupusRubrum <bnw_canislupusrufus@zohomail.com>
3 weeks ago
LupusRubrum c501a10bb9 changes kicker icons in kcontrol
Signed-off-by: LupusRubrum <bnw_canislupusrufus@zohomail.com>
4 weeks ago
Jan Stolarek da268e0096
Revert Konqueror graphics to its original form
There were changes made to original Konqueror graphics in #632.  These were
questionable in that: a) they were an instance of fixing something that wasn't
broken; and b) editing was highly unskillful and came from a contributor that
also used AI to generate new wallpaper in TDE.

Some of these editing issues were later corrected in #649, but the texture still
exhibits transparency issues.

This commit reverts the texture to its original state, which had no issues that
needed fixing.

See tdeartwork#58
1 month ago
Michele Calgaro 7d62589956
Revert changes to klipper icon from commit d2221f23. This relates to previous PR #654 and put the 'k' back, since the 't' did not look appropriate for 'klipper'
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 3ae8950abe
Rename 'preloadkde' to 'preloadtde' in tdm configuration.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro a81ffda1f3
Rename KDE_BINDIR to TDE_BINDIR
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro d2b2363d93
twin: fix tiling of maximized windows. This resolves issue #675
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro 473f724fe4
Remove specific reference to the number of KDE version. This resolves issue #674
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro f49d49cec5
Add draft version of release notes for R14.1.6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Alejo Fernández 3a081ba914 Translated using Weblate (Spanish (Argentina))
Currently translated at 55.1% (27 of 49 strings)

Translation: tdebase/color schemes
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/color-schemes/es_AR/
2 months ago
Alexander Golubev e775f773d1 Translated using Weblate (Russian)
Currently translated at 100.0% (99 of 99 strings)

Translation: tdebase/tdm - sessions
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/tdm-sessions/ru/
2 months ago
Alexander Golubev 3d53aa4698 Translated using Weblate (Russian)
Currently translated at 81.7% (283 of 346 strings)

Translation: tdebase/kappfinder - data
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kappfinder-data/ru/
2 months ago
Alexander Golubev f455b588dd Translated using Weblate (Russian)
Currently translated at 100.0% (49 of 49 strings)

Translation: tdebase/color schemes
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/color-schemes/ru/
2 months ago
Alexander Golubev bea23e7bd2 Translated using Weblate (Azerbaijani)
Currently translated at 24.4% (12 of 49 strings)

Translation: tdebase/color schemes
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/color-schemes/az/
2 months ago
Michele Calgaro 4ea39c3645
Add final version of release notes for R14.1.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Alexander Golubev 01dde38297 Translated using Weblate (Russian)
Currently translated at 100.0% (34 of 34 strings)

Translation: tdebase/twin - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/twin-desktop-files/ru/
2 months ago
Alexander Golubev e1e9269db0 Translated using Weblate (Russian)
Currently translated at 100.0% (106 of 106 strings)

Translation: tdebase/tdeioslave - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/tdeioslave-desktop-files/ru/
2 months ago
Alexander Golubev 77014c0852 Translated using Weblate (Russian)
Currently translated at 62.5% (286 of 457 strings)

Translation: tdebase/kcontrol - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kcontrol-desktop-files/ru/
2 months ago
Alexander Golubev d2995f41d6 starttde: drop support for kde4 session shutdown
As noticed in the patch attached to #322 the code was broken for ages
anyway.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/322
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 10c6b7cf1e starttde: remove some obsolete comments
- I believe the PATH order question was resolved by place_before_in_path
  function.
- tdeinit_phase1 is no more experimental after a decade.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 3c0b2b898d starttde: drop support for autouse of ~/.kde as TDEHOME
The changes are loosely based on starttde proposed by @Woodsman in [1].

[1]: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/322

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 2a6d54be85 starttde: make adding games to PATH conditional
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Darrell Anderson 6fac1bcced starttde: set XDG_CURRENT_DESKTOP unless already defined
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/322
Co-authored-by: Alexander Golubev <fatzer2@gmail.com>
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Darrell Anderson 6d02f6afe3 starttde: A lot of minor changes
Namely:
- Re-wrapping of text
- Some rewording of comments
- Replacement of back-ticks `` with $()
- A few additional output messages

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Darrell Anderson af60b0eb6f starttde: fix idents
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev f16cd59457 kicker: change the internal layout of systray
This makes clocks embedded into systray unaffected by systray's margin
value.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 37fd183da8 kicker: redraw systray after changing its layout
This fixes an issue with systray not being redrawn upon panel width
change.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 8068c6bdb2 kicker: add an option to set external margin for tray icons
This commit adds an option to set both: margin (space from an icon to
the border) and spacing (space between two neighbouring icons). The
option to tweak spacing was previously introduced in fa284a4598 and was
called "margin" the actual margin was reduced to 0. Unfortunately that
had its own unwanted side-effects listed in #647. Before fa284a4598 the
margin and spacing were fixed to be 1.

This commit restores old defaults for margin & spacing i.e. 1 to better
conform to config of older systems. Effectively this resolved most
issues raised in #647 and eliminates any regressions, though there are
some caveat cases when the behaviour is not ideal e.g. next settings:

    panel_width=47
    spacing=1
    margin=0

result in next layout:

    [0px][icon][2px][icon][1px]

when ideal would be:

    [1px][icon][1px][icon][1px]

On the other hand in such a case a user should probably just use
margin=spacing=1.

Besides that commit contains some minor refactoring.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/647
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
Alexander Golubev 1ef2393286 kicker: minor fixup of spacing in a file
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 months ago
giovanni 85723c5c06 Translated using Weblate (Interlingua)
Currently translated at 38.9% (178 of 457 strings)

Translation: tdebase/kcontrol - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kcontrol-desktop-files/ia/
3 months ago
giovanni 381a656ffc Translated using Weblate (Interlingua)
Currently translated at 38.0% (174 of 457 strings)

Translation: tdebase/kcontrol - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/kcontrol-desktop-files/ia/
3 months ago
Bernhard Reiter a84397aebb
add minor diagnostics to starttde
.. to see which XDG_CONFIG_DIRS are set by the script.
  This is interesting on platform which use this environment varialble
  to find the desktop files from the trinity installation.

  See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/232
  for a use case where this kind of output is useful.

Signed-off-by: Bernhard Reiter <bernhard@intevation.de>
3 months ago
Alexander Golubev e07d4c99b1 Remove copypaste artifacts "i=" from main_low_apply() calls
This fixes a crash in tderandrtray on display reconnect, noticed during
debugging TDE/tdelibs/376.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/issues/376
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
3 months ago
Toad114514 595596060c Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 50.5% (50 of 99 strings)

Translation: tdebase/tdm - sessions
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/tdm-sessions/zh_Hans/
4 months ago
Toad114514 ae712b02d8 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 82.6% (19 of 23 strings)

Translation: tdebase/drkonqi - presets
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdebase/drkonqi-presets/zh_Hans/
4 months ago
Michele Calgaro 8252927210
kdesktop: simplify lock process code. This ensure correct cleanup in case of unexpected termination of the process.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago