LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Old

Prototype/principle for a wrapper script for multiple media players to use the same Openbox keybindings, depending on which one is running

Posted 03-25-2021 at 10:50 AM by the dsc (linux-related notes)
Tags mpc, mpv, openbox

Most likely not the most elegant way of doing it, and not fully functional (for mpv) regarding the display of media info:


Code:
#!/bin/bash

if pgrep -x mpv ; then

echo '{"command": ["playlist-next"]}' > /tmp/mpvsocket

#title=$(echo '{ "command": ["get_property", "media-title"] }'  >  /tmp/mpvsocket)

#title=( $(wmctrl -l | grep mpv$ ) ) 

#title=$(echo
...
Member
Posted in Uncategorized
Views 396 Comments 0 the dsc is offline
Old

Second auto-hiding tint2 panel equivalent to Openbox' client-list combined menu, on the top-center of the screen

Posted 03-10-2021 at 03:13 PM by the dsc (linux-related notes)
Updated 03-10-2021 at 03:36 PM by the dsc
Tags openbox, tint2

The client-list combined menu shows a list of windows from all desktops, with the window titles. It's good for moving fast to a given window when you have lots of them spread around, maximized and minimized. But it does not allow you to move windows between desktops, and requires a click in order to be activated.

Tint2 taskbar is able to do both things, and does not need clicking to be brought, with the auto-hide functionality set. But the standard inconvenience is that it's a horizontal...
Member
Posted in Uncategorized
Views 69 Comments 0 the dsc is offline
Old

tint2conf -- very nice configuration tool for tint2, comes by default with Debian's tint2, I guess

Posted 03-07-2021 at 06:07 PM by the dsc (linux-related notes)
Tags openbox, tint2

I've been using tint2 for ages already, and I didn't know this config program existed. I've even had found something that looks like an older version of it before I found out I actually had it installed already.

https://manpages.ubuntu.com/manpages...nt2conf.1.html

I'm not that much into it for the merely aesthetical aspect of the configuration, but because it allows you (indirectly) to create something like a secondary tint2 bar that's quite different from...
Member
Posted in Uncategorized
Views 50 Comments 0 the dsc is offline
Old

Making Dolphin instances launched by Chrome or Firefox follow the QT theme set elsewhere, in Openbox, possibly other non-KDE environments

Posted 03-05-2021 at 12:46 PM by the dsc (linux-related notes)
Updated 03-07-2021 at 06:28 PM by the dsc

I had this issue, if I clicked to open a folder for a downloaded file on Chrome, the Dolphin file manager launched would be somewhat theme-less, even without any icon theme set, making it less usable than the same program if I ran it from an Openbox menu or "alt+F2" run command.

While I was hoping there was a somewhat "secret" environment variable that I hadn't set in order to make it work right, I couldn't find one. Instead the only "solution" I have...
Member
Posted in Uncategorized
Views 634 Comments 0 the dsc is offline
Old

Remember to check /etc/xdg/autostart for things mysteriously auto-starting on Openbox

Posted 11-10-2020 at 05:44 PM by the dsc (linux-related notes)
Updated 11-10-2020 at 05:49 PM by the dsc

Sometimes there's some program somehow auto-starting, you want to either to not have it auto-starting or change some environment variable, then you don't see it anywhere on Openbox' own autostart, or on other possible autostart-like scripts on the home folder, like ~/.config/autostart, maybe .Xsessionrc and the like, and google's results end up in threads of people asking the same question and not finding any answer... and only after a reasonable amount of time you remember there's /etc/xdg/autostart,...
Member
Posted in Uncategorized
Views 1180 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration