Pass variable from YAD slider bar whenever slider is moved, without clicking OkHow to trim whitespace from a Bash variable?Defining a variable with or without exportRead values into a shell variable from a pipePass ALL Arguments from Bash Script to Another CommandHow to get a password from a shell script without echoingPass all variables from one shell script to another?Can I export a variable to the environment from a bash script without sourcing it?Passing $ variable to awk without loosing itHow to pass a variable containing slashes to sedPassing variable from Bash to psql
How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?
Is it okay for a ticket seller to grab a tip in the USA?
Can sampling rate be a floating point number?
Programmatically add log information in all renderings(controller, view) html
Are there any other rule mechanics that could grant Thieves' Cant?
How can God warn people of the upcoming rapture without disrupting society?
Boss wants me to ignore a software API license prohibiting mass download
Why aren't rockets built with truss structures inside their fuel & oxidizer tanks to increase structural strength?
Can renaming a method preserve encapsulation?
How to take the beginning and end parts of a list with simpler syntax?
A torrent of foreign terms
What is the difference between 王 and 皇?
Can the IPA represent all languages' tones?
Flood on the top floor
Why are Tucker and Malcolm not dead?
Split phone numbers into groups based on first digit
Markov-chain sentence generator in Python
If "more guns less crime", how do gun advocates explain that the EU has less crime than the US?
How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?
PhD advisor lost funding, need advice
Word for an event that will likely never happen again
Can lodestones be used to magnetize crude iron weapons?
If I control a zombie (animated) does it get undead fortitude saves when it's reduced to 0 HP?
Why is there a large performance impact when looping over an array over 240 elements?
Pass variable from YAD slider bar whenever slider is moved, without clicking Ok
How to trim whitespace from a Bash variable?Defining a variable with or without exportRead values into a shell variable from a pipePass ALL Arguments from Bash Script to Another CommandHow to get a password from a shell script without echoingPass all variables from one shell script to another?Can I export a variable to the environment from a bash script without sourcing it?Passing $ variable to awk without loosing itHow to pass a variable containing slashes to sedPassing variable from Bash to psql
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am running Arch Linux with all the latest updates, and have a simple effective program sct installed to let me adjust screen colour temperature. It is from https://github.com/faf0/sct.
I use YAD (Yet Another Dialog) to adjust the variable sent to sct as follows
#! /bin/bash
VALUE=$(yad --title="Select Colour Temperature"
--geometry=800x100+280+200 --window-icon="colour_temp.png"
--scale
--mark=NIGHT:3000 --mark=MID:5000 --mark=DAY:6500
--value="2400" --min-value="2000" --max-value="6500" --step="100")
#--print-partial. This option seems of no help; if run from the command prompt partial values are dumped after the 'Ok' dialog clicked.
./sct/xsct $VALUE
This allows me to see the result of the chosen colour temperature when I click Ok on the YAD gui.
How can I make the screen colour temperature update dynamically as I move the slider bar, without clicking Ok?
bash yad
add a comment |
I am running Arch Linux with all the latest updates, and have a simple effective program sct installed to let me adjust screen colour temperature. It is from https://github.com/faf0/sct.
I use YAD (Yet Another Dialog) to adjust the variable sent to sct as follows
#! /bin/bash
VALUE=$(yad --title="Select Colour Temperature"
--geometry=800x100+280+200 --window-icon="colour_temp.png"
--scale
--mark=NIGHT:3000 --mark=MID:5000 --mark=DAY:6500
--value="2400" --min-value="2000" --max-value="6500" --step="100")
#--print-partial. This option seems of no help; if run from the command prompt partial values are dumped after the 'Ok' dialog clicked.
./sct/xsct $VALUE
This allows me to see the result of the chosen colour temperature when I click Ok on the YAD gui.
How can I make the screen colour temperature update dynamically as I move the slider bar, without clicking Ok?
bash yad
add a comment |
I am running Arch Linux with all the latest updates, and have a simple effective program sct installed to let me adjust screen colour temperature. It is from https://github.com/faf0/sct.
I use YAD (Yet Another Dialog) to adjust the variable sent to sct as follows
#! /bin/bash
VALUE=$(yad --title="Select Colour Temperature"
--geometry=800x100+280+200 --window-icon="colour_temp.png"
--scale
--mark=NIGHT:3000 --mark=MID:5000 --mark=DAY:6500
--value="2400" --min-value="2000" --max-value="6500" --step="100")
#--print-partial. This option seems of no help; if run from the command prompt partial values are dumped after the 'Ok' dialog clicked.
./sct/xsct $VALUE
This allows me to see the result of the chosen colour temperature when I click Ok on the YAD gui.
How can I make the screen colour temperature update dynamically as I move the slider bar, without clicking Ok?
bash yad
I am running Arch Linux with all the latest updates, and have a simple effective program sct installed to let me adjust screen colour temperature. It is from https://github.com/faf0/sct.
I use YAD (Yet Another Dialog) to adjust the variable sent to sct as follows
#! /bin/bash
VALUE=$(yad --title="Select Colour Temperature"
--geometry=800x100+280+200 --window-icon="colour_temp.png"
--scale
--mark=NIGHT:3000 --mark=MID:5000 --mark=DAY:6500
--value="2400" --min-value="2000" --max-value="6500" --step="100")
#--print-partial. This option seems of no help; if run from the command prompt partial values are dumped after the 'Ok' dialog clicked.
./sct/xsct $VALUE
This allows me to see the result of the chosen colour temperature when I click Ok on the YAD gui.
How can I make the screen colour temperature update dynamically as I move the slider bar, without clicking Ok?
bash yad
bash yad
edited Mar 27 at 10:43
Kes
asked Mar 27 at 10:21
KesKes
399 bronze badges
399 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
As of today that's not possible using yad. yad displays a dialog and returns. You can write your own GTK+ dialog application for your purpose.
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55374852%2fpass-variable-from-yad-slider-bar-whenever-slider-is-moved-without-clicking-ok%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As of today that's not possible using yad. yad displays a dialog and returns. You can write your own GTK+ dialog application for your purpose.
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
add a comment |
As of today that's not possible using yad. yad displays a dialog and returns. You can write your own GTK+ dialog application for your purpose.
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
add a comment |
As of today that's not possible using yad. yad displays a dialog and returns. You can write your own GTK+ dialog application for your purpose.
As of today that's not possible using yad. yad displays a dialog and returns. You can write your own GTK+ dialog application for your purpose.
answered Mar 27 at 10:47
Kamil CukKamil Cuk
19.4k2 gold badges8 silver badges36 bronze badges
19.4k2 gold badges8 silver badges36 bronze badges
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
add a comment |
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
1
1
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
Thanks for your thoughts on this. I now also beleive it's unlikely this can be done in YAD. I will look to GTK+ or QT when I get a moment.
– Kes
Apr 2 at 12:32
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55374852%2fpass-variable-from-yad-slider-bar-whenever-slider-is-moved-without-clicking-ok%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown