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

Notices


Old

For those who don't like notify-send exhibiting its title ("notify-send") on LXQT

Posted 02-24-2023 at 06:03 PM by the dsc (linux-related notes)
Updated 02-24-2023 at 06:04 PM by the dsc

(Or anywhere using lxqt-notificationd, like in otherwise pure Openbox, which happens to be my case)

The "proper" way would be to have it always explicitly setting something else with "-a," but apparently one can emulate the title-less implementation of other notification daemons with an wrap-around script like this:

Code:
#!/bin/bash

if [[ ! "${@}" =~ "-a " ]] ; then

/usr/bin/notify-send -a ""
...
Member
Posted in Uncategorized
Views 292 Comments 0 the dsc is offline
Old

Silly volume control scripts for openbox that probably won't work for everyone

Posted 03-20-2016 at 10:03 PM by the dsc (linux-related notes)
Updated 03-20-2016 at 10:22 PM by the dsc

Code:
#!/bin/bash

# volume changer+notifier, using notify-send, and tested only with xfce4-notifyd
# the syntax is the same of the "end" of what you'd use in plain amixer, see "$1"
# Ex.: 5%-, 5%+, 30, 60%

com=(`amixer set "Master" $1`)

vol1=${com[20]} 

# and here's why it won't work for everybody. The output of amixer includes
# things like soundcard features, which are array elements I'm just
...
Member
Posted in Uncategorized
Views 744 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 01:30 PM.

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