Re: org.freedesktop.Application: Unclear licence & copyright

2022-12-15 Thread Thiago Macieira
what's the licence of that xml snippet or in its > default the documentation files? > https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/109 Given that that is a data description of an API, I don't think it's copyrightable. But IANAL. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: XDG_DATA_HOME vs XDG_STATE_HOME usage

2022-09-12 Thread Thiago Macieira
y dismiss? If so, then it should be DATA, not STATE. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: XDG_DATA_HOME vs XDG_STATE_HOME usage

2022-09-12 Thread Thiago Macieira
they themselves created. That's again different from cache, which are files that should be periodically cleaned up. In my own system, I don't back up cache dirs, but I do back up state ones. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: XDG_DATA_HOME vs XDG_STATE_HOME usage

2022-09-12 Thread Thiago Macieira
> update recommendations. Our plan is to recommend update only once per > week thanks to this stored UNIX timestamp. Why would you not want to generate update recommendations? If the software in question is per system, the warning should be per system. -- Thiago Macieira - thiago (AT) macieir

Re: xdg-open tel: links

2021-02-25 Thread Thiago Macieira
-latest.html#idm45094474779648 -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ xdg mailing list xdg@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/xdg

Re: XDG Default Applications specification proposal

2020-07-31 Thread Thiago Macieira
gs file formats. For another, GSpawn has a flawed design so it is utterly forbidden in any Qt-based application using QProcess (this includes used by libraries you linked to). -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering

Re: improve PRIMARY buffer copy-paste behaviour, paste over

2020-03-12 Thread Thiago Macieira
There's no predefined shortcut for that, but I'm sure we can find one to complement: Shift+Insert is copy-to-CLIPBOARD, Ctrl+Insert is paste-CLIPBOARD and Ctrl+Shift+Insert is paste-PRIMARY. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel

Re: improve PRIMARY buffer copy-paste behaviour, paste over

2020-03-12 Thread Thiago Macieira
text to be overwritten and you suggest doing that by never letting go of the left button that is being used to make that selection in the first place. It can probably be implemented reasonably easily. It won't be a very discoverable feature, though, so is it worth it? -- Thiago Maciei

Re: improve PRIMARY buffer copy-paste behaviour, paste over

2020-03-05 Thread Thiago Macieira
o. Or I can middle-click or use Ctrl+Shift+Insert to paste PRIMARY over the selection. [*] there are a couple of applications that for some reason misbehave. Firefox comes to mind; kwrite and krunner react to middle-click but not Ctrl+Shift+Insert. -- Thiago Macieira - thiago (AT) macieira.info

Re: Current state of DPI settings under X

2017-08-29 Thread Thiago Macieira
double the font sizes, which for well-behaving applications is an equivalent change to doubling the font DPI. But unlike the change in DPI, not all applications will use 18pt, 20pt or bigger fonts. There are modern applications that hardcode font sizes in points. -- Thiago Macieira - thiago (

Re: Current state of DPI settings under X

2017-07-25 Thread Thiago Macieira
ly different DPI connected at the same time. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ xdg mailing list xdg@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/xdg

Re: Questions about a unified API for file choosers (and platform/toolkit integration)

2017-03-27 Thread Thiago Macieira
) or the fallback which uses the built-in Qt file dialog. I don't think we can change this. There can't be a file dialog API for Qt to use that would circle back to Qt (chicken-and-the-egg problem). At best, we could use a centralised "guess my environment" library so that all appli

Re: Questions about a unified API for file choosers (and platform/toolkit integration)

2017-03-27 Thread Thiago Macieira
n > plain-old-userspace API's. The flatpak/AppImage/etc. concept is incompatible with the way that Qt integrates with the system (by way of plugins installed by the system), so at this time we wholly discourage our users from using those solutions. -- Thiago Macieira - thiago (AT) macieira.i

Re: Definition of the current icon theme

2017-01-30 Thread Thiago Macieira
> configuration). Not to mention that the different DEs might be started on multiple seats sharing a $HOME mount (if not the same machine), so writing to a file is not a good idea. > $XDG_RUNTIME_DIR? Better. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software A

Re: Identifying the real display server

2015-04-13 Thread Thiago Macieira
could do it just fine. # pseudo-code, I don't know Python for url in os.environ['PREFERRED_DISPLAY'].split(): if isDisplaySupported(url.scheme()): initDisplay(url.path()) else: croak() -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect

Re: Identifying the real display server

2015-04-13 Thread Thiago Macieira
on that project (like Simon and I). Do you want us to take you seriously? Please be considerate of everyone's efforts. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067

Re: Identifying the real display server

2015-04-13 Thread Thiago Macieira
application but launching different backends or passing different options depending on the display server? As for x11, it is covered just fine with x11::0. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG

Re: Identifying the real display server

2015-04-13 Thread Thiago Macieira
) If that weren't the case, file:///etc/passwd wouldn't be valid. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358

Re: Identifying the real display server

2015-04-13 Thread Thiago Macieira
environment variable for the details. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358

Re: Identifying the real display server

2015-04-10 Thread Thiago Macieira
as a URL. The space character would have served just as well. As for the name of the variable itself... I'll leave the bikeshed to others :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358

Re: relative paths in Exec= in .desktop and .service files

2014-09-08 Thread Thiago Macieira
a wide variety of CWD and of installation prefixes. Desktop files should be predictable, so I'd suggest we go for the third option: relative to the file itself. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: volatile config data and XDG Base Directory spec

2014-02-19 Thread Thiago Macieira
/lib, paralleling /usr/local/lib If you're building stuff, you could even just do --prefix=$HOME/.local and it might install correctly. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358

Re: audio/x-riff mime type

2014-02-05 Thread Thiago Macieira
embed other types of media. It's just that so far it's basically been used only for audio files, and WAV at that. If there's now a good use of it with non-audio data, it should be in the application/ hierarchy. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect

Re: Desktop file spec improvements (was: Binary name in the desktop file)

2013-12-29 Thread Thiago Macieira
have a concrete example that requires it? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description

Re: Desktop file spec improvements (was: Binary name in the desktop file)

2013-12-29 Thread Thiago Macieira
handled today, we can just define what it should be. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc

Re: Binary name in the desktop file

2013-12-28 Thread Thiago Macieira
need to know the binary name. Forget the environment. That was a side-effect of your using the wine file as an example. Maybe we need to add EnvironmentNNN entries to set environment variables before launching an executable. But that's a *separate* discussion. -- Thiago Macieira - thiago

Re: Binary name in the desktop file

2013-12-28 Thread Thiago Macieira
understand what the problem is. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description

Re: Binary name in the desktop file

2013-12-26 Thread Thiago Macieira
On quinta-feira, 26 de dezembro de 2013 10:56:11, Jerome Leclanche wrote: I'd really like to be able to get the binary name from desktop files (eg a way to start without any argument). Why? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open

Re: Binary name in the desktop file

2013-12-26 Thread Thiago Macieira
On quinta-feira, 26 de dezembro de 2013 12:55:28, Jerome Leclanche wrote: On Thu, Dec 26, 2013 at 12:35 PM, Thiago Macieira thi...@kde.org wrote: On quinta-feira, 26 de dezembro de 2013 10:56:11, Jerome Leclanche wrote: I'd really like to be able to get the binary name from desktop files

Re: Binary name in the desktop file

2013-12-26 Thread Thiago Macieira
/wineprefixes/default wine start And besides, what good is that? It will exit immediately because it wasn't told what to start. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint

Re: The format of Shared MIME Database magic values

2013-12-16 Thread Thiago Macieira
-tested and well-supported libraries. Just as an example, there are currently three pure C++ bindings to D-Bus. All three are unmaintained and in various states of bitrot. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology

Re: Removing OnlyShowIn / NotShowIn from desktop actions

2013-07-03 Thread Thiago Macieira
scenario here is that someone has two applications of the same type (say, two BitTorrent clients) and then there are two similar actions in the menu (say, Create .torrent for file with KTorrent and Create .torrent with Transmission). -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: xdg-open requires preceding slash

2013-04-22 Thread Thiago Macieira
%2Ftracker.istole.it%3A6969 tr=udp%3A%2F%2Ftracker.ccc.de%3A80 Cannot reproduce. It works here. Maybe the problem isn't xdg-open, but the desktop application that it launches. Maybe your desktop doesn't recognise the link. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: User dir in /run is set in env var?

2013-04-15 Thread Thiago Macieira
. Don't assume anything. Some later version of the login system could add a random number to the $XDG_RUNTIME_DIR path just to spite you. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358

Re:

2013-03-21 Thread Thiago Macieira
found by the XDG base specification containing those files and make it apply to that group. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5

Re: [udisks] Can't automount disks

2013-03-05 Thread Thiago Macieira
you don't have UDisks running. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description

Re: Rework of the org.freedesktop.ScreenSaver API?

2012-11-30 Thread Thiago Macieira
is active or not based on whether the window in question is shown or not. For example, a movie player application can set this X property on a window, but if the window is not visible, the screensaver should (maybe) not be inhibited. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: Suggestion to keep the type of a file or directory in the stat field st_rdev.

2012-03-19 Thread Thiago Macieira
for the st_rdev field for regular files in its on-disk format. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc

Re: RFC: new OnlyShowIn/NotShowIn values: MATE and RAZOR

2012-01-15 Thread Thiago Macieira
style colour palette - icon theme - order of Ok / Cancel buttons - file dialog to use - wallet to use (until secret services comes along) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358

Re: Convention Over Configuration: A Way Forward?

2012-01-08 Thread Thiago Macieira
in the first place, that they are lazy to change their code, or they simply don't want to change from old Unix convention. Neither of those problems will be solved by hardcoding the path to $HOME/.config. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software

Re: Base Directory Specification - XDG_*_DIRS syntax

2011-12-25 Thread Thiago Macieira
? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: _DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH

2011-12-20 Thread Thiago Macieira
/classKMainWindow.html http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKXmlGuiWindow.html -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C

Re: _DBUS_APPLICATION_ID, _DBUS_UNIQUE_NAME, and _DBUS_OBJECT_PATH

2011-12-16 Thread Thiago Macieira
, with standardised methods and behaviour so that one application can communicate with another. That's what I am asking for: do we want to define some interfaces? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG

Re: Default File Manager

2011-11-30 Thread Thiago Macieira
and require no changes for backwards compatibility. Then just request the file managers implement the selection feature. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint

Re: Default File Manager

2011-11-29 Thread Thiago Macieira
/#valgrind.supp This URL above works right now, except it won't pre-select valgrind.supp. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5

Re: Default File Manager

2011-11-29 Thread Thiago Macieira
problems. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message

Re: Showing a file in the file manager

2011-09-22 Thread Thiago Macieira
the name. If this process exits before the name is claimed, the message will return to sender. If another PID claims the name, it's undefined. I don't remember what happens. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology

Re: app id in desktop file

2011-05-11 Thread Thiago Macieira
mapping between a process's acquired name on the bus and the desktop file. Are there any restrictions on the naming of desktop files? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358

Re: [RFC] hostnamed

2011-04-19 Thread Thiago Macieira
encoded as per RFC 3490. That means if my machine's hostname is: thiago.josé.macieira.example.org hostnamed should be given and will return instead: thiago.xn--jos-dma.macieira.example.org -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product

Re: [RFC] hostnamed

2011-04-19 Thread Thiago Macieira
-preety hostnames with stricter rules is a good thing I believe. Agreed. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4

Re: I found it useful to generalize .local

2011-04-11 Thread Thiago Macieira
to be relocatable for you to install with $HOME/.local as a prefix. But simple scripts can be placed in $HOME/.local/bin already and building from source would allow one to simply say --prefix=$HOME/.local. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product

Re: [RFC] XDG_RUNTIME_DIR

2010-11-11 Thread Thiago Macieira
Em Quinta-feira, 11 de Novembro de 2010, às 19:22:33, Nicolas Mailhot escreveu: Le jeudi 11 novembre 2010 à 00:18 +0100, Thiago Macieira a écrit : On Wednesday, 10 de November de 2010 22:17:40 Ryan Lortie wrote: /tmp is also often used to store largeish things like downloads in progress

Re: New handling for URI scheme handlers

2010-10-05 Thread Thiago Macieira
of x-scheme-handler/* mime-types. Any comments? I love it. Does it work in KDE? No. KDE requires that you install a .protocol file (which is just a .desktop file with a different extension) in /usr/share/kde4/services. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: New handling for URI scheme handlers

2010-10-05 Thread Thiago Macieira
and is regenerated as necessary). I'm not arguing against (or for) the new scheme. I'm merely stating how KDE does this now. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067

Re: New handling for URI scheme handlers

2010-10-05 Thread Thiago Macieira
transfers and whether the protocol/implementation supports certain features (server-side moves, hard linking, etc.) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B

Re: Mouse wheel, scrolling and zooming

2010-08-02 Thread Thiago Macieira
), whereas the Ctrl behaviour is usually added by applications that support zooming. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005

Re: Screenshot key

2010-08-02 Thread Thiago Macieira
screenshotting. Individual X applications don't usually do screenshots by themselves. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4

Re: Mouse wheel, scrolling and zooming

2010-08-02 Thread Thiago Macieira
On Monday 2. August 2010 11.18.11 Andre Majorel wrote: On 2010-08-02 10:31 -0300, Thiago Macieira wrote: On Monday 2. August 2010 04.35.40 Andre Majorel wrote: What would you use in an application to scroll in two dimensions and zoom in/out with the mouse wheel ? Inkscape

Re: Mouse wheel, scrolling and zooming

2010-08-02 Thread Thiago Macieira
On Monday 2. August 2010 12.00.55 Simon McVittie wrote: On Mon, 02 Aug 2010 at 11:42:36 -0300, Thiago Macieira wrote: Up = towards lower coordinate numbers Down = towards higher coordinate numbers Wheeling down with and without the modifier will take you from Top-Left to Bottom-Right

Re: DBus properties naming rules

2009-09-09 Thread Thiago Macieira
. Really, you should. If you choose to use the low-level libdbus-1, note that Introspectable is not a very easy method to implement. If your object is part of a tree, you must also include the sub- nodes in your introspection. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: basedir spec and plugins

2009-06-30 Thread Thiago Macieira
the issue and say that you have to set an environment variable with the arch-dependent subdir of $HOME/.local/lib if you have one? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358

Re: basedir spec and plugins

2009-06-30 Thread Thiago Macieira
Simon McVittie wrote: On Tue, 30 Jun 2009 at 04:08:26 -0300, Thiago Macieira wrote: We'll need an architecture key, which is composed by the host OS plus at least the processor main type. Multiarch http://lackof.org/taggart/hacking/multiarch/ addresses this by taking the CPU and OS (or CPU

Re: basedir spec and plugins

2009-06-30 Thread Thiago Macieira
Brian J. Tarricone wrote: On 2009/06/30 00:08, Thiago Macieira wrote: What's more, to be suitable for C++, we may need to encode the C++ ABI for architectures where more than one C++ compiler are common (which is just about every platform except the free ones). But we can have

Re: basedir spec and plugins

2009-06-26 Thread Thiago Macieira
can store the plugins anywhere where the FHS allows them to. Unless you're thinking of a form of XDG plugin system, I don't see the use- case. Can you elaborate on why you thought of this? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt

Re: [Fwd: Location of autostart files]

2009-06-23 Thread Thiago Macieira
-autostart-condition. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Software PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: Please standardize Screen saver DBus interfaces

2009-05-14 Thread Thiago Macieira
one as it tends to actually drain more power ;) Screen savers weren't created to save power. They were created to save screens from burn-in (see http://en.wikipedia.org/wiki/Screen_burn-in) :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia

Re: .desktop file security

2009-02-24 Thread Thiago Macieira
to use the +x flag, use it only if extended attrs are not provided or not available. .desktop files of Type=Application are executable. We just need a suitable loader for them. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Software

Re: .desktop file security

2009-02-24 Thread Thiago Macieira
with a different name (KIO adds .part), so a new file is always created. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: Mapping ctrl-click to right click?

2009-01-02 Thread Thiago Macieira
I'd check on this first 'cause that would be kind of messy. Can't you use the three-finger tap to mean button 3? In any case, this is the wrong list. Please ask in an X users mailing list. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358

Re: Why .local/share ?

2008-11-10 Thread Thiago Macieira
started using ~/.local/bin for my own executables instead of ~/bin. That allows me to keep my $HOME clean. But I don't think an environment variable will be of much use unless it's $LD_LIBRARY_PATH... -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Software Engineer

Re: Why .local/share ?

2008-11-10 Thread Thiago Macieira
Brian J. Tarricone wrote: Thiago Macieira wrote: As for a lib, I very much agree that there should be a directory. In fact, I've recently started using ~/.local/bin for my own executables instead of ~/bin. That allows me to keep my $HOME clean. But I don't think an environment variable

Re: To Use DBus or libusb (Beginner Question)

2008-09-03 Thread Thiago Macieira
requirements, maybe it's not the best option. In any case, you have to ask the Skype developers first how to inject sound data from the phone into skype and the other way around. It might be easier to just configure Skype to use that, since it detects USB sound devices. --   Thiago Macieira  -  thiago

Re: executable .desktop files

2008-08-22 Thread Thiago Macieira
Egon Kocjan wrote: Thiago Macieira wrote: Egon Kocjan wrote: Sure. If I'm not mistaken, there's no other solution, that gives you instant double-clickable executables on standard gnome/kde/xfce desktops. That's intentional. Users should have to turn something into executable before it's

Re: executable .desktop files

2008-08-22 Thread Thiago Macieira
type with an interpreter/loader. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: Special mime types for directories.

2008-05-14 Thread Thiago Macieira
On Wednesday 14 May 2008 17:40:39 Mildred wrote: Le Tue 13/05/2008 à 19:42 Thiago Macieira à écrit: As far as I know, directory bundles are a concept existing only on MacOS X. The file browsers on Linux/Unix will treat your directory as any other directory. Why not allow directories

Re: Special mime types for directories.

2008-05-13 Thread Thiago Macieira
the system uses for directories (I don't know if inode/directory is a KDE concept or a global one). As for thumbnailing, you're not going to get it cross-desktop, period. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B

Re: Desktop Theme Spec

2008-04-21 Thread Thiago Macieira
:-)) It would most likely crash due to infinite recursion :-) Or, in a more real scenario, Qt 4 applications loading GTK-Qt which loads Qt 3 do already crash instantly. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1

Re: thumbnail mtime, ctime

2008-04-01 Thread Thiago Macieira
no failed thumbnail is read or written. Now... is anyone in a position to modify the thumbnailing spec? Or is it maintainerless? Can we also get it a decent home, instead of in someone's public_html? --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Thiago Macieira
On Monday 31 March 2008 11:52:43 Bastien Nocera wrote: On Thu, 2008-03-27 at 20:16 +0100, Thiago Macieira wrote: This API is accessible via D-Bus. If wanted, we could work on making it an fd.o spec. What API is available via D-Bus exactly? I was thinking of adding to the gnome-keybindings

Re: 'file' URI scheme

2008-03-31 Thread Thiago Macieira
On Monday 31 March 2008 12:17:01 Alexander Larsson wrote: On Mon, 2008-03-31 at 00:58 +0200, Thiago Macieira wrote: [RFC 3987 requires URIs to be in UTF-8, which means that practically the only valid encoding on Linux now is UTF-8.] I think there is some sort of misunderstanding here. All

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Thiago Macieira
consumption. It's just used for communication internally between KDE libraries and the daemon. That's why I was offering to look into making this an fd.o standard. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660

Re: 'file' URI scheme

2008-03-31 Thread Thiago Macieira
-according-to-locate(byte-stream) } else { path ← url.utf16-path } We have no plans of implementing that support. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Re: 'file' URI scheme

2008-03-30 Thread Thiago Macieira
/config;bar/some.conf;hi I doubt that file exists in your system. If there's any such thing as parameters, they must be handled by the open(2) system call. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C

Re: API for binding and unbinding a key combo?

2008-03-30 Thread Thiago Macieira
Tuomo Valkonen wrote: Since your app is already running, you can just XGrabKey, assuming nothing else uses the key already. And that's exactly the problem: how do you find out if anyone else is using it? And how do you resolve the conflict in that case? --   Thiago Macieira  -  thiago

Re: API for binding and unbinding a key combo?

2008-03-30 Thread Thiago Macieira
Tuomo Valkonen wrote: Just complain, and let the user handle the issue. In general, that doesn't help because you don't know what the other application is. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1

Re: 'file' URI scheme

2008-03-30 Thread Thiago Macieira
Luke -Jr wrote: On Sunday 30 March 2008, Thiago Macieira wrote: file:///etc;foo/config;bar/some.conf;hi What parameters? Section 3.3 of RFC 2396 (Uniform Resource Identifiers (URI): Generic Syntax) RFC 3986 is newer. But we're talking about URLs here, which are a specific subset of URIs

Re: thumbnail mtime, ctime

2008-03-28 Thread Thiago Macieira
On Friday 28 March 2008 11:37:38 Dr. Michael J. Chudobiak wrote: Thiago Macieira wrote: I don't think a failed thumbnail should be saved under those conditions. The spec says For every thumbnail generation failure the program creates an empty PNG file. It doesn't exclude permissions-related

Re: thumbnail mtime, ctime

2008-03-28 Thread Thiago Macieira
On Friday 28 March 2008 18:31:01 David Zeuthen wrote: On Fri, 2008-03-28 at 12:03 +0100, Thiago Macieira wrote: - it would throw away a valid thumbnail if the file became unreadable Maybe, uh, that's a feature. Or to put it stronger: a bug fix for a security vulnerability in the spec

Re: API for binding and unbinding a key combo?

2008-03-27 Thread Thiago Macieira
work on making it an fd.o spec. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: thumbnail mtime, ctime

2008-03-27 Thread Thiago Macieira
in having ctime as a change-detection parameter. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: thumbnail mtime, ctime

2008-03-27 Thread Thiago Macieira
the thumbnail spec allows for a negative cache -- I don't know the spec. If you want the thumbnail to be generated (for the first time) the moment you change permissions, that's a separate issue. That's an issue of the file manager that you're using to watch the files for permission changes. --   Thiago

Re: thumbnail mtime, ctime

2008-03-27 Thread Thiago Macieira
variables and differences in implementation. So, my opinion is that the gnome bugzilla link you posted is a bug in Nautilus, not in the spec. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5

Freedesktop.org in Google Summer of Code

2008-03-18 Thread Thiago Macieira
and add a link in ours. We would also like to hear suggestions on how fd.o project mentors would want to participate in rating the applications and how students should apply (whether it's to one of the two orgs or both of them). If you have any question, please contact: Thiago Macieira

Re: User bus?

2008-03-04 Thread Thiago Macieira
On Tuesday 04 March 2008 10:24:57 Patryk Zawadzki wrote: On Tue, Mar 4, 2008 at 8:35 AM, Thiago Macieira [EMAIL PROTECTED] wrote: Patryk Zawadzki wrote: Havoc, would you see that as a viable change? I do have a question, though: what does registering the session bus address with CK

Re: User bus?

2008-03-04 Thread Thiago Macieira
mechanism. As for clipboards, let's not reinvent the wheel. Use two X11 connections instead of transferring the data over D-Bus. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Re: User bus?

2008-03-04 Thread Thiago Macieira
, but I would prefer to have a use-case for it first. What I do not think is a good idea is to change the mechanism for locating the bus without a good reason. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C

Re: User bus?

2008-03-03 Thread Thiago Macieira
. Havoc, would you see that as a viable change? I do have a question, though: what does registering the session bus address with CK buy you? What are the advantages over the storing in the X11 Window? --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358

Re: User bus?

2008-02-16 Thread Thiago Macieira
desktop sessions. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG: 0x6EF45358; fingerprint:     E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part

Re: tango.freedesktop.org

2008-02-15 Thread Thiago Macieira
and all seems well. Been visiting it several times in the last few weeks. Don't reply to emails from August :-) The freedesktop.org mail server seems to be spewing some old emails every now and then. Be careful. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP

Re: Default Program | File Association

2008-01-29 Thread Thiago Macieira
that an application with preference of 10 would override both the above, in either desktops. This can be used in the reverse manner too, in order to lower the preference. I can't think of a realistic use-case for it, though. --   Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org     PGP/GPG

  1   2   >