Commit Graph

35 Commits

Author SHA1 Message Date
Riccardo Calixte 01fd3da2a3 tree-wide: get rid of trailing whitespace
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11841
2020-05-19 12:09:13 +02:00
Carsten Haitzler 5d0b5fe20f add option to install system.conf like sysactions.conf 2020-04-28 17:54:23 +01:00
Carsten Haitzler 91c003100e e system - allow the per system permit/deny rules to work 2020-04-23 13:43:45 +01:00
Carsten Haitzler 5cc02d6467 Bring back e_sys just for mount, unmount and eject
This reverts commit a43869cdc0.

I still need this for efm... i forgot... :( So bring back the bits we
need until it's no longer needed...
2020-01-16 23:13:52 +00:00
Carsten Haitzler a43869cdc0 e_sys -> move from enlightenment_sys to e_system 2020-01-15 11:33:55 +00:00
Carsten Haitzler f57572b678 e system - add new uber setuid tool to replace all the previous ones
so e has had a bit of a mess of setuid root tools to do things that
are essential to maintaing a functioning desktop/laptop/tablet/phone
like device like shutting it down or suspending or sqizzling the cpu
governor or messing with the backlight or... you get the idea.

this has been spread around enlightenment_sys and other special
purpose tools. this now unifies it into a single "always there"
enlightenment_system backend setuid root slave process whose job it is
to do all these things via a stdio protocol in an organized way. this
means latency to do something is lower, but at the expense of
consuming ram and a lurking process. unfortunately the lurking will be
needed soon when i add ddc support to make it even vaguely efficient,
so it's a cost i guess we have to pay now. we'll need this in future
as well for some stats collection and more.

still need to port existing code to use this instead of the existing stuff,
and then remove of the old stuff.
2020-01-15 11:33:49 +00:00
Carsten Haitzler 8c6eb37874 sysactions - properly seed rfkill and l2ping paths from meson
we do binary discovery to generate a sysactions.conf for the host
system now for l2ping and rfkill commands. before they were hardcoded
paths. nice fixup for polishing the release
2019-07-14 22:19:39 +01:00
Carsten Haitzler 92b03ded05 Pass meson dist - we have to install config.h and not use install option
install option for configure_file is a 0.50 feature - stick to 0.47
stuff so we can pass meson dist
2019-05-21 14:41:24 +01:00
Carsten Haitzler 4723f7e4a7 add rfkill actions to sysactions.conf - necessary for bluez
so bluez itself wont go rfkill block or unblock the bt device. you
have to rfkill unblock separately if it's blocked. this is needed to
make bluez at a minimum work right. possibly should be added to
connman too. but this is the first step.
2018-05-18 21:45:20 +09:00
Mike Blumenkrantz bd88282047 remove autotools 2017-11-20 07:05:36 -05:00
Mike Blumenkrantz 4845823d74 make some find_program() calls non-required in meson build
reported by wltjr
2017-10-20 13:40:20 -04:00
William L. Thomson Jr 4d96d55c15 meson: Make sleep.sh and hibernate.sh not required, fixes T6210 2017-10-20 13:40:20 -04:00
Carsten Haitzler f9dae2400c move sysaction specific configure val detection to the etc subdir 2017-08-10 14:47:12 +09:00
Mike Blumenkrantz e8dc71cd48 meson. 2017-07-20 17:18:33 -04:00
Carsten Haitzler e803ecbc1e e -> menu -> fix games menu to be flat like others and include steam
this improves the menu layout to be simpler and nicer by far. steam
games go from other to games menu.
2015-07-05 10:46:34 +09:00
Daniel Kolesa dc75c4dd7c freebsd: use /usr/sbin/zzz for suspend 2014-11-21 15:23:23 +00:00
Daniel Kolesa d04a4e705f specialize some sysactions fields for freebsd 2014-11-21 15:18:52 +00:00
Sebastian Dransfeld 3b899f44fe e: rename applications menu to fit xdg menu spec 2014-06-11 11:08:26 +02:00
Mike Blumenkrantz e3c85ec4da feature: use non-recursive makefiles for entire build system
this is the correct way to write a build system. one toplevel Makefile.am with the rest of the directories having include Makefile.mk files.

additional authors:

Iván Briano <ivan.briano@intel.com>
2014-01-14 20:22:01 -05:00
Carsten Haitzler bb4a21e986 e_sys - address security concerns with environment and gdb
1. clear out environment as best is possible before executing
anything. especially PATH and IFS are set to minimal base defaults.
also use clearenv() if available and unsetenv()

2. remove gdb method as it's just too dangerous. run it as normal as
the user and if the kernel / distro dny that - then sorry. too bad.
2013-11-30 22:26:30 +09:00
Jérémy Zurcher e234e74ee7 systemd: fix + complete power mgmt method support
- fix typo in configure.ac for suspend/hibernate method selection
   - add systemd support of halt and reboot actions
2013-04-05 15:20:23 +02:00
Cedric Bail 2f6fcf4228 e: add automatic desktop lock/unlock when a bluetooth device disapear.
This use a custom implementation of l2ping to ping known device and do
proper action when they go away. I don't recommend to use the auto unlonck,
but it is there if someone need it.
2013-03-18 00:07:34 +09:00
Cedric BAIL ab5767eac7 e: add gdb support to enlightenment_sys to work around Ubuntu crappy kernel patch.
SVN revision: 78640
2012-10-30 08:36:26 +00:00
Carsten Haitzler b0e87e2c8c add more grps to sysactions
SVN revision: 76485
2012-09-12 03:58:02 +00:00
Carsten Haitzler ea8f8c3a75 improve e menu contents.
SVN revision: 67015
2012-01-10 11:57:09 +00:00
Mike Blumenkrantz 9575b5e831 add eeze mount permission lines
SVN revision: 60868
2011-06-30 08:18:26 +00:00
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Christopher Michael 1990151e7c E: Remove extra separator at the end of enlightenment.menu. There is
nothing after it and it just looks silly to have a dangling separator
in your menu.



SVN revision: 59738
2011-05-27 15:47:11 +00:00
Carsten Haitzler 49bbbf6066 as discussed on the mailing list - e providexs enlightenment.menu now.
no one actually did this, so i did it finally.



SVN revision: 59337
2011-05-12 03:29:23 +00:00
Hannes Janetzek 6a6bcb35f9 e17: create sysactions.conf with suspend/hibernate commands found at configure time.
TDO there should be a notice in summary which commands are used and that sysactions.conf needs to be tweaked


SVN revision: 58187
2011-03-29 18:20:11 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Gustavo Sverzut Barbieri f0588f2b2d allow not installing /etc/enlightenment/sysactions.conf
We provide just a default, but distros should use their own version
with system specific groups and hibernate/suspend actions (pm-utils or
so)



SVN revision: 45596
2010-01-26 18:21:09 +00:00
Carsten Haitzler 81193aa446 fbsd note.
SVN revision: 38594
2009-01-15 11:58:26 +00:00
Carsten Haitzler d3765d8d8e font upsize with more outlining/contrast by default for soem modules.
sysactions more comprehensive and able to handle multiple groups a user
is a member of - config modified to handle common ones i find on debian
and ubuntu that "console" users tend to be added to. add divider in config
menu. work a tad more on fm2 dnd.


SVN revision: 26186
2006-09-28 06:07:15 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00